/external/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 149 dyn_cast<SCEVAddRecExpr>(SE.getMulExpr(A_rec, B_rec)); in TEST_F() 154 Sum.push_back(SE.getMulExpr(A[0], B[0])); in TEST_F() 161 Sum.push_back(SE.getMulExpr(A[1], B[0])); in TEST_F() 162 Sum.push_back(SE.getMulExpr(A[0], B[1])); in TEST_F() 163 Sum.push_back(SE.getMulExpr(A[1], B[1])); in TEST_F() 167 Sum.push_back(SE.getMulExpr(A[2], B[0])); in TEST_F() 168 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1])); in TEST_F() 169 Sum.push_back(SE.getMulExpr(A[0], B[2])); in TEST_F() 170 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1])); in TEST_F() 171 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[2])); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 484 const SCEV *Prod1 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints() 485 const SCEV *Prod2 = SE->getMulExpr(X->getB(), Y->getA()); in intersectConstraints() 489 Prod1 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints() 490 Prod2 = SE->getMulExpr(X->getB(), Y->getC()); in intersectConstraints() 503 const SCEV *C1B2 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints() 504 const SCEV *C1A2 = SE->getMulExpr(X->getC(), Y->getA()); in intersectConstraints() 505 const SCEV *C2B1 = SE->getMulExpr(Y->getC(), X->getB()); in intersectConstraints() 506 const SCEV *C2A1 = SE->getMulExpr(Y->getC(), X->getA()); in intersectConstraints() 507 const SCEV *A1B2 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints() 508 const SCEV *A2B1 = SE->getMulExpr(Y->getA(), X->getB()); in intersectConstraints() [all …]
|
D | ScalarEvolution.cpp | 1058 Quotient = SE.getMulExpr(Qs); in visitMulExpr() 1220 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient() 1229 return SE.getMulExpr(SE.getConstant(MultiplyFactor), in BinomialCoefficient() 1252 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff)); in evaluateAtIteration() 1320 return getMulExpr(Operands); in getTruncateExpr() 1735 const SCEV *ZMul = getMulExpr(CastedMaxBECount, Step, in getZeroExtendExpr() 1746 getMulExpr(WideMaxBECount, in getZeroExtendExpr() 1764 getMulExpr(WideMaxBECount, in getZeroExtendExpr() 1910 return getMulExpr(Ops, SCEV::FlagNUW, Depth + 1); in getZeroExtendExpr() 1932 return getMulExpr( in getZeroExtendExpr() [all …]
|
D | LoopCacheAnalysis.cpp | 285 const SCEV *Stride = SE.getMulExpr(Coeff, ElemSize); in computeRefCost() 290 const SCEV *Numerator = SE.getMulExpr(Stride, TripCount); in computeRefCost() 396 const SCEV *Stride = SE.getMulExpr(Coeff, ElemSize); in isConsecutive()
|
/external/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 463 const SCEV *Prod1 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints() 464 const SCEV *Prod2 = SE->getMulExpr(X->getB(), Y->getA()); in intersectConstraints() 468 Prod1 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints() 469 Prod2 = SE->getMulExpr(X->getB(), Y->getC()); in intersectConstraints() 482 const SCEV *C1B2 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints() 483 const SCEV *C1A2 = SE->getMulExpr(X->getC(), Y->getA()); in intersectConstraints() 484 const SCEV *C2B1 = SE->getMulExpr(Y->getC(), X->getB()); in intersectConstraints() 485 const SCEV *C2A1 = SE->getMulExpr(Y->getC(), X->getA()); in intersectConstraints() 486 const SCEV *A1B2 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints() 487 const SCEV *A2B1 = SE->getMulExpr(Y->getA(), X->getB()); in intersectConstraints() [all …]
|
D | ScalarEvolution.cpp | 863 Quotient = SE.getMulExpr(Qs); in visitMulExpr() 1025 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient() 1034 return SE.getMulExpr(SE.getConstant(MultiplyFactor), in BinomialCoefficient() 1058 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff)); in evaluateAtIteration() 1127 return getMulExpr(Operands); in getTruncateExpr() 1488 const SCEV *ZMul = getMulExpr(CastedMaxBECount, Step); in getZeroExtendExpr() 1495 getMulExpr(WideMaxBECount, in getZeroExtendExpr() 1509 getMulExpr(WideMaxBECount, in getZeroExtendExpr() 1715 const SCEV *SMul = getMulExpr(CastedMaxBECount, Step); in getSignExtendExpr() 1722 getMulExpr(WideMaxBECount, in getSignExtendExpr() [all …]
|
D | ScalarEvolutionNormalization.cpp | 205 case scMulExpr: return SE.getMulExpr(Operands); in TransformImpl()
|
/external/llvm-project/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 484 const SCEV *Prod1 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints() 485 const SCEV *Prod2 = SE->getMulExpr(X->getB(), Y->getA()); in intersectConstraints() 489 Prod1 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints() 490 Prod2 = SE->getMulExpr(X->getB(), Y->getC()); in intersectConstraints() 503 const SCEV *C1B2 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints() 504 const SCEV *C1A2 = SE->getMulExpr(X->getC(), Y->getA()); in intersectConstraints() 505 const SCEV *C2B1 = SE->getMulExpr(Y->getC(), X->getB()); in intersectConstraints() 506 const SCEV *C2A1 = SE->getMulExpr(Y->getC(), X->getA()); in intersectConstraints() 507 const SCEV *A1B2 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints() 508 const SCEV *A2B1 = SE->getMulExpr(Y->getA(), X->getB()); in intersectConstraints() [all …]
|
D | LoopCacheAnalysis.cpp | 294 const SCEV *Stride = SE.getMulExpr(Coeff, ElemSize); in computeRefCost() 301 const SCEV *Numerator = SE.getMulExpr(Stride, TripCount); in computeRefCost() 421 const SCEV *Stride = SE.getMulExpr(Coeff, ElemSize); in isConsecutive()
|
D | ScalarEvolution.cpp | 995 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient() 1004 return SE.getMulExpr(SE.getConstant(MultiplyFactor), in BinomialCoefficient() 1027 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff)); in evaluateAtIteration() 1125 return !Changed ? Expr : SE.getMulExpr(Operands, Expr->getNoWrapFlags()); in getPtrToIntExpr() 1205 return getMulExpr(Operands); in getTruncateExpr() 1619 const SCEV *ZMul = getMulExpr(CastedMaxBECount, Step, in getZeroExtendExpr() 1630 getMulExpr(WideMaxBECount, in getZeroExtendExpr() 1648 getMulExpr(WideMaxBECount, in getZeroExtendExpr() 1791 return getMulExpr(Ops, SCEV::FlagNUW, Depth + 1); in getZeroExtendExpr() 1813 return getMulExpr( in getZeroExtendExpr() [all …]
|
D | ScalarEvolutionDivision.cpp | 210 Quotient = SE.getMulExpr(Qs); in visitMulExpr()
|
/external/llvm-project/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 246 EXPECT_EQ(SE.getMulExpr(A, B), SE.getMulExpr(B, A)); in TEST_F() 247 EXPECT_EQ(SE.getMulExpr(B, C), SE.getMulExpr(C, B)); in TEST_F() 248 EXPECT_EQ(SE.getMulExpr(A, C), SE.getMulExpr(C, A)); in TEST_F() 257 auto *Mul0 = SE.getMulExpr(Ops0); in TEST_F() 258 auto *Mul1 = SE.getMulExpr(Ops1); in TEST_F() 259 auto *Mul2 = SE.getMulExpr(Ops2); in TEST_F() 260 auto *Mul3 = SE.getMulExpr(Ops3); in TEST_F() 261 auto *Mul4 = SE.getMulExpr(Ops4); in TEST_F() 262 auto *Mul5 = SE.getMulExpr(Ops5); in TEST_F()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 1212 const SCEV *getMulExpr(SmallVectorImpl<const SCEV *> &Ops, 1214 const SCEV *getMulExpr(const SCEV *LHS, const SCEV *RHS, 1217 return getMulExpr(Ops, Flags); 1219 const SCEV *getMulExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2, 1222 return getMulExpr(Ops, Flags);
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 532 const SCEV *getMulExpr(SmallVectorImpl<const SCEV *> &Ops, 535 const SCEV *getMulExpr(const SCEV *LHS, const SCEV *RHS, 539 return getMulExpr(Ops, Flags, Depth); 541 const SCEV *getMulExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2, 545 return getMulExpr(Ops, Flags, Depth);
|
/external/llvm-project/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 535 const SCEV *getMulExpr(SmallVectorImpl<const SCEV *> &Ops, 538 const SCEV *getMulExpr(const SCEV *LHS, const SCEV *RHS, 542 return getMulExpr(Ops, Flags, Depth); 544 const SCEV *getMulExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2, 548 return getMulExpr(Ops, Flags, Depth);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopDataPrefetch.cpp | 270 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr( in runOnLoop()
|
D | LoopRerollPass.cpp | 984 if (ADR->getStepRecurrence(*SE) != SE->getMulExpr(StepSCEV, ScaleSCEV)) { in findRoots() 1494 IncrExpr = SE->getMulExpr(IncrExpr, SizeOfExpr); in replaceIV() 1515 ICSCEV = SE->getMulExpr(IterCount, in replaceIV() 1523 MinusPlus1SCEV = SE->getMulExpr(MinusPlus1SCEV, SizeOfExpr); in replaceIV()
|
D | LoopIdiomRecognize.cpp | 737 Index = SE->getMulExpr(Index, SE->getConstant(IntPtr, StoreSize), in getStartForNegStride() 798 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStridedStore() 929 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtrTy, StoreSize), in processLoopStoreOfLoopLoad()
|
D | LoopStrengthReduce.cpp | 340 const SCEV *NewMul = SE.getMulExpr(Ops); in DoInitialMatch() 348 Good.push_back(SE.getMulExpr(NegOne, S)); in DoInitialMatch() 350 Bad.push_back(SE.getMulExpr(NegOne, S)); in DoInitialMatch() 551 return SE.getMulExpr(LHS, RC); in getExactSDiv() 613 return Found ? SE.getMulExpr(Ops) : nullptr; in getExactSDiv() 3173 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs() 3186 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs() 3204 C = C ? cast<SCEVConstant>(SE.getMulExpr(C, Op0)) : Op0; in CollectSubexprs() 3208 Ops.push_back(SE.getMulExpr(C, Remainder)); in CollectSubexprs() 3495 F.BaseRegs[i] = SE.getMulExpr(F.BaseRegs[i], FactorS); in GenerateICmpZeroScales() [all …]
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 296 SE->getUDivExpr(SE->getAddExpr(SE->getMulExpr(Ceil, VW), in IsSafeActiveMask()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopDataPrefetch.cpp | 301 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr( in runOnLoop()
|
D | LoopStrengthReduce.cpp | 423 const SCEV *NewMul = SE.getMulExpr(Ops); in DoInitialMatch() 431 Good.push_back(SE.getMulExpr(NegOne, S)); in DoInitialMatch() 433 Bad.push_back(SE.getMulExpr(NegOne, S)); in DoInitialMatch() 673 return SE.getMulExpr(LHS, RC); in getExactSDiv() 735 return Found ? SE.getMulExpr(Ops) : nullptr; in getExactSDiv() 3500 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs() 3513 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs() 3531 C = C ? cast<SCEVConstant>(SE.getMulExpr(C, Op0)) : Op0; in CollectSubexprs() 3535 Ops.push_back(SE.getMulExpr(C, Remainder)); in CollectSubexprs() 3924 F.BaseRegs[i] = SE.getMulExpr(F.BaseRegs[i], FactorS); in GenerateICmpZeroScales() [all …]
|
/external/llvm-project/polly/lib/Support/ |
D | SCEVValidator.cpp | 767 ConstPart = cast<SCEVConstant>(SE.getMulExpr(ConstPart, Op)); in extractConstantFactor() 771 return std::make_pair(ConstPart, SE.getMulExpr(LeftOvers)); in extractConstantFactor()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 716 SE->getMulExpr(Step, SE->getSCEV(Index))); in transform() 724 const SCEV *S = SE->getMulExpr(SE->getSCEV(Index), Step); in transform()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopStrengthReduce.cpp | 427 const SCEV *NewMul = SE.getMulExpr(Ops); in DoInitialMatch() 435 Good.push_back(SE.getMulExpr(NegOne, S)); in DoInitialMatch() 437 Bad.push_back(SE.getMulExpr(NegOne, S)); in DoInitialMatch() 677 return SE.getMulExpr(LHS, RC); in getExactSDiv() 739 return Found ? SE.getMulExpr(Ops) : nullptr; in getExactSDiv() 3504 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs() 3517 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs() 3535 C = C ? cast<SCEVConstant>(SE.getMulExpr(C, Op0)) : Op0; in CollectSubexprs() 3539 Ops.push_back(SE.getMulExpr(C, Remainder)); in CollectSubexprs() 3929 F.BaseRegs[i] = SE.getMulExpr(F.BaseRegs[i], FactorS); in GenerateICmpZeroScales() [all …]
|