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

References

include/llvm/IR/ConstantRange.h
   52     return ConstantRange(getBitWidth(), false);
   57     return ConstantRange(getBitWidth(), true);
lib/Analysis/LazyValueInfo.cpp
  926       ConstantRange Zero(APInt::getNullValue(TrueCR.getBitWidth()));
lib/Analysis/ScalarEvolution.cpp
 5786   if (APInt::getMaxValue(StartRange.getBitWidth()).udiv(Step).ult(MaxBECount))
lib/Analysis/ValueTracking.cpp
 4132     KnownBits AddKnown(LHSRange.getBitWidth());
lib/IR/ConstantRange.cpp
   82   uint32_t W = CR.getBitWidth();
  155     RHS = APInt(getBitWidth(), 0);
  237   unsigned BitWidth = Other.getBitWidth();
  330   assert(getBitWidth() == Other.getBitWidth());
  330   assert(getBitWidth() == Other.getBitWidth());
  344     return APInt::getMaxValue(getBitWidth()).ugt(MaxSize - 1);
  366     return APInt::getMaxValue(getBitWidth());
  372     return APInt::getMinValue(getBitWidth());
  378     return APInt::getSignedMaxValue(getBitWidth());
  384     return APInt::getSignedMinValue(getBitWidth());
  416   assert(Val.getBitWidth() == getBitWidth() && "Wrong bit width");
  449   assert(getBitWidth() == CR.getBitWidth() &&
  449   assert(getBitWidth() == CR.getBitWidth() &&
  555   assert(getBitWidth() == CR.getBitWidth() &&
  555   assert(getBitWidth() == CR.getBitWidth() &&
  641     if (getBitWidth() == ResultBitWidth)
  647     auto BW = getBitWidth();
  654     auto BW = getBitWidth();
  672   unsigned SrcTySize = getBitWidth();
  689   unsigned SrcTySize = getBitWidth();
  705   assert(getBitWidth() > DstTySize && "Not a value truncation");
  736     APInt Adjust = LowerDiv & APInt::getBitsSetFrom(getBitWidth(), DstTySize);
  759   unsigned SrcTySize = getBitWidth();
  768   unsigned SrcTySize = getBitWidth();
  942   APInt this_min = getUnsignedMin().zext(getBitWidth() * 2);
  943   APInt this_max = getUnsignedMax().zext(getBitWidth() * 2);
  944   APInt Other_min = Other.getUnsignedMin().zext(getBitWidth() * 2);
  945   APInt Other_max = Other.getUnsignedMax().zext(getBitWidth() * 2);
  949   ConstantRange UR = Result_zext.truncate(getBitWidth());
  965   this_min = getSignedMin().sext(getBitWidth() * 2);
  966   this_max = getSignedMax().sext(getBitWidth() * 2);
  967   Other_min = Other.getSignedMin().sext(getBitWidth() * 2);
  968   Other_max = Other.getSignedMax().sext(getBitWidth() * 2);
  974   ConstantRange SR = Result_sext.truncate(getBitWidth());
 1048   APInt Zero = APInt::getNullValue(getBitWidth());
 1049   APInt SignedMin = APInt::getSignedMinValue(getBitWidth());
 1050   ConstantRange PosFilter(APInt(getBitWidth(), 1), SignedMin);
 1139   return getNonEmpty(APInt::getNullValue(getBitWidth()), std::move(Upper));
 1166     return ConstantRange(APInt::getNullValue(getBitWidth()), std::move(Upper));
 1175     return ConstantRange(std::move(Lower), APInt(getBitWidth(), 1));
 1192   return getNonEmpty(APInt::getNullValue(getBitWidth()), std::move(umin) + 1);
 1203   return getNonEmpty(std::move(umax), APInt::getNullValue(getBitWidth()));
 1344       Lo = APInt::getNullValue(getBitWidth());
 1349     return ConstantRange(Lo, APInt::getSignedMinValue(getBitWidth()) + 1);
 1363   return ConstantRange(APInt::getNullValue(getBitWidth()),
 1391   APInt SignedMin = APInt::getSignedMinValue(getBitWidth());
 1392   APInt SignedMax = APInt::getSignedMaxValue(getBitWidth());
 1437   APInt SignedMin = APInt::getSignedMinValue(getBitWidth());
 1438   APInt SignedMax = APInt::getSignedMaxValue(getBitWidth());
lib/Transforms/Scalar/Float2Int.cpp
  166   if (R.getBitWidth() > MaxIntegerBW + 1)
  257         unsigned Size = Ops[0].getBitWidth();
tools/polly/lib/Analysis/ScopInfo.cpp
  755   unsigned BW = Range.getBitWidth();