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, ConstantFoldBinaryInstruction(Instruction::SDiv, NegOne, One)); in TEST()
83 EXPECT_EQ(One, ConstantFoldBinaryInstruction(Instruction::SDiv, One, NegOne)); in TEST()
87 EXPECT_EQ(One, ConstantFoldBinaryInstruction(Instruction::UDiv, NegOne, One)); in TEST()
91 EXPECT_EQ(One, ConstantFoldBinaryInstruction(Instruction::UDiv, One, NegOne)); in TEST()
96 ConstantFoldBinaryInstruction(Instruction::SRem, NegOne, One)); in TEST()
101 ConstantFoldBinaryInstruction(Instruction::SRem, One, NegOne)); in TEST()