Home | History | Annotate | Download | only in Utils

Lines Matching refs:StepValue

616   : StartValue(Start), IK(K), StepValue(Step) {
619 assert(StepValue && !StepValue->isZero() && "StepValue is zero");
624 assert(StepValue->getType()->isIntegerTy() &&
625 "StepValue is not an integer");
629 if (StepValue && (StepValue->isOne() || StepValue->isMinusOne()))
630 return StepValue->getSExtValue();
639 if (StepValue->isMinusOne())
641 if (!StepValue->isOne())
642 Index = B.CreateMul(Index, StepValue);
646 assert(Index->getType() == StepValue->getType() &&
647 "Index type does not match StepValue type");
648 if (StepValue->isMinusOne())
650 else if (!StepValue->isOne())
651 Index = B.CreateMul(Index, StepValue);
706 auto *StepValue = ConstantInt::getSigned(CV->getType(), CVSize / Size);
708 D = InductionDescriptor(StartValue, IK_PtrInduction, StepValue);