Searched defs:bb (Results 1 - 16 of 16) sorted by relevance

/dalvik/vm/compiler/
H A DRalloc.cpp27 static void inferTypes(CompilationUnit *cUnit, BasicBlock *bb) argument
30 if (bb->blockType != kDalvikByteCode && bb->blockType != kEntryBlock)
33 for (mir = bb->firstMIRInsn; mir; mir = mir->next) {
75 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); local
76 if (bb == NULL) break;
77 inferTypes(cUnit, bb);
H A DIntermediateRep.cpp23 BasicBlock *bb = (BasicBlock *)dvmCompilerNew(sizeof(BasicBlock), true); local
24 bb->blockType = blockType;
25 bb->id = blockId;
26 bb->predecessors = dvmCompilerAllocBitVector(blockId > 32 ? blockId : 32,
28 return bb;
32 void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir) argument
34 if (bb->firstMIRInsn == NULL) {
35 assert(bb->lastMIRInsn == NULL);
36 bb->lastMIRInsn = bb
47 dvmCompilerPrependMIR(BasicBlock *bb, MIR *mir) argument
62 dvmCompilerInsertMIRAfter(BasicBlock *bb, MIR *currentMIR, MIR *newMIR) argument
[all...]
H A DInlineTransformation.cpp312 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); local
313 if (bb == NULL) break;
314 if (bb->blockType != kDalvikByteCode)
316 MIR *lastMIRInsn = bb->lastMIRInsn;
358 lastMIRInsn, bb, isRange);
403 lastMIRInsn, bb, isRange);
H A DLoop.cpp96 const BasicBlock *bb)
98 int numPred = dvmCountSetBits(bb->predecessors);
100 dvmBitVectorIteratorInit(bb->predecessors, &bvIterator);
108 dvmIsBitSet(bb->predecessors, cUnit->entryBlock->id)) {
514 void resetBlockEdges(BasicBlock *bb) argument
516 bb->taken = NULL;
517 bb->fallThrough = NULL;
518 bb->successorBlockList.blockListType = kNotUsed;
522 struct BasicBlock *bb)
524 dvmClearAllBits(bb
95 findPredecessorBlock(const CompilationUnit *cUnit, const BasicBlock *bb) argument
521 clearPredecessorVector(struct CompilationUnit *cUnit, struct BasicBlock *bb) argument
617 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); local
632 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); local
[all...]
H A DUtility.cpp159 BasicBlock *bb; local
184 bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator);
185 if (bb == NULL) break;
187 bb->id,
188 blockTypeNames[bb->blockType],
189 bb->startOffset,
190 bb->lastMIRInsn ? bb->lastMIRInsn->offset : bb->startOffset,
191 bb
378 BasicBlock *bb = local
387 dvmGetBlockName(BasicBlock *bb, char *name) argument
[all...]
H A DDataflow.cpp1108 bool dvmCompilerFindLocalLiveIn(CompilationUnit *cUnit, BasicBlock *bb) argument
1113 if (bb->dataFlowInfo == NULL) return false;
1115 useV = bb->dataFlowInfo->useV =
1117 defV = bb->dataFlowInfo->defV =
1119 liveInV = bb->dataFlowInfo->liveInV =
1122 for (mir = bb->firstMIRInsn; mir; mir = mir->next) {
1215 bool dvmCompilerDoSSAConversion(CompilationUnit *cUnit, BasicBlock *bb) argument
1219 if (bb->dataFlowInfo == NULL) return false;
1221 for (mir = bb->firstMIRInsn; mir; mir = mir->next) {
1330 bb
1346 dvmCompilerDoConstantPropagation(CompilationUnit *cUnit, BasicBlock *bb) argument
1419 dvmCompilerFindInductionVariables(struct CompilationUnit *cUnit, struct BasicBlock *bb) argument
1627 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); local
1641 dvmCompilerClearVisitedFlag(struct CompilationUnit *cUnit, struct BasicBlock *bb) argument
1663 BasicBlock *bb = local
1681 BasicBlock *bb = local
1698 BasicBlock *bb = local
1714 BasicBlock *bb = local
1730 BasicBlock *bb = local
[all...]
H A DSSATransformation.cpp70 * register idx is defined in BasicBlock bb.
72 static bool fillDefBlockMatrix(CompilationUnit *cUnit, BasicBlock *bb) argument
74 if (bb->dataFlowInfo == NULL) return false;
78 dvmBitVectorIteratorInit(bb->dataFlowInfo->defV, &iterator);
82 /* Block bb defines register idx */
83 dvmCompilerSetBit(cUnit->defBlockMatrix[idx], bb->id);
122 static void computeDomPostOrderTraversal(CompilationUnit *cUnit, BasicBlock *bb) argument
125 dvmBitVectorIteratorInit(bb->iDominated, &bvIterator);
138 dvmInsertGrowableList(&cUnit->domPostOrderTraversal, bb->id);
141 if (bb
161 computeDominanceFrontier(CompilationUnit *cUnit, BasicBlock *bb) argument
208 initializeDominationInfo(CompilationUnit *cUnit, BasicBlock *bb) argument
231 computeBlockDominators(CompilationUnit *cUnit, BasicBlock *bb) argument
265 computeImmediateDominator(CompilationUnit *cUnit, BasicBlock *bb) argument
384 computeBlockLiveIns(CompilationUnit *cUnit, BasicBlock *bb) argument
501 insertPhiNodeOperands(CompilationUnit *cUnit, BasicBlock *bb) argument
[all...]
H A DFrontend.cpp567 BasicBlock *bb = successorBlockInfo->block; local
568 dvmCompilerClearBit(bb->predecessors, origBlock->id);
569 dvmCompilerSetBit(bb->predecessors, bottomBlock->id);
602 BasicBlock *bb; local
606 bb = (BasicBlock *) blockList->elemList[i];
607 if (bb->blockType != kDalvikByteCode) continue;
608 if (bb->startOffset == codeOffset) return bb;
610 if ((split == true) && (codeOffset > bb->startOffset) &&
611 (bb
679 BasicBlock *bb = (BasicBlock *) dvmGrowableListGetElement(blockList, local
797 verifyPredInfo(CompilationUnit *cUnit, BasicBlock *bb) argument
1458 BasicBlock *bb; local
[all...]
/dalvik/dx/src/com/android/dx/cf/code/
H A DByteBlockList.java70 * @param bb {@code null-ok;} the value to store
72 public void set(int n, ByteBlock bb) { argument
73 super.set(n, bb);
H A DSimulator.java85 * @param bb {@code non-null;} the basic block
88 public void simulate(ByteBlock bb, Frame frame) { argument
89 int end = bb.getEnd();
94 for (int off = bb.getStart(); off < end; /*off*/) {
H A DRopper.java378 for (BasicBlock bb : result) {
379 int label = bb.getLabel();
907 BasicBlock bb = new BasicBlock(label, il, extraBlockSuccessors,
910 addBlock(bb, frame.getSubroutines());
948 BasicBlock bb =
950 addOrReplaceBlock(bb, frame.getSubroutines());
1036 BasicBlock bb =
1039 addBlock(bb, IntList.EMPTY);
1063 bb = new BasicBlock(label, insns,
1065 addBlock(bb, IntLis
1228 isSubroutineCaller(BasicBlock bb) argument
[all...]
/dalvik/vm/compiler/codegen/arm/
H A DArchFactory.cpp36 BasicBlock *bb = cUnit->curBlock; local
37 if (bb->taken) {
39 exceptionLabel += bb->taken->id;
H A DCodegenDriver.cpp1104 BasicBlock *bb, ArmLIR *labelList,
1114 ArmLIR *retChainingCell = &labelList[bb->fallThrough->id];
1150 genUnconditionalBranch(cUnit, &labelList[bb->taken->id]);
1451 BasicBlock *bb, ArmLIR *labelList)
1454 bool backwardBranch = (bb->taken->startOffset <= mir->offset);
1461 int numPredecessors = dvmCountSetBits(bb->taken->predecessors);
1466 if (numPredecessors == 1 && bb->taken->visited == false &&
1467 bb->taken->blockType == kDalvikByteCode) {
1468 cUnit->nextCodegenBlock = bb->taken;
1471 genUnconditionalBranch(cUnit, &labelList[bb
1103 genInvokeSingletonCommon(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList, ArmLIR *pcrLabel, const Method *calleeMethod) argument
1450 handleFmt10t_Fmt20t_Fmt30t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
2092 handleFmt21t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
2593 handleFmt22t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
2955 genLandingPadForMispredictedCallee(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
2981 handleFmt35c_3rc(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
3343 handleFmt35ms_3rms(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
4195 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator); local
[all...]
/dalvik/dexgen/src/com/android/dexgen/rop/code/
H A DBasicBlockList.java74 * @param bb {@code null-ok;} the element to set at {@code n}
76 public void set(int n, BasicBlock bb) { argument
77 super.set(n, bb);
/dalvik/dx/src/com/android/dx/rop/code/
H A DBasicBlockList.java74 * @param bb {@code null-ok;} the element to set at {@code n}
76 public void set(int n, BasicBlock bb) { argument
77 super.set(n, bb);
/dalvik/vm/compiler/codegen/arm/armv7-a-neon/
H A DMethodCodegenDriver.cpp39 BasicBlock *bb)
107 BasicBlock *bb, ArmLIR *labelList)
110 bool backwardBranch = (bb->taken->startOffset <= mir->offset);
117 genUnconditionalBranch(cUnit, &labelList[bb->taken->id]);
137 static bool handleMethodFmt11x(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, argument
143 genMethodInflateAndPunt(cUnit, mir, bb);
175 static bool handleMethodFmt21t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, argument
178 return handleFmt21t(cUnit, mir, bb, labelList);
196 static bool handleMethodFmt22t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, argument
199 return handleFmt22t(cUnit, mir, bb, labelLis
38 genMethodInflateAndPunt(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb) argument
106 handleMethodFmt10t_Fmt20t_Fmt30t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
217 handleMethodFmt35c_3rc(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
223 handleMethodFmt35ms_3rms(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb, ArmLIR *labelList) argument
240 methodBlockCodeGen(CompilationUnit *cUnit, BasicBlock *bb) argument
[all...]

Completed in 120 milliseconds