Lines Matching refs:SCEVAddRecExpr
425 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) in DoInitialMatch()
482 return isa<SCEVAddRecExpr>(S) && (cast<SCEVAddRecExpr>(S)->getLoop() == &L); in containsAddRecDependentOnLoop()
654 static bool isAddRecSExtable(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { in isAddRecSExtable()
657 return isa<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); in isAddRecSExtable()
717 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) { in getExactSDiv()
799 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in ExtractImmediate()
825 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in ExtractSymbol()
939 static bool isExistingPhi(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { in isExistingPhi()
1013 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in isHighCostExpansion()
1253 if (const auto *S = dyn_cast<SCEVAddRecExpr>(Reg)) in getSetupCost()
1271 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Reg)) { in RateRegister()
2155 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(PH)); in OptimizeShadowIV()
2340 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(IV); in OptimizeMax()
2706 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in CollectInterestingTypesAndFactors()
2765 if (const SCEVAddRecExpr *AR = in findIVOperand()
2766 dyn_cast<SCEVAddRecExpr>(SE.getSCEV(Oper))) { in findIVOperand()
2832 return getExprBase(cast<SCEVAddRecExpr>(S)->getStart()); in getExprBase()
3004 if (!isa<SCEVAddRecExpr>(LastIncExpr)) in ChainInstruction()
3594 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { in CollectSubexprs()
3603 if (Remainder && (AR->getLoop() == L || !isa<SCEVAddRecExpr>(Remainder))) { in CollectSubexprs()
3641 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S); in mayUsePostIncMode()
3902 if (auto *GAR = dyn_cast<SCEVAddRecExpr>(G)) { in GenerateConstantOffsetsImpl()
4089 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Base.BaseRegs[i]); in GenerateScales()
4924 if (isa<SCEVAddRecExpr>(BaseReg)) in NarrowSearchSpaceByDeletingCostlyFormulas()
4932 if (isa<SCEVAddRecExpr>(ScaledReg)) in NarrowSearchSpaceByDeletingCostlyFormulas()
6036 } else if (isa<SCEVAddRecExpr>(S)) { in pushSCEV()
6072 bool SCEVToValueExpr(const llvm::SCEVAddRecExpr &SAR, ScalarEvolution &SE) { in SCEVToValueExpr()
6075 if (isa<SCEVAddRecExpr>(SAR.getStart())) in SCEVToValueExpr()
6115 if (!isa<SCEVAddRecExpr>(S)) in createIterCountExpr()
6121 const auto *Rec = cast<SCEVAddRecExpr>(S); in createIterCountExpr()
6142 bool SCEVToIterCountExpr(const llvm::SCEVAddRecExpr &SAR, in SCEVToIterCountExpr()
6145 if (isa<SCEVAddRecExpr>(SAR.getStart())) { in SCEVToIterCountExpr()
6461 if (const SCEVAddRecExpr *IVAddRec = in DbgRewriteSalvageableDVIs()
6462 dyn_cast<SCEVAddRecExpr>(SCEVInductionVar)) { in DbgRewriteSalvageableDVIs()
6550 if (const SCEVAddRecExpr *Rec = dyn_cast<SCEVAddRecExpr>(SE.getSCEV(P))) in GetInductionVariable()