Lines Matching refs:ExitVal
607 Value *ExitVal = in rewriteLoopExitValues() local
610 DEBUG(dbgs() << "INDVARS: RLEV: AfterLoopVal = " << *ExitVal << '\n' in rewriteLoopExitValues()
613 if (!isValidRewrite(Inst, ExitVal)) { in rewriteLoopExitValues()
614 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues()
619 RewritePhiSet.emplace_back(PN, i, ExitVal, HighCost); in rewriteLoopExitValues()
629 Value *ExitVal = Phi.Val; in rewriteLoopExitValues() local
634 DeadInsts.push_back(ExitVal); in rewriteLoopExitValues()
641 PN->setIncomingValue(Phi.Ith, ExitVal); in rewriteLoopExitValues()
650 LI->replacementPreservesLCSSAForm(PN, ExitVal)) { in rewriteLoopExitValues()
651 PN->replaceAllUsesWith(ExitVal); in rewriteLoopExitValues()
711 auto *ExitVal = in rewriteFirstIterationLoopExitValues() local
715 if (!ExitVal) in rewriteFirstIterationLoopExitValues()
723 int PreheaderIdx = ExitVal->getBasicBlockIndex(LoopPreheader); in rewriteFirstIterationLoopExitValues()
725 assert(ExitVal->getParent() == LoopHeader && in rewriteFirstIterationLoopExitValues()
728 ExitVal->getIncomingValue(PreheaderIdx)); in rewriteFirstIterationLoopExitValues()