Lines Matching defs:AR
2254 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Phi));
2255 if (!AR || AR->getLoop() != L || !AR->isAffine())
2258 const SCEV *Step = dyn_cast<SCEVConstant>(AR->getStepRecurrence(*SE));
2297 const auto *AR = cast<SCEVAddRecExpr>(SE->getSCEV(Phi));
2299 // AR may be a pointer type, while BECount is an integer type.
2300 // AR may be wider than BECount. With eq/ne tests overflow is immaterial.
2301 // AR may not be a narrower type, or we may never exit.
2302 uint64_t PhiWidth = SE->getTypeSizeInBits(AR->getType());
2330 const SCEV *Init = AR->getStart();
2362 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar));
2363 const SCEV *IVInit = AR->getStart();
2408 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride");
2492 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IncVar));
2494 BO->setHasNoUnsignedWrap(AR->hasNoUnsignedWrap());
2496 BO->setHasNoSignedWrap(AR->hasNoSignedWrap());
3125 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(ExitCount);
3126 if (!AR || AR->getLoop()->getLoopPreheader())
3185 LoopStandardAnalysisResults &AR,
3190 IndVarSimplify IVS(&AR.LI, &AR.SE, &AR.DT, DL, &AR.TLI, &AR.TTI);