Searched refs:ceilLogBase2 (Results 1 – 11 of 11) sorted by relevance
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 744 EXPECT_EQ(APInt(15, 7).ceilLogBase2(), 3U); in TEST() 747 EXPECT_EQ(APInt(15, 8).ceilLogBase2(), 3U); in TEST() 750 EXPECT_EQ(APInt(15, 9).ceilLogBase2(), 4U); in TEST() 944 EXPECT_EQ(A1.nearestLogBase2(), A1.ceilLogBase2()); in TEST() 954 EXPECT_EQ(A3.nearestLogBase2(), A3.ceilLogBase2()); in TEST() 961 EXPECT_EQ(A4.nearestLogBase2(), A4.ceilLogBase2()); in TEST() 971 EXPECT_EQ(A6.nearestLogBase2(), A6.ceilLogBase2()); in TEST()
|
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | APIntTest.cpp | 398 EXPECT_EQ(APInt(15, 7).ceilLogBase2(), 3U); in TEST() 401 EXPECT_EQ(APInt(15, 8).ceilLogBase2(), 3U); in TEST() 404 EXPECT_EQ(APInt(15, 9).ceilLogBase2(), 4U); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 1320 EXPECT_EQ(APInt(15, 7).ceilLogBase2(), 3U); in TEST() 1323 EXPECT_EQ(APInt(15, 8).ceilLogBase2(), 3U); in TEST() 1326 EXPECT_EQ(APInt(15, 9).ceilLogBase2(), 4U); in TEST() 1570 EXPECT_EQ(A1.nearestLogBase2(), A1.ceilLogBase2()); in TEST() 1580 EXPECT_EQ(A3.nearestLogBase2(), A3.ceilLogBase2()); in TEST() 1587 EXPECT_EQ(A4.nearestLogBase2(), A4.ceilLogBase2()); in TEST() 1597 EXPECT_EQ(A6.nearestLogBase2(), A6.ceilLogBase2()); in TEST()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 1534 unsigned ceilLogBase2() const { in ceilLogBase2() function
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 1353 unsigned ceilLogBase2() const { in ceilLogBase2() function
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 1510 unsigned ceilLogBase2() const { in ceilLogBase2() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 1744 unsigned ceilLogBase2() const { in ceilLogBase2() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/ |
D | MipsSEISelLowering.cpp | 737 : APInt(BitWidth, 1) << C.ceilLogBase2(); in shouldTransformMulToShiftsAddsSubs() 802 APInt(BitWidth, 1) << C.ceilLogBase2(); in genConstMult()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 2024 unsigned ResBits = TyBits - Denominator->ceilLogBase2(); in ComputeNumSignBits()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 2293 unsigned ResBits = TyBits - Denominator->ceilLogBase2(); in ComputeNumSignBitsImpl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCompares.cpp | 4371 if (Op0Known.countMinTrailingZeros() >= CmpC->ceilLogBase2()) in foldICmpUsingKnownBits()
|