|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/Analysis/AssumptionCache.cpp 71 match(I, m_Not(m_Value(Op)))) {
90 if (match(V, m_Not(m_Value(A)))) {
lib/Analysis/InstructionSimplify.cpp 603 if (match(Op0, m_Not(m_Specific(Op1))) ||
604 match(Op1, m_Not(m_Specific(Op0))))
1892 if (!match(NotOp1, m_Not(m_Value(Op1))))
1925 if (match(Op0, m_Not(m_Specific(Op1))) ||
1926 match(Op1, m_Not(m_Specific(Op0))))
2076 if (match(Op0, m_Not(m_Specific(Op1))) ||
2077 match(Op1, m_Not(m_Specific(Op0))))
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)))))
2121 (match(Op1, m_c_Xor(m_Specific(A), m_Not(m_Specific(B)))) ||
2122 match(Op1, m_c_Xor(m_Not(m_Specific(A)), m_Specific(B)))))
2130 (match(Op0, m_c_Xor(m_Specific(A), m_Not(m_Specific(B)))) ||
2131 match(Op0, m_c_Xor(m_Not(m_Specific(A)), m_Specific(B)))))
2221 if (match(Op0, m_Not(m_Specific(Op1))) ||
2222 match(Op1, m_Not(m_Specific(Op0))))
lib/Analysis/ValueTracking.cpp 199 if (match(LHS, m_c_And(m_Not(m_Value(M)), m_Value())) &&
202 if (match(RHS, m_c_And(m_Not(m_Value(M)), m_Value())) &&
613 if (match(Arg, m_Not(m_Specific(V))) &&
658 } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))),
684 } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_c_Or(m_V, m_Value(B))),
713 } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_c_Xor(m_V, m_Value(B))),
741 } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))),
763 } else if (match(Cmp, m_c_ICmp(Pred, m_Not(m_Shr(m_V, m_ConstantInt(C))),
4637 if ((CmpLHS == A && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) &&
4638 match(A, m_Not(m_Specific(CmpRHS)))))
4644 if ((CmpLHS == A && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) &&
4645 match(A, m_Not(m_Specific(CmpRHS)))))
4651 if ((CmpLHS == B && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) &&
4652 match(B, m_Not(m_Specific(CmpRHS)))))
4658 if ((CmpLHS == B && CmpRHS == D) || (match(D, m_Not(m_Specific(CmpLHS))) &&
4659 match(B, m_Not(m_Specific(CmpRHS)))))
4727 if (match(TrueVal, m_Not(m_Specific(CmpLHS))) &&
4733 if (match(FalseVal, m_Not(m_Specific(CmpLHS))) &&
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 2081 if (match(Cond, m_OneUse(m_Not(m_Value(NotCond)))) &&
lib/Target/WebAssembly/WebAssemblyFastISel.cpp 428 if (match(V, m_Not(m_Value(NotV))) && V->getType()->isIntegerTy(32)) {
lib/Transforms/InstCombine/InstCombineAddSub.cpp 895 if (match(Op0, m_Not(m_Value(X))))
1087 if (match(&I, m_c_Add(m_c_UMin(m_Value(X), m_Not(m_Value(Y))),
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())))
1712 if (match(Op0, m_Not(m_Value(X))) && match(Op1, m_Not(m_Value(Y))))
1712 if (match(Op0, m_Not(m_Value(X))) && match(Op1, m_Not(m_Value(Y))))
1724 if (match(Op1, m_OneUse(m_Not(m_Value(X))))) {
1748 if (match(Op1, m_Not(m_Value(X))))
1955 match(NotA, m_Not(m_Value(A))) && (NotA == LHS || NotA == RHS)) {
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp 1468 if (match(I.getOperand(0), m_OneUse(m_Not(m_Value(A)))) &&
1469 match(I.getOperand(1), m_OneUse(m_Not(m_Value(B)))) &&
1612 m_Not(m_c_And(m_Deferred(A), m_Deferred(B))))))
1620 if (match(&I, m_BinOp(m_c_Or(m_Value(A), m_Not(m_Value(B))),
1621 m_c_Or(m_Not(m_Deferred(A)), m_Deferred(B)))))
1639 match(Op1, m_Not(m_c_Or(m_Specific(A), m_Specific(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))))
1901 if (match(Op1, m_c_Xor(m_Not(m_Value(A)), m_Value(B))) &&
1909 if (match(Op0, m_c_Xor(m_Not(m_Value(A)), m_Value(B))) &&
2121 if (match(A, m_Not(m_Specific(B)))) {
2140 match(B, m_OneUse(m_Not(m_Value(NotB))))) {
2613 if (Op1->hasOneUse() && match(A, m_Not(m_Specific(Op0)))) {
2617 if (Op1->hasOneUse() && match(B, m_Not(m_Specific(Op0)))) {
2625 if (match(Op1, m_Not(m_Value(A))))
2761 if (match(&I, m_Xor(m_c_Or(m_Value(A), m_Not(m_Value(B))),
2762 m_c_Or(m_Not(m_Deferred(A)), m_Deferred(B))))) {
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))))) ||
2791 match(Op1, m_Not(m_c_Or(m_Specific(A), m_Specific(B))))))
2919 if (match(M, m_Not(m_Value(NotM)))) {
2948 if (!match(&I, m_Not(m_OneUse(m_Xor(m_Value(X), m_Value(Y))))))
2999 if (match(&I, m_c_Xor(m_c_And(m_Not(m_Value(M)), m_Value()),
3010 if (match(&I, m_Not(m_OneUse(m_c_And(m_Not(m_Value(X)), m_Value(Y)))))) {
3010 if (match(&I, m_Not(m_OneUse(m_c_And(m_Not(m_Value(X)), m_Value(Y)))))) {
3016 if (match(&I, m_Not(m_OneUse(m_c_Or(m_Not(m_Value(X)), m_Value(Y)))))) {
3016 if (match(&I, m_Not(m_OneUse(m_c_Or(m_Not(m_Value(X)), m_Value(Y)))))) {
3026 if (match(&I, m_Not(m_BinOp(NotVal)))) {
3050 if (match(NotVal, m_AShr(m_Not(m_Value(X)), m_Value(Y))))
3078 if (match(Op0, m_OneUse(m_Or(m_Not(m_Value(X)), m_Constant(C2))))) {
3083 if (match(Op0, m_OneUse(m_And(m_Not(m_Value(X)), m_Constant(C2))))) {
3092 if (match(&I, m_Not(m_OneUse(m_Cmp(Pred, m_Value(), m_Value()))))) {
3203 if (match(Op0, m_c_And(m_Value(A), m_Not(m_Value(B)))) &&
3204 match(Op1, m_Not(m_Specific(A))))
3257 if (match(LHS, m_Not(m_Value(X))) && !isFreeToInvert(X, X->hasOneUse())) {
3265 if (match(RHS, m_Not(m_Value(Y))) && !isFreeToInvert(Y, Y->hasOneUse())) {
lib/Transforms/InstCombine/InstCombineCalls.cpp 3942 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) {
lib/Transforms/InstCombine/InstCombineCompares.cpp 3283 m_CombineOr(m_Not(m_Shl(m_AllOnes(), m_Value())),
5328 m_Not(m_Shl(m_AllOnes(), m_Value(Y))),
5520 if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) &&
5528 if (match(Op0, m_Not(m_Value(A)))) {
5529 if (match(Op1, m_Not(m_Value(B))))
lib/Transforms/InstCombine/InstCombineInternal.h 86 match(V, m_Not(m_Value())) || match(V, m_FNeg(m_Value())))
188 if (match(V, m_Not(m_Value())))
209 if (match(V, m_Select(m_Value(), m_Not(m_Value()), m_Not(m_Value()))))
209 if (match(V, m_Select(m_Value(), m_Not(m_Value()), m_Not(m_Value()))))
230 if (!match(I, m_Not(m_Value())))
lib/Transforms/InstCombine/InstCombineSelect.cpp 768 if (match(Cmp0, m_Not(m_Value(X))) &&
777 if (match(FVal, m_c_Add(m_Not(m_Specific(X)), m_Specific(Y)))) {
1615 if (match(V, m_Not(m_Value(NotV)))) {
2269 if (match(TrueVal, m_Not(m_Specific(CondVal))))
2271 if (match(FalseVal, m_Not(m_Specific(CondVal))))
2474 if (match(X, m_Not(m_Value(A))) && !X->hasNUsesOrMore(3) &&
2626 if (match(CondVal, m_Not(m_Value(NotCond)))) {
lib/Transforms/InstCombine/InstructionCombining.cpp 2560 if (match(&BI, m_Br(m_Not(m_Value(X)), m_BasicBlock(), m_BasicBlock())) &&
lib/Transforms/Scalar/EarlyCSE.cpp 149 if (match(Cond, m_Not(m_Value(CondNot)))) {
lib/Transforms/Scalar/Reassociate.cpp 209 if (!match(I, m_Not(m_Value())) && !match(I, m_Neg(m_Value())) &&
1139 if (match(Ops[i].Op, m_Not(m_Value(X)))) { // Cannot occur for ^.
1485 if (!match(TheOp, m_Neg(m_Value(X))) && !match(TheOp, m_Not(m_Value(X))) &&
1499 if (Ops.size() == 2 && match(TheOp, m_Not(m_Value())))
1513 if (match(TheOp, m_Not(m_Value()))) {
lib/Transforms/Scalar/StructurizeCFG.cpp 410 if (match(Condition, m_Not(m_Value(NotCondition))))
418 if (I->getParent() == Parent && match(I, m_Not(m_Specific(Condition))))
lib/Transforms/Utils/SimplifyCFG.cpp 2354 if (!match(V0, m_Not(m_Value())))
2356 auto Invertible = m_CombineOr(m_Not(m_Value()), m_AnyIntegralConstant());
2357 return match(V0, m_Not(m_Value())) && match(V1, Invertible);