Lines Matching refs:NegOne
29 Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true); in TEST() local
30 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1)); in TEST()
39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
43 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne)); in TEST()
47 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST()
51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST()
75 EXPECT_EQ(One, ConstantExpr::getMul(NegOne, One)); in TEST()
79 EXPECT_EQ(One, ConstantExpr::getSDiv(NegOne, One)); in TEST()
83 EXPECT_EQ(One, ConstantExpr::getSDiv(One, NegOne)); in TEST()
87 EXPECT_EQ(One, ConstantExpr::getUDiv(NegOne, One)); in TEST()
91 EXPECT_EQ(One, ConstantExpr::getUDiv(One, NegOne)); in TEST()
95 EXPECT_EQ(Zero, ConstantExpr::getSRem(NegOne, One)); in TEST()
99 EXPECT_EQ(Zero, ConstantExpr::getURem(NegOne, One)); in TEST()
103 EXPECT_EQ(Zero, ConstantExpr::getSRem(One, NegOne)); in TEST()