/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 | 543 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 D | LoopPeel.cpp | 362 IterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares() 436 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
|
H A D | LoopUnrollRuntime.cpp | 665 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/Transforms/Scalar/ |
H A D | InductiveRangeCheckElimination.cpp | 356 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 D | LoopStrengthReduce.cpp | 608 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 D | AlignmentFromAssumptions.cpp | 97 DiffSCEV = SE->getAddExpr(DiffSCEV, OffSCEV); in getNewAlignment()
|
H A D | LoopDataPrefetch.cpp | 395 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 | 545 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
|
H A D | LoopPredication.cpp | 572 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in isLoopInvariantValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 992 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 D | ScalarEvolutionDivision.cpp | 172 Quotient = SE.getAddExpr(Qs); in visitAddExpr() 173 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
|
H A D | ScalarEvolutionNormalization.cpp | 67 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
|
H A D | DependenceAnalysis.cpp | 636 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 D | LoopAccessAnalysis.cpp | 253 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 D | MVETailPredication.cpp | 297 auto *ECPlusVWMinus1 = SE->getAddExpr(EC, in IsSafeActiveMask() 328 SE->getAddExpr(SE->getMulExpr(Ceil, VW), SE->getNegativeSCEV(VW), in IsSafeActiveMask()
|
H A D | ARMTargetTransformInfo.cpp | 2165 SE.getAddExpr(BackedgeTakenCount, in isHardwareLoopProfitable()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 582 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 D | ScalarEvolutionExpressions.h | 808 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 566 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 D | HardwareLoops.cpp | 453 ExitCount = SE.getAddExpr(ExitCount, SE.getOne(CountType)); in InitLoopCount()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 521 auto *NewStart = SE.getAddExpr(Expr->getStart(), ScaledOffset); in visitAddRecExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 2156 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore() 2268 const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW); in processCopyingStore()
|