Lines Matching refs:getAsSignedConstant
93 EXPECT_EQ(Sign1.getAsSignedConstant().getValue(), -123); in TEST()
94 EXPECT_EQ(Sign2.getAsSignedConstant().getValue(), -12345); in TEST()
95 EXPECT_EQ(Sign4.getAsSignedConstant().getValue(), -123456789); in TEST()
96 EXPECT_EQ(Sign8.getAsSignedConstant().getValue(), -1); in TEST()
102 EXPECT_EQ(UMax.getAsSignedConstant().getValue(), LLONG_MAX); in TEST()
103 EXPECT_EQ(TooBig.getAsSignedConstant().hasValue(), false); in TEST()
114 EXPECT_EQ(Data1.getAsSignedConstant().getValue(), 120); in TEST()
115 EXPECT_EQ(Data2.getAsSignedConstant().getValue(), 32000); in TEST()
116 EXPECT_EQ(Data4.getAsSignedConstant().getValue(), 2000000000); in TEST()
117 EXPECT_EQ(Data8.getAsSignedConstant().getValue(), 0x1234567812345678LL); in TEST()
118 EXPECT_EQ(LEBMin.getAsSignedConstant().getValue(), LLONG_MIN); in TEST()
119 EXPECT_EQ(LEBMax.getAsSignedConstant().getValue(), LLONG_MAX); in TEST()
120 EXPECT_EQ(LEB1.getAsSignedConstant().getValue(), -42); in TEST()
121 EXPECT_EQ(LEB2.getAsSignedConstant().getValue(), 42); in TEST()