Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp1245 return getAddExpr(Operands); in getTruncateExpr()
1677 getAddExpr(WideStart, in getZeroExtendExpr()
1695 getAddExpr(WideStart, in getZeroExtendExpr()
1824 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExpr()
1958 return getAddExpr(SSExtD, SSExtR, in getSignExtendExpr()
2019 getAddExpr(WideStart, in getSignExtendExpr()
2037 getAddExpr(WideStart, in getSignExtendExpr()
3398 return getAddExpr(Operands); in getUDivExpr()
4178 return SE->getAddExpr(Ops); in removePointerBase()
5048 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHIWithCastsImpl()
[all …]
H A DScalarEvolutionDivision.cpp170 Quotient = SE.getAddExpr(Qs); in visitAddExpr()
171 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
H A DScalarEvolutionNormalization.cpp66 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
H A DDependenceAnalysis.cpp571 const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1); in intersectConstraints()
2866 SE->getAddExpr(SE->getMulExpr(NegPart, Iter_1), A[K].Coeff); in findBoundsGT()
2870 SE->getAddExpr(SE->getMulExpr(PosPart, Iter_1), A[K].Coeff); in findBoundsGT()
2950 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]); in getLowerBound()
2966 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]); in getUpperBound()
3028 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value); in addToCoefficient()
3140 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine()
3154 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine()
3165 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, C)); in propagateLine()
3188 Src = SE->getAddExpr(Src, SE->getMinusSCEV(XA_K, YAP_K)); in propagatePoint()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp693 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType())); in isSafeDecreasingBound()
748 SE.getAddExpr(BoundSCEV, Step)) && in isSafeIncreasingBound()
871 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend); in parseLoopStructure()
945 SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
971 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
975 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
1114 Smallest = SE.getAddExpr(End, One); in calculateSubRanges()
1115 Greatest = SE.getAddExpr(Start, One); in calculateSubRanges()
1448 ExitPreLoopAtSCEV = SE.getAddExpr(*SR.HighLimit, MinusOneS); in run()
1475 ExitMainLoopAtSCEV = SE.getAddExpr(*SR.LowLimit, MinusOneS); in run()
[all …]
H A DSeparateConstOffsetFromGEP.cpp1215 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
1227 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
1242 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
1248 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
H A DLoopStrengthReduce.cpp464 const SCEV *Sum = SE.getAddExpr(Good); in initialMatch()
470 const SCEV *Sum = SE.getAddExpr(Bad); in initialMatch()
739 return SE.getAddExpr(Ops); in getExactSDiv()
794 S = SE.getAddExpr(NewOps); in ExtractImmediate()
820 S = SE.getAddExpr(NewOps); in ExtractSymbol()
3234 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr; in GenerateIVChain()
3663 const SCEV *InnerSum = SE.getAddExpr(InnerAddOps); in GenerateReassociationsImpl()
3775 GenerateFormula(SE.getAddExpr(OpsCopy)); in GenerateCombinations()
3785 GenerateFormula(SE.getAddExpr(Ops)); in GenerateCombinations()
4299 NewF.BaseRegs[N] = SE.getAddExpr(NegImmS, BaseReg); in GenerateCrossUseConstantOffsets()
[all …]
H A DIndVarSimplify.cpp995 IVOffset = SE->getAddExpr(IVOffset, SE->getOne(OfsTy)); in genLoopLimit()
1008 const SCEV *IVLimit = SE->getAddExpr(IVInit, IVOffset); in genLoopLimit()
1040 const SCEV *IVLimit = SE->getAddExpr(IVInit, ExitCount); in genLoopLimit()
1043 IVLimit = SE->getAddExpr(IVLimit, SE->getOne(IVLimit->getType())); in genLoopLimit()
H A DAlignmentFromAssumptions.cpp147 DiffSCEV = SE->getAddExpr(DiffSCEV, OffSCEV); in getNewAlignment()
H A DLoopDataPrefetch.cpp387 const SCEV *NextLSCEV = SE->getAddExpr(P.LSCEVAddRec, SE->getMulExpr( in runOnLoop()
H A DLoopBoundSplit.cpp106 SE.getAddExpr(Cond.BoundSCEV, SE.getOne(BoundSCEVIntType)); in calculateUpperBound()
H A DNaryReassociate.cpp539 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
H A DLoopPredication.cpp595 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in widenICmpRangeCheckIncrementingLoop()
H A DLoopIdiomRecognize.cpp1013 SE->getAddExpr(BECount, SE->getOne(BECount->getType()), SCEV::FlagNUW), in getNumBytes()
1016 NumBytesS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr), in getNumBytes()
H A DLoopRerollPass.cpp1487 auto TripCount = SE->getAddExpr(BackedgeTakenCount, One); in replace()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVETailPredication.cpp268 auto *ECPlusVWMinus1 = SE->getAddExpr(EC, in IsSafeActiveMask()
298 SE->getUDivExpr(SE->getAddExpr(SE->getMulExpr(Ceil, VW), in IsSafeActiveMask()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DScalarEvolutionExpander.cpp320 Remainder = SE.getAddExpr( in FactorOutConstant()
377 SE.getAddExpr(NoAddRecs); in SimplifyAddOperands()
511 : expandCodeForImpl(SE.getAddExpr(ScaledOps), Ty, false); in expandAddToGEP()
572 Value *Idx = expandCodeForImpl(SE.getAddExpr(Ops), Ty, false); in expandAddToGEP()
647 return expand(SE.getAddExpr(Ops)); in expandAddToGEP()
933 Rest = SE.getAddExpr(Rest, in ExposePointerBase()
943 Rest = SE.getAddExpr(NewAddOps); in ExposePointerBase()
1190 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW()
1204 SE.getZeroExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNUW()
1629 return expand(SE.getAddExpr(AddExprLHS, AddExprRHS)); in visitAddRecExpr()
[all …]
H A DLoopPeel.cpp251 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
255 NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
H A DLoopUnrollRuntime.cpp663 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopRemainder()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DScalarEvolution.h532 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
535 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS,
539 return getAddExpr(Ops, Flags, Depth);
541 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
545 return getAddExpr(Ops, Flags, Depth);
H A DScalarEvolutionExpressions.h776 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCLoopInstrFormPrep.cpp433 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForDispFormChain()
478 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForUpdateFormChain()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DHardwareLoops.cpp388 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp369 const SCEV *X = SE.getAddExpr(PtrSCEVA, C); in areConsecutivePointers()
561 const SCEV *X = SE.getAddExpr(OffsetSCEVA, C); in lookThroughComplexAddresses()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2168 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore()
2281 const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW); in processCopyingStore()

12