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