Home
last modified time | relevance | path

Searched refs:isLoopExiting (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp277 if (!L->isLoopExiting(OrigHeader)) in rotateLoop()
287 if (L->isLoopExiting(OrigLatch) && !SimplifiedLatch && IsUtilMode == false && in rotateLoop()
775 if (!LastExit || !L->isLoopExiting(LastExit)) in simplifyLoopLatch()
812 assert((!MadeChange || L->isLoopExiting(L->getLoopLatch())) && in processLoop()
H A DLoopPeel.cpp87 if (!L->isLoopExiting(Latch)) in canPeel()
341 if (!LatchBR || LatchBR->getNumSuccessors() != 2 || !L->isLoopExiting(Latch)) in violatesLegacyMultiExitLoopCheck()
H A DLoopUnroll.cpp387 bool LatchIsExiting = L->isLoopExiting(LatchBlock); in UnrollLoop()
H A DLoopUtils.cpp714 if (L->isLoopExiting(Latch)) { in breakLoopBackedge()
773 if (!LatchBR || LatchBR->getNumSuccessors() != 2 || !L->isLoopExiting(Latch)) in getExpectedExitLoopLatchBranch()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineLoopInfo.cpp93 if (isLoopExiting(Latch)) in findLoopControlBlock()
H A DCalcSpillWeights.cpp245 IsExiting = Loop ? Loop->isLoopExiting(MBB) : false; in weightCalcHelper()
H A DMLRegallocEvictAdvisor.cpp732 bool IsExiting = Loop ? Loop->isLoopExiting(MBB) : false; in getLIFeatureComponents()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DLoopInfo.h241 bool isLoopExiting(const BlockT *BB) const { in isLoopExiting() function
810 return Latch && isLoopExiting(Latch); in isRotatedForm()
H A DLoopInfoImpl.h403 if (isLoopExiting(BB)) in print()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DPlaceSafepoints.cpp255 if (L->isLoopExiting(Pred)) { in mustBeFiniteCountedLoop()
H A DLoopUnrollPass.cpp1241 if (!ExitingBlock || !L->isLoopExiting(ExitingBlock)) in tryToUnrollLoop()
H A DInductiveRangeCheckElimination.cpp766 if (!L.isLoopExiting(Latch)) { in parseLoopStructure()
H A DSimpleLoopUnswitch.cpp425 if (Current->isLoopExiting(ExitBB)) in getTopMostExitingLoop()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetTransformInfo.cpp161 if ((L->contains(Succ0) && L->isLoopExiting(Succ0)) || in getUnrollingPreferences()
162 (L->contains(Succ1) && L->isLoopExiting(Succ1))) in getUnrollingPreferences()
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DLoopInfoTest.cpp1370 EXPECT_FALSE(L->isLoopExiting(Latch)); in TEST()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DScalarEvolution.cpp7923 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripCount()
8114 assert(L->isLoopExiting(ExitingBlock) && in getSmallConstantTripMultiple()
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp7976 if (OrigLoop->isLoopExiting(Src)) in createEdgeMask()