Home
last modified time | relevance | path

Searched refs:StepC (Results 1 – 3 of 3) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1085 auto *StepC = dyn_cast<ConstantInt>(getStepValue()->getLiveInIRValue()); in isCanonical() local
1087 return StartC && StartC->isZero() && StepC && StepC->isOne(); in isCanonical()
1605 ConstantInt *StepC = dyn_cast<ConstantInt>(Step->getLiveInIRValue()); in isCanonical() local
1606 return StepC && StepC->isOne(); in isCanonical()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp2275 const APInt *StartC, *StepC; in isNonZeroRecurrence() local
2285 (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()
H A DScalarEvolution.cpp10436 const SCEVConstant *StepC = dyn_cast<SCEVConstant>(Step); in howFarToZero() local
10437 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()