Home
last modified time | relevance | path

Searched refs:getAddExpr (Results 1 – 25 of 27) 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.cpp543 Sum = expandAddToGEP(SE.getAddExpr(NewOps), Sum); in visitAddExpr()
909 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy), in IsIncrementNSW()
912 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW()
923 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getZeroExtendExpr(Step, WideTy), in IsIncrementNUW()
926 SE.getZeroExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNUW()
1259 return expand(SE.getAddExpr(AddExprLHS, AddExprRHS)); in visitAddRecExpr()
2024 SE.getAddExpr(S, SE.getConstant(S->getType(), 1)), &At, L)) in isHighCostExpansionHelper()
H A DLoopPeel.cpp362 IterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
436 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
H A DLoopUnrollRuntime.cpp665 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/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);
618 Greatest = SE.getAddExpr(Start, One);
765 return SE.getAddExpr(SE.getSMaxExpr(SE.getSMinExpr(X, Zero), NegOne), One);
H A DLoopStrengthReduce.cpp608 const SCEV *Sum = SE.getAddExpr(Good); in initialMatch()
614 const SCEV *Sum = SE.getAddExpr(Bad); in initialMatch()
884 return SE.getAddExpr(Ops); in getExactSDiv()
939 S = SE.getAddExpr(NewOps); in ExtractImmediate()
973 S = SE.getAddExpr(NewOps); in ExtractSymbol()
2507 const SCEV *IterationCount = SE.getAddExpr(One, BackedgeTakenCount); in OptimizeMax()
3445 Accum = SE.getAddExpr(Accum, IncExpr); in GenerateIVChain()
3447 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr; in GenerateIVChain()
3459 SE.getAddExpr(SE.getUnknown(MapIVOper), SE.getUnknown(IncV)); in GenerateIVChain()
3473 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.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.cpp545 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
H A DLoopPredication.cpp572 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in isLoopInvariantValue()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp992 Result = SE.getAddExpr(Result, SE.getMulExpr(Operands[i], Coeff)); in evaluateAtIteration()
1097 return !Changed ? Expr : SE.getAddExpr(Operands, Expr->getNoWrapFlags()); in getLosslessPtrToIntExpr()
1194 return getAddExpr(Operands); in getTruncateExpr()
1358 const SCEV *PreStart = SE->getAddExpr(DiffOps, PreStartFlags); in getPreStartForExtend()
1375 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy, Depth), in getPreStartForExtend()
1410 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty, in getExtendAddRecStart()
1657 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul, in getZeroExtendExprImpl()
1665 getAddExpr(WideStart, in getZeroExtendExprImpl()
1682 getAddExpr(WideStart, in getZeroExtendExprImpl()
1754 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExprImpl()
[all …]
H A DScalarEvolutionDivision.cpp172 Quotient = SE.getAddExpr(Qs); in visitAddExpr()
173 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
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.cpp253 ScEnd = SE->getAddExpr(ScEnd, EltSizeSCEV); in getStartAndEndForAccess()
911 return SE->getAddExpr(L, R); in findForkedSCEVs()
966 ScevList.emplace_back(SE->getAddExpr(get<0>(BaseScevs[0]), Scaled1), in findForkedSCEVs()
968 ScevList.emplace_back(SE->getAddExpr(get<0>(BaseScevs[1]), Scaled2), in findForkedSCEVs()
/freebsd/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()
H A DARMTargetTransformInfo.cpp2165 SE.getAddExpr(BackedgeTakenCount, in isHardwareLoopProfitable()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h582 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
585 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS,
589 return getAddExpr(Ops, Flags, Depth);
591 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
595 return getAddExpr(Ops, Flags, Depth);
H A DScalarEvolutionExpressions.h808 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp566 ChainIdx ? SE->getAddExpr(Bucket.BaseSCEV, in rewriteLoadStoresForCommoningChains()
958 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForDispFormChain()
1003 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForUpdateFormChain()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp453 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp521 auto *NewStart = SE.getAddExpr(Expr->getStart(), ScaledOffset); in visitAddRecExpr()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2156 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore()
2268 const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW); in processCopyingStore()

12