Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp679 ConstantInt *ConstStep = getConstIntStepValue(); in getConsecutiveDirection() local
680 if (ConstStep && (ConstStep->isOne() || ConstStep->isMinusOne())) in getConsecutiveDirection()
681 return ConstStep->getSExtValue(); in getConsecutiveDirection()
783 const SCEVConstant *ConstStep = dyn_cast<SCEVConstant>(Step); in isInductionPHI() local
784 if (!ConstStep && !SE->isLoopInvariant(Step, AR->getLoop())) in isInductionPHI()
794 if (!ConstStep) in isInductionPHI()
797 ConstantInt *CV = ConstStep->getValue(); in isInductionPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUtils.cpp793 ConstantInt *ConstStep = getConstIntStepValue(); in getConsecutiveDirection() local
794 if (ConstStep && (ConstStep->isOne() || ConstStep->isMinusOne())) in getConsecutiveDirection()
795 return ConstStep->getSExtValue(); in getConsecutiveDirection()
1107 const SCEVConstant *ConstStep = dyn_cast<SCEVConstant>(Step); in isInductionPHI() local
1108 if (!ConstStep && !SE->isLoopInvariant(Step, TheLoop)) in isInductionPHI()
1119 if (!ConstStep) in isInductionPHI()
1122 ConstantInt *CV = ConstStep->getValue(); in isInductionPHI()