Lines Matching refs:ExitBlocks

944     ArrayRef<BasicBlock *> ExitBlocks, BasicBlock *ParentBB,  in buildClonedLoopBlocks()  argument
951 NewBlocks.reserve(L.getNumBlocks() + ExitBlocks.size()); in buildClonedLoopBlocks()
985 for (auto *ExitBB : ExitBlocks) { in buildClonedLoopBlocks()
1173 static void buildClonedLoops(Loop &OrigL, ArrayRef<BasicBlock *> ExitBlocks, in buildClonedLoops() argument
1191 ClonedExitsInLoops.reserve(ExitBlocks.size()); in buildClonedLoops()
1192 for (auto *ExitBB : ExitBlocks) in buildClonedLoops()
1423 deleteDeadClonedBlocks(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in deleteDeadClonedBlocks() argument
1428 for (BasicBlock *BB : llvm::concat<BasicBlock *const>(L.blocks(), ExitBlocks)) in deleteDeadClonedBlocks()
1453 SmallVectorImpl<BasicBlock *> &ExitBlocks, in deleteDeadBlocksFromLoop() argument
1462 SmallVector<BasicBlock *, 16> DeathCandidates(ExitBlocks.begin(), in deleteDeadBlocksFromLoop()
1463 ExitBlocks.end()); in deleteDeadBlocksFromLoop()
1482 llvm::erase_if(ExitBlocks, in deleteDeadBlocksFromLoop()
1647 static bool rebuildLoopAfterUnswitch(Loop &L, ArrayRef<BasicBlock *> ExitBlocks, in rebuildLoopAfterUnswitch() argument
1657 ExitsInLoops.reserve(ExitBlocks.size()); in rebuildLoopAfterUnswitch()
1658 for (auto *ExitBB : ExitBlocks) in rebuildLoopAfterUnswitch()
1877 SmallVectorImpl<BasicBlock *> &ExitBlocks, DominatorTree &DT, LoopInfo &LI, in unswitchNontrivialInvariants() argument
1948 for (auto *ExitBB : ExitBlocks) { in unswitchNontrivialInvariants()
2004 L, LoopPH, SplitBB, ExitBlocks, ParentBB, SuccBB, RetainedSuccBB, in unswitchNontrivialInvariants()
2060 MSSAU->updateForClonedLoop(LBRPO, ExitBlocks, *VMap, in unswitchNontrivialInvariants()
2062 MSSAU->updateExitBlocksForClonedLoop(ExitBlocks, VMaps, DT); in unswitchNontrivialInvariants()
2134 deleteDeadClonedBlocks(L, ExitBlocks, VMaps, DT, MSSAU); in unswitchNontrivialInvariants()
2141 buildClonedLoops(L, ExitBlocks, *VMap, LI, NonChildClonedLoops); in unswitchNontrivialInvariants()
2146 deleteDeadBlocksFromLoop(L, ExitBlocks, DT, LI, MSSAU); in unswitchNontrivialInvariants()
2152 bool IsStillLoop = rebuildLoopAfterUnswitch(L, ExitBlocks, LI, HoistedLoops); in unswitchNontrivialInvariants()
2346 SmallVectorImpl<BasicBlock *> &ExitBlocks, in turnGuardIntoBranch() argument
2375 ExitBlocks.push_back(CheckBI->getSuccessor(1)); in turnGuardIntoBranch()
2572 SmallVector<BasicBlock *, 4> ExitBlocks; in unswitchBestCondition() local
2573 L.getUniqueExitBlocks(ExitBlocks); in unswitchBestCondition()
2579 for (auto *ExitBB : ExitBlocks) in unswitchBestCondition()
2739 ExitBlocks, DT, LI, MSSAU); in unswitchBestCondition()
2745 ExitBlocks, DT, LI, AC, UnswitchCB, SE, MSSAU); in unswitchBestCondition()