Lines Matching refs:ExitValue
1357 const SCEV *ExitValue = SE->getSCEVAtScope(Inst, L->getParentLoop()); in rewriteLoopExitValues() local
1358 if (isa<SCEVCouldNotCompute>(ExitValue) || in rewriteLoopExitValues()
1359 !SE->isLoopInvariant(ExitValue, L) || in rewriteLoopExitValues()
1360 !Rewriter.isSafeToExpand(ExitValue)) { in rewriteLoopExitValues()
1370 ExitValue = AddRec->evaluateAtIteration(ExitCount, *SE); in rewriteLoopExitValues()
1371 if (isa<SCEVCouldNotCompute>(ExitValue) || in rewriteLoopExitValues()
1372 !SE->isLoopInvariant(ExitValue, L) || in rewriteLoopExitValues()
1373 !Rewriter.isSafeToExpand(ExitValue)) in rewriteLoopExitValues()
1382 if (ReplaceExitValue != AlwaysRepl && !isa<SCEVConstant>(ExitValue) && in rewriteLoopExitValues()
1383 !isa<SCEVUnknown>(ExitValue) && hasHardUserWithinLoop(L, Inst)) in rewriteLoopExitValues()
1388 ExitValue, L, SCEVCheapExpansionBudget, TTI, Inst); in rewriteLoopExitValues()
1400 RewritePhiSet.emplace_back(PN, i, ExitValue, InsertPt, HighCost); in rewriteLoopExitValues()