Home
last modified time | relevance | path

Searched refs:m_Xor (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp1233 if (match(Op0, m_OneUse(m_Xor(m_ZExt(m_Value(A)), m_ConstantInt(C1)))) && in matchDeMorgansLaws()
1234 match(Op1, m_OneUse(m_Xor(m_ZExt(m_Value(B)), m_Specific(C1))))) { in matchDeMorgansLaws()
1402 match(Op0, m_Xor(m_Value(A), m_Value(B)))) { in visitAnd()
1411 match(tmpOp1, m_Xor(m_Value(A), m_Value(B)))) { in visitAnd()
1433 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) in visitAnd()
1434 if (match(Op1, m_Xor(m_Xor(m_Specific(B), m_Value(C)), m_Specific(A)))) in visitAnd()
1439 if (match(Op0, m_Xor(m_Xor(m_Value(A), m_Value(C)), m_Value(B)))) in visitAnd()
1440 if (match(Op1, m_Xor(m_Specific(B), m_Specific(A)))) in visitAnd()
1446 match(Op1, m_Xor(m_Not(m_Specific(A)), m_Specific(B)))) in visitAnd()
1450 if (match(Op0, m_Xor(m_Not(m_Value(A)), m_Value(B))) && in visitAnd()
[all …]
DInstCombineAddSub.cpp1012 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
1015 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand()
1035 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
1041 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand()
1082 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd()
1265 if (match(RHS, m_Xor(m_Value(A), m_Value(B))) && in visitAdd()
1270 if (match(LHS, m_Xor(m_Value(A), m_Value(B))) && in visitAdd()
1606 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in visitSub()
DInstCombineSelect.cpp572 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in visitSelectInstWithICmp()
576 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in visitSelectInstWithICmp()
580 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in visitSelectInstWithICmp()
584 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in visitSelectInstWithICmp()
DInstCombineCompares.cpp3676 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) { in visitICmpInst()
3683 if (match(Op1, m_Xor(m_Value(C), m_Value(D)))) { in visitICmpInst()
3701 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in visitICmpInst()
DInstCombineCasts.cpp948 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
/external/llvm/include/llvm/IR/
DPatternMatch.h518 inline BinaryOp_match<LHS, RHS, Instruction::Xor> m_Xor(const LHS &L, in m_Xor() function
/external/llvm/lib/Analysis/
DValueTracking.cpp539 return m_CombineOr(m_Xor(L, R), m_Xor(R, L)); in m_c_Xor()