Home
last modified time | relevance | path

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

/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.cpp468 const SCEV *Prod1 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints()
469 const SCEV *Prod2 = SE->getMulExpr(X->getB(), Y->getA()); in intersectConstraints()
473 Prod1 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints()
474 Prod2 = SE->getMulExpr(X->getB(), Y->getC()); in intersectConstraints()
487 const SCEV *C1B2 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints()
488 const SCEV *C1A2 = SE->getMulExpr(X->getC(), Y->getA()); in intersectConstraints()
489 const SCEV *C2B1 = SE->getMulExpr(Y->getC(), X->getB()); in intersectConstraints()
490 const SCEV *C2A1 = SE->getMulExpr(Y->getC(), X->getA()); in intersectConstraints()
491 const SCEV *A1B2 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints()
492 const SCEV *A2B1 = SE->getMulExpr(Y->getA(), X->getB()); in intersectConstraints()
[all …]
DScalarEvolution.cpp861 Quotient = SE.getMulExpr(Qs); in visitMulExpr()
1024 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient()
1033 return SE.getMulExpr(SE.getConstant(MultiplyFactor), in BinomialCoefficient()
1057 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff)); in evaluateAtIteration()
1126 return getMulExpr(Operands); in getTruncateExpr()
1482 const SCEV *ZMul = getMulExpr(CastedMaxBECount, Step); in getZeroExtendExpr()
1489 getMulExpr(WideMaxBECount, in getZeroExtendExpr()
1503 getMulExpr(WideMaxBECount, in getZeroExtendExpr()
1695 const SCEV *SMul = getMulExpr(CastedMaxBECount, Step); in getSignExtendExpr()
1702 getMulExpr(WideMaxBECount, in getSignExtendExpr()
[all …]
DScalarEvolutionNormalization.cpp205 case scMulExpr: return SE.getMulExpr(Operands); in TransformImpl()
DScalarEvolutionExpander.cpp273 S = SE.getMulExpr(NewMulOps); in FactorOutConstant()
1485 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h844 const SCEV *getMulExpr(SmallVectorImpl<const SCEV *> &Ops,
846 const SCEV *getMulExpr(const SCEV *LHS, const SCEV *RHS,
849 return getMulExpr(Ops, Flags);
851 const SCEV *getMulExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
854 return getMulExpr(Ops, Flags);
DScalarEvolutionExpressions.h595 return SE.getMulExpr(Operands); in visitMulExpr()
/external/llvm/lib/Transforms/Scalar/
DLoopIdiomRecognize.cpp488 Index = SE->getMulExpr(Index, SE->getConstant(IntPtr, StoreSize), in getStartForNegStride()
566 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStridedStore()
697 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()
3192 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs()
3205 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs()
3223 C = C ? cast<SCEVConstant>(SE.getMulExpr(C, Op0)) : Op0; in CollectSubexprs()
3227 Ops.push_back(SE.getMulExpr(C, Remainder)); in CollectSubexprs()
3514 F.BaseRegs[i] = SE.getMulExpr(F.BaseRegs[i], FactorS); in GenerateICmpZeroScales()
[all …]
DAlignmentFromAssumptions.cpp110 const SCEV *DiffAlign = SE->getMulExpr(DiffAlignDiv, AlignSCEV); in getNewAlignmentDiff()
DNaryReassociate.cpp547 return SE->getMulExpr(LHS, RHS); in getBinarySCEV()
DIndVarSimplify.cpp1046 WideUse = SE->getMulExpr(WideLHS, WideRHS); in cloneArithmeticIVUser()
1094 return SE->getMulExpr(LHS, RHS); in getSCEVByOpCode()
DLoopRerollPass.cpp859 if (ADR->getStepRecurrence(*SE) != SE->getMulExpr(StepSCEV, ScaleSCEV)) { in findRoots()
/external/llvm/lib/Target/PowerPC/
DPPCLoopDataPrefetch.cpp205 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr( in runOnLoop()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp373 GetExprForBO = &ScalarEvolution::getMulExpr; in strengthenOverflowingOperation()