reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/Analysis/ScalarEvolution.h
  512   const SCEV *getConstant(Type *Ty, uint64_t V, bool isSigned = false);

References

include/llvm/Analysis/ScalarEvolution.h
  588   const SCEV *getZero(Type *Ty) { return getConstant(Ty, 0); }
  591   const SCEV *getOne(Type *Ty) { return getConstant(Ty, 1); }
lib/Analysis/DependenceAnalysis.cpp
 1324       SE->getMulExpr(SE->getConstant(Delta->getType(), 2), ConstCoeff));
 1346     const SCEV *ConstantTwo = SE->getConstant(UpperBound->getType(), 2);
lib/Analysis/IVDescriptors.cpp
 1098       SE->getConstant(CV->getType(), CVSize / Size, true /* signed */);
lib/Analysis/LoopAccessAnalysis.cpp
  226     const SCEV *EltSizeSCEV = SE->getConstant(ScEnd->getType(), EltSize);
 1373   const SCEV *Step = SE.getConstant(BackedgeTakenCount.getType(), ByteStride);
lib/Analysis/LoopCacheAnalysis.cpp
  273     TripCount = SE.getConstant(ElemSize->getType(), DefaultTripCount);
  285     const SCEV *CacheLineSize = SE.getConstant(Stride->getType(), CLS);
  393   const SCEV *CacheLineSize = SE.getConstant(Stride->getType(), CLS);
lib/Analysis/ScalarEvolution.cpp
 1212     const SCEV *S = SE.getMinusSCEV(It, SE.getConstant(It->getType(), i));
 1588       const SCEV *DeltaS = getConstant(StartC->getType(), Delta);
 2463       const SCEV *Scale = getConstant(Ty, Count);
 3122             const SCEV *CoeffTerm = getConstant(Ty, Coeff);
 3271             return getConstant(RHSC->getType(), 0, false);
 3723   return getConstant(IntTy, getDataLayout().getTypeAllocSize(AllocTy));
 3732   return getConstant(
 7702         getConstant(getEffectiveSCEVType(RHS->getType()), BitWidth);
 7995       return getConstant(Type::getInt32Ty(getContext()), IterationNum);
 9029       RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS,
 9034       LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS,
 9042       RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS,
 9047       LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS,
 9055       RHS = getAddExpr(getConstant(RHS->getType(), 1, true), RHS,
 9060       LHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), LHS);
 9067       RHS = getAddExpr(getConstant(RHS->getType(), (uint64_t)-1, true), RHS);
 9071       LHS = getAddExpr(getConstant(RHS->getType(), 1, true), LHS,
10329       auto *DenomMinusTwo = getMinusSCEV(DenominatorExt, getConstant(WTy, 2));
lib/Analysis/ScalarEvolutionExpander.cpp
  252     S = SE.getConstant(S->getType(), 1);
  296     const SCEV *StepRem = SE.getConstant(Step->getType(), 0);
  327                     SE.getConstant(Ty, 0) :
  354       const SCEV *Zero = SE.getConstant(Ty, 0);
  433           const SCEV *Remainder = SE.getConstant(Ty, 0);
  482                 SE.getConstant(Ty, FullOffset - SL.getElementOffset(ElIdx));
  880                          SE.getAddRecExpr(SE.getConstant(A->getType(), 0),
 1356     Start = SE.getConstant(Normalized->getType(), 0);
 1368     Step = SE.getConstant(Normalized->getType(), 1);
 1374         Start = SE.getConstant(Normalized->getType(), 0);
 1528     NewOps[0] = SE.getConstant(Ty, 0);
 1931   const SCEV *H = SE.getAddRecExpr(SE.getConstant(Ty, 0),
 1932                                    SE.getConstant(Ty, 1), L, SCEV::FlagAnyWrap);
 2189             SE.getAddExpr(S, SE.getConstant(S->getType(), 1)), At, L))
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2150     NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtrTy, StoreSize),
 2259       const SCEV *OneS = SE->getConstant(Int32Ty, 1);
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
  254   AlignSCEV = SE->getConstant(Int64Ty, Alignment);
