Lines Matching refs:One

27   Constant *One = ConstantInt::get(Int1, 1, true);  in TEST()  local
35 EXPECT_EQ(Zero, ConstantExpr::getAdd(One, One)); in TEST()
39 EXPECT_EQ(Zero, ConstantExpr::getAdd(NegOne, One)); in TEST()
47 EXPECT_EQ(Zero, ConstantExpr::getSub(NegOne, One)); in TEST()
51 EXPECT_EQ(Zero, ConstantExpr::getSub(One, NegOne)); in TEST()
55 EXPECT_EQ(Zero, ConstantExpr::getSub(One, One)); in TEST()
59 EXPECT_EQ(Poison, ConstantExpr::getShl(One, One)); in TEST()
63 EXPECT_EQ(One, ConstantExpr::getShl(One, Zero)); in TEST()
67 EXPECT_EQ(Poison, ConstantExpr::getLShr(One, One)); in TEST()
71 EXPECT_EQ(Poison, ConstantExpr::getAShr(One, One)); 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()
227 Constant *One = ConstantInt::get(Int32Ty, 1); in TEST() local
282 V.push_back(One); in TEST()
291 CHECK(ConstantExpr::getExtractElement(P6, One), in TEST()
299 ConstantExpr::getInsertElement(P6, Elt, One), One)); in TEST()
312 Constant *One = ConstantInt::get(Int32Ty, 1); in TEST() local
317 PointerType::getUnqual(Int32Ty), Global, One); in TEST()
760 Constant *One = Constant::getAllOnesValue(Ty); in TEST() local
762 for (auto *C : {Zero, One}) { in TEST()