Lines Matching defs:bb
1112 BasicBlock *bb, ArmLIR *labelList,
1122 ArmLIR *retChainingCell = &labelList[bb->fallThrough->id];
1158 genUnconditionalBranch(cUnit, &labelList[bb->taken->id]);
1459 BasicBlock *bb, ArmLIR *labelList)
1462 bool backwardBranch = (bb->taken->startOffset <= mir->offset);
1469 int numPredecessors = dvmCountSetBits(bb->taken->predecessors);
1474 if (numPredecessors == 1 && bb->taken->visited == false &&
1475 bb->taken->blockType == kDalvikByteCode) {
1476 cUnit->nextCodegenBlock = bb->taken;
1479 genUnconditionalBranch(cUnit, &labelList[bb->taken->id]);
2100 static bool handleFmt21t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb,
2106 bool backwardBranch = (bb->taken->startOffset <= mir->offset);
2141 branch->generic.target = (LIR*)&labelList[bb->taken->id];
2143 genUnconditionalBranch(cUnit, &labelList[bb->fallThrough->id]);
2596 static bool handleFmt22t(CompilationUnit *cUnit, MIR *mir, BasicBlock *bb,
2602 bool backwardBranch = (bb->taken->startOffset <= mir->offset);
2641 genConditionalBranch(cUnit, cond, &labelList[bb->taken->id]);
2643 genUnconditionalBranch(cUnit, &labelList[bb->fallThrough->id]);
2959 BasicBlock *bb,
2962 BasicBlock *fallThrough = bb->fallThrough;
2985 BasicBlock *bb, ArmLIR *labelList)
2994 if (bb->fallThrough != NULL)
2995 retChainingCell = &labelList[bb->fallThrough->id];
3006 ArmLIR *predChainingCell = &labelList[bb->taken->id];
3017 genLandingPadForMispredictedCallee(cUnit, mir, bb, labelList);
3058 genInvokeSingletonCommon(cUnit, mir, bb, labelList, pcrLabel,
3079 genInvokeSingletonCommon(cUnit, mir, bb, labelList, pcrLabel,
3108 genInvokeSingletonCommon(cUnit, mir, bb, labelList, pcrLabel,
3186 ArmLIR *predChainingCell = &labelList[bb->taken->id];
3194 genLandingPadForMispredictedCallee(cUnit, mir, bb, labelList);
3347 BasicBlock *bb, ArmLIR *labelList)
3361 ArmLIR *retChainingCell = &labelList[bb->fallThrough->id];
3362 ArmLIR *predChainingCell = &labelList[bb->taken->id];
3370 genLandingPadForMispredictedCallee(cUnit, mir, bb, labelList);
3409 genInvokeSingletonCommon(cUnit, mir, bb, labelList, pcrLabel,
4208 BasicBlock *bb = (BasicBlock *) dvmGrowableListIteratorNext(&iterator);
4209 if (bb == NULL) break;
4210 if (bb->visited == true) continue;
4212 labelList[i].operands[0] = bb->startOffset;
4214 if (bb->blockType >= kChainingCellGap) {
4215 if (bb->isFallThroughFromInvoke == true) {
4226 if (bb->blockType == kEntryBlock) {
4228 if (bb->firstMIRInsn == NULL) {
4231 setupLoopEntryBlock(cUnit, bb,
4232 &labelList[bb->fallThrough->id]);
4234 } else if (bb->blockType == kExitBlock) {
4237 } else if (bb->blockType == kDalvikByteCode) {
4238 if (bb->hidden == true) continue;
4245 switch (bb->blockType) {
4256 (int) bb->containingMethod;
4317 for (BasicBlock *nextBB = bb; nextBB != NULL; nextBB = cUnit->nextCodegenBlock) {
4318 bb = nextBB;
4319 bb->visited = true;
4322 for (mir = bb->firstMIRInsn; mir; mir = mir->next) {
4402 mir, bb, labelList);
4431 notHandled = handleFmt21t(cUnit, mir, bb,
4445 notHandled = handleFmt22t(cUnit, mir, bb,
4460 notHandled = handleFmt35c_3rc(cUnit, mir, bb,
4465 notHandled = handleFmt35ms_3rms(cUnit, mir, bb,
4491 if (bb->blockType == kEntryBlock) {
4514 if (bb->needFallThroughBranch) {
4515 genUnconditionalBranch(cUnit, &labelList[bb->fallThrough->id]);