Searched refs:LatchBranch (Results 1 – 2 of 2) sorted by relevance
262 auto *LatchBranch = cast<BranchInst>(LatchBlock->getTerminator()); in run() local263 assert(LatchBranch->isConditional() && in run()266 if (LatchBranch->getSuccessor(0) == L.getHeader()) in run()
847 if (BranchInst *LatchBranch = getExpectedExitLoopLatchBranch(L)) { in getLoopEstimatedTripCount() local850 getEstimatedTripCount(LatchBranch, L, ExitWeight)) { in getLoopEstimatedTripCount()864 BranchInst *LatchBranch = getExpectedExitLoopLatchBranch(L); in setLoopEstimatedTripCount() local865 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()