Lines Matching refs:SCEVAddRecExpr

567   if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S))  in DoInitialMatch()
624 return isa<SCEVAddRecExpr>(S) && (cast<SCEVAddRecExpr>(S)->getLoop() == &L); in containsAddRecDependentOnLoop()
796 static bool isAddRecSExtable(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { in isAddRecSExtable()
799 return isa<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); in isAddRecSExtable()
859 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) { in getExactSDiv()
941 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in ExtractImmediate()
975 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in ExtractSymbol()
1087 static bool isExistingPhi(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { in isExistingPhi()
1162 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in isHighCostExpansion()
1402 if (const auto *S = dyn_cast<SCEVAddRecExpr>(Reg)) in getSetupCost()
1420 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Reg)) { in RateRegister()
2358 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(PH)); in OptimizeShadowIV()
2546 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(IV); in OptimizeMax()
2911 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in CollectInterestingTypesAndFactors()
2970 if (const SCEVAddRecExpr *AR = in findIVOperand()
2971 dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Oper))) { in findIVOperand()
3026 return getExprBase(cast<SCEVAddRecExpr>(S)->getStart()); in getExprBase()
3198 if (!isa<SCEVAddRecExpr>(LastIncExpr)) in ChainInstruction()
3851 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in CollectSubexprs()
3860 if (Remainder && (AR->getLoop() == L || !isa<SCEVAddRecExpr>(Remainder))) { in CollectSubexprs()
3898 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S); in mayUsePostIncMode()
4168 if (auto *GAR = dyn_cast<SCEVAddRecExpr>(G)) { in GenerateConstantOffsetsImpl()
4362 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Base.BaseRegs[i]); in GenerateScales()
5261 if (isa<SCEVAddRecExpr>(BaseReg)) in NarrowSearchSpaceByDeletingCostlyFormulas()
5269 if (isa<SCEVAddRecExpr>(ScaledReg)) in NarrowSearchSpaceByDeletingCostlyFormulas()
5310 (isa<SCEVAddRecExpr>(Best) && isa<SCEVAddRecExpr>(Reg) && in IsSimplerBaseSCEVForTarget()
5311 cast<SCEVAddRecExpr>(Best)->getLoop() != in IsSimplerBaseSCEVForTarget()
5312 cast<SCEVAddRecExpr>(Reg)->getLoop())) in IsSimplerBaseSCEVForTarget()
6494 } else if (isa<SCEVAddRecExpr>(S)) { in pushSCEV()
6530 bool SCEVToValueExpr(const llvm::SCEVAddRecExpr &SAR, ScalarEvolution &SE) { in SCEVToValueExpr()
6533 if (isa<SCEVAddRecExpr>(SAR.getStart())) in SCEVToValueExpr()
6573 if (!isa<SCEVAddRecExpr>(S)) in createIterCountExpr()
6579 const auto *Rec = cast<SCEVAddRecExpr>(S); in createIterCountExpr()
6600 bool SCEVToIterCountExpr(const llvm::SCEVAddRecExpr &SAR, in SCEVToIterCountExpr()
6603 if (isa<SCEVAddRecExpr>(SAR.getStart())) { in SCEVToIterCountExpr()
6942 if (const SCEVAddRecExpr *IVAddRec = in DbgRewriteSalvageableDVIs()
6943 dyn_cast<SCEVAddRecExpr>(SCEVInductionVar)) { in DbgRewriteSalvageableDVIs()
7039 if (const SCEVAddRecExpr *Rec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(P))) in GetInductionVariable()
7152 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(&PN)); in canFoldTermCondOfLoop()
7174 const SCEVAddRecExpr *PostInc = AddRec->getPostIncExpr(SE); in canFoldTermCondOfLoop()