Home
last modified time | relevance | path

Searched refs:StepValue (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp643 : StartValue(Start), IK(K), StepValue(Step) { in InductionInfo()
646 assert(StepValue && !StepValue->isZero() && "StepValue is zero"); in InductionInfo()
651 assert(StepValue->getType()->isIntegerTy() && in InductionInfo()
655 : StartValue(nullptr), IK(IK_NoInduction), StepValue(nullptr) {} in InductionInfo()
662 if (StepValue && (StepValue->isOne() || StepValue->isMinusOne())) in getConsecutiveDirection()
663 return StepValue->getSExtValue(); in getConsecutiveDirection()
678 if (StepValue->isMinusOne()) in transform()
680 if (!StepValue->isOne()) in transform()
681 Index = B.CreateMul(Index, StepValue); in transform()
685 if (StepValue->isMinusOne()) in transform()
[all …]