Searched refs:m_Not (Results 1 - 18 of 18) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1182 // Alternatively, we could fix the definition of m_Not to recognize a not
1286 if (match(Op1, m_SExt(m_Value())) || match(Op1, m_Not(m_Value()))) {
1299 if (match(Op0, m_Not(m_SExt(m_Value(X)))) &&
1445 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) &&
1451 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) &&
1481 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) ||
1482 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1)))))
1484 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) ||
1485 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0)))))
1502 match(Op1, m_Xor(m_Not(m_Specifi
[all...]
H A DInstCombineSelect.cpp719 if (match(V, m_Not(m_Value(NotV)))) {
952 if (match(TrueVal, m_Not(m_Specific(CondVal))))
954 if (match(FalseVal, m_Not(m_Specific(CondVal))))
1158 (LHS->hasNUses(2) && match(LHS, m_Not(m_Value()))) ||
1159 (RHS->hasNUses(2) && match(RHS, m_Not(m_Value()))) ||
1160 (SI.hasOneUse() && match(*SI.user_begin(), m_Not(m_Value())));
H A DInstCombineAddSub.cpp1148 if (match(LHS, m_Not(m_Value(X)))) // ~X + C --> (C-1) - X
1513 if (match(Op1, m_Not(m_Value(X))))
H A DInstCombineCompares.cpp4092 if (match(Op0, m_And(m_Value(A), m_Not(m_Value(B)))) &&
4101 if (match(Op0, m_Not(m_Value(A)))) {
4102 if (match(Op1, m_Not(m_Value(B))))
H A DInstCombineCasts.cpp958 match(SrcI, m_Not(m_Value(X))) && (!X->hasOneUse() || !isa<CmpInst>(X))) {
H A DInstCombineCalls.cpp2267 if (match(IIOperand, m_Not(m_Or(m_Value(A), m_Value(B))))) {
H A DInstructionCombining.cpp2118 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) &&
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineAndOrXor.cpp1167 match(Op1, m_Not(m_And(m_Value(C), m_Value(D)))) &&
1173 match(Op0, m_Not(m_And(m_Value(C), m_Value(D)))) &&
1205 if (match(Op0, m_Or(m_Not(m_Specific(Op1)), m_Value(A))) ||
1206 match(Op0, m_Or(m_Value(A), m_Not(m_Specific(Op1)))))
1208 if (match(Op1, m_Or(m_Not(m_Specific(Op0)), m_Value(A))) ||
1209 match(Op1, m_Or(m_Value(A), m_Not(m_Specific(Op0)))))
1445 if (match(D, m_Not(m_SExt(m_Specific(Cond)))))
1447 if (match(D, m_SExt(m_Not(m_Specific(Cond)))))
1451 if (match(B, m_Not(m_SExt(m_Specific(Cond)))))
1453 if (match(B, m_SExt(m_Not(m_Specifi
[all...]
H A DInstCombineAddSub.cpp232 if (match(LHS, m_Not(m_Value(X)))) // ~X + C --> (C-1) - X
558 if (match(Op1, m_Not(m_Value(X))))
H A DInstCombineCasts.cpp879 match(SrcI, m_Not(m_Value(X))) &&
H A DInstructionCombining.cpp1189 if (match(&BI, m_Br(m_Not(m_Value(X)), TrueDest, FalseDest)) &&
H A DInstCombineCompares.cpp2446 if (match(Op0, m_Not(m_Value(A)))) {
2447 if (match(Op1, m_Not(m_Value(B))))
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DInstructionSimplify.cpp573 if (match(Op0, m_Not(m_Specific(Op1))) ||
574 match(Op1, m_Not(m_Specific(Op0))))
1185 if (match(Op0, m_Not(m_Specific(Op1))) ||
1186 match(Op1, m_Not(m_Specific(Op0))))
1274 if (match(Op0, m_Not(m_Specific(Op1))) ||
1275 match(Op1, m_Not(m_Specific(Op0))))
1290 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) &&
1295 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) &&
1364 if (match(Op0, m_Not(m_Specific(Op1))) ||
1365 match(Op1, m_Not(m_Specifi
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp390 if (match(Condition, m_Not(m_Value(Condition))))
398 if (I->getParent() == Parent && match(I, m_Not(m_Specific(Condition))))
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp556 if (match(Op0, m_Not(m_Specific(Op1))) ||
557 match(Op1, m_Not(m_Specific(Op0))))
1590 if (match(Op0, m_Not(m_Specific(Op1))) ||
1591 match(Op1, m_Not(m_Specific(Op0))))
1764 if (match(Op0, m_Not(m_Specific(Op1))) ||
1765 match(Op1, m_Not(m_Specific(Op0))))
1780 if (match(Op0, m_Not(m_And(m_Value(A), m_Value(B)))) &&
1785 if (match(Op1, m_Not(m_And(m_Value(A), m_Value(B)))) &&
1893 if (match(Op0, m_Not(m_Specific(Op1))) ||
1894 match(Op1, m_Not(m_Specifi
[all...]
H A DValueTracking.cpp587 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_And(m_V, m_Value(B))),
615 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Or(m_V, m_Value(B))),
646 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_c_Xor(m_V, m_Value(B))),
674 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_Shl(m_V, m_ConstantInt(C))),
698 } else if (match(Arg, m_c_ICmp(Pred, m_Not(m_CombineOr(
3825 (match(TrueVal, m_Not(m_Specific(CmpLHS))) ||
3826 match(CmpLHS, m_Not(m_Specific(TrueVal))))) {
/external/swiftshader/third_party/LLVM/include/llvm/Support/
H A DPatternMatch.h607 inline not_match<LHS> m_Not(const LHS &L) { return L; } function in namespace:llvm::PatternMatch
/external/llvm/include/llvm/IR/
H A DPatternMatch.h854 template <typename LHS> inline not_match<LHS> m_Not(const LHS &L) { return L; } function in namespace:llvm::PatternMatch

Completed in 248 milliseconds