/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | InductiveRangeCheckElimination.cpp | 693 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 D | SeparateConstOffsetFromGEP.cpp | 1215 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 D | LoopStrengthReduce.cpp | 464 const SCEV *Sum = SE.getAddExpr(Good); in initialMatch() 470 const SCEV *Sum = SE.getAddExpr(Bad); in initialMatch() 728 return SE.getAddExpr(Ops); in getExactSDiv() 768 S = SE.getAddExpr(NewOps); in ExtractImmediate() 794 S = SE.getAddExpr(NewOps); in ExtractSymbol() 2266 const SCEV *IterationCount = SE.getAddExpr(One, BackedgeTakenCount); in OptimizeMax() 3202 SE.getAddExpr(LeftOverExpr, IncExpr) : IncExpr; in GenerateIVChain() 3208 const SCEV *IVOperExpr = SE.getAddExpr(SE.getUnknown(IVSrc), in GenerateIVChain() 3629 const SCEV *InnerSum = SE.getAddExpr(InnerAddOps); in GenerateReassociationsImpl() 3741 GenerateFormula(SE.getAddExpr(OpsCopy)); in GenerateCombinations() [all …]
|
H A D | IndVarSimplify.cpp | 995 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 D | AlignmentFromAssumptions.cpp | 144 DiffSCEV = SE->getAddExpr(DiffSCEV, OffSCEV); in getNewAlignment()
|
H A D | LoopDataPrefetch.cpp | 385 const SCEV *NextLSCEV = SE->getAddExpr(P.LSCEVAddRec, SE->getMulExpr( in runOnLoop()
|
H A D | NaryReassociate.cpp | 539 return SE->getAddExpr(LHS, RHS); in getBinarySCEV()
|
H A D | LoopPredication.cpp | 595 SE->getAddExpr(SE->getMinusSCEV(GuardLimit, GuardStart), in widenICmpRangeCheckIncrementingLoop()
|
H A D | LoopIdiomRecognize.cpp | 1012 SE->getAddExpr(BECount, SE->getOne(BECount->getType()), SCEV::FlagNUW), in getNumBytes() 1015 NumBytesS = SE->getAddExpr(SE->getTruncateOrZeroExtend(BECount, IntPtr), in getNumBytes()
|
H A D | LoopRerollPass.cpp | 1485 auto TripCount = SE->getAddExpr(BackedgeTakenCount, One); in replace()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 1037 Result = SE.getAddExpr(Result, SE.getMulExpr(getOperand(i), Coeff)); in evaluateAtIteration() 1138 return !Changed ? Expr : SE.getAddExpr(Operands, Expr->getNoWrapFlags()); in getLosslessPtrToIntExpr() 1234 return getAddExpr(Operands); in getTruncateExpr() 1396 const SCEV *PreStart = SE->getAddExpr(DiffOps, PreStartFlags); in getPreStartForExtend() 1413 SE->getAddExpr((SE->*GetExtendExpr)(PreStart, WideTy, Depth), in getPreStartForExtend() 1448 return SE->getAddExpr((SE->*GetExtendExpr)(AR->getStepRecurrence(*SE), Ty, in getExtendAddRecStart() 1657 const SCEV *ZAdd = getZeroExtendExpr(getAddExpr(Start, ZMul, in getZeroExtendExpr() 1665 getAddExpr(WideStart, in getZeroExtendExpr() 1683 getAddExpr(WideStart, in getZeroExtendExpr() 1758 return getAddExpr(SZExtD, SZExtR, in getZeroExtendExpr() [all …]
|
H A D | ScalarEvolutionDivision.cpp | 170 Quotient = SE.getAddExpr(Qs); in visitAddExpr() 171 Remainder = SE.getAddExpr(Rs); in visitAddExpr()
|
H A D | ScalarEvolutionNormalization.cpp | 66 Operands[i] = SE.getAddExpr(Operands[i], Operands[i + 1]); in visitAddRecExpr()
|
H A D | DependenceAnalysis.cpp | 571 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()
|
H A D | LoopCacheAnalysis.cpp | 113 return SE.getAddExpr(BackedgeTakenCount, in computeTripCount()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | ScalarEvolutionExpander.cpp | 314 Remainder = SE.getAddExpr( in FactorOutConstant() 371 SE.getAddExpr(NoAddRecs); in SimplifyAddOperands() 504 : expandCodeForImpl(SE.getAddExpr(ScaledOps), Ty, false); in expandAddToGEP() 563 Value *Idx = expandCodeForImpl(SE.getAddExpr(Ops), Ty, false); in expandAddToGEP() 637 return expand(SE.getAddExpr(Ops)); in expandAddToGEP() 923 Rest = SE.getAddExpr(Rest, in ExposePointerBase() 933 Rest = SE.getAddExpr(NewAddOps); in ExposePointerBase() 1158 if (SE.getAddExpr(Requested->getStart(), in canBeCheaplyTransformed() 1174 const SCEV *OpAfterExtend = SE.getAddExpr(SE.getSignExtendExpr(Step, WideTy), in IsIncrementNSW() 1177 SE.getSignExtendExpr(SE.getAddExpr(AR, Step), WideTy); in IsIncrementNSW() [all …]
|
H A D | LoopPeel.cpp | 251 const SCEV *NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares() 255 NextIterVal = SE.getAddExpr(IterVal, Step); in countToEliminateCompares()
|
H A D | LoopUnrollRuntime.cpp | 663 SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1)); in UnrollRuntimeLoopRemainder()
|
H A D | SimplifyIndVar.cpp | 433 Operation = &ScalarEvolution::getAddExpr; in willNotOverflow() 1335 return SE->getAddExpr(LHS, RHS); in getSCEVByOpCode()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
H A D | MVETailPredication.cpp | 268 auto *ECPlusVWMinus1 = SE->getAddExpr(EC, in IsSafeActiveMask() 298 SE->getUDivExpr(SE->getAddExpr(SE->getMulExpr(Ceil, VW), in IsSafeActiveMask()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | ScalarEvolution.h | 521 const SCEV *getAddExpr(SmallVectorImpl<const SCEV *> &Ops, 524 const SCEV *getAddExpr(const SCEV *LHS, const SCEV *RHS, 528 return getAddExpr(Ops, Flags, Depth); 530 const SCEV *getAddExpr(const SCEV *Op0, const SCEV *Op1, const SCEV *Op2, 534 return getAddExpr(Ops, Flags, Depth);
|
H A D | ScalarEvolutionExpressions.h | 768 return !Changed ? Expr : SE.getAddExpr(Operands); in visitAddExpr()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/ |
H A D | PPCLoopInstrFormPrep.cpp | 433 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForDispFormChain() 478 BucketChain.BaseSCEV = SE->getAddExpr(BucketChain.BaseSCEV, Offset); in prepareBaseForUpdateFormChain()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
H A D | LoadStoreVectorizer.cpp | 369 const SCEV *X = SE.getAddExpr(PtrSCEVA, C); in areConsecutivePointers() 529 const SCEV *X = SE.getAddExpr(OffsetSCEVA, C); in lookThroughComplexAddresses()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonLoopIdiomRecognition.cpp | 2168 SE->getAddExpr(BECount, SE->getOne(IntPtrTy), SCEV::FlagNUW); in processCopyingStore() 2281 const SCEV *NumWordsS = SE->getAddExpr(BECount32, OneS, SCEV::FlagNUW); in processCopyingStore()
|