/external/llvm/lib/Analysis/ |
D | IVUsers.cpp | 71 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isInteresting() 73 for (SCEVAddExpr::op_iterator OI = Add->op_begin(), OE = Add->op_end(); in isInteresting() 344 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in findAddRecForLoop() 345 for (SCEVAddExpr::op_iterator I = Add->op_begin(), E = Add->op_end(); in findAddRecForLoop()
|
D | ScalarEvolutionAliasAnalysis.cpp | 100 } else if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(S)) { in GetBaseValue()
|
D | ScalarEvolution.cpp | 261 return cast<SCEVAddExpr>(this)->getType(); in getType() 801 void visitAddExpr(const SCEVAddExpr *Numerator) { in visitAddExpr() 1101 if (const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Op)) { in getTruncateExpr() 1251 const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Start); in getPreStartForExtend() 1579 if (auto *SA = dyn_cast<SCEVAddExpr>(Op)) { in getZeroExtendExpr() 1644 if (auto *SA = dyn_cast<SCEVAddExpr>(Op)) { in getSignExtendExpr() 1927 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales() 1929 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales() 2147 while (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Ops[Idx])) { in getAddExpr() 2369 SCEVAddExpr *S = in getAddExpr() [all …]
|
D | ScalarEvolutionExpander.cpp | 315 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) in SimplifyAddOperands() 342 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) { in SplitAddRecs() 666 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr() 674 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(S->op_end()), in visitAddExpr() 810 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(Base)) { in ExposePointerBase()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | IVUsers.cpp | 78 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isInteresting() 402 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in findAddRecForLoop()
|
D | ScalarEvolutionAliasAnalysis.cpp | 107 } else if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(S)) { in GetBaseValue()
|
D | ScalarEvolution.cpp | 398 return cast<SCEVAddExpr>(this)->getType(); in getType() 1108 const SCEV *visitAddExpr(const SCEVAddExpr *Expr) { in getPtrToIntExpr() 1189 if (isa<SCEVAddExpr>(Op) || isa<SCEVMulExpr>(Op)) { in getTruncateExpr() 1202 if (isa<SCEVAddExpr>(Op)) in getTruncateExpr() 1339 const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Start); in getPreStartForExtend() 1499 const SCEVAddExpr *WholeAddExpr) { in extractConstantWithoutWrapping() 1750 if (auto *SA = dyn_cast<SCEVAddExpr>(Op)) { in getZeroExtendExpr() 1882 if (auto *SA = dyn_cast<SCEVAddExpr>(Op)) { in getSignExtendExpr() 2164 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales() 2166 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales() [all …]
|
D | ScalarEvolutionDivision.cpp | 148 void SCEVDivision::visitAddExpr(const SCEVAddExpr *Numerator) { in visitAddExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | IVUsers.cpp | 78 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isInteresting() 402 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in findAddRecForLoop()
|
D | ScalarEvolutionAliasAnalysis.cpp | 105 } else if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(S)) { in GetBaseValue()
|
D | ScalarEvolution.cpp | 379 return cast<SCEVAddExpr>(this)->getType(); in getType() 996 void visitAddExpr(const SCEVAddExpr *Numerator) { in visitAddExpr() 1305 if (isa<SCEVAddExpr>(Op) || isa<SCEVMulExpr>(Op)) { in getTruncateExpr() 1317 if (isa<SCEVAddExpr>(Op)) in getTruncateExpr() 1454 const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Start); in getPreStartForExtend() 1614 const SCEVAddExpr *WholeAddExpr) { in extractConstantWithoutWrapping() 1869 if (auto *SA = dyn_cast<SCEVAddExpr>(Op)) { in getZeroExtendExpr() 2001 if (auto *SA = dyn_cast<SCEVAddExpr>(Op)) { in getSignExtendExpr() 2300 if (Mul->getNumOperands() == 2 && isa<SCEVAddExpr>(Mul->getOperand(1))) { in CollectAddOperandsWithScales() 2302 const SCEVAddExpr *Add = cast<SCEVAddExpr>(Mul->getOperand(1)); in CollectAddOperandsWithScales() [all …]
|
D | ScalarEvolutionExpander.cpp | 332 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) in SimplifyAddOperands() 359 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) { in SplitAddRecs() 688 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr() 696 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(S->op_end()), in visitAddExpr() 885 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(Base)) { in ExposePointerBase()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 337 auto VisitAdd = [&](const SCEVAddExpr *S) -> const SCEVMulExpr* { in ComputeElements() 362 if (auto *RoundUp = dyn_cast<SCEVAddExpr>(S->getLHS())) { in ComputeElements() 383 if (auto *TC = dyn_cast<SCEVAddExpr>(TripCountSE)) in ComputeElements() 385 if (auto *Add = dyn_cast<SCEVAddExpr>(Div->getLHS())) in ComputeElements()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | AlignmentFromAssumptions.cpp | 264 } else if (const SCEVAddExpr* AndLHSAddSCEV = in extractAlignmentInfo() 265 dyn_cast<SCEVAddExpr>(AndLHSSCEV)) { in extractAlignmentInfo() 267 for (SCEVAddExpr::op_iterator J = AndLHSAddSCEV->op_begin(), in extractAlignmentInfo()
|
D | LoopStrengthReduce.cpp | 401 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in DoInitialMatch() 639 static bool isAddSExtable(const SCEVAddExpr *A, ScalarEvolution &SE) { in isAddSExtable() 642 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable() 708 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) { in getExactSDiv() 752 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractImmediate() 778 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractSymbol() 926 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansion() 2671 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in CollectInterestingTypesAndFactors() 2782 const SCEVAddExpr *Add = cast<SCEVAddExpr>(S); in getExprBase() 2783 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(Add->op_end()), in getExprBase() [all …]
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionDivision.h | 52 void visitAddExpr(const SCEVAddExpr *Numerator);
|
D | ScalarEvolutionExpressions.h | 262 class SCEVAddExpr : public SCEVCommutativeExpr { 267 SCEVAddExpr(const FoldingSetNodeIDRef ID, const SCEV *const *O, size_t N) in SCEVAddExpr() function 582 return ((SC*)this)->visitAddExpr((const SCEVAddExpr*)S); in visit() 761 const SCEV *visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
|
/external/llvm/lib/Transforms/Scalar/ |
D | AlignmentFromAssumptions.cpp | 266 } else if (const SCEVAddExpr* AndLHSAddSCEV = in extractAlignmentInfo() 267 dyn_cast<SCEVAddExpr>(AndLHSSCEV)) { in extractAlignmentInfo() 269 for (SCEVAddExpr::op_iterator J = AndLHSAddSCEV->op_begin(), in extractAlignmentInfo()
|
D | LoopStrengthReduce.cpp | 318 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in DoInitialMatch() 517 static bool isAddSExtable(const SCEVAddExpr *A, ScalarEvolution &SE) { in isAddSExtable() 520 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable() 586 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) { in getExactSDiv() 630 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractImmediate() 656 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractSymbol() 758 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansion() 2363 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in CollectInterestingTypesAndFactors() 2469 const SCEVAddExpr *Add = cast<SCEVAddExpr>(S); in getExprBase() 2470 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(Add->op_end()), in getExprBase() [all …]
|
/external/llvm-project/llvm/unittests/Transforms/Utils/ |
D | ScalarEvolutionExpanderTest.cpp | 122 Exp.expandCodeFor(cast<SCEVAddExpr>(S)->getOperand(1), nullptr, Br); in TEST_F() 335 EXPECT_TRUE(isa<SCEVAddExpr>(S)); in TEST_F() 387 EXPECT_TRUE(isa<SCEVAddExpr>(S)); in TEST_F() 433 EXPECT_TRUE(isa<SCEVAddExpr>(SC2)); in TEST_F() 436 EXPECT_TRUE(isa<SCEVAddExpr>(SC1)); in TEST_F() 484 EXPECT_TRUE(isa<SCEVAddExpr>(SC2)); in TEST_F() 487 EXPECT_TRUE(isa<SCEVAddExpr>(SC1)); in TEST_F()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 203 class SCEVAddExpr : public SCEVCommutativeExpr { 206 SCEVAddExpr(const FoldingSetNodeIDRef ID, in SCEVAddExpr() function 451 return ((SC*)this)->visitAddExpr((const SCEVAddExpr*)S); in visit() 567 const SCEV *visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolutionExpressions.h | 222 class SCEVAddExpr : public SCEVCommutativeExpr { 225 SCEVAddExpr(const FoldingSetNodeIDRef ID, in SCEVAddExpr() function 524 return ((SC*)this)->visitAddExpr((const SCEVAddExpr*)S); in visit() 697 const SCEV *visitAddExpr(const SCEVAddExpr *Expr) { in visitAddExpr()
|
/external/llvm-project/polly/include/polly/Support/ |
D | SCEVAffinator.h | 106 PWACtx visitAddExpr(const llvm::SCEVAddExpr *E);
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 405 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in DoInitialMatch() 643 static bool isAddSExtable(const SCEVAddExpr *A, ScalarEvolution &SE) { in isAddSExtable() 646 return isa<SCEVAddExpr>(SE.getSignExtendExpr(A, WideTy)); in isAddSExtable() 712 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(LHS)) { in getExactSDiv() 756 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractImmediate() 782 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in ExtractSymbol() 946 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in isHighCostExpansion() 2666 } else if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(S)) { in CollectInterestingTypesAndFactors() 2777 const SCEVAddExpr *Add = cast<SCEVAddExpr>(S); in getExprBase() 2778 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(Add->op_end()), in getExprBase() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | ScalarEvolutionExpander.cpp | 358 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Sum)) in SimplifyAddOperands() 385 if (const SCEVAddExpr *Add = dyn_cast<SCEVAddExpr>(Start)) { in SplitAddRecs() 715 Value *SCEVExpander::visitAddExpr(const SCEVAddExpr *S) { in visitAddExpr() 723 for (std::reverse_iterator<SCEVAddExpr::op_iterator> I(S->op_end()), in visitAddExpr() 912 if (const SCEVAddExpr *A = dyn_cast<SCEVAddExpr>(Base)) { in ExposePointerBase()
|