Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp53 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType())); in isSafeDecreasingBound()
107 SE.getAddExpr(BoundLG, Step)) && in isSafeIncreasingBound()
251 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend); in parseLoopStructure()
325 SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
351 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
355 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
760 ExitPreLoopAtSCEV = SE.getAddExpr(*SR.HighLimit, MinusOneS); in run()
787 ExitMainLoopAtSCEV = SE.getAddExpr(*SR.LowLimit, MinusOneS); in run()
H A DScalarEvolutionExpander.cpp553 Sum = expandAddToGEP(SE.getAddExpr(NewOps), Sum, S->getNoWrapFlags()); in visitAddExpr()
933 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy), in IsIncrementNSW()
936 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW()
947 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getZeroExtendExpr(Step, WideTy), in IsIncrementNUW()
950 SE.getZeroExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNUW()
1284 return expand(SE.getAddExpr(AddExprLHS, AddExprRHS)); in visitAddRecExpr()
2025 SE.getAddExpr(S, SE.getConstant(S->getType(), 1)), &At, L)) in isHighCostExpansionHelper()
H A DLoopPeel.cpp421 IterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
498 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
H A DLoopUnrollRuntime.cpp669 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopRemainder()
H A DSimplifyIndVar.cpp1389 return SE->getAddExpr(LHS, RHS); in getSCEVByOpCode()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolutionDivision.cpp172 Quotient = SE.getAddExpr(Qs); in visitAddExpr()
173 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
H A DScalarEvolution.cpp998 Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff)); in evaluateAtIteration()
1103 return !Changed ? Expr : SE.getAddExpr(Operands, Expr->getNoWrapFlags()); in getLosslessPtrToIntExpr()
1200 return getAddExpr(Operands); in getTruncateExpr()
1364 const SCEV *PreStart = SE->getAddExpr(DiffOps, PreStartFlags); in getPreStartForExtend()
1381 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy, Depth), in getPreStartForExtend()
1416 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty, in getExtendAddRecStart()
1661 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul, in getZeroExtendExprImpl()
1669 getAddExpr(WideStart, in getZeroExtendExprImpl()
1686 getAddExpr(WideStart, in getZeroExtendExprImpl()
1758 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.cpp655 const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1); in intersectConstraints()
2974 SE->getAddExpr(SE->getMulExpr(NegPart, Iter_1), A[K].Coeff); in findBoundsGT()
2978 SE->getAddExpr(SE->getMulExpr(PosPart, Iter_1), A[K].Coeff); in findBoundsGT()
3058 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]); in getLowerBound()
3074 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]); in getUpperBound()
3136 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value); in addToCoefficient()
3248 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine()
3262 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine()
3273 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, C)); in propagateLine()
3296 Src = SE->getAddExpr(Src, SE->getMinusSCEV(XA_K, YAP_K)); in propagatePoint()
H A DLoopAccessAnalysis.cpp197 return SE.getAddExpr(A, B); in addSCEVNoOverflow()
315 ScEnd = SE->getAddExpr( in getStartAndEndForAccess()
342 ScEnd = SE->getAddExpr(ScEnd, EltSizeSCEV); in getStartAndEndForAccess()
1068 return SE->getAddExpr(L, R); in findForkedSCEVs()
1123 ScevList.emplace_back(SE->getAddExpr(Base, Scaled), NeedsFreeze); in findForkedSCEVs()
H A DLoads.cpp389 AccessSizeSCEV = SE.getAddExpr(PtrDiff, Offset); in isDereferenceableAndAlignedInLoop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp350 End = SE.getAddExpr(RHSS, One); in parseIvAgaisntLimit()
433 Operation = &ScalarEvolution::getAddExpr; in reassociateSubLHS()
633 Smallest = SE.getAddExpr(End, One); in calculateSubRanges()
634 Greatest = SE.getAddExpr(Start, One); in calculateSubRanges()
781 return SE.getAddExpr(SE.getSMaxExpr(SE.getSMinExpr(X, Zero), NegOne), One); in computeSafeIterationSpace()
H A DLoopStrengthReduce.cpp603 const SCEV *Sum = SE.getAddExpr(Good); in initialMatch()
609 const SCEV *Sum = SE.getAddExpr(Bad); in initialMatch()
892 return SE.getAddExpr(Ops); in getExactSDiv()
948 S = SE.getAddExpr(NewOps); in ExtractImmediate()
978 S = SE.getAddExpr(NewOps); in ExtractSymbol()
2496 const SCEV *IterationCount = SE.getAddExpr(One, BackedgeTakenCount); in OptimizeMax()
3430 Accum = SE.getAddExpr(Accum, IncExpr); in GenerateIVChain()
3432 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr; in GenerateIVChain()
3444 SE.getAddExpr(SE.getUnknown(MapIVOper), SE.getUnknown(IncV)); in GenerateIVChain()
3458 const SCEV *IVOperExpr = SE.getAddExpr(SE.getUnknown(IVSrc), in GenerateIVChain()
[all …]
H A DAlignmentFromAssumptions.cpp97 DiffSCEV = SE->getAddExpr(DiffSCEV, OffSCEV); in getNewAlignment()
H A DLoopDataPrefetch.cpp394 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.cpp543 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
H A DLoopPredication.cpp571 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in widenICmpRangeCheckIncrementingLoop()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp296 const SCEV *ECPlusVWMinus1 = SE->getAddExpr( in IsSafeActiveMask()
328 SE->getAddExpr(SE->getMulExpr(Ceil, VW), SE->getNegativeSCEV(VW), in IsSafeActiveMask()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h583 LLVM_ABI const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
586 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS,
590 return getAddExpr(Ops, Flags, Depth);
592 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
596 return getAddExpr(Ops, Flags, Depth);
H A DScalarEvolutionExpressions.h812 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp557 ChainIdx ? SE->getAddExpr(Bucket.BaseSCEV, in rewriteLoadStoresForCommoningChains()
949 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForDispFormChain()
994 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForUpdateFormChain()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp452 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2144 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore()
2256 const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW); in processCopyingStore()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp519 const SCEV *NewStart = SE.getAddExpr(Expr->getStart(), ScaledOffset); in visitAddRecExpr()

12