Lines Matching defs:Step
657 const SCEV *Step)
658 : StartValue(Start), IK(K), Step(Step) {
669 // Check the Step Value. It should be non-zero integer value.
671 "Step value is zero");
674 "Step value should be constant for pointer induction");
675 assert(Step->getType()->isIntegerTy() && "StepValue is not an integer");
686 if (isa<SCEVConstant>(Step))
687 return dyn_cast<ConstantInt>(cast<SCEVConstant>(Step)->getValue());
702 // and calculate (Start + Index * Step) for all cases, without
716 SE->getMulExpr(Step, SE->getSCEV(Index)));
720 assert(Index->getType() == Step->getType() &&
722 assert(isa<SCEVConstant>(Step) &&
724 const SCEV *S = SE->getMulExpr(SE->getSCEV(Index), Step);
780 const SCEV *Step = AR->getStepRecurrence(*SE);
783 const SCEVConstant *ConstStep = dyn_cast<SCEVConstant>(Step);
784 if (!ConstStep && !SE->isLoopInvariant(Step, AR->getLoop()))
788 D = InductionDescriptor(StartValue, IK_IntInduction, Step);