Lines Matching defs:ExitValue
1646 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop());
1647 if (isa<SCEVCouldNotCompute>(ExitValue) ||
1648 !SE->isLoopInvariant(ExitValue, L) ||
1649 !Rewriter.isSafeToExpand(ExitValue)) {
1659 ExitValue = AddRec->evaluateAtIteration(ExitCount, *SE);
1660 if (isa<SCEVCouldNotCompute>(ExitValue) ||
1661 !SE->isLoopInvariant(ExitValue, L) ||
1662 !Rewriter.isSafeToExpand(ExitValue))
1669 // the ExitValue already. TODO: This should be merged into SCEV
1671 if (ReplaceExitValue != AlwaysRepl && !isa<SCEVConstant>(ExitValue) &&
1672 !isa<SCEVUnknown>(ExitValue) && hasHardUserWithinLoop(L, Inst))
1677 ExitValue, L, SCEVCheapExpansionBudget, TTI, Inst);
1689 RewritePhiSet.emplace_back(PN, i, ExitValue, InsertPt, HighCost);
1706 // Only do the rewrite when the ExitValue can be expanded cheaply.