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