Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp774 BranchInst *LatchBranch = getExpectedExitLoopLatchBranch(L); in getLoopEstimatedTripCount() local
775 if (!LatchBranch) in getLoopEstimatedTripCount()
782 if (!LatchBranch->extractProfMetadata(BackedgeTakenWeight, LatchExitWeight)) in getLoopEstimatedTripCount()
785 if (LatchBranch->getSuccessor(0) != L->getHeader()) in getLoopEstimatedTripCount()
806 BranchInst *LatchBranch = getExpectedExitLoopLatchBranch(L); in setLoopEstimatedTripCount() local
807 if (!LatchBranch) in setLoopEstimatedTripCount()
820 if (LatchBranch->getSuccessor(0) != L->getHeader()) in setLoopEstimatedTripCount()
823 MDBuilder MDB(LatchBranch->getContext()); in setLoopEstimatedTripCount()
826 LatchBranch->setMetadata( in setLoopEstimatedTripCount()