Lines Matching refs:SuccBB
510 static void FixTail(MachineBasicBlock *CurMBB, MachineBasicBlock *SuccBB,
522 TII->insertBranch(*CurMBB, SuccBB, nullptr, Cond, dl);
527 TII->insertBranch(*CurMBB, SuccBB, nullptr,
626 /// SuccBB A common successor of MBB1, MBB2 which are in a canonical form
627 /// relative to SuccBB
628 /// PredBB The layout predecessor of SuccBB, if any.
636 MachineBasicBlock::iterator &I2, MachineBasicBlock *SuccBB,
710 if (SuccBB && MBB1 != PredBB && MBB2 != PredBB &&
731 MachineBasicBlock *SuccBB,
745 SuccBB, PredBB,
766 MachineBasicBlock *SuccBB,
774 if (SuccBB && CurMBB != PredBB)
775 FixTail(CurMBB, SuccBB, TII);
785 MachineBasicBlock *SuccBB,
813 // If the split block unconditionally falls-thru to SuccBB, it will be
814 // merged. In control flow terms it should then take SuccBB's name. e.g. If
815 // SuccBB is an inner loop, the common tail is still part of the inner loop.
816 const BasicBlock *BB = (SuccBB && MBB->succ_size() == 1) ?
817 SuccBB->getBasicBlock() : MBB->getBasicBlock();
946 // See if any of the blocks in MergePotentials (which all have SuccBB as a
955 bool BranchFolder::TryTailMergeBlocks(MachineBasicBlock *SuccBB,
965 dbgs() << "\n"; if (SuccBB) {
966 dbgs() << " with successor " << printMBBReference(*SuccBB) << '\n';
986 SuccBB, PredBB);
991 RemoveBlocksWithHash(CurHash, SuccBB, PredBB);
1034 if (!CreateCommonTailOnlyBlock(PredBB, SuccBB,
1036 RemoveBlocksWithHash(CurHash, SuccBB, PredBB);
1061 // BB i is no longer a predecessor of SuccBB; remove it from the worklist.
1397 for (MachineBasicBlock *SuccBB : MBB.successors())
1398 if (SuccBB->pred_size() == 1)
1399 copyDebugInfoToSuccessor(TII, MBB, *SuccBB);
1798 for (MachineBasicBlock *SuccBB : MBB->successors()) {
1800 MachineFunction::iterator SuccPrev = --SuccBB->getIterator();
1806 if (SuccBB != MBB && &*SuccPrev != MBB &&
1808 !SuccBB->isEHPad()) {
1809 MBB->moveBefore(SuccBB);
1863 for (MachineBasicBlock *SuccBB : BB->successors())
1864 if (SuccBB != TrueBB)
1865 return SuccBB;