Searched refs:m_Not (Results 1 – 11 of 11) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1345 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd() 1351 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd() 1383 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd() 1384 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd() 1386 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd() 1387 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd() 1404 match(Op1, m_Xor(m_Not(m_Specific(A)), m_Specific(B)))) in visitAnd() 1408 if (match(Op0, m_Xor(m_Not(m_Value(A)), m_Value(B))) && in visitAnd() 1485 match(Op1, m_Not(m_Value()))) { in visitAnd() 1498 if (match(Op0, m_Not(m_SExt(m_Value(X)))) && in visitAnd() [all …]
|
D | InstCombineSelect.cpp | 948 if (match(TrueVal, m_Not(m_Specific(CondVal)))) in visitSelectInst() 950 if (match(FalseVal, m_Not(m_Specific(CondVal)))) in visitSelectInst() 1176 (LHS->hasNUses(2) && match(LHS, m_Not(m_Value()))) || in visitSelectInst() 1177 (RHS->hasNUses(2) && match(RHS, m_Not(m_Value()))) || in visitSelectInst() 1178 (SI.hasOneUse() && match(*SI.user_begin(), m_Not(m_Value()))); in visitSelectInst()
|
D | InstCombineAddSub.cpp | 1180 if (match(LHS, m_Not(m_Value(X)))) // ~X + C --> (C-1) - X in visitAdd() 1546 if (match(Op1, m_Not(m_Value(X)))) in visitSub()
|
D | InstCombineCompares.cpp | 3498 if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) && in visitICmpInst() 3507 if (match(Op0, m_Not(m_Value(A)))) { in visitICmpInst() 3508 if (match(Op1, m_Not(m_Value(B)))) in visitICmpInst()
|
D | InstCombineCasts.cpp | 883 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) { in visitZExt()
|
D | InstCombineCalls.cpp | 1140 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) { in visitCallInst()
|
D | InstructionCombining.cpp | 2022 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 560 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAddInst() 561 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAddInst() 1575 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAndInst() 1576 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAndInst() 1734 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyOrInst() 1735 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyOrInst() 1750 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst() 1755 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst() 1866 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyXorInst() 1867 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyXorInst()
|
D | ValueTracking.cpp | 741 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))), in computeKnownBitsFromAssume() 767 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Or(m_V, m_Value(B))), in computeKnownBitsFromAssume() 796 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Xor(m_V, m_Value(B))), in computeKnownBitsFromAssume() 822 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))), in computeKnownBitsFromAssume() 844 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_CombineOr( in computeKnownBitsFromAssume()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 384 if (match(Condition, m_Not(m_Value(Condition)))) in invert() 392 if (I->getParent() == Parent && match(I, m_Not(m_Specific(Condition)))) in invert()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 854 template <typename LHS> inline not_match<LHS> m_Not(const LHS &L) { return L; } in m_Not() function
|