lib/Transforms/Scalar/IndVarSimplify.cpp
 1697                            SE->getConstant(NarrowSCEV->getType(), 0));
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1423       cast<SCEVConstant>(SE.getConstant(IVTy, -1, true /* isSigned */));
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  301         SE->getConstant(LSCEVAddRec->getType(), ItersAhead),
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  898     Index = SE->getMulExpr(Index, SE->getConstant(IntPtr, StoreSize),
  932     NumBytesS = SE->getMulExpr(NumBytesS, SE->getConstant(IntPtr, StoreSize),
 2194       Iterations, SE->getConstant(CmpFuncSizeTy, BCmpTyBytes), SCEV::FlagNUW);
lib/Transforms/Scalar/LoopRerollPass.cpp
  898   const SCEV *ScaleSCEV = SE->getConstant(StepSCEV->getType(), N);
 1465         TripCount, SE->getConstant(BackedgeTakenCount->getType(), Scale));
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  410       DoInitialMatch(SE.getAddRecExpr(SE.getConstant(AR->getType(), 0),
  663     return SE.getConstant(LHS->getType(), 1);
  748       S = SE.getConstant(C->getType(), 0);
  774       S = SE.getConstant(GV->getType(), 0);
 2259   const SCEV *One = SE.getConstant(BackedgeTakenCount->getType(), 1);
 3517         Remainder = SE.getConstant(AR->getType(), 0);
 3734     Ops.push_back(SE.getConstant(CombinedIntegerType, NewBase.UnfoldedOffset,
 3785       const SCEV *NewG = SE.getAddExpr(SE.getConstant(G->getType(), Offset), G);
 3919     const SCEV *FactorS = SE.getConstant(IntTy, Factor);
 3995         const SCEV *FactorS = SE.getConstant(IntTy, Factor);
 5205             SE.getMulExpr(ScaledS, SE.getConstant(ScaledS->getType(), F.Scale));
 5258                       SE.getConstant(IntTy, 0) :
lib/Transforms/Utils/LoopUnrollPeel.cpp
  232         SE.getConstant(LeftSCEV->getType(), NewPeelCount), SE);
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  628       SE->getAddExpr(BECountSC, SE->getConstant(BECountSC->getType(), 1));
tools/polly/lib/Analysis/ScopBuilder.cpp
 1803   auto *AF = SE.getConstant(IntegerType::getInt64Ty(CI->getContext()), 0);
 2344   auto *SizeSCEV = SE.getConstant(Expr->getType(), Size);
 2440         Size = SE.getMulExpr(Size, SE.getConstant(Size->getType(), Int[0]));
 3650   auto *AF = SE.getConstant(IntegerType::getInt64Ty(SE.getContext()), 0);
tools/polly/lib/Analysis/ScopDetection.cpp
 1082     Size = SE.getConstant(SizeTy, 8);
tools/polly/lib/Analysis/ScopInfo.cpp
 1404     auto *AddRec = SE.getAddRecExpr(SE.getConstant(E->getType(), 0),
 1849       SCEVSizes.push_back(getSE()->getConstant(DimSizeType, size, false));
tools/polly/lib/Support/SCEVAffinator.cpp
  417       SE.getAddRecExpr(SE.getConstant(Expr->getStart()->getType(), 0),
tools/polly/lib/Support/SCEVValidator.cpp
  272         SE.getConstant(Expr->getStart()->getType(), 0),
  714   auto *ConstPart = cast<SCEVConstant>(SE.getConstant(S->getType(), 1));
  717     return std::make_pair(Constant, SE.getConstant(S->getType(), 1));
tools/polly/lib/Support/ScopHelper.cpp
  319       RHSScev = SE.getUMaxExpr(RHSScev, SE.getConstant(E->getType(), 1));
  346       RHSScev = SE.getUMaxExpr(RHSScev, SE.getConstant(E->getType(), 1));
unittests/Analysis/ScalarEvolutionTest.cpp
  135   auto *ZeroConst = SE.getConstant(Ty, 0);
  787       SE.getAddRecExpr(SE.getUnknown(GepBase), SE.getConstant(T_int64, 1),
 1121   const auto *ZeroConst = SE.getConstant(Int32Ty, 0);