Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DEVLIndVarSimplify.cpp262 auto *LatchBranch = cast<BranchInst>(LatchBlock->getTerminator()); in run() local
263 assert(LatchBranch->isConditional() && in run()
266 if (LatchBranch->getSuccessor(0) == L.getHeader()) in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp847 if (BranchInst *LatchBranch = getExpectedExitLoopLatchBranch(L)) { in getLoopEstimatedTripCount() local
850 getEstimatedTripCount(LatchBranch, L, ExitWeight)) { in getLoopEstimatedTripCount()
864 BranchInst *LatchBranch = getExpectedExitLoopLatchBranch(L); in setLoopEstimatedTripCount() local
865 if (!LatchBranch) in setLoopEstimatedTripCount()
878 if (LatchBranch->getSuccessor(0) != L->getHeader()) in setLoopEstimatedTripCount()
881 MDBuilder MDB(LatchBranch->getContext()); in setLoopEstimatedTripCount()
884 LatchBranch->setMetadata( in setLoopEstimatedTripCount()