Lines Matching refs:AR
1896 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Phi));
1897 if (!AR || AR->getLoop() != L || !AR->isAffine())
1900 const SCEV *Step = dyn_cast<SCEVConstant>(AR->getStepRecurrence(*SE));
1939 const auto *AR = cast<SCEVAddRecExpr>(SE->getSCEV(Phi));
1941 // AR may be a pointer type, while BECount is an integer type.
1942 // AR may be wider than BECount. With eq/ne tests overflow is immaterial.
1943 // AR may not be a narrower type, or we may never exit.
1944 uint64_t PhiWidth = SE->getTypeSizeInBits(AR->getType());
1972 const SCEV *Init = AR->getStart();
2004 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IndVar));
2005 const SCEV *IVInit = AR->getStart();
2050 assert(AR->getStepRecurrence(*SE)->isOne() && "only handles unit stride");
2134 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(SE->getSCEV(IncVar));
2136 BO->setHasNoUnsignedWrap(AR->hasNoUnsignedWrap());
2138 BO->setHasNoSignedWrap(AR->hasNoSignedWrap());
2780 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(ExitCount);
2781 if (!AR || AR->getLoop()->getLoopPreheader())
2843 LoopStandardAnalysisResults &AR,
2848 IndVarSimplify IVS(&AR.LI, &AR.SE, &AR.DT, DL, &AR.TLI, &AR.TTI, AR.MSSA);
2854 if (AR.MSSA)