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

References

lib/Analysis/IVDescriptors.cpp
   98   if (match(J, m_c_And(m_Instruction(I), m_APInt(M)))) {
lib/Analysis/InstructionSimplify.cpp
 1595   if (match(Y, m_c_And(m_Specific(X), m_Value())) ||
 1596       match(Y, m_c_And(m_PtrToInt(m_Specific(X)), m_Value())))
 1603   if (match(X, m_c_And(m_Specific(Y), m_Value())) ||
 1604       match(X, m_c_And(m_PtrToInt(m_Specific(Y)), m_Value())))
 2081   if (match(Op0, m_c_And(m_Specific(Op1), m_Value())))
 2085   if (match(Op1, m_c_And(m_Specific(Op0), m_Value())))
 2089   if (match(Op0, m_Not(m_c_And(m_Specific(Op1), m_Value()))))
 2093   if (match(Op1, m_Not(m_c_And(m_Specific(Op1), m_Value()))))
 2102       (match(Op0, m_c_And(m_Specific(A), m_Not(m_Specific(B)))) ||
 2103        match(Op0, m_c_And(m_Not(m_Specific(A)), m_Specific(B)))))
 2112       (match(Op1, m_c_And(m_Specific(A), m_Not(m_Specific(B)))) ||
 2113        match(Op1, m_c_And(m_Not(m_Specific(A)), m_Specific(B)))))
 2776   if (LBO && match(LBO, m_c_And(m_Value(), m_Specific(RHS)))) {
 2783   if (RBO && match(RBO, m_c_And(m_Value(), m_Specific(LHS)))) {
lib/Analysis/ValueTracking.cpp
  199   if (match(LHS, m_c_And(m_Not(m_Value(M)), m_Value())) &&
  200       match(RHS, m_c_And(m_Specific(M), m_Value())))
  202   if (match(RHS, m_c_And(m_Not(m_Value(M)), m_Value())) &&
  203       match(LHS, m_c_And(m_Specific(M), m_Value())))
  646                        m_c_ICmp(Pred, m_c_And(m_V, m_Value(B)), m_Value(A))) &&
  658       } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))),
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
  225   if (match(&I, m_c_And(m_OneUse(m_And(m_Value(), m_Value())), m_Value())))
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1378                           m_c_And(m_Deferred(A), m_Deferred(B)))))
 1384                           m_c_And(m_Deferred(A), m_Deferred(B))))) {
 1894     if (match(Op1, m_c_And(m_Value(Y), m_Specific(Op0))))
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1612                         m_Not(m_c_And(m_Deferred(A), m_Deferred(B))))))
 1646   if (match(Op0, m_c_And(m_Value(A), m_Not(m_Value(B)))) &&
 1647       match(Op1, m_c_And(m_Not(m_Specific(A)), m_Specific(B))))
 1967     if (match(&I, m_c_And(m_OneUse(m_AShr(m_NSWSub(m_Value(Y), m_Value(X)),
 2772   if (match(&I, m_Xor(m_c_And(m_Value(A), m_Not(m_Value(B))),
 2773                       m_c_And(m_Not(m_Deferred(A)), m_Deferred(B))))) {
 2789        match(Op1, m_Not(m_c_And(m_Specific(A), m_Specific(B))))) ||
 2912                          m_OneUse(m_c_And(
 2999   if (match(&I, m_c_Xor(m_c_And(m_Not(m_Value(M)), m_Value()),
 3000                         m_c_And(m_Deferred(M), m_Value()))))
 3010   if (match(&I, m_Not(m_OneUse(m_c_And(m_Not(m_Value(X)), m_Value(Y)))))) {
 3168   if (match(Op1, m_OneUse(m_c_And(m_Value(X), m_Specific(Op0)))))
 3176       match(Op0, m_OneUse(m_c_And(m_Value(X), m_Specific(Op1)))))
 3198       match(Op1, m_c_And(m_Specific(A), m_Specific(B))))
 3203   if (match(Op0, m_c_And(m_Value(A), m_Not(m_Value(B)))) &&
lib/Transforms/InstCombine/InstCombineCompares.cpp
 3289                           m_c_And(m_CombineAnd(m_Mask, m_Value(M)), m_Value(X)),
 3466           m_c_And(m_CombineAnd(m_AnyLogicalShift, m_Instruction(XShift)),
 3503                m_c_And(m_OneUse(m_AnyLogicalShift), m_Value())))
 4011     auto BitwiseAnd = m_c_And(m_Value(), LSubOne);
 4274   if (!match(Op0, m_OneUse(m_c_And(m_Add(m_Value(A), m_AllOnes()),
 4281   if (match(Op0, m_OneUse(m_c_And(m_Neg(m_Specific(Op1)), m_Specific(Op1)))))
 4284                  m_OneUse(m_c_And(m_Neg(m_Specific(Op0)), m_Specific(Op0)))))
lib/Transforms/InstCombine/InstCombineSelect.cpp
  521   if (!match(Cmp->getOperand(0), m_c_And(m_Specific(X), m_Value(Y))))
  822   if (!match(II->getOperand(0), m_c_And(m_Specific(X), m_Neg(m_Specific(X)))))
lib/Transforms/InstCombine/InstCombineShifts.cpp
  206   if (match(Masked, m_c_And(m_CombineOr(MaskA, MaskB), m_Value(X)))) {
  228   } else if (match(Masked, m_c_And(m_CombineOr(MaskC, MaskD), m_Value(X))) ||
lib/Transforms/Utils/PredicateInfo.cpp
  358   if (m_c_And(m_Cmp(Pred, m_Value(), m_Value()),
unittests/IR/PatternMatch.cpp
  563         match(IRB.CreateAnd(X, Y), m_c_And(m_Value(tX), m_Deferred(tX))));
  569         Pattern, m_c_And(m_Value(tX), m_c_And(m_Deferred(tX), m_Value(tY)))));
  569         Pattern, m_c_And(m_Value(tX), m_c_And(m_Deferred(tX), m_Value(tY)))));