Lines Matching refs:IndDesc
205 InductionDescriptor IndDesc; in getBounds() local
206 if (!InductionDescriptor::isInductionPHI(&IndVar, &L, &SE, IndDesc)) in getBounds()
209 Value *InitialIVValue = IndDesc.getStartValue(); in getBounds()
210 Instruction *StepInst = IndDesc.getInductionBinOp(); in getBounds()
214 const SCEV *Step = IndDesc.getStep(); in getBounds()
309 InductionDescriptor IndDesc; in getInductionVariable() local
310 if (!InductionDescriptor::isInductionPHI(&IndVar, this, &SE, IndDesc)) in getInductionVariable()
335 InductionDescriptor &IndDesc) const { in getInductionDescriptor()
337 return InductionDescriptor::isInductionPHI(IndVar, this, &SE, IndDesc); in getInductionDescriptor()
355 InductionDescriptor IndDesc; in isAuxiliaryInductionVariable() local
356 if (!InductionDescriptor::isInductionPHI(&AuxIndVar, this, &SE, IndDesc)) in isAuxiliaryInductionVariable()
360 if (IndDesc.getInductionOpcode() != Instruction::Add && in isAuxiliaryInductionVariable()
361 IndDesc.getInductionOpcode() != Instruction::Sub) in isAuxiliaryInductionVariable()
365 return SE.isLoopInvariant(IndDesc.getStep(), this); in isAuxiliaryInductionVariable()
413 InductionDescriptor IndDesc; in isCanonical() local
414 if (!getInductionDescriptor(SE, IndDesc)) in isCanonical()
417 ConstantInt *Init = dyn_cast_or_null<ConstantInt>(IndDesc.getStartValue()); in isCanonical()
421 if (IndDesc.getInductionOpcode() != Instruction::Add) in isCanonical()
424 ConstantInt *Step = IndDesc.getConstIntStepValue(); in isCanonical()