Lines Matching defs:Op0
1353 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1);
1355 if (Value *V = SimplifySubInst(Op0, Op1, I.hasNoSignedWrap(),
1365 BinaryOperator *Res = BinaryOperator::CreateAdd(Op0, V);
1372 return BinaryOperator::CreateXor(Op0, Op1);
1375 if (match(Op0, m_AllOnes()))
1378 if (ConstantInt *C = dyn_cast<ConstantInt>(Op0)) {
1426 if (match(Op1, m_Add(m_Specific(Op0), m_Value(Y))) ||
1427 match(Op1, m_Add(m_Value(Y), m_Specific(Op0))))
1431 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y))))
1442 return BinaryOperator::CreateAdd(Op0,
1447 if (match(Op1, m_And(m_Value(Y), m_Specific(Op0))) ||
1448 match(Op1, m_And(m_Specific(Op0), m_Value(Y))))
1449 return BinaryOperator::CreateAnd(Op0,
1454 match(Op0, m_Zero()))
1458 if (match(Op1, m_Shl(m_Value(X), m_Value(Y))) && match(Op0, m_Zero()))
1463 if (match(Op1, m_Mul(m_Specific(Op0), m_ConstantInt(CI)))) {
1465 return BinaryOperator::CreateMul(Op0, CP1);
1469 if (match(Op1, m_Shl(m_Specific(Op0), m_ConstantInt(CI)))) {
1472 return BinaryOperator::CreateMul(Op0, C);
1480 return BinaryOperator::CreateAdd(Op0, Builder->CreateMul(A, B));
1487 return BinaryOperator::CreateAdd(Op0, NewMul);
1492 if (Value *X = dyn_castFoldableMul(Op0, C1)) {
1505 if (match(Op0, m_PtrToInt(m_Value(LHSOp))) &&
1511 if (match(Op0, m_Trunc(m_PtrToInt(m_Value(LHSOp)))) &&
1521 Value *Op0 = I.getOperand(0), *Op1 = I.getOperand(1);
1523 if (Value *V = SimplifyFSubInst(Op0, Op1, I.getFastMathFlags(), TD))
1526 if (isa<Constant>(Op0))
1534 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, V);
1541 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, NewTrunc);
1548 Instruction *NewI = BinaryOperator::CreateFAdd(Op0, NewExt);