Lines Matching refs:ExitBlocks

1070     ArrayRef<BasicBlock *> ExitBlocks, BasicBlock *ParentBB,  in buildClonedLoopBlocks()  argument
1077 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
1111 for (auto *ExitBB : ExitBlocks) { in buildClonedLoopBlocks()
1311 static void buildClonedLoops(Loop &OrigL, ArrayRef<BasicBlock *> ExitBlocks, in buildClonedLoops() argument
1329 ClonedExitsInLoops.reserve(ExitBlocks.size()); in buildClonedLoops()
1330 for (auto *ExitBB : ExitBlocks) in buildClonedLoops()
1561 deleteDeadClonedBlocks(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in deleteDeadClonedBlocks() argument
1566 for (BasicBlock *BB : llvm::concat<BasicBlock *const>(L.blocks(), ExitBlocks)) in deleteDeadClonedBlocks()
1592 SmallVectorImpl<BasicBlock *> &ExitBlocks, in deleteDeadBlocksFromLoop() argument
1602 SmallVector<BasicBlock *, 16> DeathCandidates(ExitBlocks.begin(), in deleteDeadBlocksFromLoop()
1603 ExitBlocks.end()); in deleteDeadBlocksFromLoop()
1622 llvm::erase_if(ExitBlocks, in deleteDeadBlocksFromLoop()
1793 static bool rebuildLoopAfterUnswitch(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in rebuildLoopAfterUnswitch() argument
1803 ExitsInLoops.reserve(ExitBlocks.size()); in rebuildLoopAfterUnswitch()
1804 for (auto *ExitBB : ExitBlocks) in rebuildLoopAfterUnswitch()
2024 SmallVectorImpl<BasicBlock *> &ExitBlocks, IVConditionInfo &PartialIVInfo, in unswitchNontrivialInvariants() argument
2105 for (auto *ExitBB : ExitBlocks) { in unswitchNontrivialInvariants()
2161 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB, in unswitchNontrivialInvariants()
2234 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2236 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2303 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2305 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2316 deleteDeadClonedBlocks(L, ExitBlocks, VMaps, DT, MSSAU); in unswitchNontrivialInvariants()
2323 buildClonedLoops(L, ExitBlocks, *VMap, LI, NonChildClonedLoops); in unswitchNontrivialInvariants()
2328 deleteDeadBlocksFromLoop(L, ExitBlocks, DT, LI, MSSAU, DestroyLoopCB); in unswitchNontrivialInvariants()
2334 bool IsStillLoop = rebuildLoopAfterUnswitch(L, ExitBlocks, LI, HoistedLoops); in unswitchNontrivialInvariants()
2528 SmallVectorImpl<BasicBlock *> &ExitBlocks, in turnGuardIntoBranch() argument
2557 ExitBlocks.push_back(CheckBI->getSuccessor(1)); in turnGuardIntoBranch()
2782 SmallVector<BasicBlock *, 4> ExitBlocks; in unswitchBestCondition() local
2783 L.getUniqueExitBlocks(ExitBlocks); in unswitchBestCondition()
2789 for (auto *ExitBB : ExitBlocks) { in unswitchBestCondition()
2961 ExitBlocks, DT, LI, MSSAU); in unswitchBestCondition()
2967 ExitBlocks, PartialIVInfo, DT, LI, AC, in unswitchBestCondition()