Lines Matching defs:StepInst
186 const Instruction &StepInst) {
193 if (Op0 == &IndVar || Op0 == &StepInst)
196 if (Op1 == &IndVar || Op1 == &StepInst)
210 Instruction *StepInst = IndDesc.getInductionBinOp();
211 if (!InitialIVValue || !StepInst)
215 Value *StepInstOp1 = StepInst->getOperand(1);
216 Value *StepInstOp0 = StepInst->getOperand(0);
223 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst);
227 return LoopBounds(L, *InitialIVValue, *StepInst, StepValue, *FinalIVValue,
254 // is not using StepInst
314 Value *StepInst = IndVar.getIncomingValueForBlock(Latch);
317 // IndVar = phi[{InitialValue, preheader}, {StepInst, latch}]
318 // StepInst = IndVar + step
319 // cmp = StepInst < FinalValue
320 if (StepInst == LatchCmpOp0 || StepInst == LatchCmpOp1)
324 // IndVar = phi[{InitialValue, preheader}, {StepInst, latch}]
325 // StepInst = IndVar + step