Lines Matching refs:IndVar
184 static Value *findFinalIVValue(const Loop &L, const PHINode &IndVar, in findFinalIVValue() argument
192 if (Op0 == &IndVar || Op0 == &StepInst) in findFinalIVValue()
195 if (Op1 == &IndVar || Op1 == &StepInst) in findFinalIVValue()
202 Loop::LoopBounds::getBounds(const Loop &L, PHINode &IndVar, in getBounds() argument
205 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds()
222 Value *FinalIVValue = findFinalIVValue(L, IndVar, *StepInst); in getBounds()
288 if (PHINode *IndVar = getInductionVariable(SE)) in getBounds() local
289 return LoopBounds::getBounds(*this, *IndVar, SE); in getBounds()
307 for (PHINode &IndVar : Header->phis()) { in getInductionVariable()
309 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable()
313 Value *StepInst = IndVar.getIncomingValueForBlock(Latch); in getInductionVariable()
320 return &IndVar; in getInductionVariable()
326 if (&IndVar == LatchCmpOp0 || &IndVar == LatchCmpOp1) in getInductionVariable()
327 return &IndVar; in getInductionVariable()
335 if (PHINode *IndVar = getInductionVariable(SE)) in getInductionDescriptor() local
336 return InductionDescriptor::isInductionPHI(IndVar, this, &SE, IndDesc); in getInductionDescriptor()