Lines Matching refs:SuccBB
504 static void FixTail(MachineBasicBlock *CurMBB, MachineBasicBlock *SuccBB,
516 TII->InsertBranch(*CurMBB, SuccBB, nullptr, Cond, dl);
521 TII->InsertBranch(*CurMBB, SuccBB, nullptr,
598 MachineBasicBlock::iterator &I2, MachineBasicBlock *SuccBB,
640 if (SuccBB && MBB1 != PredBB && MBB2 != PredBB &&
670 MachineBasicBlock *SuccBB,
684 SuccBB, PredBB,
706 MachineBasicBlock *SuccBB,
714 if (SuccBB && CurMBB != PredBB)
715 FixTail(CurMBB, SuccBB, TII);
727 MachineBasicBlock *SuccBB,
757 // If the split block unconditionally falls-thru to SuccBB, it will be
758 // merged. In control flow terms it should then take SuccBB's name. e.g. If
759 // SuccBB is an inner loop, the common tail is still part of the inner loop.
760 const BasicBlock *BB = (SuccBB && MBB->succ_size() == 1) ?
761 SuccBB->getBasicBlock() : MBB->getBasicBlock();
819 // See if any of the blocks in MergePotentials (which all have SuccBB as a
826 bool BranchFolder::TryTailMergeBlocks(MachineBasicBlock *SuccBB,
839 if (SuccBB) {
840 dbgs() << " with successor BB#" << SuccBB->getNumber() << '\n';
862 SuccBB, PredBB);
867 RemoveBlocksWithHash(CurHash, SuccBB, PredBB);
910 if (!CreateCommonTailOnlyBlock(PredBB, SuccBB,
912 RemoveBlocksWithHash(CurHash, SuccBB, PredBB);
935 // BB i is no longer a predecessor of SuccBB; remove it from the worklist.
1576 for (MachineBasicBlock *SuccBB : MBB->successors()) {
1578 MachineFunction::iterator SuccPrev = --SuccBB->getIterator();
1584 if (SuccBB != MBB && &*SuccPrev != MBB &&
1586 !SuccBB->isEHPad()) {
1587 MBB->moveBefore(SuccBB);
1639 for (MachineBasicBlock *SuccBB : BB->successors())
1640 if (SuccBB != TrueBB)
1641 return SuccBB;