/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-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1443 if (match(Op0, m_OneUse(m_Xor(m_Value(X), m_APInt(XorC))))) { in visitAnd() 1468 if (match(Op0, m_OneUse(m_Xor(m_Value(X), m_Value(Y)))) || in visitAnd() 1562 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) in visitAnd() 1563 if (match(Op1, m_Xor(m_Xor(m_Specific(B), m_Value(C)), m_Specific(A)))) in visitAnd() 1568 if (match(Op0, m_Xor(m_Xor(m_Value(A), m_Value(C)), m_Value(B)))) in visitAnd() 1569 if (match(Op1, m_Xor(m_Specific(B), m_Specific(A)))) in visitAnd() 1739 if (match(A, (m_Xor(m_SExt(m_Value(Cond)), m_Constant(AC)))) && in getSelectCondition() 1740 match(B, (m_Xor(m_SExt(m_Specific(Cond)), m_Constant(BC)))) && in getSelectCondition() 2041 if (match(Op0, m_OneUse(m_Xor(m_Value(A), m_APInt(C)))) && in visitOr() 2050 if (match(Op1, m_OneUse(m_Xor(m_Value(A), m_APInt(C)))) && in visitOr() [all …]
|
D | InstCombineAddSub.cpp | 882 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 885 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand() 905 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 911 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 964 if (match(Op0, m_ZExt(m_Xor(m_Value(X), m_APInt(C2)))) && in foldAddWithConstant() 1154 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd() 1362 if (match(&I, m_c_BinOp(m_Xor(m_Value(A), m_Value(B)), in visitAdd() 1723 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in visitSub()
|
D | InstCombineSelect.cpp | 973 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in foldSelectInstWithICmp() 977 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in foldSelectInstWithICmp() 981 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in foldSelectInstWithICmp() 985 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in foldSelectInstWithICmp()
|
D | InstCombineCompares.cpp | 1769 if (match(Or->getOperand(0), m_OneUse(m_Xor(m_Value(X1), m_Value(X2)))) && in foldICmpOrConstant() 1770 match(Or->getOperand(1), m_OneUse(m_Xor(m_Value(X3), m_Value(X4))))) { in foldICmpOrConstant() 3471 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) { in foldICmpEquality() 3477 if (match(Op1, m_Xor(m_Value(C), m_Value(D)))) { in foldICmpEquality() 3499 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && (A == Op0 || B == Op0)) { in foldICmpEquality()
|
D | InstCombineCasts.cpp | 1179 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
|
D | InstCombineCalls.cpp | 3173 match(DataArg, m_Xor(m_Value(Data), m_Value(Key)))) { in visitCallInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonLoopIdiomRecognition.cpp | 731 if (match(ShouldXoredV, m_Xor(m_Value(Y), m_Value(Z)))) { in matchLeftShift() 756 if (!match(U, m_Xor(m_Specific(SelI), m_Value(R))) && in matchLeftShift() 757 !match(U, m_Xor(m_Value(R), m_Specific(SelI)))) in matchLeftShift() 831 if (!match(FalseV, m_Xor(m_Specific(TrueV), m_Value(Q))) && in matchRightShift() 832 !match(FalseV, m_Xor(m_Value(Q), m_Specific(TrueV)))) in matchRightShift() 842 if (!match(TrueV, m_Xor(m_Specific(FalseV), m_Value(Q))) && in matchRightShift() 843 !match(TrueV, m_Xor(m_Value(Q), m_Specific(FalseV)))) in matchRightShift() 924 if (!match(PV.X, m_Xor(m_Value(X1), m_Value(X2)))) in scanSelect()
|
/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
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 607 match(Op0, m_Xor(m_Value(Y), m_SignMask()))) in SimplifyAddInst() 1951 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in SimplifyOrInst() 1961 if (match(Op0, m_Xor(m_Value(A), m_Value(B))) && in SimplifyOrInst() 3955 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes()))) { in SimplifyGEPInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 730 inline BinaryOp_match<LHS, RHS, Instruction::Xor> m_Xor(const LHS &L, in m_Xor() function
|