Lines Matching refs:s256
187 APInt s256(256, 15, true); in TEST() local
188 EXPECT_EQ(252u, s256.countLeadingZeros()); in TEST()
189 EXPECT_EQ(0u, s256.countLeadingOnes()); in TEST()
190 EXPECT_EQ(4u, s256.getActiveBits()); in TEST()
191 EXPECT_EQ(0u, s256.countTrailingZeros()); in TEST()
192 EXPECT_EQ(4u, s256.countTrailingOnes()); in TEST()
193 EXPECT_EQ(4u, s256.countPopulation()); in TEST()
194 EXPECT_EQ(15, s256.getSExtValue()); in TEST()
195 EXPECT_EQ(15u, s256.getZExtValue()); in TEST()
197 s256.setBits(62, 66); in TEST()
198 EXPECT_EQ(190u, s256.countLeadingZeros()); in TEST()
199 EXPECT_EQ(0u, s256.countLeadingOnes()); in TEST()
200 EXPECT_EQ(66u, s256.getActiveBits()); in TEST()
201 EXPECT_EQ(67u, s256.getMinSignedBits()); in TEST()
202 EXPECT_EQ(0u, s256.countTrailingZeros()); in TEST()
203 EXPECT_EQ(4u, s256.countTrailingOnes()); in TEST()
204 EXPECT_EQ(8u, s256.countPopulation()); in TEST()
206 s256.setBits(60, 256); in TEST()
207 EXPECT_EQ(0u, s256.countLeadingZeros()); in TEST()
208 EXPECT_EQ(196u, s256.countLeadingOnes()); in TEST()
209 EXPECT_EQ(256u, s256.getActiveBits()); in TEST()
210 EXPECT_EQ(61u, s256.getMinSignedBits()); in TEST()
211 EXPECT_EQ(0u, s256.countTrailingZeros()); in TEST()
212 EXPECT_EQ(4u, s256.countTrailingOnes()); in TEST()
213 EXPECT_EQ(200u, s256.countPopulation()); in TEST()
214 EXPECT_EQ(static_cast<int64_t>((~0ull << 60) | 15), s256.getSExtValue()); in TEST()