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

References

include/llvm/Support/ScaledNumber.h
  534   DigitsType getDigits() const { return Digits; }
  542   bool isZero() const { return !Digits; }
  547     return Digits == DigitsType(1) << -Scale;
  553   int32_t lg() const { return ScaledNumbers::getLg(Digits, Scale); }
  558   int32_t lgFloor() const { return ScaledNumbers::getLgFloor(Digits, Scale); }
  564     return ScaledNumbers::getLgCeiling(Digits, Scale);
  596     return ScaledNumberBase::toString(Digits, Scale, Width, Precision);
  604     return ScaledNumberBase::print(OS, Digits, Scale, Width, Precision);
  606   void dump() const { return ScaledNumberBase::dump(Digits, Scale, Width); }
  609     std::tie(Digits, Scale) =
  610         ScaledNumbers::getSum(Digits, Scale, X.Digits, X.Scale);
  610         ScaledNumbers::getSum(Digits, Scale, X.Digits, X.Scale);
  617     std::tie(Digits, Scale) =
  618         ScaledNumbers::getDifference(Digits, Scale, X.Digits, X.Scale);
  618         ScaledNumbers::getDifference(Digits, Scale, X.Digits, X.Scale);
  644     ScaledNumbers::matchScales(Digits, Scale, X.Digits, X.Scale);
  669     return ScaledNumbers::compare(Digits, Scale, X.Digits, X.Scale);
  669     return ScaledNumbers::compare(Digits, Scale, X.Digits, X.Scale);
  672     return ScaledNumbers::compare<uint64_t>(Digits, Scale, N, 0);
  775   return ScaledNumber<uint64_t>(Digits, Scale).scale(N);
  787   IntT N = Digits;
  811   *this = getProduct(Digits, X.Digits);
  811   *this = getProduct(Digits, X.Digits);
  828   *this = getQuotient(Digits, X.Digits);
  828   *this = getQuotient(Digits, X.Digits);
  854   if (Shift > countLeadingZerosWidth(Digits)) {
  860   Digits <<= Shift;
  886   Digits >>= Shift;