Lines Matching refs:SuccBB

474 static void FixTail(MachineBasicBlock *CurMBB, MachineBasicBlock *SuccBB,  in FixTail()  argument
487 TII->InsertBranch(*CurMBB, SuccBB, nullptr, Cond, dl); in FixTail()
492 TII->InsertBranch(*CurMBB, SuccBB, nullptr, in FixTail()
559 MachineBasicBlock *SuccBB, in ProfitableToMerge() argument
590 if (SuccBB && MBB1 != PredBB && MBB2 != PredBB && in ProfitableToMerge()
624 MachineBasicBlock *SuccBB, in ComputeSameTails() argument
638 SuccBB, PredBB)) { in ComputeSameTails()
659 MachineBasicBlock *SuccBB, in RemoveBlocksWithHash() argument
667 if (SuccBB && CurMBB != PredBB) in RemoveBlocksWithHash()
668 FixTail(CurMBB, SuccBB, TII); in RemoveBlocksWithHash()
680 MachineBasicBlock *SuccBB, in CreateCommonTailOnlyBlock() argument
713 const BasicBlock *BB = (SuccBB && MBB->succ_size() == 1) ? in CreateCommonTailOnlyBlock()
714 SuccBB->getBasicBlock() : MBB->getBasicBlock(); in CreateCommonTailOnlyBlock()
795 bool BranchFolder::TryTailMergeBlocks(MachineBasicBlock *SuccBB, in TryTailMergeBlocks() argument
808 if (SuccBB) { in TryTailMergeBlocks()
809 dbgs() << " with successor BB#" << SuccBB->getNumber() << '\n'; in TryTailMergeBlocks()
831 SuccBB, PredBB); in TryTailMergeBlocks()
836 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()
879 if (!CreateCommonTailOnlyBlock(PredBB, SuccBB, in TryTailMergeBlocks()
881 RemoveBlocksWithHash(CurHash, SuccBB, PredBB); in TryTailMergeBlocks()
1540 MachineBasicBlock *SuccBB = *SI; in OptimizeBlock() local
1541 MachineFunction::iterator SuccPrev = SuccBB; --SuccPrev; in OptimizeBlock()
1547 if (SuccBB != MBB && &*SuccPrev != MBB && in OptimizeBlock()
1549 !SuccBB->isLandingPad()) { in OptimizeBlock()
1550 MBB->moveBefore(SuccBB); in OptimizeBlock()
1596 MachineBasicBlock *SuccBB = *SI; in findFalseBlock() local
1597 if (SuccBB != TrueBB) in findFalseBlock()
1598 return SuccBB; in findFalseBlock()