Lines Matching refs:IndDesc
200 InductionDescriptor IndDesc; in getBounds() local
201 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds()
204 Value *InitialIVValue = IndDesc.getStartValue(); in getBounds()
205 Instruction *StepInst = IndDesc.getInductionBinOp(); in getBounds()
209 const SCEV *Step = IndDesc.getStep(); in getBounds()
304 InductionDescriptor IndDesc; in getInductionVariable() local
305 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable()
330 InductionDescriptor &IndDesc) const { in getInductionDescriptor()
332 return InductionDescriptor::isInductionPHI(IndVar, this, &SE, IndDesc); in getInductionDescriptor()
350 InductionDescriptor IndDesc; in isAuxiliaryInductionVariable() local
351 if (!InductionDescriptor::isInductionPHI(&AuxIndVar, this, &SE, IndDesc)) in isAuxiliaryInductionVariable()
355 if (IndDesc.getInductionOpcode() != Instruction::Add && in isAuxiliaryInductionVariable()
356 IndDesc.getInductionOpcode() != Instruction::Sub) in isAuxiliaryInductionVariable()
360 return SE.isLoopInvariant(IndDesc.getStep(), this); in isAuxiliaryInductionVariable()
408 InductionDescriptor IndDesc; in isCanonical() local
409 if (!getInductionDescriptor(SE, IndDesc)) in isCanonical()
412 ConstantInt *Init = dyn_cast_or_null<ConstantInt>(IndDesc.getStartValue()); in isCanonical()
416 if (IndDesc.getInductionOpcode() != Instruction::Add) in isCanonical()
419 ConstantInt *Step = IndDesc.getConstIntStepValue(); in isCanonical()