Home
last modified time | relevance | path

Searched refs:getMulExpr (Results 1 – 23 of 23) sorted by relevance

/external/swiftshader/third_party/LLVM/unittests/Analysis/
DScalarEvolutionTest.cpp142 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/
DScalarEvolutionTest.cpp149 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/
DDependenceAnalysis.cpp463 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 …]
DScalarEvolution.cpp863 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 …]
DScalarEvolutionNormalization.cpp205 case scMulExpr: return SE.getMulExpr(Operands); in TransformImpl()
DScalarEvolutionExpander.cpp271 S = SE.getMulExpr(NewMulOps); in FactorOutConstant()
1511 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DScalarEvolution.h581 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/
DScalarEvolution.cpp750 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 …]
DScalarEvolutionNormalization.cpp175 case scMulExpr: return SE.getMulExpr(Operands); in TransformImpl()
DScalarEvolutionExpander.cpp240 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/
DScalarEvolution.h1212 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);
DScalarEvolutionExpressions.h578 return SE.getMulExpr(Operands); in visitMulExpr()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp507 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStridedStore()
613 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStoreOfLoopLoad()
DLoopStrengthReduce.cpp286 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/
DLoopRerollPass.cpp984 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()
DLoopDataPrefetch.cpp270 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr( in runOnLoop()
DLoopIdiomRecognize.cpp737 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()
DLoopStrengthReduce.cpp340 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 …]
DAlignmentFromAssumptions.cpp98 const SCEV *DiffAlign = SE->getMulExpr(DiffAlignDiv, AlignSCEV); in getNewAlignmentDiff()
DNaryReassociate.cpp516 return SE->getMulExpr(LHS, RHS); in getBinarySCEV()
DIndVarSimplify.cpp1066 WideUse = SE->getMulExpr(WideLHS, WideRHS); in cloneArithmeticIVUser()
1114 return SE->getMulExpr(LHS, RHS); in getSCEVByOpCode()
/external/llvm/lib/Transforms/Utils/
DLoopUtils.cpp716 SE->getMulExpr(Step, SE->getSCEV(Index))); in transform()
724 const SCEV *S = SE->getMulExpr(SE->getSCEV(Index), Step); in transform()
DSimplifyIndVar.cpp514 GetExprForBO = &ScalarEvolution::getMulExpr; in strengthenOverflowingOperation()