Lines Matching refs:neg_one
117 const APInt neg_one(1, static_cast<uint64_t>(-1), true); in TEST() local
123 EXPECT_EQ(-1, neg_one.getSExtValue()); in TEST()
124 EXPECT_EQ(1u, neg_one.getZExtValue()); in TEST()
134 EXPECT_EQ(one, neg_one); in TEST()
139 EXPECT_EQ(zero, neg_one + one); in TEST()
140 EXPECT_EQ(neg_two, neg_one + neg_one); in TEST()
143 EXPECT_EQ(neg_two, neg_one - one); in TEST()
144 EXPECT_EQ(two, one - neg_one); in TEST()
162 EXPECT_EQ(neg_one, neg_one * one); in TEST()
163 EXPECT_EQ(neg_one, one * neg_one); in TEST()
164 EXPECT_EQ(one, neg_one * neg_one); in TEST()
168 EXPECT_EQ(neg_one, one.sdiv(neg_one)); in TEST()
169 EXPECT_EQ(neg_one, neg_one.sdiv(one)); in TEST()
170 EXPECT_EQ(one, neg_one.sdiv(neg_one)); in TEST()
173 EXPECT_EQ(neg_one, one.udiv(neg_one)); in TEST()
174 EXPECT_EQ(neg_one, neg_one.udiv(one)); in TEST()
175 EXPECT_EQ(one, neg_one.udiv(neg_one)); in TEST()
179 EXPECT_EQ(zero, neg_one.srem(one)); in TEST()
180 EXPECT_EQ(zero, neg_one.urem(one)); in TEST()
181 EXPECT_EQ(zero, one.srem(neg_one)); in TEST()