Home
last modified time | relevance | path

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

/external/llvm/unittests/ADT/
DAPIntTest.cpp910 TEST(APIntTest, nearestLogBase2) { in TEST() argument
916 EXPECT_EQ(A1.nearestLogBase2(), A1.ceilLogBase2()); in TEST()
921 EXPECT_EQ(A2.nearestLogBase2(), A2.logBase2()); in TEST()
926 EXPECT_EQ(A3.nearestLogBase2(), A3.ceilLogBase2()); in TEST()
933 EXPECT_EQ(A4.nearestLogBase2(), A4.ceilLogBase2()); in TEST()
938 EXPECT_EQ(A5.nearestLogBase2(), A5.logBase2()); in TEST()
943 EXPECT_EQ(A6.nearestLogBase2(), A6.ceilLogBase2()); in TEST()
947 EXPECT_EQ(A7.nearestLogBase2(), 0ULL); in TEST()
949 EXPECT_EQ(A8.nearestLogBase2(), UINT32_MAX); in TEST()
954 EXPECT_EQ(A9.nearestLogBase2(), UINT32_MAX); in TEST()
/external/llvm/include/llvm/ADT/
DAPInt.h1538 unsigned nearestLogBase2() const { in nearestLogBase2() function