Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DScalarEvolution.cpp979 Quotient = SE.getAddExpr(Qs); in visitAddExpr()
980 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
1271 return getAddExpr(Operands); in getTruncateExpr()
1698 getAddExpr(WideStart, in getZeroExtendExpr()
1716 getAddExpr(WideStart, in getZeroExtendExpr()
2042 getAddExpr(WideStart, in getSignExtendExpr()
2060 getAddExpr(WideStart, in getSignExtendExpr()
3251 return getAddExpr(Operands); in getUDivExpr()
4761 const SCEV *Accum = getAddExpr(Ops); in createAddRecFromPHIWithCastsImpl()
6192 return getAddExpr(AddOps); in createSCEV()
[all …]
H A DScalarEvolutionExpander.cpp267 Remainder = SE.getAddExpr( in FactorOutConstant()
324 SE.getAddExpr(NoAddRecs); in SimplifyAddOperands()
456 expandCodeFor(SE.getAddExpr(ScaledOps), Ty); in expandAddToGEP()
511 Value *Idx = expandCodeFor(SE.getAddExpr(Ops), Ty); in expandAddToGEP()
589 return expand(SE.getAddExpr(Ops)); in expandAddToGEP()
860 Rest = SE.getAddExpr(Rest, in ExposePointerBase()
870 Rest = SE.getAddExpr(NewAddOps); in ExposePointerBase()
1099 if (SE.getAddExpr(Requested->getStart(), in canBeCheaplyTransformed()
1118 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW()
1132 SE.getZeroExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNUW()
[all …]
H A DScalarEvolutionNormalization.cpp67 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
H A DDependenceAnalysis.cpp558 const SCEV *Sum = SE->getAddExpr(A1X1, B1Y1); in intersectConstraints()
2871 SE->getAddExpr(SE->getMulExpr(NegPart, Iter_1), A[K].Coeff); in findBoundsGT()
2875 SE->getAddExpr(SE->getMulExpr(PosPart, Iter_1), A[K].Coeff); in findBoundsGT()
2955 Sum = SE->getAddExpr(Sum, Bound[K].Lower[Bound[K].Direction]); in getLowerBound()
2971 Sum = SE->getAddExpr(Sum, Bound[K].Upper[Bound[K].Direction]); in getUpperBound()
3033 const SCEV *Sum = SE->getAddExpr(AddRec->getStepRecurrence(*SE), Value); in addToCoefficient()
3145 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine()
3159 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, SE->getConstant(CdivA))); in propagateLine()
3170 Src = SE->getAddExpr(Src, SE->getMulExpr(A_K, C)); in propagateLine()
3193 Src = SE->getAddExpr(Src, SE->getMinusSCEV(XA_K, YAP_K)); in propagatePoint()
H A DLoopAccessAnalysis.cpp228 ScEnd = SE->getAddExpr(ScEnd, EltSizeSCEV); in insert()
1220 const SCEV *X = SE.getAddExpr(PtrSCEVA, BaseDelta); in isConsecutiveAccess()
2106 const SCEV *ScPlusOne = SE->getAddExpr(Sc, SE->getOne(PtrArithTy)); in expandBounds()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DInductiveRangeCheckElimination.cpp685 const SCEV *StepPlusOne = SE.getAddExpr(Step, SE.getOne(Step->getType())); in isSafeDecreasingBound()
740 SE.getAddExpr(BoundSCEV, Step)) && in isSafeIncreasingBound()
874 const SCEV *IndVarStart = SE.getAddExpr(StartNext, Addend); in parseLoopStructure()
968 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
972 RightSCEV = SE.getAddExpr(RightSCEV, SE.getOne(RightSCEV->getType())); in parseLoopStructure()
1093 Smallest = SE.getAddExpr(End, One); in calculateSubRanges()
1094 Greatest = SE.getAddExpr(Start, One); in calculateSubRanges()
1422 ExitPreLoopAtSCEV = SE.getAddExpr(*SR.HighLimit, MinusOneS); in run()
1449 ExitMainLoopAtSCEV = SE.getAddExpr(*SR.LowLimit, MinusOneS); in run()
1656 return SE.getAddExpr(SE.getSMaxExpr(SE.getSMinExpr(X, Zero), NegOne), One); in computeSafeIterationSpace()
H A DLoopStrengthReduce.cpp440 const SCEV *Sum = SE.getAddExpr(Good); in initialMatch()
446 const SCEV *Sum = SE.getAddExpr(Bad); in initialMatch()
707 return SE.getAddExpr(Ops); in getExactSDiv()
747 S = SE.getAddExpr(NewOps); in ExtractImmediate()
773 S = SE.getAddExpr(NewOps); in ExtractSymbol()
3161 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr; in GenerateIVChain()
3579 const SCEV *InnerSum = SE.getAddExpr(InnerAddOps); in GenerateReassociationsImpl()
3691 GenerateFormula(SE.getAddExpr(OpsCopy)); in GenerateCombinations()
3701 GenerateFormula(SE.getAddExpr(Ops)); in GenerateCombinations()
4157 NewF.BaseRegs[N] = SE.getAddExpr(NegImmS, BaseReg); in GenerateCrossUseConstantOffsets()
[all …]
H A DLoopDataPrefetch.cpp301 const SCEV *NextLSCEV = SE->getAddExpr(LSCEVAddRec, SE->getMulExpr( in runOnLoop()
H A DIndVarSimplify.cpp1144 WideUse = SE->getAddExpr(WideLHS, WideRHS); in cloneArithmeticIVUser()
1198 return SE->getAddExpr(LHS, RHS); in getSCEVByOpCode()
2304 IVOffset = SE->getAddExpr(IVOffset, SE->getOne(OfsTy)); in genLoopLimit()
2345 const SCEV *IVLimit = SE->getAddExpr(IVInit, ExitCount); in genLoopLimit()
2348 IVLimit = SE->getAddExpr(IVLimit, SE->getOne(IVLimit->getType())); in genLoopLimit()
H A DSeparateConstOffsetFromGEP.cpp1176 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
1192 SE->getAddExpr(SE->getUnknown(LHS), SE->getUnknown(RHS)); in reuniteExts()
H A DNaryReassociate.cpp515 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
H A DLoopPredication.cpp452 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in widenICmpRangeCheckIncrementingLoop()
H A DLoopIdiomRecognize.cpp841 SE->getAddExpr(BECount, SE->getOne(BECount->getType()), SCEV::FlagNUW), in getNumBytes()
844 NumBytesS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr), in getNumBytes()
H A DLoopRerollPass.cpp1454 auto TripCount = SE->getAddExpr(BackedgeTakenCount, One); in replace()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DScalarEvolution.h528 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops,
531 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS,
535 return getAddExpr(Ops, Flags, Depth);
537 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2,
541 return getAddExpr(Ops, Flags, Depth);
H A DScalarEvolutionExpressions.h632 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp428 Operation = &ScalarEvolution::getAddExpr; in eliminateOverflowIntrinsic()
435 Operation = &ScalarEvolution::getAddExpr; in eliminateOverflowIntrinsic()
745 GetExprForBO = &ScalarEvolution::getAddExpr; in strengthenOverflowingOperation()
H A DLoopUnrollPeel.cpp222 IterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
H A DLoopUnrollRuntime.cpp636 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopRemainder()
/freebsd-12.1/contrib/llvm/lib/Transforms/Vectorize/
H A DLoadStoreVectorizer.cpp363 const SCEV *X = SE.getAddExpr(PtrSCEVA, C); in areConsecutivePointers()
468 const SCEV *X = SE.getAddExpr(OffsetSCEVA, C); in lookThroughComplexAddresses()
H A DLoopVectorize.cpp2415 const SCEV *ExitCount = SE->getAddExpr( in getOrCreateTripCount()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/
H A DPPCLoopPreIncPrep.cpp380 Buckets[i].BaseSCEV = SE->getAddExpr(Buckets[i].BaseSCEV, Offset); in runOnLoop()
H A DPPCCTRLoops.cpp658 ExitCount = SE->getAddExpr(ExitCount, SE->getOne(CountType)); in convertToCTRLoop()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp2147 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore()
2262 const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW); in processCopyingStore()