Searched refs:StepC (Results 1 – 3 of 3) sorted by relevance
1085 auto *StepC = dyn_cast<ConstantInt>(getStepValue()->getLiveInIRValue()); in isCanonical() local1087 return StartC && StartC->isZero() && StepC && StepC->isOne(); in isCanonical()1605 ConstantInt *StepC = dyn_cast<ConstantInt>(Step->getLiveInIRValue()); in isCanonical() local1606 return StepC && StepC->isOne(); in isCanonical()
2275 const APInt *StartC, *StepC; in isNonZeroRecurrence() local2285 (BO->hasNoSignedWrap() && match(Step, m_APInt(StepC)) && in isNonZeroRecurrence()2286 StartC->isNegative() == StepC->isNegative()); in isNonZeroRecurrence()2289 match(Step, m_APInt(StepC)) && !StepC->isZero(); in isNonZeroRecurrence()
10436 const SCEVConstant *StepC = dyn_cast<SCEVConstant>(Step); in howFarToZero() local10437 if (!StepC || StepC->getValue()->isZero()) in howFarToZero()10445 bool CountDown = StepC->getAPInt().isNegative(); in howFarToZero()10451 if (StepC->getValue()->isOne() || StepC->getValue()->isMinusOne()) { in howFarToZero()10496 const SCEV *E = SolveLinEquationWithOverflow(StepC->getAPInt(), in howFarToZero()