Lines Matching refs:TrueMBB
290 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
292 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
294 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
297 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
305 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
1014 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI);
1015 TrueMBB);
1016 NumMatch += ifPatternMatch(TrueMBB);
1023 assert (!TrueMBB->succ_empty() || !FalseMBB->succ_empty());
1025 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1
1026 && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) {
1028 LandBlk = *TrueMBB->succ_begin();
1029 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) {
1034 && *FalseMBB->succ_begin() == TrueMBB) {
1037 std::swap(TrueMBB, FalseMBB);
1042 && isSameloopDetachedContbreak(TrueMBB, FalseMBB)) {
1044 } else if (TrueMBB->succ_size() == 1
1045 && isSameloopDetachedContbreak(FalseMBB, TrueMBB)) {
1046 LandBlk = *TrueMBB->succ_begin();
1048 return NumMatch + handleJumpintoIf(MBB, TrueMBB, FalseMBB);
1055 ((TrueMBB && TrueMBB->pred_size() > 1)
1057 Cloned += improveSimpleJumpintoIf(MBB, TrueMBB, FalseMBB, &LandBlk);
1060 if (TrueMBB && TrueMBB->pred_size() > 1) {
1061 TrueMBB = cloneBlockForPredecessor(TrueMBB, MBB);
1070 mergeIfthenelseBlock(BranchMI, MBB, TrueMBB, FalseMBB, LandBlk);
1196 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB) {
1197 int Num = handleJumpintoIfImp(HeadMBB, TrueMBB, FalseMBB);
1202 Num = handleJumpintoIfImp(HeadMBB, FalseMBB, TrueMBB);
1208 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB) {
1213 DownBlk = TrueMBB;
1217 << " true = BB" << TrueMBB->getNumber()
1218 << ", numSucc=" << TrueMBB->succ_size()
1232 Num += cloneOnSideEntryTo(HeadMBB, TrueMBB, DownBlk);
1253 MachineBasicBlock *HeadMBB, MachineBasicBlock *TrueMBB,
1263 if (TrueMBB) {
1264 dbgs() << ", true = BB" << TrueMBB->getNumber() << " size = "
1265 << TrueMBB->size() << " numPred = " << TrueMBB->pred_size();
1268 TrueMBB->print(dbgs());
1295 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
1302 assert((!TrueMBB || TrueMBB->succ_size() <= 1)
1305 if (TrueMBB == FalseMBB)
1308 MigrateTrue = needMigrateBlock(TrueMBB);
1317 if (!MigrateTrue && TrueMBB && TrueMBB->pred_size() > 1)
1324 showImproveSimpleJumpintoIf(HeadMBB, TrueMBB, FalseMBB, LandBlk, 0);
1432 migrateInstruction(TrueMBB, LandBlk, I);
1456 if (MBB != TrueMBB && MBB != FalseMBB)
1462 showImproveSimpleJumpintoIf(HeadMBB, TrueMBB, FalseMBB, LandBlk, 0);
1499 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
1501 assert (TrueMBB);
1505 if (TrueMBB) {
1506 dbgs() << "BB" << TrueMBB->getNumber();
1538 if (TrueMBB) {
1539 MBB->splice(I, TrueMBB, TrueMBB->begin(), TrueMBB->end());
1540 MBB->removeSuccessor(TrueMBB, true);
1541 if (LandMBB && TrueMBB->succ_size()!=0)
1542 TrueMBB->removeSuccessor(LandMBB, true);
1543 retireBlock(TrueMBB);
1544 MLI->removeBlock(TrueMBB);
1561 if (LandMBB && TrueMBB && FalseMBB)