Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp76 BinaryOperator *StepInst; member
79 FrozenIndPHIInfo(PHINode *PHI, BinaryOperator *StepInst) in FrozenIndPHIInfo()
80 : PHI(PHI), StepInst(StepInst) {} in FrozenIndPHIInfo()
139 if (!Info.StepInst || !canHandleInst(Info.StepInst)) { in run()
145 Info.StepValIdx = Info.StepInst->getOperand(0) == Φ in run()
146 Value *StepV = Info.StepInst->getOperand(Info.StepValIdx); in run()
163 for_each(Info.StepInst->users(), Visit); in run()
175 BinaryOperator *StepI = Info.StepInst; in run()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DLoopInfo.cpp185 const Instruction &StepInst) { in findFinalIVValue() argument
192 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
195 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
209 Instruction *StepInst = IndDesc.getInductionBinOp(); in getBounds() local
210 if (!InitialIVValue || !StepInst) in getBounds()
214 Value *StepInstOp1 = StepInst->getOperand(1); in getBounds()
215 Value *StepInstOp0 = StepInst->getOperand(0); in getBounds()
222 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds()
226 return LoopBounds(L, *InitialIVValue, *StepInst, StepValue, *FinalIVValue, in getBounds()
312 Instruction *StepInst = IndDesc.getInductionBinOp(); in getInductionVariable() local
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DLoopInfo.h650 Instruction &getStepInst() const { return StepInst; } in getStepInst()
706 : L(Loop), InitialIVValue(I), StepInst(SI), StepValue(SV), in LoopBounds()
715 Instruction &StepInst; member