/external/llvm/lib/Analysis/ |
IVUsers.cpp | 56 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { 340 static const SCEVAddRecExpr *findAddRecForLoop(const SCEV *S, const Loop *L) { 341 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { 350 if (const SCEVAddRecExpr *AR = findAddRecForLoop(*I, L)) 359 if (const SCEVAddRecExpr *AR = findAddRecForLoop(getExpr(IU), L))
|
ScalarEvolutionAliasAnalysis.cpp | 97 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) {
|
ScalarEvolution.cpp | 160 const SCEVAddRecExpr *AR = cast<SCEVAddRecExpr>(this); 545 const SCEVAddRecExpr *LA = cast<SCEVAddRecExpr>(LHS); 546 const SCEVAddRecExpr *RA = cast<SCEVAddRecExpr>(RHS); 782 void visitAddRecExpr(const SCEVAddRecExpr *Numerator) { [all...] |
ScalarEvolutionExpander.cpp | 279 if (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(S)) { 305 for (unsigned i = Ops.size(); i > 0 && isa<SCEVAddRecExpr>(Ops[i-1]); --i) 336 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Ops[i])) { 617 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) 806 while (const SCEVAddRecExpr *A = dyn_cast<SCEVAddRecExpr>(Base)) { [all...] |
DependenceAnalysis.cpp | 861 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Src); 887 const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Dst); [all...] |
ScalarEvolutionNormalization.cpp | 107 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) {
|
LoopAccessAnalysis.cpp | 133 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(Sc); 527 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(PtrScev); 775 static bool isNoWrapAddRec(Value *Ptr, const SCEVAddRecExpr *AR, 814 if (auto *OpAR = dyn_cast<SCEVAddRecExpr>(OpScev)) 837 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(PtrScev); [all...] |
VectorUtils.cpp | 310 const SCEVAddRecExpr *S = dyn_cast<SCEVAddRecExpr>(V);
|
/external/llvm/lib/Target/PowerPC/ |
PPCLoopDataPrefetch.cpp | 156 SmallVector<std::pair<Instruction *, const SCEVAddRecExpr *>, 16> PrefLoads; 181 const SCEVAddRecExpr *LSCEVAddRec = dyn_cast<SCEVAddRecExpr>(LSCEV); 189 for (SmallVector<std::pair<Instruction *, const SCEVAddRecExpr *>,
|
PPCLoopPreIncPrep.cpp | 214 if (const SCEVAddRecExpr *LARSCEV = dyn_cast<SCEVAddRecExpr>(LSCEV)) { 299 const SCEVAddRecExpr *BasePtrSCEV = 300 cast<SCEVAddRecExpr>(Buckets[i].BaseSCEV);
|
/external/llvm/include/llvm/Analysis/ |
ScalarEvolutionExpressions.h | 281 /// SCEVAddRecExpr - This node represents a polynomial recurrence on the trip 284 /// supporting infrastructure to allow SCEVAddRecExpr expressions to be 289 class SCEVAddRecExpr : public SCEVNAryExpr { 294 SCEVAddRecExpr(const FoldingSetNodeIDRef ID, 352 const SCEVAddRecExpr *getPostIncExpr(ScalarEvolution &SE) const { 353 return cast<SCEVAddRecExpr>(SE.getAddExpr(this, getStepRecurrence(SE))); 470 return ((SC*)this)->visitAddRecExpr((const SCEVAddRecExpr*)S); 603 const SCEV *visitAddRecExpr(const SCEVAddRecExpr *Expr) { 682 const SCEV *visitAddRecExpr(const SCEVAddRecExpr *Expr) { 693 const SCEVAddRecExpr *Rec = cast<SCEVAddRecExpr>(Res) [all...] |
ScalarEvolutionExpander.h | 284 Value *visitAddRecExpr(const SCEVAddRecExpr *S); 300 Value *expandAddRecExprLiterally(const SCEVAddRecExpr *); 301 PHINode *getAddRecExprPHILiterally(const SCEVAddRecExpr *Normalized,
|
ScalarEvolution.h | 52 class SCEVAddRecExpr; 778 bool isMonotonicPredicateImpl(const SCEVAddRecExpr *LHS, 790 bool isMonotonicPredicate(const SCEVAddRecExpr *LHS, [all...] |
/external/llvm/lib/Transforms/Scalar/ |
IndVarSimplify.cpp | 592 // which got a SCEVAddRecExpr for that loop. [all...] |
LoopIdiomRecognize.cpp | 127 Instruction *TheStore, const SCEVAddRecExpr *Ev, 130 const SCEVAddRecExpr *StoreEv, 254 static unsigned getStoreStride(const SCEVAddRecExpr *StoreEv) { 316 const SCEVAddRecExpr *StoreEv = 317 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); 392 const SCEVAddRecExpr *StoreEv = cast<SCEVAddRecExpr>(SE->getSCEV(StorePtr)); 425 const SCEVAddRecExpr *Ev = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(Pointer)); 497 Value *StoredVal, Instruction *TheStore, const SCEVAddRecExpr *Ev [all...] |
InductiveRangeCheckElimination.cpp | 193 const SCEVAddRecExpr *IndVar, 416 const SCEVAddRecExpr *IndexAddRec = dyn_cast<SCEVAddRecExpr>(IndexSCEV); 706 if (!isa<SCEVAddRecExpr>(LeftSCEV)) { 707 if (isa<SCEVAddRecExpr>(RightSCEV)) { 717 auto HasNoSignedWrap = [&](const SCEVAddRecExpr *AR) { 725 const SCEVAddRecExpr *ExtendAfterOp = 726 dyn_cast<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); 743 auto IsInductionVar = [&](const SCEVAddRecExpr *AR, bool &IsIncreasing) { 768 const SCEVAddRecExpr *IndVarNext = cast<SCEVAddRecExpr>(LeftSCEV) [all...] |
LoopLoadElimination.cpp | 78 auto *LoadPtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(LoadPtr)); 79 auto *StorePtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(StorePtr)); 375 auto *PtrSCEV = cast<SCEVAddRecExpr>(PSE.getSCEV(Ptr));
|
LoopStrengthReduce.cpp | 325 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) 408 while (Try < BaseRegsSize && !isa<SCEVAddRecExpr>(ScaledReg)) 509 static bool isAddRecSExtable(const SCEVAddRecExpr *AR, ScalarEvolution &SE) { 512 return isa<SCEVAddRecExpr>(SE.getSignExtendExpr(AR, WideTy)); 569 if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(LHS)) { 636 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { 662 } else if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) [all...] |
LoopRerollPass.cpp | 475 if (const SCEVAddRecExpr *PHISCEV = 476 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(&*I))) { 842 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(V.BaseInst)); [all...] |
AlignmentFromAssumptions.cpp | 163 } else if (const SCEVAddRecExpr *DiffARSCEV = 164 dyn_cast<SCEVAddRecExpr>(DiffSCEV)) {
|
LoopInterchange.cpp | 314 const SCEVAddRecExpr *AddRec = 315 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(PhiVar)); 914 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(OperandVal); [all...] |
LoopUnrollPass.cpp | 337 auto *AR = dyn_cast<SCEVAddRecExpr>(S); [all...] |
/external/llvm/lib/Transforms/Utils/ |
LoopUtils.cpp | 669 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(PhiScev);
|
SimplifyIndVar.cpp | 506 const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S);
|
/external/llvm/unittests/Analysis/ |
ScalarEvolutionTest.cpp | 148 const SCEVAddRecExpr *Product = 149 dyn_cast<SCEVAddRecExpr>(SE.getMulExpr(A_rec, B_rec));
|