Home
last modified time | relevance | path

Searched refs:LatchExit (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp465 Loop *L, SmallVectorImpl<BasicBlock *> &OtherExits, BasicBlock *LatchExit, in canProfitablyRuntimeUnrollMultiExitLoop() argument
610 BasicBlock *LatchExit = LatchBR->getSuccessor(ExitIndex); in UnrollRuntimeLoopRemainder() local
612 if (L->contains(LatchExit)) { in UnrollRuntimeLoopRemainder()
640 !canProfitablyRuntimeUnrollMultiExitLoop(L, OtherExits, LatchExit, in UnrollRuntimeLoopRemainder()
715 NewExit = SplitBlockPredecessors(LatchExit, {Latch}, ".unr-lcssa", DT, LI, in UnrollRuntimeLoopRemainder()
733 if (LI->getLoopFor(LatchExit) != ParentL) { in UnrollRuntimeLoopRemainder()
832 BasicBlock *InsertBot = UseEpilogRemainder ? LatchExit : PrologExit; in UnrollRuntimeLoopRemainder()
872 assert(!(llvm::is_contained(OtherExits, SuccBB) || SuccBB == LatchExit) && in UnrollRuntimeLoopRemainder()
932 ConnectEpilog(L, ModVal, NewExit, LatchExit, PreHeader, EpilogPreHeader, in UnrollRuntimeLoopRemainder()
956 ConnectProlog(L, BECount, Count, PrologExit, LatchExit, PreHeader, in UnrollRuntimeLoopRemainder()
H A DLoopConstrainer.cpp397 BasicBlock *LatchExit = LatchBr->getSuccessor(LatchBrExitIdx); in parseLoopStructure() local
399 assert(!L.contains(LatchExit) && "expected an exit block!"); in parseLoopStructure()
417 Result.LatchExit = LatchExit; in parseLoopStructure()
643 B.CreateCondBr(IterationsLeft, RRI.PseudoExit, LS.LatchExit); in changeIterationSpaceEnd()
668 LS.LatchExit->replacePhiUsesWith(LS.Latch, RRI.ExitSelector); in changeIterationSpaceEnd()