Home
last modified time | relevance | path

Searched refs:nearestLogBase2 (Results 1 – 5 of 5) 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/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/
DAPIntTest.cpp1564 TEST(APIntTest, nearestLogBase2) { in TEST() argument
1570 EXPECT_EQ(A1.nearestLogBase2(), A1.ceilLogBase2()); in TEST()
1575 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
1580 EXPECT_EQ(A3.nearestLogBase2(), A3.ceilLogBase2()); in TEST()
1587 EXPECT_EQ(A4.nearestLogBase2(), A4.ceilLogBase2()); in TEST()
1592 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
1597 EXPECT_EQ(A6.nearestLogBase2(), A6.ceilLogBase2()); in TEST()
1601 EXPECT_EQ(A7.nearestLogBase2(), 0ULL); in TEST()
1603 EXPECT_EQ(A8.nearestLogBase2(), UINT32_MAX); in TEST()
1608 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h1759 unsigned nearestLogBase2() const { in nearestLogBase2() function