Home | History | Annotate | Download | only in R600

Lines Matching refs:TrueMBB

287       MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
289 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB);
291 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
294 MachineBasicBlock *TrueMBB, MachineBasicBlock *FalseMBB,
302 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
1011 MachineBasicBlock *TrueMBB = getTrueBranch(BranchMI);
1012 NumMatch += serialPatternMatch(TrueMBB);
1013 TrueMBB);
1020 assert (!TrueMBB->succ_empty() || !FalseMBB->succ_empty());
1022 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1
1023 && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) {
1025 LandBlk = *TrueMBB->succ_begin();
1026 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) {
1031 && *FalseMBB->succ_begin() == TrueMBB) {
1034 std::swap(TrueMBB, FalseMBB);
1039 && isSameloopDetachedContbreak(TrueMBB, FalseMBB)) {
1041 } else if (TrueMBB->succ_size() == 1
1042 && isSameloopDetachedContbreak(FalseMBB, TrueMBB)) {
1043 LandBlk = *TrueMBB->succ_begin();
1045 return NumMatch + handleJumpintoIf(MBB, TrueMBB, FalseMBB);
1052 ((TrueMBB && TrueMBB->pred_size() > 1)
1054 Cloned += improveSimpleJumpintoIf(MBB, TrueMBB, FalseMBB, &LandBlk);
1057 if (TrueMBB && TrueMBB->pred_size() > 1) {
1058 TrueMBB = cloneBlockForPredecessor(TrueMBB, MBB);
1067 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);
1431 migrateInstruction(TrueMBB, LandBlk, I);
1455 if (MBB != TrueMBB && MBB != FalseMBB)
1461 showImproveSimpleJumpintoIf(HeadMBB, TrueMBB, FalseMBB, LandBlk, 0);
1498 MachineBasicBlock *MBB, MachineBasicBlock *TrueMBB,
1500 assert (TrueMBB);
1504 if (TrueMBB) {
1505 dbgs() << "BB" << TrueMBB->getNumber();
1537 if (TrueMBB) {
1538 MBB->splice(I, TrueMBB, TrueMBB->begin(), TrueMBB->end());
1539 MBB->removeSuccessor(TrueMBB);
1540 if (LandMBB && TrueMBB->succ_size()!=0)
1541 TrueMBB->removeSuccessor(LandMBB);
1542 retireBlock(TrueMBB);
1543 MLI->removeBlock(TrueMBB);
1560 if (LandMBB && TrueMBB && FalseMBB)