Home
last modified time | relevance | path

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

/external/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/lib/Analysis/
DDependenceAnalysis.cpp467 const SCEV *Prod1 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints()
468 const SCEV *Prod2 = SE->getMulExpr(X->getB(), Y->getA()); in intersectConstraints()
472 Prod1 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints()
473 Prod2 = SE->getMulExpr(X->getB(), Y->getC()); in intersectConstraints()
486 const SCEV *C1B2 = SE->getMulExpr(X->getC(), Y->getB()); in intersectConstraints()
487 const SCEV *C1A2 = SE->getMulExpr(X->getC(), Y->getA()); in intersectConstraints()
488 const SCEV *C2B1 = SE->getMulExpr(Y->getC(), X->getB()); in intersectConstraints()
489 const SCEV *C2A1 = SE->getMulExpr(Y->getC(), X->getA()); in intersectConstraints()
490 const SCEV *A1B2 = SE->getMulExpr(X->getA(), Y->getB()); in intersectConstraints()
491 const SCEV *A2B1 = SE->getMulExpr(Y->getA(), X->getB()); in intersectConstraints()
[all …]
DScalarEvolution.cpp868 Quotient = SE.getMulExpr(Qs); in visitMulExpr()
1030 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient()
1039 return SE.getMulExpr(SE.getConstant(MultiplyFactor), in BinomialCoefficient()
1063 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff)); in evaluateAtIteration()
1132 return getMulExpr(Operands); in getTruncateExpr()
1488 const SCEV *ZMul = getMulExpr(CastedMaxBECount, Step); in getZeroExtendExpr()
1495 getMulExpr(WideMaxBECount, in getZeroExtendExpr()
1509 getMulExpr(WideMaxBECount, in getZeroExtendExpr()
1679 const SCEV *SMul = getMulExpr(CastedMaxBECount, Step); in getSignExtendExpr()
1686 getMulExpr(WideMaxBECount, in getSignExtendExpr()
[all …]
DScalarEvolutionNormalization.cpp205 case scMulExpr: return SE.getMulExpr(Operands); in TransformImpl()
DScalarEvolutionExpander.cpp259 S = SE.getMulExpr(NewMulOps); in FactorOutConstant()
1481 SE.getMulExpr(SE.getUnknown(CanonicalIV), in visitAddRecExpr()
/external/llvm/include/llvm/Analysis/
DScalarEvolution.h631 const SCEV *getMulExpr(SmallVectorImpl<const SCEV *> &Ops,
633 const SCEV *getMulExpr(const SCEV *LHS, const SCEV *RHS,
639 return getMulExpr(Ops, Flags);
641 const SCEV *getMulExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
647 return getMulExpr(Ops, Flags);
DScalarEvolutionExpressions.h681 return SE.getMulExpr(Operands); in visitMulExpr()
777 return SE.getMulExpr(Operands); in visitMulExpr()
/external/llvm/lib/Target/PowerPC/
DPPCLoopDataPrefetch.cpp204 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr( in runOnLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopStrengthReduce.cpp322 const SCEV *NewMul = SE.getMulExpr(Ops); in DoInitialMatch()
331 Good.push_back(SE.getMulExpr(NegOne, *I)); in DoInitialMatch()
334 Bad.push_back(SE.getMulExpr(NegOne, *I)); in DoInitialMatch()
541 return SE.getMulExpr(LHS, RC); in getExactSDiv()
607 return Found ? SE.getMulExpr(Ops) : nullptr; in getExactSDiv()
3217 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs()
3230 Ops.push_back(C ? SE.getMulExpr(C, Remainder) : Remainder); in CollectSubexprs()
3248 C = C ? cast<SCEVConstant>(SE.getMulExpr(C, Op0)) : Op0; in CollectSubexprs()
3252 Ops.push_back(SE.getMulExpr(C, Remainder)); in CollectSubexprs()
3547 F.BaseRegs[i] = SE.getMulExpr(F.BaseRegs[i], FactorS); in GenerateICmpZeroScales()
[all …]
DLoopIdiomRecognize.cpp970 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize), in processLoopStridedStore()
1085 NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtrTy, StoreSize), in processLoopStoreOfLoopLoad()
DAlignmentFromAssumptions.cpp106 const SCEV *DiffAlign = SE->getMulExpr(DiffAlignDiv, AlignSCEV); in getNewAlignmentDiff()
DStraightLineStrengthReduce.cpp507 SE->getMulExpr(ArrayIdxExpr, ElementSizeExpr, SCEV::FlagNSW); in allocateCandidatesAndFindBasisForGEP()
DLoopRerollPass.cpp873 if (ADR->getStepRecurrence(*SE) != SE->getMulExpr(StepSCEV, ScaleSCEV)) { in findRoots()
DIndVarSimplify.cpp862 return SE->getMulExpr(LHS, RHS); in GetSCEVByOpCode()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp293 GetExprForBO = &ScalarEvolution::getMulExpr; in strengthenOverflowingOperation()