• Home
  • Raw
  • Download

Lines Matching refs:extractBits

1903   EXPECT_EQ(i127.extractBits(64, 0).getZExtValue(), 0x3456FFFFFFFFFFFFull);  in TEST()
1904 EXPECT_EQ(i127.extractBits(63, 64).getZExtValue(), 0x7FFFFFFFFFFF8012ull); in TEST()
1920 EXPECT_EQ(i257.extractBits(64, 0).getZExtValue(), 0x0000000000000000ull); in TEST()
1921 EXPECT_EQ(i257.extractBits(64, 64).getZExtValue(), 0xFFFFFFFFFFFFFFFFull); in TEST()
1922 EXPECT_EQ(i257.extractBits(64, 128).getZExtValue(), 0x00000000FFFFFFFFull); in TEST()
1923 EXPECT_EQ(i257.extractBits(65, 192).getZExtValue(), 0x0000000000000000ull); in TEST()
1928 EXPECT_EQ(i260.extractBits(64, 0).getZExtValue(), 0x8000000000007FFFull); in TEST()
1929 EXPECT_EQ(i260.extractBits(64, 64).getZExtValue(), 0x0000000000000000ull); in TEST()
1930 EXPECT_EQ(i260.extractBits(64, 128).getZExtValue(), 0xFFFFFFFFFFFF0000ull); in TEST()
1931 EXPECT_EQ(i260.extractBits(64, 192).getZExtValue(), 0xFFFFFFFFFFFFFFFFull); in TEST()
1932 EXPECT_EQ(i260.extractBits(4, 256).getZExtValue(), 0x000000000000000Full); in TEST()
1957 EXPECT_EQ(i127.extractBits(64, 0).getZExtValue(), 0x3456FFFFFFFFFFFFull); in TEST()
1958 EXPECT_EQ(i127.extractBits(63, 64).getZExtValue(), 0x7FFFFFFFFFFF8012ull); in TEST()
1993 TEST(APIntTest, extractBits) { in TEST() argument
1995 EXPECT_EQ(0x3456, i32.extractBits(16, 4)); in TEST()
1998 EXPECT_EQ(0xFFFFFFFF, i64.extractBits(32, 0)); in TEST()
2000 EXPECT_EQ(0x01234567, i64.extractBits(32, 32)); in TEST()
2004 EXPECT_EQ(0xFFu, i257.extractBits(16, 0)); in TEST()
2006 EXPECT_EQ((0xFFu >> 1), i257.extractBits(16, 1)); in TEST()
2008 EXPECT_EQ(-1, i257.extractBits(32, 64).getSExtValue()); in TEST()
2010 EXPECT_EQ(-1, i257.extractBits(128, 128).getSExtValue()); in TEST()
2012 EXPECT_EQ(-1, i257.extractBits(66, 191).getSExtValue()); in TEST()
2015 i257.extractBits(128, 1).getSExtValue()); in TEST()
2019 i257.extractBits(129, 1).getSExtValue()); in TEST()
2024 APInt(144, "281474976710655", 10).extractBits(48, 48)); in TEST()
2028 APInt(144, "281474976710655", 10).extractBits(48, 0)); in TEST()
2032 APInt(144, "281474976710655", 10).extractBits(48, 1)); in TEST()