Lines Matching refs:Step
274 bool isSupportedStep(const SCEV* Step);
478 bool LoopPredication::isSupportedStep(const SCEV* Step) { in isSupportedStep() argument
479 return Step->isOne() || (Step->isAllOnesValue() && EnableCountDownLoop); in isSupportedStep()
680 auto *Step = RangeCheckIV->getStepRecurrence(*SE); in widenICmpRangeCheck() local
683 if (!isSupportedStep(Step)) { in widenICmpRangeCheck()
699 assert(Step->getType() == in widenICmpRangeCheck()
702 if (Step != CurrLatchCheck.IV->getStepRecurrence(*SE)) { in widenICmpRangeCheck()
707 if (Step->isOne()) in widenICmpRangeCheck()
711 assert(Step->isAllOnesValue() && "Step should be -1!"); in widenICmpRangeCheck()
848 auto *Step = Result->IV->getStepRecurrence(*SE); in parseLoopLatchICmp() local
849 if (!isSupportedStep(Step)) { in parseLoopLatchICmp()
850 LLVM_DEBUG(dbgs() << "Unsupported loop stride(" << *Step << ")!\n"); in parseLoopLatchICmp()
854 auto IsUnsupportedPredicate = [](const SCEV *Step, ICmpInst::Predicate Pred) { in parseLoopLatchICmp() argument
855 if (Step->isOne()) { in parseLoopLatchICmp()
859 assert(Step->isAllOnesValue() && "Step should be -1!"); in parseLoopLatchICmp()
866 if (IsUnsupportedPredicate(Step, Result->Pred)) { in parseLoopLatchICmp()