Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1286 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 …]
DInstCombineSelect.cpp719 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()
DInstCombineAddSub.cpp1148 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()
DInstCombineCompares.cpp4092 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()
DInstCombineCasts.cpp958 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) { in visitZExt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1148 if (match(I.getOperand(0), m_OneUse(m_Not(m_Value(A)))) && in matchDeMorgansLaws()
1149 match(I.getOperand(1), m_OneUse(m_Not(m_Value(B)))) && in matchDeMorgansLaws()
1292 m_Not(m_c_And(m_Deferred(A), m_Deferred(B)))))) in foldAndToXor()
1300 if (match(&I, m_BinOp(m_c_Or(m_Value(A), m_Not(m_Value(B))), in foldAndToXor()
1301 m_c_Or(m_Not(m_Deferred(A)), m_Deferred(B))))) in foldAndToXor()
1319 match(Op1, m_Not(m_c_Or(m_Specific(A), m_Specific(B))))) in foldOrToXor()
1326 if (match(Op0, m_c_And(m_Value(A), m_Not(m_Value(B)))) && in foldOrToXor()
1327 match(Op1, m_c_And(m_Not(m_Specific(A)), m_Specific(B)))) in foldOrToXor()
1577 if (match(Op1, m_c_Xor(m_Not(m_Value(A)), m_Value(B))) && in visitAnd()
1585 if (match(Op0, m_c_Xor(m_Not(m_Value(A)), m_Value(B))) && in visitAnd()
[all …]
DInstCombineAddSub.cpp942 if (match(Op0, m_Not(m_Value(X)))) in foldAddWithConstant()
1225 if (match(&I, m_c_BinOp(m_Add(m_Value(A), m_One()), m_Not(m_Value(B))))) in visitAdd()
1614 if (match(Op0, m_Not(m_Value(X))) && match(Op1, m_Not(m_Value(Y)))) in visitSub()
1644 if (match(Op1, m_Not(m_Value(X)))) in visitSub()
DInstCombineSelect.cpp1111 if (match(V, m_Not(m_Value(NotV)))) { in foldSPFofSPF()
1582 if (match(TrueVal, m_Not(m_Specific(CondVal)))) in visitSelectInst()
1584 if (match(FalseVal, m_Not(m_Specific(CondVal)))) in visitSelectInst()
1802 if (match(LHS, m_Not(m_Value(A))) && match(RHS, m_Not(m_Value(B))) && in visitSelectInst()
DInstCombineCompares.cpp4806 if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) && in visitICmpInst()
4814 if (match(Op0, m_Not(m_Value(A)))) { in visitICmpInst()
4815 if (match(Op1, m_Not(m_Value(B)))) in visitICmpInst()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1167 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 …]
DInstCombineAddSub.cpp232 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()
DInstCombineCompares.cpp2446 if (match(Op0, m_Not(m_Value(A)))) { in visitICmpInst()
2447 if (match(Op1, m_Not(m_Value(B)))) in visitICmpInst()
DInstCombineCasts.cpp879 match(SrcI, m_Not(m_Value(X))) && in visitZExt()
DInstructionCombining.cpp1189 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) && in visitBranchInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DAssumptionCache.cpp72 match(I, m_Not(m_Value(Op)))) { in updateAffectedValues()
91 if (match(V, m_Not(m_Value(A)))) { in updateAffectedValues()
DValueTracking.cpp195 if (match(LHS, m_c_And(m_Not(m_Value(M)), m_Value())) && in haveNoCommonBitsSet()
198 if (match(RHS, m_c_And(m_Not(m_Value(M)), m_Value())) && in haveNoCommonBitsSet()
600 if (match(Arg, m_Not(m_Specific(V))) && in computeKnownBitsFromAssume()
640 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))), in computeKnownBitsFromAssume()
668 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Or(m_V, m_Value(B))), in computeKnownBitsFromAssume()
699 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Xor(m_V, m_Value(B))), in computeKnownBitsFromAssume()
730 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))), in computeKnownBitsFromAssume()
757 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_Shr(m_V, m_ConstantInt(C))), in computeKnownBitsFromAssume()
4414 if ((CmpLHS == A && CmpRHS == C) || (match(C, m_Not(m_Specific(CmpLHS))) && in matchMinMaxOfMinMax()
4415 match(A, m_Not(m_Specific(CmpRHS))))) in matchMinMaxOfMinMax()
[all …]
DInstructionSimplify.cpp599 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAddInst()
600 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAddInst()
1793 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyAndInst()
1794 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyAndInst()
1926 if (match(Op0, m_Not(m_Specific(Op1))) || in SimplifyOrInst()
1927 match(Op1, m_Not(m_Specific(Op0)))) in SimplifyOrInst()
1939 if (match(Op0, m_Not(m_c_And(m_Specific(Op1), m_Value())))) in SimplifyOrInst()
1943 if (match(Op1, m_Not(m_c_And(m_Specific(Op1), m_Value())))) in SimplifyOrInst()
1952 (match(Op0, m_c_And(m_Specific(A), m_Not(m_Specific(B)))) || in SimplifyOrInst()
1953 match(Op0, m_c_And(m_Not(m_Specific(A)), m_Specific(B))))) in SimplifyOrInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Analysis/
DInstructionSimplify.cpp573 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/
DStructurizeCFG.cpp390 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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp405 if (match(Condition, m_Not(m_Value(NotCondition)))) in invert()
413 if (I->getParent() == Parent && match(I, m_Not(m_Specific(Condition)))) in invert()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp556 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()
DValueTracking.cpp587 } 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/
DPatternMatch.h607 inline not_match<LHS> m_Not(const LHS &L) { return L; } in m_Not() function
/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
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DPatternMatch.h1691 m_Not(const ValTy &V) {

12