Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp50 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType())); in isSafeDecreasingBound()
101 SE.getAddExpr(BoundSCEV, Step)) && in isSafeIncreasingBound()
245 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend); in parseLoopStructure()
319 SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
345 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
349 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
754 ExitPreLoopAtSCEV = SE.getAddExpr(*SR.HighLimit, MinusOneS); in run()
781 ExitMainLoopAtSCEV = SE.getAddExpr(*SR.LowLimit, MinusOneS); in run()
H A DScalarEvolutionExpander.cpp494 Sum = expandAddToGEP(SE.getAddExpr(NewOps), Sum); in visitAddExpr()
849 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy), in IsIncrementNSW()
852 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW()
863 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getZeroExtendExpr(Step, WideTy), in IsIncrementNUW()
866 SE.getZeroExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNUW()
1202 return expand(SE.getAddExpr(AddExprLHS, AddExprRHS)); in visitAddRecExpr()
1926 SE.getAddExpr(S, SE.getConstant(S->getType(), 1)), &At, L)) in isHighCostExpansionHelper()
H A DLoopPeel.cpp414 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
418 NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
H A DLoopUnrollRuntime.cpp665 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopRemainder()
H A DSimplifyIndVar.cpp1359 return SE->getAddExpr(LHS, RHS); in getSCEVByOpCode()
/freebsd-14.2/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.cpp1192 return getAddExpr(Operands); in getTruncateExpr()
1663 getAddExpr(WideStart, in getZeroExtendExprImpl()
1680 getAddExpr(WideStart, in getZeroExtendExprImpl()
1807 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExprImpl()
2038 getAddExpr(WideStart, in getSignExtendExprImpl()
2055 getAddExpr(WideStart, in getSignExtendExprImpl()
3553 return getAddExpr(Operands); in getUDivExpr()
4666 return getAddExpr(Ops); in removePointerBase()
5532 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHIWithCastsImpl()
7721 return getAddExpr(AddOps); in createSCEV()
[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.cpp246 ScEnd = SE->getAddExpr(ScEnd, EltSizeSCEV); in insert()
913 return SE->getAddExpr(L, R); in findForkedSCEVs()
968 ScevList.emplace_back(SE->getAddExpr(get<0>(BaseScevs[0]), Scaled1), in findForkedSCEVs()
970 ScevList.emplace_back(SE->getAddExpr(get<0>(BaseScevs[1]), Scaled2), in findForkedSCEVs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp356 End = SE.getAddExpr(RHSS, One); in parseIvAgaisntLimit()
439 Operation = &ScalarEvolution::getAddExpr; in reassociateSubLHS()
617 Smallest = SE.getAddExpr(End, One); in calculateSubRanges()
618 Greatest = SE.getAddExpr(Start, One); in calculateSubRanges()
765 return SE.getAddExpr(SE.getSMaxExpr(SE.getSMinExpr(X, Zero), NegOne), One); in computeSafeIterationSpace()
H A DLoopStrengthReduce.cpp480 const SCEV *Sum = SE.getAddExpr(Good); in initialMatch()
486 const SCEV *Sum = SE.getAddExpr(Bad); in initialMatch()
756 return SE.getAddExpr(Ops); in getExactSDiv()
811 S = SE.getAddExpr(NewOps); in ExtractImmediate()
837 S = SE.getAddExpr(NewOps); in ExtractSymbol()
3233 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr; in GenerateIVChain()
3726 const SCEV *InnerSum = SE.getAddExpr(InnerAddOps); in GenerateReassociationsImpl()
3838 GenerateFormula(SE.getAddExpr(OpsCopy)); in GenerateCombinations()
3848 GenerateFormula(SE.getAddExpr(Ops)); in GenerateCombinations()
4402 NewF.BaseRegs[N] = SE.getAddExpr(NegImmS, BaseReg); in GenerateCrossUseConstantOffsets()
[all …]
H A DAlignmentFromAssumptions.cpp97 DiffSCEV = SE->getAddExpr(DiffSCEV, OffSCEV); in getNewAlignment()
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.cpp572 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in widenICmpRangeCheckIncrementingLoop()
H A DLoopRerollPass.cpp1446 auto TripCount = SE->getAddExpr(BackedgeTakenCount, One); in replace()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp297 auto *ECPlusVWMinus1 = SE->getAddExpr(EC, in IsSafeActiveMask()
328 SE->getAddExpr(SE->getMulExpr(Ceil, VW), SE->getNegativeSCEV(VW), in IsSafeActiveMask()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h581 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
584 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS,
588 return getAddExpr(Ops, Flags, Depth);
590 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
594 return getAddExpr(Ops, Flags, Depth);
H A DScalarEvolutionExpressions.h808 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp453 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp521 auto *NewStart = SE.getAddExpr(Expr->getStart(), ScaledOffset); in visitAddRecExpr()
/freebsd-14.2/contrib/llvm-project/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