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

References

include/llvm/IR/PatternMatch.h
 1643       if (AddExpr.match(ICmpLHS) && m_ZeroInt().match(ICmpRHS) &&
 1648       if (m_ZeroInt().match(ICmpLHS) && AddExpr.match(ICmpRHS) &&
 1851   return m_Sub(m_ZeroInt(), V);
lib/Analysis/ValueTracking.cpp
 4744   if ((!NeedNSW && match(X, m_Sub(m_ZeroInt(), m_Specific(Y)))) ||
 4745       (NeedNSW && match(X, m_NSWSub(m_ZeroInt(), m_Specific(Y)))))
 4749   if ((!NeedNSW && match(Y, m_Sub(m_ZeroInt(), m_Specific(X)))) ||
 4750       (NeedNSW && match(Y, m_NSWSub(m_ZeroInt(), m_Specific(X)))))
 4886     auto ZeroOrAllOnes = m_CombineOr(m_ZeroInt(), m_AllOnes());
 4887     auto ZeroOrOne = m_CombineOr(m_ZeroInt(), m_One());
lib/Analysis/VectorUtils.cpp
  321                                                m_ZeroInt()),
  322                                m_Value(), m_ZeroInt())))
lib/CodeGen/CodeGenPrepare.cpp
 1240   else if (Pred == ICmpInst::ICMP_NE && match(B, m_ZeroInt()))
 1298   if (Pred == ICmpInst::ICMP_EQ && match(B, m_ZeroInt())) {
 1303   if (Pred == ICmpInst::ICMP_NE && match(B, m_ZeroInt())) {
lib/Target/ARM/ARMISelLowering.cpp
14792              m_ShuffleVector(m_InsertElement(m_Undef(), m_Value(), m_ZeroInt()),
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  126   if (!match(TermI, m_Br(m_ICmp(Pred, m_Specific(RotAmt), m_ZeroInt()),
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1730     bool IsNegate = match(C, m_ZeroInt());
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1034   if (JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) &&
 1042   if (!JoinedByAnd && match(Cmp0, m_ICmp(Pred0, m_Value(X), m_ZeroInt())) &&
lib/Transforms/InstCombine/InstCombineCalls.cpp
  652   if (match(CarryIn, m_ZeroInt())) {
 1978       if (match(Op1, m_ZeroInt()) || match(Op1, m_Undef()))
 1983       if (match(Op0, m_ZeroInt()) || match(Op0, m_Undef()))
 3303     if (match(KeyArg, m_ZeroInt()) &&
lib/Transforms/InstCombine/InstCombineCasts.cpp
 1232   if ((Pred == ICmpInst::ICMP_SLT && match(Op1, m_ZeroInt())) ||
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4276       !match(Op1, m_ZeroInt()))
lib/Transforms/InstCombine/InstCombineSelect.cpp
 1054                           match(Cmp.getOperand(1), m_ZeroInt()) &&
 2177   if (!match(Cond, m_OneUse(m_ICmp(Pred, m_Specific(ShAmt), m_ZeroInt()))) ||
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  830   if (!match(Op0, m_InsertElement(m_Undef(), m_Specific(X), m_ZeroInt())))
 1535       !match(Op1, m_Undef()) || match(Mask, m_ZeroInt()) || IndexC == 0)