Searched refs:getRounded (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | ScaledNumber.cpp | 51 return getRounded(Upper, Shift, in multiply64() 77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor)); in divide32() 121 return getRounded(Quotient, Shift, Dividend >= getHalf(Divisor)); in divide64()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | ScaledNumber.h | 52 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() function 66 return getRounded(Digits, Scale, ShouldRound); in getRounded32() 72 return getRounded(Digits, Scale, ShouldRound); in getRounded64() 89 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 708 static ScaledNumber getRounded(ScaledNumber P, bool Round) { in getRounded() function 713 return ScaledNumbers::getRounded(P.Digits, P.Scale, Round); in getRounded()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | ScaledNumberTest.cpp | 41 TEST(ScaledNumberHelpersTest, getRounded) { in TEST() argument
|