/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1286 if (match(Op1, m_SExt(m_Value())) || match(Op1, m_Not(m_Value()))) { in foldBoolSextMaskToSelect() 1299 if (match(Op0, m_Not(m_SExt(m_Value(X)))) && in foldBoolSextMaskToSelect() 1445 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd() 1451 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd() 1481 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd() 1482 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd() 1484 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd() 1485 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd() 1502 match(Op1, m_Xor(m_Not(m_Specific(A)), m_Specific(B)))) in visitAnd() 1506 if (match(Op0, m_Xor(m_Not(m_Value(A)), m_Value(B))) && in visitAnd() [all …]
|
D | InstCombineSelect.cpp | 719 if (match(V, m_Not(m_Value(NotV)))) { in FoldSPFofSPF() 952 if (match(TrueVal, m_Not(m_Specific(CondVal)))) in visitSelectInst() 954 if (match(FalseVal, m_Not(m_Specific(CondVal)))) in visitSelectInst() 1158 (LHS->hasNUses(2) && match(LHS, m_Not(m_Value()))) || in visitSelectInst() 1159 (RHS->hasNUses(2) && match(RHS, m_Not(m_Value()))) || in visitSelectInst() 1160 (SI.hasOneUse() && match(*SI.user_begin(), m_Not(m_Value()))); in visitSelectInst()
|
D | InstCombineAddSub.cpp | 1148 if (match(LHS, m_Not(m_Value(X)))) // ~X + C --> (C-1) - X in visitAdd() 1513 if (match(Op1, m_Not(m_Value(X)))) in visitSub()
|
D | InstCombineCompares.cpp | 4092 if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) && in visitICmpInst() 4101 if (match(Op0, m_Not(m_Value(A)))) { in visitICmpInst() 4102 if (match(Op1, m_Not(m_Value(B)))) in visitICmpInst()
|
D | InstCombineCasts.cpp | 958 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) { in visitZExt()
|
D | InstructionCombining.cpp | 2118 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst()
|
D | InstCombineCalls.cpp | 2267 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) { in visitCallInst()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1167 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd() 1173 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) && in visitAnd() 1205 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) || in visitAnd() 1206 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1))))) in visitAnd() 1208 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) || in visitAnd() 1209 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0))))) in visitAnd() 1445 if (match(D, m_Not(m_SExt(m_Specific(Cond))))) in MatchSelectFromAndOr() 1447 if (match(D, m_SExt(m_Not(m_Specific(Cond))))) in MatchSelectFromAndOr() 1451 if (match(B, m_Not(m_SExt(m_Specific(Cond))))) in MatchSelectFromAndOr() 1453 if (match(B, m_SExt(m_Not(m_Specific(Cond))))) in MatchSelectFromAndOr() [all …]
|
D | InstCombineAddSub.cpp | 232 if (match(LHS, m_Not(m_Value(X)))) // ~X + C --> (C-1) - X in visitAdd() 558 if (match(Op1, m_Not(m_Value(X)))) in visitSub()
|
D | InstCombineCompares.cpp | 2446 if (match(Op0, m_Not(m_Value(A)))) { in visitICmpInst() 2447 if (match(Op1, m_Not(m_Value(B)))) in visitICmpInst()
|
D | InstCombineCasts.cpp | 879 match(SrcI, m_Not(m_Value(X))) && in visitZExt()
|
D | InstructionCombining.cpp | 1189 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 573 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAddInst() 574 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAddInst() 1185 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAndInst() 1186 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAndInst() 1274 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyOrInst() 1275 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyOrInst() 1290 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst() 1295 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst() 1364 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyXorInst() 1365 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyXorInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StructurizeCFG.cpp | 390 if (match(Condition, m_Not(m_Value(Condition)))) in invert() 398 if (I->getParent() == Parent && match(I, m_Not(m_Specific(Condition)))) in invert()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 556 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAddInst() 557 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAddInst() 1590 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAndInst() 1591 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAndInst() 1764 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyOrInst() 1765 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyOrInst() 1780 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst() 1785 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) && in SimplifyOrInst() 1893 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyXorInst() 1894 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyXorInst()
|
D | ValueTracking.cpp | 587 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))), in computeKnownBitsFromAssume() 615 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Or(m_V, m_Value(B))), in computeKnownBitsFromAssume() 646 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Xor(m_V, m_Value(B))), in computeKnownBitsFromAssume() 674 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))), in computeKnownBitsFromAssume() 698 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_CombineOr( in computeKnownBitsFromAssume() 3825 (match(TrueVal, m_Not(m_Specific(CmpLHS))) || in matchSelectPattern() 3826 match(CmpLHS, m_Not(m_Specific(TrueVal))))) { in matchSelectPattern()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 607 inline not_match<LHS> m_Not(const LHS &L) { return L; } in m_Not() function
|
/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
|