Searched refs:getQuotient64 (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/Support/ |
D | ScaledNumberTest.cpp | 170 EXPECT_EQ(SP64(0, 0), getQuotient64(0, 0)); in TEST() 171 EXPECT_EQ(SP64(0, 0), getQuotient64(0, 1)); in TEST() 172 EXPECT_EQ(SP64(0, 0), getQuotient64(0, 73)); in TEST() 173 EXPECT_EQ(SP64(UINT64_MAX, MaxScale), getQuotient64(1, 0)); in TEST() 174 EXPECT_EQ(SP64(UINT64_MAX, MaxScale), getQuotient64(6, 0)); in TEST() 177 EXPECT_EQ(SP64(1, 0), getQuotient64(1, 1)); in TEST() 178 EXPECT_EQ(SP64(2, 0), getQuotient64(2, 1)); in TEST() 179 EXPECT_EQ(SP64(4, -4), getQuotient64(4, 16)); in TEST() 180 EXPECT_EQ(SP64(7, 0), getQuotient64(7, 1)); in TEST() 181 EXPECT_EQ(SP64(7, -1), getQuotient64(7, 2)); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 177 inline std::pair<uint64_t, int16_t> getQuotient64(uint64_t Dividend, in getQuotient64() function
|