Home | History | Annotate | Download | only in ADT

Lines Matching refs:i257

1804   APInt i257(257, 0);
1805 i257.insertBits(APInt(96, UINT64_MAX, true), 64);
1806 EXPECT_EQ(i257.extractBits(64, 0).getZExtValue(), 0x0000000000000000ull);
1807 EXPECT_EQ(i257.extractBits(64, 64).getZExtValue(), 0xFFFFFFFFFFFFFFFFull);
1808 EXPECT_EQ(i257.extractBits(64, 128).getZExtValue(), 0x00000000FFFFFFFFull);
1809 EXPECT_EQ(i257.extractBits(65, 192).getZExtValue(), 0x0000000000000000ull);
1825 APInt i257(257, 0xFFFFFFFFFF0000FFull, true);
1826 EXPECT_EQ(0xFFu, i257.extractBits(16, 0));
1827 EXPECT_EQ((0xFFu >> 1), i257.extractBits(16, 1));
1828 EXPECT_EQ(-1, i257.extractBits(32, 64).getSExtValue());
1829 EXPECT_EQ(-1, i257.extractBits(128, 128).getSExtValue());
1830 EXPECT_EQ(-1, i257.extractBits(66, 191).getSExtValue());
1832 i257.extractBits(128, 1).getSExtValue());
1834 i257.extractBits(129, 1).getSExtValue());