| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | LoopConstrainer.cpp | 53 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 D | ScalarEvolutionExpander.cpp | 553 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 D | LoopPeel.cpp | 421 IterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares() 498 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
|
| H A D | LoopUnrollRuntime.cpp | 669 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopRemainder()
|
| H A D | SimplifyIndVar.cpp | 1389 return SE->getAddExpr(LHS, RHS); in getSCEVByOpCode()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ScalarEvolutionDivision.cpp | 172 Quotient = SE.getAddExpr(Qs); in visitAddExpr() 173 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
|
| H A D | ScalarEvolution.cpp | 998 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 D | ScalarEvolutionNormalization.cpp | 67 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
|
| H A D | DependenceAnalysis.cpp | 655 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 D | LoopAccessAnalysis.cpp | 197 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 D | Loads.cpp | 389 AccessSizeSCEV = SE.getAddExpr(PtrDiff, Offset); in isDereferenceableAndAlignedInLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | InductiveRangeCheckElimination.cpp | 350 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 D | LoopStrengthReduce.cpp | 603 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 D | AlignmentFromAssumptions.cpp | 97 DiffSCEV = SE->getAddExpr(DiffSCEV, OffSCEV); in getNewAlignment()
|
| H A D | LoopDataPrefetch.cpp | 394 const SCEV *NextLSCEV = SE->getAddExpr(P.LSCEVAddRec, SE->getMulExpr( in runOnLoop()
|
| H A D | LoopBoundSplit.cpp | 113 SE.getAddExpr(Cond.BoundSCEV, SE.getOne(BoundSCEVIntType)); in calculateUpperBound()
|
| H A D | NaryReassociate.cpp | 543 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
|
| H A D | LoopPredication.cpp | 571 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in widenICmpRangeCheckIncrementingLoop()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | MVETailPredication.cpp | 296 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 D | ScalarEvolution.h | 583 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 D | ScalarEvolutionExpressions.h | 812 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCLoopInstrFormPrep.cpp | 557 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 D | HardwareLoops.cpp | 452 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonLoopIdiomRecognition.cpp | 2144 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 D | LoopVectorizationLegality.cpp | 519 const SCEV *NewStart = SE.getAddExpr(Expr->getStart(), ScaledOffset); in visitAddRecExpr()
|