Home
last modified time | relevance | path

Searched refs:getAddExpr (Results 1 – 25 of 29) sorted by relevance

12

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp168 Quotient = SE.getAddExpr(Qs); in visitAddExpr()
169 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
H A DScalarEvolution.cpp1052 Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff)); in evaluateAtIteration()
1157 return !Changed ? Expr : SE.getAddExpr(Operands, Expr->getNoWrapFlags()); in getLosslessPtrToIntExpr()
1254 return getAddExpr(Operands); in getTruncateExpr()
1416 const SCEV *PreStart = SE->getAddExpr(DiffOps, PreStartFlags); in getPreStartForExtend()
1433 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy, Depth), in getPreStartForExtend()
1468 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty, in getExtendAddRecStart()
1724 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul, in getZeroExtendExprImpl()
1732 getAddExpr(WideStart, in getZeroExtendExprImpl()
1749 getAddExpr(WideStart, in getZeroExtendExprImpl()
1820 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExprImpl()
[all …]
H A DScalarEvolutionNormalization.cpp67 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
H A DDependenceAnalysis.cpp636 const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1); in intersectConstraints()
2964 SE->getAddExpr(SE->getMulExpr(NegPart, Iter_1), A[K].Coeff); in findBoundsGT()
2968 SE->getAddExpr(SE->getMulExpr(PosPart, Iter_1), A[K].Coeff); in findBoundsGT()
3048 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]); in getLowerBound()
3064 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]); in getUpperBound()
3126 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value); in addToCoefficient()
3238 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine()
3252 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine()
3263 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, C)); in propagateLine()
3286 Src = SE->getAddExpr(Src, SE->getMinusSCEV(XA_K, YAP_K)); in propagatePoint()
H A DLoopAccessAnalysis.cpp238 ScEnd = SE->getAddExpr(ScEnd, EltSizeSCEV); in insert()
838 return SE->getAddExpr(L, R); in findForkedSCEVs()
893 ScevList.emplace_back(SE->getAddExpr(get<0>(BaseScevs[0]), Scaled1), in findForkedSCEVs()
895 ScevList.emplace_back(SE->getAddExpr(get<0>(BaseScevs[1]), Scaled2), in findForkedSCEVs()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp690 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType())); in isSafeDecreasingBound()
745 SE.getAddExpr(BoundSCEV, Step)) && in isSafeIncreasingBound()
872 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend); in parseLoopStructure()
946 SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
972 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
976 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
1115 Smallest = SE.getAddExpr(End, One); in calculateSubRanges()
1116 Greatest = SE.getAddExpr(Start, One); in calculateSubRanges()
1450 ExitPreLoopAtSCEV = SE.getAddExpr(*SR.HighLimit, MinusOneS); in run()
1477 ExitMainLoopAtSCEV = SE.getAddExpr(*SR.LowLimit, MinusOneS); in run()
[all …]
H A DSeparateConstOffsetFromGEP.cpp1224 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
1236 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
1251 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
1257 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
H A DLoopStrengthReduce.cpp479 const SCEV *Sum = SE.getAddExpr(Good); in initialMatch()
485 const SCEV *Sum = SE.getAddExpr(Bad); in initialMatch()
755 return SE.getAddExpr(Ops); in getExactSDiv()
810 S = SE.getAddExpr(NewOps); in ExtractImmediate()
836 S = SE.getAddExpr(NewOps); in ExtractSymbol()
2318 const SCEV *IterationCount = SE.getAddExpr(One, BackedgeTakenCount); in OptimizeMax()
3243 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr; in GenerateIVChain()
3249 const SCEV *IVOperExpr = SE.getAddExpr(SE.getUnknown(IVSrc), in GenerateIVChain()
3725 const SCEV *InnerSum = SE.getAddExpr(InnerAddOps); in GenerateReassociationsImpl()
3837 GenerateFormula(SE.getAddExpr(OpsCopy)); in GenerateCombinations()
[all …]
H A DAlignmentFromAssumptions.cpp144 DiffSCEV = SE->getAddExpr(DiffSCEV, OffSCEV); in getNewAlignment()
H A DIndVarSimplify.cpp1001 IVOffset = SE->getAddExpr(IVOffset, SE->getOne(OfsTy)); in genLoopLimit()
1007 const SCEV *IVLimit = SE->getAddExpr(IVInit, IVOffset); in genLoopLimit()
1038 const SCEV *IVLimit = SE->getAddExpr(IVInit, ExitCount); in genLoopLimit()
1041 IVLimit = SE->getAddExpr(IVLimit, SE->getOne(IVLimit->getType())); in genLoopLimit()
H A DLoopDataPrefetch.cpp395 const SCEV *NextLSCEV = SE->getAddExpr(P.LSCEVAddRec, SE->getMulExpr( in runOnLoop()
H A DLoopBoundSplit.cpp113 SE.getAddExpr(Cond.BoundSCEV, SE.getOne(BoundSCEVIntType)); in calculateUpperBound()
H A DNaryReassociate.cpp544 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
H A DLoopPredication.cpp612 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in widenICmpRangeCheckIncrementingLoop()
H A DLoopIdiomRecognize.cpp1072 SE->getAddExpr(BECount, SE->getOne(BECount->getType()), SCEV::FlagNUW), in getTripCount()
1075 TripCountS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr), in getTripCount()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp269 auto *ECPlusVWMinus1 = SE->getAddExpr(EC, in IsSafeActiveMask()
299 SE->getUDivExpr(SE->getAddExpr(SE->getMulExpr(Ceil, VW), in IsSafeActiveMask()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp322 Remainder = SE.getAddExpr( in FactorOutConstant()
379 SE.getAddExpr(NoAddRecs); in SimplifyAddOperands()
513 : expandCodeForImpl(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP()
574 Value *Idx = expandCodeForImpl(SE.getAddExpr(Ops), Ty); in expandAddToGEP()
650 return expand(SE.getAddExpr(Ops)); in expandAddToGEP()
1171 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy), in IsIncrementNSW()
1174 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW()
1185 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getZeroExtendExpr(Step, WideTy), in IsIncrementNUW()
1188 SE.getZeroExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNUW()
1594 return expand(SE.getAddExpr(AddExprLHS, AddExprRHS)); in visitAddRecExpr()
[all …]
H A DLoopPeel.cpp405 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
409 NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
H A DLoopUnrollRuntime.cpp646 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopRemainder()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DScalarEvolution.h577 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
580 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS,
584 return getAddExpr(Ops, Flags, Depth);
586 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
590 return getAddExpr(Ops, Flags, Depth);
H A DScalarEvolutionExpressions.h798 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
/openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp566 ChainIdx ? SE->getAddExpr(Bucket.BaseSCEV, in rewriteLoadStoresForCommoningChains()
953 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForDispFormChain()
998 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForUpdateFormChain()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DHardwareLoops.cpp391 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp371 const SCEV *X = SE.getAddExpr(PtrSCEVA, C); in areConsecutivePointers()
563 const SCEV *X = SE.getAddExpr(OffsetSCEVA, C); in lookThroughComplexAddresses()
/openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2162 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore()
2274 const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW); in processCopyingStore()

12