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

References

lib/Analysis/InstructionSimplify.cpp
  578   if (Constant *C = foldOrCommuteConstant(Instruction::Add, Op0, Op1, Q))
  582   if (match(Op1, m_Undef()))
  583     return Op1;
  586   if (match(Op1, m_Zero()))
  590   if (isKnownNegation(Op0, Op1))
  597   if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) ||
  598       match(Op0, m_Sub(m_Value(Y), m_Specific(Op1))))
  603   if (match(Op0, m_Not(m_Specific(Op1))) ||
  604       match(Op1, m_Not(m_Specific(Op0))))
  610   if ((IsNSW || IsNUW) && match(Op1, m_SignMask()) &&
  615   if (IsNUW && match(Op1, m_AllOnes()))
  616     return Op1; // Which is -1.
  620     if (Value *V = SimplifyXorInst(Op0, Op1, Q, MaxRecurse-1))
  624   if (Value *V = SimplifyAssociativeBinOp(Instruction::Add, Op0, Op1, Q,