reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1284     if (match(RHS, m_Neg(m_Value(B))))
 1285       return BinaryOperator::CreateNeg(Builder.CreateAdd(A, B));
 1293   if (match(&I, m_c_Add(m_Value(A), m_OneUse(m_SExt(m_Value(B))))) &&
 1294       B->getType()->isIntOrIntVectorTy(1))
 1295     return BinaryOperator::CreateSub(A, Builder.CreateZExt(B, Ty));
 1298   if (match(RHS, m_Neg(m_Value(B))))
 1299     return BinaryOperator::CreateSub(LHS, B);
 1308   if (match(&I, m_c_BinOp(m_Add(m_Value(A), m_One()), m_Not(m_Value(B)))) ||
 1309       match(&I, m_BinOp(m_c_Add(m_Not(m_Value(B)), m_Value(A)), m_One())))
 1310     return BinaryOperator::CreateSub(A, B);
 1377   if (match(&I, m_c_BinOp(m_Xor(m_Value(A), m_Value(B)),
 1378                           m_c_And(m_Deferred(A), m_Deferred(B)))))
 1379     return BinaryOperator::CreateOr(A, B);
 1383   if (match(&I, m_c_BinOp(m_Or(m_Value(A), m_Value(B)),
 1384                           m_c_And(m_Deferred(A), m_Deferred(B))))) {
 1386     I.setOperand(1, B);