Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp616 : StartValue(Start), IK(K), StepValue(Step) { in InductionDescriptor()
619 assert(StepValue && !StepValue->isZero() && "StepValue is zero"); in InductionDescriptor()
624 assert(StepValue->getType()->isIntegerTy() && in InductionDescriptor()
629 if (StepValue && (StepValue->isOne() || StepValue->isMinusOne())) in getConsecutiveDirection()
630 return StepValue->getSExtValue(); in getConsecutiveDirection()
639 if (StepValue->isMinusOne()) in transform()
641 if (!StepValue->isOne()) in transform()
642 Index = B.CreateMul(Index, StepValue); in transform()
646 assert(Index->getType() == StepValue->getType() && in transform()
648 if (StepValue->isMinusOne()) in transform()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DLoopUtils.h261 : StartValue(nullptr), IK(IK_NoInduction), StepValue(nullptr) {} in InductionDescriptor()
279 ConstantInt *getStepValue() const { return StepValue; } in getStepValue()
293 ConstantInt *StepValue; variable