/external/llvm/unittests/Analysis/ |
D | ScalarEvolutionTest.cpp | 60 const SCEV *P0 = SE.getAddExpr(S0, S0); in TEST_F() 61 const SCEV *P1 = SE.getAddExpr(S1, S1); in TEST_F() 62 const SCEV *P2 = SE.getAddExpr(S2, S2); in TEST_F() 148 EXPECT_EQ(Product->getOperand(0), SE.getAddExpr(Sum)); in TEST_F() 157 EXPECT_EQ(Product->getOperand(1), SE.getAddExpr(Sum)); in TEST_F() 166 EXPECT_EQ(Product->getOperand(2), SE.getAddExpr(Sum)); in TEST_F() 179 EXPECT_EQ(Product->getOperand(3), SE.getAddExpr(Sum)); in TEST_F() 197 EXPECT_EQ(Product->getOperand(4), SE.getAddExpr(Sum)); in TEST_F() 210 EXPECT_EQ(Product->getOperand(5), SE.getAddExpr(Sum)); in TEST_F() 219 EXPECT_EQ(Product->getOperand(6), SE.getAddExpr(Sum)); in TEST_F() [all …]
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 822 Quotient = SE.getAddExpr(Qs); in visitAddExpr() 823 Remainder = SE.getAddExpr(Rs); in visitAddExpr() 1063 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff)); in evaluateAtIteration() 1116 return getAddExpr(Operands); in getTruncateExpr() 1275 const SCEV *PreStart = SE->getAddExpr(DiffOps, SA->getNoWrapFlags()); in getPreStartForExtend() 1292 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy), in getPreStartForExtend() 1326 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty), in getExtendAddRecStart() 1489 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul), WideTy); in getZeroExtendExpr() 1494 getAddExpr(WideStart, in getZeroExtendExpr() 1508 getAddExpr(WideStart, in getZeroExtendExpr() [all …]
|
D | ScalarEvolutionNormalization.cpp | 183 Result = SE.getAddExpr(Result, TransformedStep); in TransformImpl() 204 case scAddExpr: return SE.getAddExpr(Operands); in TransformImpl()
|
D | ScalarEvolutionExpander.cpp | 240 SE.getAddExpr(Remainder, in FactorOutConstant() 299 SE.getAddExpr(NoAddRecs); in SimplifyAddOperands() 432 expandCodeFor(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP() 487 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); in expandAddToGEP() 573 return expand(SE.getAddExpr(Ops)); in expandAddToGEP() 801 Rest = SE.getAddExpr(Rest, in ExposePointerBase() 811 Rest = SE.getAddExpr(NewAddOps); in ExposePointerBase() 1021 if (SE.getAddExpr(Requested->getStart(), in canBeCheaplyTransformed() 1037 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy), in IsIncrementNSW() 1040 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW() [all …]
|
D | DependenceAnalysis.cpp | 554 const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1); in intersectConstraints() 2806 SE->getAddExpr(SE->getMulExpr(NegPart, Iter_1), A[K].Coeff); in findBoundsGT() 2810 SE->getAddExpr(SE->getMulExpr(PosPart, Iter_1), A[K].Coeff); in findBoundsGT() 2891 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]); in getLowerBound() 2907 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]); in getUpperBound() 2969 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value); in addToCoefficient() 3083 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine() 3097 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine() 3108 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, C)); in propagateLine() 3132 Src = SE->getAddExpr(Src, SE->getMinusSCEV(XA_K, YAP_K)); in propagatePoint()
|
/external/llvm/lib/Transforms/Scalar/ |
D | NaryReassociate.cpp | 219 if (auto *NewI = tryReassociatedAdd(SE->getAddExpr(AExpr, RHSExpr), B, I)) in tryReassociateAdd() 221 if (auto *NewI = tryReassociatedAdd(SE->getAddExpr(BExpr, RHSExpr), A, I)) in tryReassociateAdd()
|
D | InductiveRangeCheckElimination.cpp | 817 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend); in parseLoopStructure() 893 Smallest = SE.getAddExpr(End, SE.getSCEV(One)); in calculateSubRanges() 894 Greatest = SE.getAddExpr(Start, SE.getSCEV(One)); in calculateSubRanges() 1220 ExitPreLoopAtSCEV = SE.getAddExpr(*SR.HighLimit, MinusOneS); in run() 1239 ExitMainLoopAtSCEV = SE.getAddExpr(*SR.LowLimit, MinusOneS); in run() 1440 cast<SCEVAddRecExpr>(SE.getAddExpr(SE.getSCEV(LS.IndVarNext), MinusOne)); in runOnLoop()
|
D | LoopStrengthReduce.cpp | 351 const SCEV *Sum = SE.getAddExpr(Good); in InitialMatch() 357 const SCEV *Sum = SE.getAddExpr(Bad); in InitialMatch() 586 return SE.getAddExpr(Ops); in getExactSDiv() 629 S = SE.getAddExpr(NewOps); in ExtractImmediate() 656 S = SE.getAddExpr(NewOps); in ExtractSymbol() 2004 const SCEV *IterationCount = SE.getAddExpr(One, BackedgeTakenCount); in OptimizeMax() 2922 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr; in GenerateIVChain() 2928 const SCEV *IVOperExpr = SE.getAddExpr(SE.getUnknown(IVSrc), in GenerateIVChain() 3301 const SCEV *InnerSum = SE.getAddExpr(InnerAddOps); in GenerateReassociationsImpl() 3383 const SCEV *Sum = SE.getAddExpr(Ops); in GenerateCombinations() [all …]
|
D | LoopIdiomRecognize.cpp | 967 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtr, 1), in processLoopStridedStore() 1082 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtrTy, 1), in processLoopStoreOfLoopLoad()
|
D | IndVarSimplify.cpp | 858 return SE->getAddExpr(LHS, RHS); in GetSCEVByOpCode() 1618 IVLimit = SE->getAddExpr(IVInit, IVCount); in genLoopLimit() 1657 IVCount = SE->getAddExpr(BackedgeTakenCount, in LinearFunctionTestReplace()
|
D | LoopRerollPass.cpp | 1494 SE->getAddExpr(LIBETC, SE->getConstant(LIBETC->getType(), 1)); in runOnLoop()
|
/external/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 614 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops, 616 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS, 621 return getAddExpr(Ops, Flags); 623 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2, 629 return getAddExpr(Ops, Flags);
|
D | ScalarEvolutionExpressions.h | 352 return cast<SCEVAddRecExpr>(SE.getAddExpr(this, getStepRecurrence(SE))); in getPostIncExpr() 674 return SE.getAddExpr(Operands); in visitAddExpr() 770 return SE.getAddExpr(Operands); in visitAddExpr()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCLoopDataPrefetch.cpp | 204 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr( in runOnLoop()
|
D | PPCCTRLoops.cpp | 542 ExitCount = SE->getAddExpr(ExitCount, in convertToCTRLoop()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 312 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopProlog()
|
D | SimplifyIndVar.cpp | 285 GetExprForBO = &ScalarEvolution::getAddExpr; in strengthenOverflowingOperation()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | SLPVectorizer.cpp | 1830 const SCEV *X = SE->getAddExpr(PtrSCEVA, C); in isConsecutiveAccess()
|
D | LoopVectorize.cpp | 2119 ExitCount = SE->getAddExpr(BackedgeTakeCount, in createEmptyLoop()
|