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

References

include/llvm/Analysis/ScalarEvolutionExpander.h
  363       return S->getValue();
include/llvm/Analysis/ScalarEvolutionExpressions.h
   57     const APInt &getAPInt() const { return getValue()->getValue(); }
lib/Analysis/IVDescriptors.cpp
  823     return dyn_cast<ConstantInt>(cast<SCEVConstant>(Step)->getValue());
 1082   ConstantInt *CV = ConstStep->getValue();
lib/Analysis/LoopAccessAnalysis.cpp
  214       if (CStep->getValue()->isNegative())
  274   if (C->getValue()->isNegative())
lib/Analysis/LoopCacheAnalysis.cpp
  183   bool InSameCacheLine = (Diff->getValue()->getSExtValue() < CLS);
  235     const ConstantInt &CI = *SCEVConst->getValue();
  298     return ConstantCost->getValue()->getSExtValue();
lib/Analysis/LoopUnrollAnalyzer.cpp
   33     SimplifiedValues[I] = SC->getValue();
   44     SimplifiedValues[I] = SC->getValue();
   58   Address.Offset = Offset->getValue();
lib/Analysis/ScalarEvolution.cpp
  241     cast<SCEVConstant>(this)->getValue()->printAsOperand(OS, false);
  385     return SC->getValue()->isZero();
  391     return SC->getValue()->isOne();
  397     return SC->getValue()->isMinusOne();
 1061         cast<SCEVConstant>(Zero)->getValue();
 1067           cast<SCEVConstant>(One)->getValue();
 1272       cast<ConstantInt>(ConstantExpr::getTrunc(SC->getValue(), Ty)));
 1648       cast<ConstantInt>(ConstantExpr::getZExt(SC->getValue(), Ty)));
 1954       cast<ConstantInt>(ConstantExpr::getSExt(SC->getValue(), Ty)));
 2281     if (Scale != 1 || AccumulatedConstant != 0 || C->getValue()->isZero())
 2439     if (LHSC->getValue()->isZero()) {
 2962     if (cast<SCEVConstant>(Ops[0])->getValue()->isOne()) {
 2965     } else if (cast<SCEVConstant>(Ops[0])->getValue()->isZero()) {
 3167     if (RHSC->getValue()->isOne())
 3194     if (RHSC->getValue()->isOne())
 3199     if (!RHSC->getValue()->isZero()) {
 3298         Constant *LHSCV = LHSC->getValue();
 3299         Constant *RHSCV = RHSC->getValue();
 3508       ConstantInt *Index = cast<SCEVConstant>(IndexExpr)->getValue();
 3598     bool IsMinV = LHSC->getValue()->isMinValue(IsSigned);
 3599     bool IsMaxV = LHSC->getValue()->isMaxValue(IsSigned);
 3836   return {Add->getOperand(1), ConstOp->getValue()};
 3950                cast<ConstantInt>(ConstantExpr::getNeg(VC->getValue())));
 3977                 cast<ConstantInt>(ConstantExpr::getNot(VC->getValue())));
 4355           bool IsOne = cast<SCEVConstant>(Res.getValue())->getValue()->isOne();
 5652         if (!C->getValue()->isZero())
 6516   ConstantInt *ExitConst = ExitCount->getValue();
 6590   ConstantInt *Result = TC->getValue();
 7485   return cast<SCEVConstant>(Val)->getValue();
 8054       return cast<SCEVConstant>(V)->getValue();
 8714     if (C->getValue()->isZero()) return C;
 8769   if (!StepC || StepC->getValue()->isZero())
 8783   if (StepC->getValue()->isOne() || StepC->getValue()->isMinusOne()) {
 8783   if (StepC->getValue()->isOne() || StepC->getValue()->isMinusOne()) {
 8839     if (!C->getValue()->isZero())
 8914                                 LHSC->getValue(),
 8915                                 RHSC->getValue())->isNullValue())
10803     if (!SC->getValue()->isZero()) {
12314       if (Step->getValue()->getValue().isNonNegative())
lib/Analysis/ScalarEvolutionExpander.cpp
  475           uint64_t FullOffset = C->getValue()->getZExtValue();
 1825                   return SC->getValue()->isZero();
 1979       return Const->getValue();
 2405       if (!SC || SC->getValue()->isZero()) {
lib/Analysis/TargetTransformInfo.cpp
   75       if (ConstEC->getValue()->isZero())
lib/Target/ARM/MVETailPredication.cpp
  338       if (Const->getValue() != VF)
  347       if (Const->getValue() != VF)
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1786     IterCount = CV->getValue()->getZExtValue() + 1;
 1979     AccessSize = LocationSize::precise((BECst->getValue()->getZExtValue() + 1) *
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  389       I8Ty, NewPHI, BasePtrIncSCEV->getValue(),
  424     if (!I->Offset || I->Offset->getValue()->isZero()) {
  437           I8Ty, PtrInc, I->Offset->getValue(),
  587         const APInt &ConstInt = StepConst->getValue()->getValue();
lib/Transforms/Scalar/AlignmentFromAssumptions.cpp
  103     int64_t DiffUnits = ConstDUSCEV->getValue()->getSExtValue();
  110         cast<SCEVConstant>(AlignSCEV)->getValue()->getSExtValue();
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
  853   ConstantInt *StepCI = cast<SCEVConstant>(StepRec)->getValue();
 1610   assert(!D->getValue()->isZero() && "Recurrence with zero step?");
lib/Transforms/Scalar/LoopDataPrefetch.cpp
  290           int64_t PD = std::abs(ConstPtrDiff->getValue()->getSExtValue());
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  870     AccessSize = LocationSize::precise((BECst->getValue()->getZExtValue() + 1) *
lib/Transforms/Scalar/LoopInterchange.cpp
  139             const ConstantInt *CI = SCEVConst->getValue();
lib/Transforms/Scalar/LoopRerollPass.cpp
  590         IVToIncMap[&*I] = IncSCEV->getValue()->getSExtValue();
lib/Transforms/Scalar/LoopStrengthReduce.cpp
  749       return C->getValue()->getSExtValue();
 2441             const ConstantInt *C = D->getValue();
 3128   int64_t IncOffset = IncConst->getValue()->getSExtValue();
 3624                                 InnerSumSC->getValue()->getZExtValue())) {
 3626           (uint64_t)F.UnfoldedOffset + InnerSumSC->getValue()->getZExtValue();
 3640                                 SC->getValue()->getZExtValue()))
 3642           (uint64_t)F.UnfoldedOffset + SC->getValue()->getZExtValue();
 4220           if (C->getValue()->isNegative() != (NewF.BaseOffset < 0) &&
 4451             NewF.BaseOffset += (uint64_t)C->getValue()->getSExtValue();
lib/Transforms/Utils/SimplifyIndVar.cpp
  225       NewLHS = ConstLHS->getValue();
  228       NewRHS = ConstRHS->getValue();
tools/polly/lib/Analysis/ScopDetection.cpp
 1347         if (TripCountC->getValue()->getZExtValue() <= MinProfitableTrips)
tools/polly/lib/Support/SCEVAffinator.cpp
  242   ConstantInt *Value = Expr->getValue();
tools/polly/lib/Support/ScopHelper.cpp
  685         if (Const->getValue()->isZero()) {
unittests/Analysis/ScalarEvolutionTest.cpp
   95   EXPECT_EQ(cast<SCEVConstant>(M0->getOperand(0))->getValue()->getZExtValue(),
   97   EXPECT_EQ(cast<SCEVConstant>(M1->getOperand(0))->getValue()->getZExtValue(),
   99   EXPECT_EQ(cast<SCEVConstant>(M2->getOperand(0))->getValue()->getZExtValue(),