Lines Matching refs:SCEVAddRecExpr
290 if (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(S)) { in FactorOutConstant()
316 for (unsigned i = Ops.size(); i > 0 && isa<SCEVAddRecExpr>(Ops[i-1]); --i) in SimplifyAddOperands()
347 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Ops[i])) { in SplitAddRecs()
631 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) in getRelevantLoop()
858 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Base)) { in ExposePointerBase()
1078 const SCEVAddRecExpr *Phi, in canBeCheaplyTransformed()
1079 const SCEVAddRecExpr *Requested, in canBeCheaplyTransformed()
1088 Phi = dyn_cast<SCEVAddRecExpr>(SE.getTruncateOrNoop(Phi, RequestedTy)); in canBeCheaplyTransformed()
1108 static bool IsIncrementNSW(ScalarEvolution &SE, const SCEVAddRecExpr *AR) { in IsIncrementNSW()
1122 static bool IsIncrementNUW(ScalarEvolution &SE, const SCEVAddRecExpr *AR) { in IsIncrementNUW()
1140 SCEVExpander::getAddRecExprPHILiterally(const SCEVAddRecExpr *Normalized, in getAddRecExprPHILiterally()
1166 const SCEVAddRecExpr *PhiSCEV = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(&PN)); in getAddRecExprPHILiterally()
1318 Value *SCEVExpander::expandAddRecExprLiterally(const SCEVAddRecExpr *S) { in expandAddRecExprLiterally()
1325 const SCEVAddRecExpr *Normalized = S; in expandAddRecExprLiterally()
1329 Normalized = cast<SCEVAddRecExpr>(normalizeForPostIncUse(S, Loops, SE)); in expandAddRecExprLiterally()
1338 Normalized = cast<SCEVAddRecExpr>( in expandAddRecExprLiterally()
1358 cast<SCEVAddRecExpr>(SE.getAddRecExpr( in expandAddRecExprLiterally()
1466 Value *SCEVExpander::visitAddRecExpr(const SCEVAddRecExpr *S) { in visitAddRecExpr()
1593 if (isa<SCEVAddRecExpr>(Ext)) in visitAddRecExpr()
1596 const SCEV *V = cast<SCEVAddRecExpr>(NewS)->evaluateAtIteration(IH, SE); in visitAddRecExpr()
2148 Value *SCEVExpander::generateOverflowCheck(const SCEVAddRecExpr *AR, in generateOverflowCheck()
2247 const auto *A = cast<SCEVAddRecExpr>(Pred->getExpr()); in expandWrapPredicate()
2320 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in follow()