Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp1378 auto *StepC = dyn_cast<ConstantInt>(getStepValue()->getLiveInIRValue()); in isCanonical() local
1381 return StartC && StartC->isZero() && StepC && StepC->isOne() && in isCanonical()
2443 ConstantInt *StepC = dyn_cast<ConstantInt>(Step->getLiveInIRValue()); in isCanonical() local
2444 return StepC && StepC->isOne(); in isCanonical()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp2571 const APInt *StartC, *StepC; in isNonZeroRecurrence() local
2581 (BO->hasNoSignedWrap() && match(Step, m_APInt(StepC)) && in isNonZeroRecurrence()
2582 StartC->isNegative() == StepC->isNegative()); in isNonZeroRecurrence()
2585 match(Step, m_APInt(StepC)) && !StepC->isZero(); in isNonZeroRecurrence()
H A DScalarEvolution.cpp10490 const SCEVConstant *StepC = dyn_cast<SCEVConstant>(Step); in howFarToZero() local
10512 if (StepC && in howFarToZero()
10513 (StepC->getValue()->isOne() || StepC->getValue()->isMinusOne())) { in howFarToZero()
10565 if (!StepC || StepC->getValue()->isZero()) in howFarToZero()
10567 const SCEV *E = SolveLinEquationWithOverflow(StepC->getAPInt(), in howFarToZero()