Lines Matching refs:Step

345     const SCEV *Step = A->getStepRecurrence(SE);  in FactorOutConstant()  local
346 const SCEV *StepRem = SE.getConstant(Step->getType(), 0); in FactorOutConstant()
347 if (!FactorOutConstant(Step, StepRem, Factor, SE, DL)) in FactorOutConstant()
354 S = SE.getAddRecExpr(Start, Step, A->getLoop(), in FactorOutConstant()
1143 const SCEV *Step = AR->getStepRecurrence(SE); in IsIncrementNSW() local
1144 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy), in IsIncrementNSW()
1147 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW()
1157 const SCEV *Step = AR->getStepRecurrence(SE); in IsIncrementNUW() local
1158 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getZeroExtendExpr(Step, WideTy), in IsIncrementNUW()
1161 SE.getZeroExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNUW()
1291 const SCEV *Step = Normalized->getStepRecurrence(SE); in getAddRecExprPHILiterally() local
1295 bool useSubtract = !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in getAddRecExprPHILiterally()
1297 Step = SE.getNegativeSCEV(Step); in getAddRecExprPHILiterally()
1300 Step, IntTy, &*L->getHeader()->getFirstInsertionPt(), false); in getAddRecExprPHILiterally()
1380 const SCEV *Step = Normalized->getStepRecurrence(SE); in expandAddRecExprLiterally() local
1382 if (!SE.dominates(Step, L->getHeader())) { in expandAddRecExprLiterally()
1383 PostLoopScale = Step; in expandAddRecExprLiterally()
1384 Step = SE.getConstant(Normalized->getType(), 1); in expandAddRecExprLiterally()
1394 Start, Step, Normalized->getLoop(), in expandAddRecExprLiterally()
1450 !ExpandTy->isPointerTy() && Step->isNonConstantNegative(); in expandAddRecExprLiterally()
1452 Step = SE.getNegativeSCEV(Step); in expandAddRecExprLiterally()
1458 Step, IntTy, &*L->getHeader()->getFirstInsertionPt(), false); in expandAddRecExprLiterally()
2376 const SCEV *Step = AR->getStepRecurrence(SE); in generateOverflowCheck() local
2395 Value *StepValue = expandCodeForImpl(Step, Ty, Loc, false); in generateOverflowCheck()
2397 expandCodeForImpl(SE.getNegativeSCEV(Step), Ty, Loc, false); in generateOverflowCheck()
2418 if (!Signed && Start->isZero() && SE.isKnownPositive(Step)) in generateOverflowCheck()
2425 if (Step->isOne()) { in generateOverflowCheck()
2441 bool NeedPosCheck = !SE.isKnownNegative(Step); in generateOverflowCheck()
2442 bool NeedNegCheck = !SE.isKnownPositive(Step); in generateOverflowCheck()
2595 const SCEV *Step = AR->getStepRecurrence(SE); in follow() local
2596 if (!AR->isAffine() && !SE.dominates(Step, AR->getLoop()->getHeader())) { in follow()