Home
last modified time | relevance | path

Searched refs:nearestLogBase2 (Results 1 – 6 of 6) sorted by relevance

/external/llvm/unittests/ADT/
DAPIntTest.cpp938 TEST(APIntTest, nearestLogBase2) { in TEST() argument
944 EXPECT_EQ(A1.nearestLogBase2(), A1.ceilLogBase2()); in TEST()
949 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
954 EXPECT_EQ(A3.nearestLogBase2(), A3.ceilLogBase2()); in TEST()
961 EXPECT_EQ(A4.nearestLogBase2(), A4.ceilLogBase2()); in TEST()
966 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
971 EXPECT_EQ(A6.nearestLogBase2(), A6.ceilLogBase2()); in TEST()
975 EXPECT_EQ(A7.nearestLogBase2(), 0ULL); in TEST()
977 EXPECT_EQ(A8.nearestLogBase2(), UINT32_MAX); in TEST()
982 EXPECT_EQ(A9.nearestLogBase2(), UINT32_MAX); in TEST()
/external/llvm-project/llvm/unittests/ADT/
DAPIntTest.cpp1656 TEST(APIntTest, nearestLogBase2) { in TEST() argument
1662 EXPECT_EQ(A1.nearestLogBase2(), A1.ceilLogBase2()); in TEST()
1667 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1672 EXPECT_EQ(A3.nearestLogBase2(), A3.ceilLogBase2()); in TEST()
1679 EXPECT_EQ(A4.nearestLogBase2(), A4.ceilLogBase2()); in TEST()
1684 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
1689 EXPECT_EQ(A6.nearestLogBase2(), A6.ceilLogBase2()); in TEST()
1693 EXPECT_EQ(A7.nearestLogBase2(), 0ULL); in TEST()
1695 EXPECT_EQ(A8.nearestLogBase2(), UINT32_MAX); in TEST()
1700 EXPECT_EQ(A9.nearestLogBase2(), UINT32_MAX); in TEST()
/external/llvm/include/llvm/ADT/
DAPInt.h1547 unsigned nearestLogBase2() const { in nearestLogBase2() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1525 unsigned nearestLogBase2() const { in nearestLogBase2() function
/external/llvm-project/llvm/include/llvm/ADT/
DAPInt.h1834 unsigned nearestLogBase2() const {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h1823 unsigned nearestLogBase2() const { in nearestLogBase2() function