/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1179 if (match(Op0, m_OneUse(m_Xor(m_ZExt(m_Value(A)), m_ConstantInt(C1)))) && in matchDeMorgansLaws() 1180 match(Op1, m_OneUse(m_Xor(m_ZExt(m_Value(B)), m_Specific(C1))))) { in matchDeMorgansLaws() 1459 if (match(Op0, m_OneUse(m_Xor(m_Value(A), m_Value(B))))) { in visitAnd() 1467 if (match(tmpOp1, m_OneUse(m_Xor(m_Value(A), m_Value(B))))) { in visitAnd() 1489 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) in visitAnd() 1490 if (match(Op1, m_Xor(m_Xor(m_Specific(B), m_Value(C)), m_Specific(A)))) in visitAnd() 1495 if (match(Op0, m_Xor(m_Xor(m_Value(A), m_Value(C)), m_Value(B)))) in visitAnd() 1496 if (match(Op1, m_Xor(m_Specific(B), m_Specific(A)))) 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 | InstCombineAddSub.cpp | 992 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 995 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand() 1015 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 1021 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 1062 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd() 1245 if (match(RHS, m_Xor(m_Value(A), m_Value(B))) && in visitAdd() 1250 if (match(LHS, m_Xor(m_Value(A), m_Value(B))) && in visitAdd() 1586 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in visitSub()
|
D | InstCombineSelect.cpp | 583 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in visitSelectInstWithICmp() 587 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in visitSelectInstWithICmp() 591 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in visitSelectInstWithICmp() 595 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in visitSelectInstWithICmp()
|
D | InstCombineCompares.cpp | 4135 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) { in visitICmpInst() 4142 if (match(Op1, m_Xor(m_Value(C), m_Value(D)))) { in visitICmpInst() 4160 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in visitICmpInst()
|
D | InstCombineCasts.cpp | 948 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1182 match(Op0, m_Xor(m_Value(A), m_Value(B)))) { in visitAnd() 1191 match(tmpOp1, m_Xor(m_Value(A), m_Value(B)))) { in visitAnd() 1784 if (match(Op0, m_Xor(m_Value(X), m_ConstantInt(C1))) && in visitOr() 1818 match(Op0, m_Xor(m_Value(A), m_ConstantInt(C1))) && in visitOr() 1827 match(Op1, m_Xor(m_Value(A), m_ConstantInt(C1))) && in visitOr() 1965 if (match(Op0, m_Xor(m_Value(), m_Value()))) in visitOr() 1970 if (match(Op1, m_Xor(m_Value(A), m_Value(B)))) { in visitOr()
|
D | InstCombineAddSub.cpp | 115 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd()
|
D | InstCombineCompares.cpp | 2473 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) { in visitICmpInst() 2480 if (match(Op1, m_Xor(m_Value(C), m_Value(D)))) { in visitICmpInst() 2499 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in visitICmpInst()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 518 inline BinaryOp_match<LHS, RHS, Instruction::Xor> m_Xor(const LHS &L, in m_Xor() function 1349 return m_CombineOr(m_Xor(L, R), m_Xor(R, L));
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 376 m_Xor(const LHS &L, const RHS &R) { in m_Xor() function
|