Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCanonicalizeFreezeInLoops.cpp74 BinaryOperator *StepInst; member
77 FrozenIndPHIInfo(PHINode *PHI, BinaryOperator *StepInst) in FrozenIndPHIInfo()
78 : PHI(PHI), StepInst(StepInst) {} in FrozenIndPHIInfo()
137 if (!Info.StepInst || !canHandleInst(Info.StepInst)) { in run()
143 Info.StepValIdx = Info.StepInst->getOperand(0) == Φ in run()
144 Value *StepV = Info.StepInst->getOperand(Info.StepValIdx); in run()
161 for_each(Info.StepInst->users(), Visit); in run()
173 BinaryOperator *StepI = Info.StepInst; in run()
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopInfo.cpp181 const Instruction &StepInst) { in findFinalIVValue() argument
188 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
191 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
205 Instruction *StepInst = IndDesc.getInductionBinOp(); in getBounds() local
206 if (!InitialIVValue || !StepInst) in getBounds()
210 Value *StepInstOp1 = StepInst->getOperand(1); in getBounds()
211 Value *StepInstOp0 = StepInst->getOperand(0); in getBounds()
218 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds()
222 return LoopBounds(L, *InitialIVValue, *StepInst, StepValue, *FinalIVValue, in getBounds()
309 Value *StepInst = IndVar.getIncomingValueForBlock(Latch); in getInductionVariable() local
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DLoopInfo.h672 Instruction &getStepInst() const { return StepInst; } in getStepInst()
728 : L(Loop), InitialIVValue(I), StepInst(SI), StepValue(SV), in LoopBounds()
737 Instruction &StepInst; member