Searched refs:getProduct32 (Results 1 – 2 of 2) sorted by relevance
/external/llvm/unittests/Support/ |
D | ScaledNumberTest.cpp | 83 EXPECT_EQ(SP32(0, 0), getProduct32(0, 0)); in TEST() 84 EXPECT_EQ(SP32(0, 0), getProduct32(0, 1)); in TEST() 85 EXPECT_EQ(SP32(0, 0), getProduct32(0, 33)); in TEST() 88 EXPECT_EQ(SP32(6, 0), getProduct32(2, 3)); in TEST() 90 getProduct32(UINT16_MAX / 3, UINT16_MAX / 5 * 2)); in TEST() 97 EXPECT_EQ(SP32(0xf00f1001, 4), getProduct32(0xf00010, 0x1001)); in TEST() 104 EXPECT_EQ(SP32(0xf00f0700, 8), getProduct32(0xf000070, 0x1001)); in TEST() 111 EXPECT_EQ(SP32(0xf00f0801, 8), getProduct32(0xf000080, 0x1001)); in TEST() 114 EXPECT_EQ(SP32(0, 0), getProduct32(1, 0)); in TEST() 115 EXPECT_EQ(SP32(0, 0), getProduct32(33, 0)); in TEST() [all …]
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 125 inline std::pair<uint32_t, int16_t> getProduct32(uint32_t LHS, uint32_t RHS) { in getProduct32() function
|