| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ScalarEvolutionDivision.cpp | 168 Quotient = SE.getAddExpr(Qs); in visitAddExpr() 169 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
|
| H A D | ScalarEvolution.cpp | 1052 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 D | ScalarEvolutionNormalization.cpp | 67 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
|
| H A D | DependenceAnalysis.cpp | 636 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 D | LoopAccessAnalysis.cpp | 238 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 D | InductiveRangeCheckElimination.cpp | 690 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 D | SeparateConstOffsetFromGEP.cpp | 1224 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 D | LoopStrengthReduce.cpp | 479 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 D | AlignmentFromAssumptions.cpp | 144 DiffSCEV = SE->getAddExpr(DiffSCEV, OffSCEV); in getNewAlignment()
|
| H A D | IndVarSimplify.cpp | 1001 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 D | LoopDataPrefetch.cpp | 395 const SCEV *NextLSCEV = SE->getAddExpr(P.LSCEVAddRec, SE->getMulExpr( in runOnLoop()
|
| H A D | LoopBoundSplit.cpp | 113 SE.getAddExpr(Cond.BoundSCEV, SE.getOne(BoundSCEVIntType)); in calculateUpperBound()
|
| H A D | NaryReassociate.cpp | 544 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
|
| H A D | LoopPredication.cpp | 612 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in widenICmpRangeCheckIncrementingLoop()
|
| H A D | LoopIdiomRecognize.cpp | 1072 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 D | MVETailPredication.cpp | 269 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 D | ScalarEvolutionExpander.cpp | 322 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 D | LoopPeel.cpp | 405 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares() 409 NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
|
| H A D | LoopUnrollRuntime.cpp | 646 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopRemainder()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | ScalarEvolution.h | 577 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 D | ScalarEvolutionExpressions.h | 798 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 566 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 D | HardwareLoops.cpp | 391 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/ |
| H A D | LoadStoreVectorizer.cpp | 371 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 D | HexagonLoopIdiomRecognition.cpp | 2162 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore() 2274 const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW); in processCopyingStore()
|