reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1514 uint64_t extractBitsAsZExtValue(unsigned numBits, unsigned bitPosition) const;
1938 EXPECT_EQ(i257.extractBitsAsZExtValue(64, 0), 0x0000000000000000ull); 1939 EXPECT_EQ(i257.extractBitsAsZExtValue(64, 64), 0xFFFFFFFFFFFFFFFFull); 1940 EXPECT_EQ(i257.extractBitsAsZExtValue(64, 128), 0x00000000FFFFFFFFull); 1941 EXPECT_EQ(i257.extractBitsAsZExtValue(64, 192), 0x0000000000000000ull); 1942 EXPECT_EQ(i257.extractBitsAsZExtValue(1, 256), 0x0000000000000000ull); 1947 EXPECT_EQ(i260.extractBitsAsZExtValue(64, 0), 0x8000000000007FFFull); 1948 EXPECT_EQ(i260.extractBitsAsZExtValue(64, 64), 0x0000000000000000ull); 1949 EXPECT_EQ(i260.extractBitsAsZExtValue(64, 128), 0xFFFFFFFFFFFF0000ull); 1950 EXPECT_EQ(i260.extractBitsAsZExtValue(64, 192), 0xFFFFFFFFFFFFFFFFull); 1951 EXPECT_EQ(i260.extractBitsAsZExtValue(4, 256), 0x000000000000000Full); 1980 EXPECT_EQ(0x3456u, i32.extractBitsAsZExtValue(16, 4)); 1983 EXPECT_EQ(0xFFu, i257.extractBitsAsZExtValue(16, 0)); 1984 EXPECT_EQ((0xFFu >> 1), i257.extractBitsAsZExtValue(16, 1)); 1985 EXPECT_EQ(0xFFFFFFFFull, i257.extractBitsAsZExtValue(32, 64)); 1986 EXPECT_EQ(0xFFFFFFFFFFFFFFFFull, i257.extractBitsAsZExtValue(64, 128)); 1987 EXPECT_EQ(0xFFFFFFFFFFFFFFFFull, i257.extractBitsAsZExtValue(64, 192)); 1988 EXPECT_EQ(0xFFFFFFFFFFFFFFFFull, i257.extractBitsAsZExtValue(64, 191)); 1989 EXPECT_EQ(0x3u, i257.extractBitsAsZExtValue(2, 255)); 1990 EXPECT_EQ(0xFFFFFFFFFF80007Full, i257.extractBitsAsZExtValue(64, 1)); 1991 EXPECT_EQ(0xFFFFFFFFFFFFFFFFull, i257.extractBitsAsZExtValue(64, 65)); 1992 EXPECT_EQ(0xFFFFFFFFFF80007Full, i257.extractBitsAsZExtValue(64, 1)); 1993 EXPECT_EQ(0xFFFFFFFFFFFFFFFFull, i257.extractBitsAsZExtValue(64, 65)); 1994 EXPECT_EQ(0x1ull, i257.extractBitsAsZExtValue(1, 129)); 1997 APInt(144, "281474976710655", 10).extractBitsAsZExtValue(48, 48)); 1999 APInt(144, "281474976710655", 10).extractBitsAsZExtValue(48, 0)); 2001 APInt(144, "281474976710655", 10).extractBitsAsZExtValue(48, 1));