Searched refs:getRounded (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Support/ |
D | ScaledNumber.cpp | 52 return getRounded(Upper, Shift, in multiply64() 78 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor)); in divide32() 122 return getRounded(Quotient, Shift, Dividend >= getHalf(Divisor)); in divide64()
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 53 inline std::pair<DigitsT, int16_t> getRounded(DigitsT Digits, int16_t Scale, in getRounded() function 67 return getRounded(Digits, Scale, ShouldRound); in getRounded32() 73 return getRounded(Digits, Scale, ShouldRound); in getRounded64() 90 return getRounded<DigitsT>(Digits >> Shift, Scale + Shift, 709 static ScaledNumber getRounded(ScaledNumber P, bool Round) { in getRounded() function 714 return ScaledNumbers::getRounded(P.Digits, P.Scale, Round); in getRounded()
|
/external/llvm/unittests/Support/ |
D | ScaledNumberTest.cpp | 42 TEST(ScaledNumberHelpersTest, getRounded) { in TEST() argument
|