Searched refs:i33minus2 (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/unittests/ADT/ |
D | APIntTest.cpp | 46 APInt i33minus2(33, static_cast<uint64_t>(-2), true); in TEST() local 47 EXPECT_EQ(0u, i33minus2.countLeadingZeros()); in TEST() 48 EXPECT_EQ(32u, i33minus2.countLeadingOnes()); in TEST() 49 EXPECT_EQ(33u, i33minus2.getActiveBits()); in TEST() 50 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); in TEST() 51 EXPECT_EQ(32u, i33minus2.countPopulation()); in TEST() 52 EXPECT_EQ(-2, i33minus2.getSExtValue()); in TEST() 53 EXPECT_EQ(((uint64_t)-2)&((1ull<<33) -1), i33minus2.getZExtValue()); in TEST()
|
/external/llvm/unittests/ADT/ |
D | APIntTest.cpp | 54 APInt i33minus2(33, static_cast<uint64_t>(-2), true); in TEST() local 55 EXPECT_EQ(0u, i33minus2.countLeadingZeros()); in TEST() 56 EXPECT_EQ(32u, i33minus2.countLeadingOnes()); in TEST() 57 EXPECT_EQ(33u, i33minus2.getActiveBits()); in TEST() 58 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); in TEST() 59 EXPECT_EQ(32u, i33minus2.countPopulation()); in TEST() 60 EXPECT_EQ(-2, i33minus2.getSExtValue()); in TEST() 61 EXPECT_EQ(((uint64_t)-2)&((1ull<<33) -1), i33minus2.getZExtValue()); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | APIntTest.cpp | 56 APInt i33minus2(33, static_cast<uint64_t>(-2), true); in TEST() local 57 EXPECT_EQ(0u, i33minus2.countLeadingZeros()); in TEST() 58 EXPECT_EQ(32u, i33minus2.countLeadingOnes()); in TEST() 59 EXPECT_EQ(33u, i33minus2.getActiveBits()); in TEST() 60 EXPECT_EQ(1u, i33minus2.countTrailingZeros()); in TEST() 61 EXPECT_EQ(32u, i33minus2.countPopulation()); in TEST() 62 EXPECT_EQ(-2, i33minus2.getSExtValue()); in TEST() 63 EXPECT_EQ(((uint64_t)-2)&((1ull<<33) -1), i33minus2.getZExtValue()); in TEST()
|