Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp98 BinaryOperator *StepInst; member
101 FrozenIndPHIInfo(PHINode *PHI, BinaryOperator *StepInst) in FrozenIndPHIInfo()
102 : PHI(PHI), StepInst(StepInst) {} in FrozenIndPHIInfo()
166 if (!Info.StepInst || !canHandleInst(Info.StepInst)) { in run()
172 Info.StepValIdx = Info.StepInst->getOperand(0) == Φ in run()
173 Value *StepV = Info.StepInst->getOperand(Info.StepValIdx); in run()
190 for_each(Info.StepInst->users(), Visit); in run()
202 BinaryOperator *StepI = Info.StepInst; in run()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DLoopInfo.cpp186 const Instruction &StepInst) { in findFinalIVValue() argument
193 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
196 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
210 Instruction *StepInst = IndDesc.getInductionBinOp(); in getBounds() local
211 if (!InitialIVValue || !StepInst) in getBounds()
215 Value *StepInstOp1 = StepInst->getOperand(1); in getBounds()
216 Value *StepInstOp0 = StepInst->getOperand(0); in getBounds()
223 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds()
227 return LoopBounds(L, *InitialIVValue, *StepInst, StepValue, *FinalIVValue, in getBounds()
314 Value *StepInst = IndVar.getIncomingValueForBlock(Latch); in getInductionVariable() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopInfo.h172 Instruction &getStepInst() const { return StepInst; } in getStepInst()
228 : L(Loop), InitialIVValue(I), StepInst(SI), StepValue(SV), in LoopBounds()
237 Instruction &StepInst; member