Lines Matching refs:MaskLen
1753 unsigned MaskIdx, MaskLen; in TEST() local
1754 EXPECT_FALSE(APInt(32, 0x01010101).isShiftedMask(MaskIdx, MaskLen)); in TEST()
1755 EXPECT_TRUE(APInt(32, 0xf0000000).isShiftedMask(MaskIdx, MaskLen)); in TEST()
1757 EXPECT_EQ(4, (int)MaskLen); in TEST()
1758 EXPECT_TRUE(APInt(32, 0xffff0000).isShiftedMask(MaskIdx, MaskLen)); in TEST()
1760 EXPECT_EQ(16, (int)MaskLen); in TEST()
1761 EXPECT_TRUE(APInt(32, 0xff << 1).isShiftedMask(MaskIdx, MaskLen)); in TEST()
1763 EXPECT_EQ(8, (int)MaskLen); in TEST()
1767 EXPECT_FALSE(APInt(N, 0).isShiftedMask(MaskIdx, MaskLen)); in TEST()
1773 EXPECT_TRUE(MaskVal.isShiftedMask(MaskIdx, MaskLen)); in TEST()
1775 EXPECT_EQ(I, (int)MaskLen); in TEST()
1780 EXPECT_TRUE(MaskVal.isShiftedMask(MaskIdx, MaskLen)); in TEST()
1782 EXPECT_EQ(1, (int)MaskLen); in TEST()
1787 EXPECT_TRUE(MaskVal.isShiftedMask(MaskIdx, MaskLen)); in TEST()
1789 EXPECT_EQ(I, (int)MaskLen); in TEST()