Searched refs:getSum32 (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/Support/ |
D | ScaledNumberTest.cpp | 387 EXPECT_EQ(SP32(1, 0), getSum32(0, 0, 1, 0)); in TEST() 388 EXPECT_EQ(SP32(8, -3), getSum32(0, 0, 8, -3)); in TEST() 389 EXPECT_EQ(SP32(UINT32_MAX, 0), getSum32(0, 0, UINT32_MAX, 0)); in TEST() 392 EXPECT_EQ(SP32(2, 0), getSum32(1, 0, 1, 0)); in TEST() 393 EXPECT_EQ(SP32(3, 0), getSum32(1, 0, 2, 0)); in TEST() 394 EXPECT_EQ(SP32(67, 0), getSum32(7, 0, 60, 0)); in TEST() 397 EXPECT_EQ(SP32(3, 0), getSum32(1, 0, 1, 1)); in TEST() 398 EXPECT_EQ(SP32(4, 0), getSum32(2, 0, 1, 1)); in TEST() 401 EXPECT_EQ(SP32(UINT32_C(1) << 31, 1), getSum32(1, 32, 1, 0)); in TEST() 402 EXPECT_EQ(SP32(UINT32_C(1) << 31, -31), getSum32(1, -32, 1, 0)); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 356 inline std::pair<uint32_t, int16_t> getSum32(uint32_t LDigits, int16_t LScale, in getSum32() function
|