Lines Matching refs:falseBlk

818   BlockT *falseBlk = CFGTraits::getFalseBranch(curBlk, branchInstr);  in ifPatternMatch()  local
823 if (trueBlk->succ_size() == 1 && falseBlk->succ_size() == 1 in ifPatternMatch()
824 && *trueBlk->succ_begin() == *falseBlk->succ_begin()) { in ifPatternMatch()
826 } else if (trueBlk->succ_size() == 0 && falseBlk->succ_size() == 0) { in ifPatternMatch()
828 } else if (trueBlk->succ_size() == 1 && *trueBlk->succ_begin() == falseBlk) { in ifPatternMatch()
829 landBlk = falseBlk; in ifPatternMatch()
830 falseBlk = NULL; in ifPatternMatch()
831 } else if (falseBlk->succ_size() == 1 in ifPatternMatch()
832 && *falseBlk->succ_begin() == trueBlk) { in ifPatternMatch()
835 } else if (falseBlk->succ_size() == 1 in ifPatternMatch()
836 && isSameloopDetachedContbreak(trueBlk, falseBlk)) { in ifPatternMatch()
837 landBlk = *falseBlk->succ_begin(); in ifPatternMatch()
839 && isSameloopDetachedContbreak(falseBlk, trueBlk)) { in ifPatternMatch()
842 return handleJumpintoIf(curBlk, trueBlk, falseBlk); in ifPatternMatch()
850 || (falseBlk && falseBlk->pred_size() > 1))) { in ifPatternMatch()
851 cloned += improveSimpleJumpintoIf(curBlk, trueBlk, falseBlk, &landBlk); in ifPatternMatch()
859 if (falseBlk && falseBlk->pred_size() > 1) { in ifPatternMatch()
860 falseBlk = cloneBlockForPredecessor(falseBlk, curBlk); in ifPatternMatch()
864 mergeIfthenelseBlock(branchInstr, curBlk, trueBlk, falseBlk, landBlk); in ifPatternMatch()
1178 BlockT *falseBlk) { in handleJumpintoIf() argument
1179 int num = handleJumpintoIfImp(headBlk, trueBlk, falseBlk); in handleJumpintoIf()
1184 num = handleJumpintoIfImp(headBlk, falseBlk, trueBlk); in handleJumpintoIf()
1192 BlockT *falseBlk) { in handleJumpintoIfImp() argument
1203 << " false = BB" << falseBlk->getNumber() << "\n"; in handleJumpintoIfImp()
1212 singlePathTo(falseBlk, downBlk) == SinglePath_InPath) { in handleJumpintoIfImp()
1218 num += cloneOnSideEntryTo(headBlk, falseBlk, downBlk); in handleJumpintoIfImp()
1240 BlockT *falseBlk, in showImproveSimpleJumpintoIf() argument
1260 if (falseBlk) { in showImproveSimpleJumpintoIf()
1261 errs() << ", false = BB" << falseBlk->getNumber() << " size = " in showImproveSimpleJumpintoIf()
1262 << falseBlk->size() << " numPred = " << falseBlk->pred_size(); in showImproveSimpleJumpintoIf()
1265 falseBlk->print(errs()); in showImproveSimpleJumpintoIf()
1285 BlockT *falseBlk, in improveSimpleJumpintoIf() argument
1293 && (falseBlk == NULL || falseBlk->succ_size() <= 1)); in improveSimpleJumpintoIf()
1295 if (trueBlk == falseBlk) { in improveSimpleJumpintoIf()
1302 showImproveSimpleJumpintoIf(headBlk, trueBlk, falseBlk, landBlk, 0); in improveSimpleJumpintoIf()
1310 migrateFalse = needMigrateBlock(falseBlk); in improveSimpleJumpintoIf()
1322 if (!migrateFalse && falseBlk && falseBlk->pred_size() > 1) { in improveSimpleJumpintoIf()
1328 showImproveSimpleJumpintoIf(headBlk, trueBlk, falseBlk, landBlk, 0); in improveSimpleJumpintoIf()
1363 if (falseBlk) { in improveSimpleJumpintoIf()
1364 falseBlk->addSuccessor(landBlk); in improveSimpleJumpintoIf()
1406 migrateInstruction(falseBlk, landBlk, insertPos); in improveSimpleJumpintoIf()
1410 CFGTraits::insertAssignInstrBefore(falseBlk, passRep, initReg, 0); in improveSimpleJumpintoIf()
1423 if (curBlk != trueBlk && curBlk != falseBlk) { in improveSimpleJumpintoIf()
1430 showImproveSimpleJumpintoIf(headBlk, trueBlk, falseBlk, landBlk, 0); in improveSimpleJumpintoIf()
1522 BlockT *falseBlk, in mergeIfthenelseBlock() argument
1532 if (falseBlk) { in mergeIfthenelseBlock()
1533 errs() << "BB" << falseBlk->getNumber(); in mergeIfthenelseBlock()
1573 if (falseBlk) { in mergeIfthenelseBlock()
1574 curBlk->splice(branchInstrPos, falseBlk, FirstNonDebugInstr(falseBlk), in mergeIfthenelseBlock()
1575 falseBlk->end()); in mergeIfthenelseBlock()
1576 curBlk->removeSuccessor(falseBlk); in mergeIfthenelseBlock()
1577 if (landBlk && falseBlk->succ_size() != 0) { in mergeIfthenelseBlock()
1578 falseBlk->removeSuccessor(landBlk); in mergeIfthenelseBlock()
1580 retireBlock(curBlk, falseBlk); in mergeIfthenelseBlock()
1587 if (landBlk && trueBlk && falseBlk) { in mergeIfthenelseBlock()