Lines Matching defs:AR
83 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(&AccessFn);
84 if (!AR || !AR->isAffine())
87 assert(AR->getLoop() && "AR should have a loop");
90 const SCEV *Start = AR->getStart();
91 const SCEV *Step = AR->getStepRecurrence(SE);
99 const SCEV *StepRec = AR->getStepRecurrence(SE);
326 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(getSubscript(I));
327 assert(AR && AR->getLoop() && "Expecting valid loop");
329 computeTripCount(*AR->getLoop(), *Sizes.back(), SE);
503 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(getSubscript(Idx));
504 if (AR && AR->getLoop() == &L) {
513 auto *AR = cast<SCEVAddRecExpr>(LastSubscript);
514 return AR->getStepRecurrence(SE);
519 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(&Subscript);
520 return (AR != nullptr) ? AR->getLoop() != &L
529 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(&Subscript);
530 assert(AR->getLoop() && "AR should have a loop");
532 if (!AR->isAffine())
535 const SCEV *Start = AR->getStart();
536 const SCEV *Step = AR->getStepRecurrence(SE);
580 CacheCost::getCacheCost(Loop &Root, LoopStandardAnalysisResults &AR,
596 return std::make_unique<CacheCost>(Loops, AR.LI, AR.SE, AR.TTI, AR.AA, DI, TRT);
736 LoopStandardAnalysisResults &AR,
739 DependenceInfo DI(F, &AR.AA, &AR.SE, &AR.LI);
741 if (auto CC = CacheCost::getCacheCost(L, AR, DI))