Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp835 BranchInst *LatchBranch = getExpectedExitLoopLatchBranch(L); in getLoopEstimatedTripCount() local
836 if (!LatchBranch) in getLoopEstimatedTripCount()
843 if (!LatchBranch->extractProfMetadata(BackedgeTakenWeight, LatchExitWeight)) in getLoopEstimatedTripCount()
846 if (LatchBranch->getSuccessor(0) != L->getHeader()) in getLoopEstimatedTripCount()
867 BranchInst *LatchBranch = getExpectedExitLoopLatchBranch(L); in setLoopEstimatedTripCount() local
868 if (!LatchBranch) in setLoopEstimatedTripCount()
881 if (LatchBranch->getSuccessor(0) != L->getHeader()) in setLoopEstimatedTripCount()
884 MDBuilder MDB(LatchBranch->getContext()); in setLoopEstimatedTripCount()
887 LatchBranch->setMetadata( in setLoopEstimatedTripCount()