Home
last modified time | relevance | path

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

/external/llvm/unittests/ADT/
DAPIntTest.cpp46 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()