Lines Matching refs:APInt
28 APInt Wide(256, 0); in TEST()
37 Wide = APInt(128, 1); in TEST()
67 EXPECT_TRUE(APSInt(APInt(3, 7), true).isUnsigned()); in TEST()
68 EXPECT_TRUE(APSInt(APInt(3, 7), false).isSigned()); in TEST()
69 EXPECT_TRUE(APSInt(APInt(4, 7), true).isUnsigned()); in TEST()
70 EXPECT_TRUE(APSInt(APInt(4, 7), false).isSigned()); in TEST()
71 EXPECT_TRUE(APSInt(APInt(4, -7), true).isUnsigned()); in TEST()
72 EXPECT_TRUE(APSInt(APInt(4, -7), false).isSigned()); in TEST()
73 EXPECT_EQ(7, APSInt(APInt(3, 7), true).getExtValue()); in TEST()
74 EXPECT_EQ(-1, APSInt(APInt(3, 7), false).getExtValue()); in TEST()
75 EXPECT_EQ(7, APSInt(APInt(4, 7), true).getExtValue()); in TEST()
76 EXPECT_EQ(7, APSInt(APInt(4, 7), false).getExtValue()); in TEST()
77 EXPECT_EQ(9, APSInt(APInt(4, -7), true).getExtValue()); in TEST()
78 EXPECT_EQ(-7, APSInt(APInt(4, -7), false).getExtValue()); in TEST()