Lines Matching refs:ExitBlocks
1169 ArrayRef<BasicBlock *> ExitBlocks, BasicBlock *ParentBB, in buildClonedLoopBlocks() argument
1177 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1211 for (auto *ExitBB : ExitBlocks) { in buildClonedLoopBlocks()
1423 static void buildClonedLoops(Loop &OrigL, ArrayRef<BasicBlock *> ExitBlocks, in buildClonedLoops() argument
1441 ClonedExitsInLoops.reserve(ExitBlocks.size()); in buildClonedLoops()
1442 for (auto *ExitBB : ExitBlocks) in buildClonedLoops()
1673 deleteDeadClonedBlocks(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in deleteDeadClonedBlocks() argument
1678 for (BasicBlock *BB : llvm::concat<BasicBlock *const>(L.blocks(), ExitBlocks)) in deleteDeadClonedBlocks()
1703 SmallVectorImpl<BasicBlock *> &ExitBlocks, in deleteDeadBlocksFromLoop() argument
1714 SmallVector<BasicBlock *, 16> DeathCandidates(ExitBlocks.begin(), in deleteDeadBlocksFromLoop()
1715 ExitBlocks.end()); in deleteDeadBlocksFromLoop()
1734 llvm::erase_if(ExitBlocks, in deleteDeadBlocksFromLoop()
1907 static bool rebuildLoopAfterUnswitch(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in rebuildLoopAfterUnswitch() argument
1918 ExitsInLoops.reserve(ExitBlocks.size()); in rebuildLoopAfterUnswitch()
1919 for (auto *ExitBB : ExitBlocks) in rebuildLoopAfterUnswitch()
2262 SmallVector<BasicBlock *, 4> ExitBlocks; in unswitchNontrivialInvariants() local
2263 L.getUniqueExitBlocks(ExitBlocks); in unswitchNontrivialInvariants()
2264 for (auto *ExitBB : ExitBlocks) { in unswitchNontrivialInvariants()
2323 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB, in unswitchNontrivialInvariants()
2410 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2412 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2482 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2484 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2495 deleteDeadClonedBlocks(L, ExitBlocks, VMaps, DT, MSSAU); in unswitchNontrivialInvariants()
2502 buildClonedLoops(L, ExitBlocks, *VMap, LI, NonChildClonedLoops); in unswitchNontrivialInvariants()
2507 deleteDeadBlocksFromLoop(L, ExitBlocks, DT, LI, MSSAU, SE, LoopUpdater); in unswitchNontrivialInvariants()
2514 rebuildLoopAfterUnswitch(L, ExitBlocks, LI, HoistedLoops, SE); in unswitchNontrivialInvariants()
3298 SmallVector<BasicBlock *, 4> ExitBlocks; in isSafeForNoNTrivialUnswitching() local
3299 L.getUniqueExitBlocks(ExitBlocks); in isSafeForNoNTrivialUnswitching()
3304 for (auto *ExitBB : ExitBlocks) { in isSafeForNoNTrivialUnswitching()