Home
last modified time | relevance | path

Searched refs:SCEVAddExpr (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIVUsers.cpp74 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isInteresting()
348 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in findAddRecForLoop()
H A DScalarEvolutionAliasAnalysis.cpp119 } else if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(S)) { in GetBaseValue()
H A DScalarEvolution.cpp1403 const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Start); in getPreStartForExtend()
2509 SCEVAddExpr *Add = static_cast<SCEVAddExpr *>(S); in getAddExpr()
2938 SCEVAddExpr *S = in getOrCreateAddExpr()
3118 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Ops[1])) in getMulExpr()
3467 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(LHS)) { in getUDivExpr()
4440 const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Expr); in MatchNotExpr()
5650 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(BEValue)) { in createAddRecFromPHI()
6193 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(S)) { in GetMinTrailingZerosImpl()
6433 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in getRangeRef()
9529 const SCEVAddExpr *SA = cast<SCEVAddExpr>(V); in BuildConstantFromSCEV()
[all …]
H A DScalarEvolutionDivision.cpp146 void SCEVDivision::visitAddExpr(const SCEVAddExpr *Numerator) { in visitAddExpr()
H A DDependenceAnalysis.cpp2388 if (const SCEVAddExpr *Sum = dyn_cast<SCEVAddExpr>(Delta)) { in gcdMIVtest()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolutionDivision.h53 void visitAddExpr(const SCEVAddExpr *Numerator);
H A DScalarEvolutionExpressions.h257 class SCEVAddExpr : public SCEVCommutativeExpr {
262 SCEVAddExpr(const FoldingSetNodeIDRef ID, const SCEV *const *O, size_t N) in SCEVAddExpr() function
628 return ((SC *)this)->visitAddExpr((const SCEVAddExpr *)S); in visit()
810 const SCEV *visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DScalarEvolutionExpanderTest.cpp323 EXPECT_TRUE(isa<SCEVAddExpr>(S)); in TEST_F()
375 EXPECT_TRUE(isa<SCEVAddExpr>(S)); in TEST_F()
421 EXPECT_TRUE(isa<SCEVAddExpr>(SC2)); in TEST_F()
424 EXPECT_TRUE(isa<SCEVAddExpr>(SC1)); in TEST_F()
472 EXPECT_TRUE(isa<SCEVAddExpr>(SC2)); in TEST_F()
475 EXPECT_TRUE(isa<SCEVAddExpr>(SC1)); in TEST_F()
/llvm-project-15.0.7/polly/include/polly/Support/
H A DSCEVAffinator.h106 PWACtx visitAddExpr(const llvm::SCEVAddExpr *E);
/llvm-project-15.0.7/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp103 auto *M0 = cast<SCEVAddExpr>(P0); in TEST_F()
104 auto *M1 = cast<SCEVAddExpr>(P1); in TEST_F()
105 auto *M2 = cast<SCEVAddExpr>(P2); in TEST_F()
392 TEST_F(ScalarEvolutionsTest, SCEVAddExpr) { in TEST_F() argument
428 auto *AddWithNUW = cast<SCEVAddExpr>(SE.getAddExpr( in TEST_F()
436 auto *AddWithAnyWrapNUW = cast<SCEVAddExpr>( in TEST_F()
443 auto *AddWithNSW_NUW = cast<SCEVAddExpr>( in TEST_F()
451 auto *AddWithNSWNUW_NUW = cast<SCEVAddExpr>( in TEST_F()
456 auto *AddWithNSW_NSWNUW = cast<SCEVAddExpr>( in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp418 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in DoInitialMatch()
662 static bool isAddSExtable(const SCEVAddExpr *A, ScalarEvolution &SE) { in isAddSExtable()
665 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable()
734 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) { in getExactSDiv()
793 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractImmediate()
819 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractSymbol()
983 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansion()
2710 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in CollectInterestingTypesAndFactors()
2821 const SCEVAddExpr *Add = cast<SCEVAddExpr>(S); in getExprBase()
3586 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in CollectSubexprs()
[all …]
/llvm-project-15.0.7/polly/lib/Support/
H A DSCEVValidator.cpp168 ValidatorResult visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
690 if (auto *Add = dyn_cast<SCEVAddExpr>(S)) { in extractConstantFactor()
H A DSCEVAffinator.cpp373 PWACtx SCEVAffinator::visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
H A DScopHelper.cpp358 const SCEV *visitAddExpr(const SCEVAddExpr *E) { in visitAddExpr()
/llvm-project-15.0.7/llvm/test/Analysis/ScalarEvolution/
H A Dadd-expr-pointer-operand-sorting.ll7 ; and at the same time SCEVAddExpr's type is the type of the last(!) operand.
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DScalarEvolutionExpander.h461 Value *visitAddExpr(const SCEVAddExpr *S);
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp382 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) in SimplifyAddOperands()
409 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) { in SplitAddRecs()
745 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp1383 const SCEVAddExpr *ASCEV = dyn_cast<SCEVAddExpr>(Start); in runOnLoop()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp893 if (auto *AF = dyn_cast<SCEVAddExpr>(Pair.second)) { in getDelinearizationTerms()