Home | History | Annotate | Download | only in IR

Lines Matching defs:NegOne

25   Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true);
26 EXPECT_EQ(NegOne, ConstantInt::getSigned(Int1, -1));
35 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One));
39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, NegOne));
43 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One));
47 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne));
71 EXPECT_EQ(One, ConstantExpr::getMul(NegOne, One));
75 EXPECT_EQ(One, ConstantExpr::getSDiv(NegOne, One));
79 EXPECT_EQ(One, ConstantExpr::getSDiv(One, NegOne));
83 EXPECT_EQ(One, ConstantExpr::getUDiv(NegOne, One));
87 EXPECT_EQ(One, ConstantExpr::getUDiv(One, NegOne));
91 EXPECT_EQ(Zero, ConstantExpr::getSRem(NegOne, One));
95 EXPECT_EQ(Zero, ConstantExpr::getURem(NegOne, One));
99 EXPECT_EQ(Zero, ConstantExpr::getSRem(One, NegOne));