HomeSort by relevance Sort by last modified time
    Searched refs:getAdjusted32 (Results 1 - 2 of 2) sorted by null

  /external/llvm/unittests/Support/
ScaledNumberTest.cpp 60 EXPECT_EQ(getAdjusted32(0), SP32(0, 0));
61 EXPECT_EQ(getAdjusted32(0, 5), SP32(0, 5));
62 EXPECT_EQ(getAdjusted32(UINT32_MAX), SP32(UINT32_MAX, 0));
63 EXPECT_EQ(getAdjusted32(Max32In64 << 1), SP32(UINT32_MAX, 1));
64 EXPECT_EQ(getAdjusted32(Max32In64 << 1, 1), SP32(UINT32_MAX, 2));
65 EXPECT_EQ(getAdjusted32(Max32In64 << 31), SP32(UINT32_MAX, 31));
66 EXPECT_EQ(getAdjusted32(Max32In64 << 32), SP32(UINT32_MAX, 32));
67 EXPECT_EQ(getAdjusted32(Max32In64 + 1), SP32(1u << 31, 1));
68 EXPECT_EQ(getAdjusted32(UINT64_MAX), SP32(1u << 31, 33));
  /external/llvm/include/llvm/Support/
ScaledNumber.h 95 inline std::pair<uint32_t, int16_t> getAdjusted32(uint64_t Digits,

Completed in 65 milliseconds