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

References

lib/Analysis/ScalarEvolution.cpp
 5798   APInt StartUpper = StartRange.getUpper() - 1;
 8652   APInt Upper = Range.getUpper().sextOrSelf(A.getBitWidth());
10838     APInt End = A.sge(1) ? (Range.getUpper() - 1) : Range.getLower();
lib/Analysis/ValueLattice.cpp
   22               << Val.getConstantRange().getUpper() << ">";
lib/IR/ConstantRange.cpp
   90       return ConstantRange(CR.getUpper(), CR.getLower());
  168     RHS = getUpper();
  170   } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) {
  170   } else if (getUpper().isMinSignedValue() || getUpper().isMinValue()) {
  172         getUpper().isMinSignedValue() ? CmpInst::ICMP_SGE : CmpInst::ICMP_UGE;
  367   return getUpper() - 1;
  379   return getUpper() - 1;
  405     return Lower.ule(Other.getLower()) && Other.getUpper().ule(Upper);
  409     return Other.getUpper().ule(Upper) ||
  412   return Other.getUpper().ule(Upper) && Lower.ule(Other.getLower());
  842   APInt NewUpper = getUpper() + Other.getUpper() - 1;
  842   APInt NewUpper = getUpper() + Other.getUpper() - 1;
  912   APInt NewLower = getLower() - Other.getUpper() + 1;
  913   APInt NewUpper = getUpper() - Other.getLower();
  956       (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue()))
  956       (UR.getUpper().isNonNegative() || UR.getUpper().isMinSignedValue()))
 1034     if (RHS.getUpper() == 1)
lib/IR/Metadata.cpp
  941   return A.getUpper() == B.getLower() || A.getLower() == B.getUpper();
  941   return A.getUpper() == B.getLower() || A.getLower() == B.getUpper();
  961         cast<ConstantInt>(ConstantInt::get(Ty, Union.getUpper()));
lib/IR/Verifier.cpp
 3318   return A.getUpper() == B.getLower() || A.getLower() == B.getUpper();
 3318   return A.getUpper() == B.getLower() || A.getLower() == B.getUpper();
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2591   const APInt &Upper = CR.getUpper();
lib/Transforms/Scalar/Float2Int.cpp
  401                               R.getUpper().getMinSignedBits()) + 1;
lib/Transforms/Utils/SimplifyCFG.cpp
  622     for (APInt Tmp = Span.getLower(); Tmp != Span.getUpper(); ++Tmp)
tools/polly/lib/Analysis/ScopInfo.cpp
  191     V = valFromAPInt(Ctx.get(), Range.getUpper(), true);
  758   const auto UB = isWrapping ? (Range.getUpper() - One) : Range.getSignedMax();
unittests/Analysis/ValueLatticeTest.cpp
   61   EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U);
   67   EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U);
   74   EXPECT_EQ(LV1.getConstantRange().getUpper().getLimitedValue(), 100U);
   77   EXPECT_EQ(LV2.getConstantRange().getUpper().getLimitedValue(), 100U);
unittests/IR/ConstantRangeTest.cpp
   58     while (++N != CR.getUpper());
  307                                 One.getUpper().trunc(10)));
  337                                 One.getUpper().zext(20)));
  339                                  Some.getUpper().zext(20)));
  357                                 One.getUpper().sext(20)));
  359                                  Some.getUpper().sext(20)));
 1394     for (APInt I = NUWRegion.getLower(), E = NUWRegion.getUpper(); I != E;
 1401     for (APInt I = NSWRegion.getLower(), E = NSWRegion.getUpper(); I != E;
 1422     for (APInt I = NUWRegion.getLower(), E = NUWRegion.getUpper(); I != E;
 1429     for (APInt I = NSWRegion.getLower(), E = NSWRegion.getUpper(); I != E;