Home
last modified time | relevance | path

Searched refs:ceilLogBase2 (Results 1 – 11 of 11) sorted by relevance

/external/llvm/unittests/ADT/
DAPIntTest.cpp744 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/
DAPIntTest.cpp398 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/
DAPIntTest.cpp1320 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/
DAPInt.h1534 unsigned ceilLogBase2() const { in ceilLogBase2() function
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h1353 unsigned ceilLogBase2() const { in ceilLogBase2() function
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1510 unsigned ceilLogBase2() const { in ceilLogBase2() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h1744 unsigned ceilLogBase2() const { in ceilLogBase2() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp737 : APInt(BitWidth, 1) << C.ceilLogBase2(); in shouldTransformMulToShiftsAddsSubs()
802 APInt(BitWidth, 1) << C.ceilLogBase2(); in genConstMult()
/external/llvm/lib/Analysis/
DValueTracking.cpp2024 unsigned ResBits = TyBits - Denominator->ceilLogBase2(); in ComputeNumSignBits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DValueTracking.cpp2293 unsigned ResBits = TyBits - Denominator->ceilLogBase2(); in ComputeNumSignBitsImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp4371 if (Op0Known.countMinTrailingZeros() >= CmpC->ceilLogBase2()) in foldICmpUsingKnownBits()