Lines Matching refs:ExitBlocks
1160 ArrayRef<BasicBlock *> ExitBlocks, BasicBlock *ParentBB, in buildClonedLoopBlocks() argument
1168 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1202 for (auto *ExitBB : ExitBlocks) { in buildClonedLoopBlocks()
1409 static void buildClonedLoops(Loop &OrigL, ArrayRef<BasicBlock *> ExitBlocks, in buildClonedLoops() argument
1427 ClonedExitsInLoops.reserve(ExitBlocks.size()); in buildClonedLoops()
1428 for (auto *ExitBB : ExitBlocks) in buildClonedLoops()
1659 deleteDeadClonedBlocks(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in deleteDeadClonedBlocks() argument
1664 for (BasicBlock *BB : llvm::concat<BasicBlock *const>(L.blocks(), ExitBlocks)) in deleteDeadClonedBlocks()
1689 SmallVectorImpl<BasicBlock *> &ExitBlocks, in deleteDeadBlocksFromLoop() argument
1700 SmallVector<BasicBlock *, 16> DeathCandidates(ExitBlocks.begin(), in deleteDeadBlocksFromLoop()
1701 ExitBlocks.end()); in deleteDeadBlocksFromLoop()
1720 llvm::erase_if(ExitBlocks, in deleteDeadBlocksFromLoop()
1893 static bool rebuildLoopAfterUnswitch(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in rebuildLoopAfterUnswitch() argument
1904 ExitsInLoops.reserve(ExitBlocks.size()); in rebuildLoopAfterUnswitch()
1905 for (auto *ExitBB : ExitBlocks) in rebuildLoopAfterUnswitch()
2248 SmallVector<BasicBlock *, 4> ExitBlocks; in unswitchNontrivialInvariants() local
2249 L.getUniqueExitBlocks(ExitBlocks); in unswitchNontrivialInvariants()
2250 for (auto *ExitBB : ExitBlocks) { in unswitchNontrivialInvariants()
2309 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB, in unswitchNontrivialInvariants()
2391 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2393 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2462 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2464 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2475 deleteDeadClonedBlocks(L, ExitBlocks, VMaps, DT, MSSAU); in unswitchNontrivialInvariants()
2482 buildClonedLoops(L, ExitBlocks, *VMap, LI, NonChildClonedLoops); in unswitchNontrivialInvariants()
2487 deleteDeadBlocksFromLoop(L, ExitBlocks, DT, LI, MSSAU, SE, LoopUpdater); in unswitchNontrivialInvariants()
2494 rebuildLoopAfterUnswitch(L, ExitBlocks, LI, HoistedLoops, SE); in unswitchNontrivialInvariants()
3276 SmallVector<BasicBlock *, 4> ExitBlocks; in isSafeForNoNTrivialUnswitching() local
3277 L.getUniqueExitBlocks(ExitBlocks); in isSafeForNoNTrivialUnswitching()
3282 for (auto *ExitBB : ExitBlocks) { in isSafeForNoNTrivialUnswitching()