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

References

include/llvm/Support/ScaledNumber.h
  162     return std::make_pair(std::numeric_limits<DigitsT>::max(), MaxScale);
  523     return ScaledNumber(DigitsLimits::max(), ScaledNumbers::MaxScale);
  612     if (Scale > ScaledNumbers::MaxScale)
  702     assert(Shift <= ScaledNumbers::MaxScale - 64 &&
  843   int32_t ScaleShift = std::min(Shift, ScaledNumbers::MaxScale - Scale);
lib/Support/ScaledNumber.cpp
  164   assert(E <= ScaledNumbers::MaxScale);
  168   int NewE = std::min(ScaledNumbers::MaxScale, E + 63 - LeadingZeros);
  171   assert(Shift == LeadingZeros || NewE == ScaledNumbers::MaxScale);
  179     assert(E == ScaledNumbers::MaxScale);
unittests/Support/ScaledNumberTest.cpp
  138   EXPECT_EQ(SP32(UINT32_MAX, MaxScale), getQuotient32(1, 0));
  139   EXPECT_EQ(SP32(UINT32_MAX, MaxScale), getQuotient32(6, 0));
  172   EXPECT_EQ(SP64(UINT64_MAX, MaxScale), getQuotient64(1, 0));
  173   EXPECT_EQ(SP64(UINT64_MAX, MaxScale), getQuotient64(6, 0));