Home
last modified time | relevance | path

Searched refs:m_Not (Results 1 – 11 of 11) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1387 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
1393 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd()
1425 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd()
1426 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd()
1428 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd()
1429 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd()
1446 match(Op1, m_Xor(m_Not(m_Specific(A)), m_Specific(B)))) in visitAnd()
1450 if (match(Op0, m_Xor(m_Not(m_Value(A)), m_Value(B))) && in visitAnd()
1542 match(Op1, m_Not(m_Value()))) { in visitAnd()
1555 if (match(Op0, m_Not(m_SExt(m_Value(X)))) && in visitAnd()
[all …]
DInstCombineSelect.cpp705 if (match(V, m_Not(m_Value(NotV)))) { in FoldSPFofSPF()
864 if (match(TrueVal, m_Not(m_Specific(CondVal)))) in visitSelectInst()
866 if (match(FalseVal, m_Not(m_Specific(CondVal)))) in visitSelectInst()
1123 (LHS->hasNUses(2) && match(LHS, m_Not(m_Value()))) || in visitSelectInst()
1124 (RHS->hasNUses(2) && match(RHS, m_Not(m_Value()))) || in visitSelectInst()
1125 (SI.hasOneUse() && match(*SI.user_begin(), m_Not(m_Value()))); in visitSelectInst()
DInstCombineAddSub.cpp1168 if (match(LHS, m_Not(m_Value(X)))) // ~X + C --> (C-1) - X in visitAdd()
1533 if (match(Op1, m_Not(m_Value(X)))) in visitSub()
DInstCombineCompares.cpp3633 if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) && in visitICmpInst()
3642 if (match(Op0, m_Not(m_Value(A)))) { in visitICmpInst()
3643 if (match(Op1, m_Not(m_Value(B)))) in visitICmpInst()
DInstCombineCasts.cpp958 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) { in visitZExt()
DInstCombineCalls.cpp1709 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) { in visitCallInst()
DInstructionCombining.cpp2087 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp559 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAddInst()
560 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAddInst()
1589 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAndInst()
1590 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAndInst()
1748 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyOrInst()
1749 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyOrInst()
1764 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst()
1769 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst()
1880 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyXorInst()
1881 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyXorInst()
DValueTracking.cpp794 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))), in computeKnownBitsFromAssume()
820 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Or(m_V, m_Value(B))), in computeKnownBitsFromAssume()
849 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Xor(m_V, m_Value(B))), in computeKnownBitsFromAssume()
875 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))), in computeKnownBitsFromAssume()
897 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_CombineOr( in computeKnownBitsFromAssume()
3975 (match(TrueVal, m_Not(m_Specific(CmpLHS))) || in matchSelectPattern()
3976 match(CmpLHS, m_Not(m_Specific(TrueVal))))) { in matchSelectPattern()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp380 if (match(Condition, m_Not(m_Value(Condition)))) in invert()
388 if (I->getParent() == Parent && match(I, m_Not(m_Specific(Condition)))) in invert()
/external/llvm/include/llvm/IR/
DPatternMatch.h854 template <typename LHS> inline not_match<LHS> m_Not(const LHS &L) { return L; } in m_Not() function