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);
509 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(getSubscript(Idx));
510 if (AR && AR->getLoop() == &L) {
519 auto *AR = cast<SCEVAddRecExpr>(LastSubscript);
520 return AR->getStepRecurrence(SE);
525 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(&Subscript);
526 return (AR != nullptr) ? AR->getLoop() != &L
535 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(&Subscript);
536 assert(AR->getLoop() && "AR should have a loop");
538 if (!AR->isAffine())
541 const SCEV *Start = AR->getStart();
542 const SCEV *Step = AR->getStepRecurrence(SE);
586 CacheCost::getCacheCost(Loop &Root, LoopStandardAnalysisResults &AR,
602 return std::make_unique<CacheCost>(Loops, AR.LI, AR.SE, AR.TTI, AR.AA, DI, TRT);
742 LoopStandardAnalysisResults &AR,
745 DependenceInfo DI(F, &AR.AA, &AR.SE, &AR.LI);
747 if (auto CC = CacheCost::getCacheCost(L, AR, DI))