Lines Matching refs:SCEVAddRecExpr

399   if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S))  in DoInitialMatch()
467 const SCEVAddRecExpr *SAR = dyn_cast<const SCEVAddRecExpr>(ScaledReg); in isCanonical()
476 return isa<const SCEVAddRecExpr>(S) && in isCanonical()
477 (cast<SCEVAddRecExpr>(S)->getLoop() == &L); in isCanonical()
505 const SCEVAddRecExpr *SAR = dyn_cast<const SCEVAddRecExpr>(ScaledReg); in canonicalize()
509 return isa<const SCEVAddRecExpr>(S) && in canonicalize()
510 (cast<SCEVAddRecExpr>(S)->getLoop() == &L); in canonicalize()
622 static bool isAddRecSExtable(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { in isAddRecSExtable()
625 return isa<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); in isAddRecSExtable()
682 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) { in getExactSDiv()
749 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in ExtractImmediate()
775 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in ExtractSymbol()
875 static bool isExistingPhi(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { in isExistingPhi()
947 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in isHighCostExpansion()
1217 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Reg)) { in RateRegister()
1270 !(isa<SCEVAddRecExpr>(Reg) && in RateRegister()
1271 (isa<SCEVUnknown>(cast<SCEVAddRecExpr>(Reg)->getStart()) || in RateRegister()
1272 isa<SCEVConstant>(cast<SCEVAddRecExpr>(Reg)->getStart())))) in RateRegister()
2089 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(PH)); in OptimizeShadowIV()
2274 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(IV); in OptimizeMax()
2639 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in CollectInterestingTypesAndFactors()
2698 if (const SCEVAddRecExpr *AR = in findIVOperand()
2699 dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Oper))) { in findIVOperand()
2767 return getExprBase(cast<SCEVAddRecExpr>(S)->getStart()); in getExprBase()
2931 if (!isa<SCEVAddRecExpr>(LastIncExpr)) in ChainInstruction()
3466 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in CollectSubexprs()
3475 if (Remainder && (AR->getLoop() == L || !isa<SCEVAddRecExpr>(Remainder))) { in CollectSubexprs()
3513 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S); in mayUsePostIncMode()
3928 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Base.BaseRegs[i]); in GenerateScales()
4678 if (isa<SCEVAddRecExpr>(BaseReg)) in NarrowSearchSpaceByDeletingCostlyFormulas()
4686 if (isa<SCEVAddRecExpr>(ScaledReg)) in NarrowSearchSpaceByDeletingCostlyFormulas()