Lines Matching refs:ExitBlocks
1096 ArrayRef<BasicBlock *> ExitBlocks, BasicBlock *ParentBB, in buildClonedLoopBlocks() argument
1103 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1137 for (auto *ExitBB : ExitBlocks) { in buildClonedLoopBlocks()
1337 static void buildClonedLoops(Loop &OrigL, ArrayRef<BasicBlock *> ExitBlocks, in buildClonedLoops() argument
1355 ClonedExitsInLoops.reserve(ExitBlocks.size()); in buildClonedLoops()
1356 for (auto *ExitBB : ExitBlocks) in buildClonedLoops()
1587 deleteDeadClonedBlocks(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in deleteDeadClonedBlocks() argument
1592 for (BasicBlock *BB : llvm::concat<BasicBlock *const>(L.blocks(), ExitBlocks)) in deleteDeadClonedBlocks()
1618 SmallVectorImpl<BasicBlock *> &ExitBlocks, in deleteDeadBlocksFromLoop() argument
1628 SmallVector<BasicBlock *, 16> DeathCandidates(ExitBlocks.begin(), in deleteDeadBlocksFromLoop()
1629 ExitBlocks.end()); in deleteDeadBlocksFromLoop()
1648 llvm::erase_if(ExitBlocks, in deleteDeadBlocksFromLoop()
1819 static bool rebuildLoopAfterUnswitch(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in rebuildLoopAfterUnswitch() argument
1829 ExitsInLoops.reserve(ExitBlocks.size()); in rebuildLoopAfterUnswitch()
1830 for (auto *ExitBB : ExitBlocks) in rebuildLoopAfterUnswitch()
2050 SmallVectorImpl<BasicBlock *> &ExitBlocks, IVConditionInfo &PartialIVInfo, in unswitchNontrivialInvariants() argument
2132 for (auto *ExitBB : ExitBlocks) { in unswitchNontrivialInvariants()
2195 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB, in unswitchNontrivialInvariants()
2279 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2281 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2350 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2352 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2363 deleteDeadClonedBlocks(L, ExitBlocks, VMaps, DT, MSSAU); in unswitchNontrivialInvariants()
2370 buildClonedLoops(L, ExitBlocks, *VMap, LI, NonChildClonedLoops); in unswitchNontrivialInvariants()
2375 deleteDeadBlocksFromLoop(L, ExitBlocks, DT, LI, MSSAU, DestroyLoopCB); in unswitchNontrivialInvariants()
2381 bool IsStillLoop = rebuildLoopAfterUnswitch(L, ExitBlocks, LI, HoistedLoops); in unswitchNontrivialInvariants()
2578 SmallVectorImpl<BasicBlock *> &ExitBlocks, in turnGuardIntoBranch() argument
2607 ExitBlocks.push_back(CheckBI->getSuccessor(1)); in turnGuardIntoBranch()
2828 SmallVector<BasicBlock *, 4> ExitBlocks; in unswitchBestCondition() local
2829 L.getUniqueExitBlocks(ExitBlocks); in unswitchBestCondition()
2835 for (auto *ExitBB : ExitBlocks) { in unswitchBestCondition()
3009 ExitBlocks, DT, LI, MSSAU); in unswitchBestCondition()
3015 ExitBlocks, PartialIVInfo, DT, LI, AC, in unswitchBestCondition()