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

Declarations

include/llvm/IR/ConstantRange.h
  246   APInt getSignedMin() const;

References

include/llvm/Analysis/ScalarEvolution.h
  839     return getRangeRef(S, HINT_RANGE_SIGNED).getSignedMin();
lib/Analysis/ScalarEvolution.cpp
 5836       getRangeForAffineARHelper(StepSRange.getSignedMin(), StartSRange,
lib/IR/ConstantRange.cpp
  115     APInt SMin(CR.getSignedMin());
  123     return getNonEmpty(CR.getSignedMin(), APInt::getSignedMinValue(W));
  249     APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax();
  260     APInt SMin = Other.getSignedMin(), SMax = Other.getSignedMax();
  270     return makeExactMulNSWRegion(Other.getSignedMin())
  879     APInt LMin = getSignedMin(), LMax = getSignedMax();
  880     APInt RMin = Other.getSignedMin(), RMax = Other.getSignedMax();
  965   this_min = getSignedMin().sext(getBitWidth() * 2);
  967   Other_min = Other.getSignedMin().sext(getBitWidth() * 2);
  985   APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin());
  985   APInt NewL = APIntOps::smax(getSignedMin(), Other.getSignedMin());
 1007   APInt NewL = APIntOps::smin(getSignedMin(), Other.getSignedMin());
 1007   APInt NewL = APIntOps::smin(getSignedMin(), Other.getSignedMin());
 1157   APInt MinLHS = getSignedMin(), MaxLHS = getSignedMax();
 1259   APInt PosMin = getSignedMin().ashr(Other.getUnsignedMax());
 1273   APInt NegMin = getSignedMin().ashr(Other.getUnsignedMin());
 1276   if (getSignedMin().isNonNegative()) {
 1305   APInt NewL = getSignedMin().sadd_sat(Other.getSignedMin());
 1305   APInt NewL = getSignedMin().sadd_sat(Other.getSignedMin());
 1323   APInt NewL = getSignedMin().ssub_sat(Other.getSignedMax());
 1324   APInt NewU = getSignedMax().ssub_sat(Other.getSignedMin()) + 1;
 1352   APInt SMin = getSignedMin(), SMax = getSignedMax();
 1388   APInt Min = getSignedMin(), Max = getSignedMax();
 1389   APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax();
 1434   APInt Min = getSignedMin(), Max = getSignedMax();
 1435   APInt OtherMin = Other.getSignedMin(), OtherMax = Other.getSignedMax();
lib/Target/X86/X86ISelDAGToDAG.cpp
 2633   return CR && CR->getSignedMin().sge(-1ull << Width) &&
lib/Transforms/Instrumentation/BoundsChecking.cpp
  100       !SizeRange.getSignedMin().isNonNegative()) {
lib/Transforms/Scalar/IndVarSimplify.cpp
 1709         NonNegativeUse = RangeInfo->getSignedMin().isNonNegative();
lib/Transforms/Utils/LowerSwitch.cpp
  506     APInt Min = APIntOps::smin(ValRange.getSignedMin(), Low);
tools/polly/lib/Analysis/ScopInfo.cpp
  174   V = valFromAPInt(Ctx.get(), Range.getSignedMin(), true);
  757   const auto LB = isWrapping ? Range.getLower() : Range.getSignedMin();
unittests/IR/ConstantRangeTest.cpp
  249   EXPECT_EQ(Full.getSignedMin(), APInt(16, (uint64_t)INT16_MIN));
  250   EXPECT_EQ(One.getSignedMin(), APInt(16, 0xa));
  251   EXPECT_EQ(Some.getSignedMin(), APInt(16, 0xa));
  252   EXPECT_EQ(Wrap.getSignedMin(), APInt(16, (uint64_t)INT16_MIN));