Lines Matching defs:ExitValue
1586 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop());
1587 if (isa<SCEVCouldNotCompute>(ExitValue) ||
1588 !SE->isLoopInvariant(ExitValue, L) ||
1589 !Rewriter.isSafeToExpand(ExitValue)) {
1599 ExitValue = AddRec->evaluateAtIteration(ExitCount, *SE);
1600 if (isa<SCEVCouldNotCompute>(ExitValue) ||
1601 !SE->isLoopInvariant(ExitValue, L) ||
1602 !Rewriter.isSafeToExpand(ExitValue))
1609 // the ExitValue already. TODO: This should be merged into SCEV
1611 if (ReplaceExitValue != AlwaysRepl && !isa<SCEVConstant>(ExitValue) &&
1612 !isa<SCEVUnknown>(ExitValue) && hasHardUserWithinLoop(L, Inst))
1617 ExitValue, L, SCEVCheapExpansionBudget, TTI, Inst);
1629 RewritePhiSet.emplace_back(PN, i, ExitValue, InsertPt, HighCost);
1646 // Only do the rewrite when the ExitValue can be expanded cheaply.