Searched refs:getAddExpr (Results 1 - 25 of 32) sorted by relevance

12

/external/llvm/unittests/Analysis/
H A DScalarEvolutionTest.cpp69 const SCEV *P0 = SE.getAddExpr(S0, S0);
70 const SCEV *P1 = SE.getAddExpr(S1, S1);
71 const SCEV *P2 = SE.getAddExpr(S2, S2);
155 EXPECT_EQ(Product->getOperand(0), SE.getAddExpr(Sum));
164 EXPECT_EQ(Product->getOperand(1), SE.getAddExpr(Sum));
173 EXPECT_EQ(Product->getOperand(2), SE.getAddExpr(Sum));
186 EXPECT_EQ(Product->getOperand(3), SE.getAddExpr(Sum));
204 EXPECT_EQ(Product->getOperand(4), SE.getAddExpr(Sum));
217 EXPECT_EQ(Product->getOperand(5), SE.getAddExpr(Sum));
226 EXPECT_EQ(Product->getOperand(6), SE.getAddExpr(Su
[all...]
/external/swiftshader/third_party/LLVM/unittests/Analysis/
H A DScalarEvolutionTest.cpp60 const SCEV *P0 = SE.getAddExpr(S0, S0);
61 const SCEV *P1 = SE.getAddExpr(S1, S1);
62 const SCEV *P2 = SE.getAddExpr(S2, S2);
148 EXPECT_EQ(Product->getOperand(0), SE.getAddExpr(Sum));
157 EXPECT_EQ(Product->getOperand(1), SE.getAddExpr(Sum));
166 EXPECT_EQ(Product->getOperand(2), SE.getAddExpr(Sum));
179 EXPECT_EQ(Product->getOperand(3), SE.getAddExpr(Sum));
197 EXPECT_EQ(Product->getOperand(4), SE.getAddExpr(Sum));
210 EXPECT_EQ(Product->getOperand(5), SE.getAddExpr(Sum));
219 EXPECT_EQ(Product->getOperand(6), SE.getAddExpr(Su
[all...]
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DScalarEvolution.cpp783 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff));
836 return getAddExpr(Operands);
960 const SCEV *Add = getAddExpr(Start, ZMul);
962 getAddExpr(getZeroExtendExpr(Start, WideTy),
976 Add = getAddExpr(Start, SMul);
978 getAddExpr(getZeroExtendExpr(Start, WideTy),
1092 const SCEV *PreStart = SE->getAddExpr(DiffOps, SA->getNoWrapFlags());
1103 SE->getAddExpr(SE->getSignExtendExpr(PreStart, WideTy),
1133 return SE->getAddExpr(SE->getSignExtendExpr(AR->getStepRecurrence(*SE), Ty),
1226 const SCEV *Add = getAddExpr(Star
1446 const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops, function in class:ScalarEvolution
[all...]
H A DScalarEvolutionExpander.cpp218 SE.getAddExpr(Remainder,
295 SE.getAddExpr(NoAddRecs);
426 expandCodeFor(SE.getAddExpr(ScaledOps), Ty);
496 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty);
588 return expand(SE.getAddExpr(Ops));
831 Rest = SE.getAddExpr(Rest,
842 Rest = SE.getAddExpr(NewAddOps);
1219 return expand(SE.getAddExpr(SE.getUnknown(expand(S->getStart())),
H A DScalarEvolutionNormalization.cpp174 case scAddExpr: return SE.getAddExpr(Operands);
/external/llvm/lib/Analysis/
H A DScalarEvolutionNormalization.cpp183 Result = SE.getAddExpr(Result, TransformedStep);
204 case scAddExpr: return SE.getAddExpr(Operands);
H A DScalarEvolution.cpp823 Quotient = SE.getAddExpr(Qs);
824 Remainder = SE.getAddExpr(Rs);
1058 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff));
1111 return getAddExpr(Operands);
1272 const SCEV *PreStart = SE->getAddExpr(DiffOps, PreStartFlags);
1289 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy),
1323 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty),
1489 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul), WideTy);
1494 getAddExpr(WideStart,
1508 getAddExpr(WideStar
2022 const SCEV *ScalarEvolution::getAddExpr(SmallVectorImpl<const SCEV *> &Ops, function in class:ScalarEvolution
[all...]
H A DScalarEvolutionExpander.cpp254 Remainder = SE.getAddExpr(
311 SE.getAddExpr(NoAddRecs);
443 expandCodeFor(SE.getAddExpr(ScaledOps), Ty);
498 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty);
577 return expand(SE.getAddExpr(Ops));
804 Rest = SE.getAddExpr(Rest,
814 Rest = SE.getAddExpr(NewAddOps);
1044 if (SE.getAddExpr(Requested->getStart(),
1060 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy),
1063 SE.getSignExtendExpr(SE.getAddExpr(A
[all...]
H A DDependenceAnalysis.cpp550 const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1);
2792 SE->getAddExpr(SE->getMulExpr(NegPart, Iter_1), A[K].Coeff);
2796 SE->getAddExpr(SE->getMulExpr(PosPart, Iter_1), A[K].Coeff);
2876 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]);
2892 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]);
2954 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value);
3050 // Src = SE->getAddExpr(Src, SE->getMulExpr(AP_K, SE->getConstant(CdivB)));
3065 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA)));
3079 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA)));
3090 Src = SE->getAddExpr(Sr
[all...]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DScalarEvolution.h564 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
566 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS, function in class:llvm::ScalarEvolution
571 return getAddExpr(Ops, Flags);
573 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2, function in class:llvm::ScalarEvolution
579 return getAddExpr(Ops, Flags);
H A DScalarEvolutionExpressions.h356 return cast<SCEVAddRecExpr>(SE.getAddExpr(this, getStepRecurrence(SE)));
/external/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp342 Operation = &ScalarEvolution::getAddExpr;
349 Operation = &ScalarEvolution::getAddExpr;
506 GetExprForBO = &ScalarEvolution::getAddExpr;
/external/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp795 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend);
871 Smallest = SE.getAddExpr(End, SE.getSCEV(One));
872 Greatest = SE.getAddExpr(Start, SE.getSCEV(One));
1198 ExitPreLoopAtSCEV = SE.getAddExpr(*SR.HighLimit, MinusOneS);
1217 ExitMainLoopAtSCEV = SE.getAddExpr(*SR.LowLimit, MinusOneS);
1419 cast<SCEVAddRecExpr>(SE.getAddExpr(SE.getSCEV(LS.IndVarNext), MinusOne));
H A DLoopDataPrefetch.cpp270 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr(
H A DLoopStrengthReduce.cpp366 const SCEV *Sum = SE.getAddExpr(Good);
372 const SCEV *Sum = SE.getAddExpr(Bad);
594 return SE.getAddExpr(Ops);
634 S = SE.getAddExpr(NewOps);
660 S = SE.getAddExpr(NewOps);
1972 const SCEV *IterationCount = SE.getAddExpr(One, BackedgeTakenCount);
2879 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr;
2885 const SCEV *IVOperExpr = SE.getAddExpr(SE.getUnknown(IVSrc),
3257 const SCEV *InnerSum = SE.getAddExpr(InnerAddOps);
3336 const SCEV *Sum = SE.getAddExpr(Op
[all...]
H A DNaryReassociate.cpp514 return SE->getAddExpr(LHS, RHS);
H A DSeparateConstOffsetFromGEP.cpp1127 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS));
1143 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS));
/external/llvm/include/llvm/Analysis/
H A DScalarEvolution.h1200 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
1202 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS, function in class:llvm::ScalarEvolution
1205 return getAddExpr(Ops, Flags);
1207 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2, function in class:llvm::ScalarEvolution
1210 return getAddExpr(Ops, Flags);
H A DScalarEvolutionExpressions.h344 return cast<SCEVAddRecExpr>(SE.getAddExpr(this, getStepRecurrence(SE)));
571 return SE.getAddExpr(Operands);
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp315 const SCEV *Sum = SE.getAddExpr(Good);
321 const SCEV *Sum = SE.getAddExpr(Bad);
502 return SE.getAddExpr(Ops);
545 S = SE.getAddExpr(NewOps);
572 S = SE.getAddExpr(NewOps);
1658 const SCEV *IterationCount = SE.getAddExpr(One, BackedgeTakenCount);
2384 const SCEV *InnerSum = SE.getAddExpr(InnerAddOps);
2439 const SCEV *Sum = SE.getAddExpr(Ops);
2491 const SCEV *NewG = SE.getAddExpr(SE.getConstant(G->getType(), *I), G);
2820 NewF.ScaledReg = SE.getAddExpr(NegImm
[all...]
H A DLoopIdiomRecognize.cpp504 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtr, 1),
610 const SCEV *NumBytesS = SE->getAddExpr(BECount, SE->getConstant(IntPtr, 1),
H A DIndVarSimplify.cpp950 SE->getAddExpr(SE->getSCEV(DU.WideDef), ExtendOperExpr,
1535 SE->getAddExpr(IVLimit, SE->getConstant(IVLimit->getType(), 1));
1547 IVLimit = SE->getAddExpr(IVLimit, SE->getConstant(CntTy, 1));
1585 IVLimit = SE->getAddExpr(IVInit, IVLimit);
/external/llvm/lib/Target/PowerPC/
H A DPPCLoopPreIncPrep.cpp290 Buckets[i].BaseSCEV = SE->getAddExpr(Buckets[i].BaseSCEV, Offset);
H A DPPCCTRLoops.cpp590 ExitCount = SE->getAddExpr(ExitCount, SE->getOne(CountType));
/external/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp267 const SCEV *X = SE.getAddExpr(PtrSCEVA, C);
336 const SCEV *X2 = SE.getAddExpr(OffsetSCEVA, One);

Completed in 255 milliseconds

12