/external/swiftshader/third_party/LLVM/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 142 dyn_cast<SCEVAddRecExpr>(SE.getMulExpr(A_rec, B_rec)); in TEST_F() 147 Sum.push_back(SE.getMulExpr(A[0], B[0])); in TEST_F() 154 Sum.push_back(SE.getMulExpr(A[1], B[0])); in TEST_F() 155 Sum.push_back(SE.getMulExpr(A[0], B[1])); in TEST_F() 156 Sum.push_back(SE.getMulExpr(A[1], B[1])); in TEST_F() 160 Sum.push_back(SE.getMulExpr(A[2], B[0])); in TEST_F() 161 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[1])); in TEST_F() 162 Sum.push_back(SE.getMulExpr(A[0], B[2])); in TEST_F() 163 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[2], B[1])); in TEST_F() 164 Sum.push_back(SE.getMulExpr(SE.getConstant(Ty, 2), A[1], B[2])); in TEST_F() [all …]
|
/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/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()
|
D | ScalarEvolutionExpander.cpp | 271 S = SE.getMulExpr(NewMulOps); in FactorOutConstant() 1511 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | ScalarEvolution.h | 581 const SCEV *getMulExpr(SmallVectorImpl<const SCEV *> &Ops, 583 const SCEV *getMulExpr(const SCEV *LHS, const SCEV *RHS, 589 return getMulExpr(Ops, Flags); 591 const SCEV *getMulExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2, 597 return getMulExpr(Ops, Flags);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolution.cpp | 750 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient() 759 return SE.getMulExpr(SE.getConstant(MultiplyFactor), in BinomialCoefficient() 783 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff)); in evaluateAtIteration() 851 return getMulExpr(Operands); in getTruncateExpr() 959 const SCEV *ZMul = getMulExpr(CastedMaxBECount, Step); in getZeroExtendExpr() 963 getMulExpr(getZeroExtendExpr(CastedMaxBECount, WideTy), in getZeroExtendExpr() 975 const SCEV *SMul = getMulExpr(CastedMaxBECount, Step); in getZeroExtendExpr() 979 getMulExpr(getZeroExtendExpr(CastedMaxBECount, WideTy), in getZeroExtendExpr() 1225 const SCEV *SMul = getMulExpr(CastedMaxBECount, Step); in getSignExtendExpr() 1229 getMulExpr(getZeroExtendExpr(CastedMaxBECount, WideTy), in getSignExtendExpr() [all …]
|
D | ScalarEvolutionNormalization.cpp | 175 case scMulExpr: return SE.getMulExpr(Operands); in TransformImpl()
|
D | ScalarEvolutionExpander.cpp | 240 S = SE.getMulExpr(NewMulOps); in FactorOutConstant() 253 S = SE.getMulExpr(NewMulOps); in FactorOutConstant() 1265 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
|
/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);
|
D | ScalarEvolutionExpressions.h | 578 return SE.getMulExpr(Operands); in visitMulExpr()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopIdiomRecognize.cpp | 507 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStridedStore() 613 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStoreOfLoopLoad()
|
D | LoopStrengthReduce.cpp | 286 const SCEV *NewMul = SE.getMulExpr(Ops); in DoInitialMatch() 295 Good.push_back(SE.getMulExpr(NegOne, *I)); in DoInitialMatch() 298 Bad.push_back(SE.getMulExpr(NegOne, *I)); in DoInitialMatch() 457 return SE.getMulExpr(LHS, RC); in getExactSDiv() 523 return Found ? SE.getMulExpr(Ops) : 0; in getExactSDiv() 2329 C ? cast<SCEVConstant>(SE.getMulExpr(C, Op0)) : Op0, in CollectSubexprs() 2336 Ops.push_back(C ? SE.getMulExpr(C, S) : S); in CollectSubexprs() 2566 F.BaseRegs[i] = SE.getMulExpr(F.BaseRegs[i], FactorS); in GenerateICmpZeroScales() 2573 F.ScaledReg = SE.getMulExpr(F.ScaledReg, FactorS); in GenerateICmpZeroScales() 3568 ScaledS = SE.getMulExpr(ScaledS, in Expand()
|
/external/llvm/lib/Transforms/Scalar/ |
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 | LoopDataPrefetch.cpp | 270 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr( in runOnLoop()
|
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 …]
|
D | AlignmentFromAssumptions.cpp | 98 const SCEV *DiffAlign = SE->getMulExpr(DiffAlignDiv, AlignSCEV); in getNewAlignmentDiff()
|
D | NaryReassociate.cpp | 516 return SE->getMulExpr(LHS, RHS); in getBinarySCEV()
|
D | IndVarSimplify.cpp | 1066 WideUse = SE->getMulExpr(WideLHS, WideRHS); in cloneArithmeticIVUser() 1114 return SE->getMulExpr(LHS, RHS); in getSCEVByOpCode()
|
/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()
|
D | SimplifyIndVar.cpp | 514 GetExprForBO = &ScalarEvolution::getMulExpr; in strengthenOverflowingOperation()
|