Lines Matching refs:TrueMBB
283 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
285 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
287 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
290 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
298 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
1009 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI);
1010 serialPatternMatch(TrueMBB);
1011 ifPatternMatch(TrueMBB);
1018 assert (!TrueMBB->succ_empty() || !FalseMBB->succ_empty());
1020 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1
1021 && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) {
1023 LandBlk = *TrueMBB->succ_begin();
1024 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) {
1029 && *FalseMBB->succ_begin() == TrueMBB) {
1032 std::swap(TrueMBB, FalseMBB);
1037 && isSameloopDetachedContbreak(TrueMBB, FalseMBB)) {
1039 } else if (TrueMBB->succ_size() == 1
1040 && isSameloopDetachedContbreak(FalseMBB, TrueMBB)) {
1041 LandBlk = *TrueMBB->succ_begin();
1043 return handleJumpintoIf(MBB, TrueMBB, FalseMBB);
1050 ((TrueMBB && TrueMBB->pred_size() > 1)
1052 Cloned += improveSimpleJumpintoIf(MBB, TrueMBB, FalseMBB, &LandBlk);
1055 if (TrueMBB && TrueMBB->pred_size() > 1) {
1056 TrueMBB = cloneBlockForPredecessor(TrueMBB, MBB);
1065 mergeIfthenelseBlock(BranchMI, MBB, TrueMBB, FalseMBB, LandBlk);
1195 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB) {
1196 int Num = handleJumpintoIfImp(HeadMBB, TrueMBB, FalseMBB);
1201 Num = handleJumpintoIfImp(HeadMBB, FalseMBB, TrueMBB);
1207 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB) {
1212 DownBlk = TrueMBB;
1216 << " true = BB" << TrueMBB->getNumber()
1217 << ", numSucc=" << TrueMBB->succ_size()
1231 Num += cloneOnSideEntryTo(HeadMBB, TrueMBB, DownBlk);
1252 MachineBasicBlock *HeadMBB, MachineBasicBlock *TrueMBB,
1262 if (TrueMBB) {
1263 dbgs() << ", true = BB" << TrueMBB->getNumber() << " size = "
1264 << TrueMBB->size() << " numPred = " << TrueMBB->pred_size();
1267 TrueMBB->print(dbgs());
1294 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
1301 assert((!TrueMBB || TrueMBB->succ_size() <= 1)
1304 if (TrueMBB == FalseMBB)
1307 MigrateTrue = needMigrateBlock(TrueMBB);
1316 if (!MigrateTrue && TrueMBB && TrueMBB->pred_size() > 1)
1323 showImproveSimpleJumpintoIf(HeadMBB, TrueMBB, FalseMBB, LandBlk, 0);
1349 if (TrueMBB) {
1350 TrueMBB->addSuccessor(LandBlk);
1382 migrateInstruction(TrueMBB, LandBlk, I);
1406 if (MBB != TrueMBB && MBB != FalseMBB)
1412 showImproveSimpleJumpintoIf(HeadMBB, TrueMBB, FalseMBB, LandBlk, 0);
1449 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
1451 assert (TrueMBB);
1455 if (TrueMBB) {
1456 dbgs() << "BB" << TrueMBB->getNumber();
1488 if (TrueMBB) {
1489 MBB->splice(I, TrueMBB, TrueMBB->begin(), TrueMBB->end());
1490 MBB->removeSuccessor(TrueMBB);
1491 if (LandMBB && TrueMBB->succ_size()!=0)
1492 TrueMBB->removeSuccessor(LandMBB);
1493 retireBlock(TrueMBB);
1494 MLI->removeBlock(TrueMBB);
1511 if (LandMBB && TrueMBB && FalseMBB)