/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAndOrXor.cpp | 1763 if (match(Op0, m_OneUse(m_Xor(m_Value(X), m_APInt(XorC))))) { in visitAnd() 1788 if (match(Op0, m_OneUse(m_Xor(m_Value(X), m_Value(Y)))) || in visitAnd() 1886 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) in visitAnd() 1887 if (match(Op1, m_Xor(m_Xor(m_Specific(B), m_Value(C)), m_Specific(A)))) in visitAnd() 1892 if (match(Op0, m_Xor(m_Xor(m_Value(A), m_Value(C)), m_Value(B)))) in visitAnd() 1893 if (match(Op1, m_Xor(m_Specific(B), m_Specific(A)))) in visitAnd() 2154 if (match(A, (m_Xor(m_SExt(m_Value(Cond)), m_Constant(AConst)))) && in getSelectCondition() 2155 match(B, (m_Xor(m_SExt(m_Specific(Cond)), m_Constant(BConst)))) && in getSelectCondition() 2486 if (match(&I, m_c_Or(m_OneUse(m_Xor(m_Value(X), m_APInt(CV))), m_Value(Y))) && in visitOr() 2579 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) in visitOr() [all …]
|
D | InstCombineAddSub.cpp | 787 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 790 if (match(X, m_Xor(m_Value(Y), m_APInt(C1)))) { in checkForNegativeOperand() 810 if (match(RHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 816 if (match(LHS, m_Xor(m_Value(Y), m_APInt(C1)))) in checkForNegativeOperand() 925 if (match(Op0, m_ZExt(m_Xor(m_Value(X), m_APInt(C2)))) && in foldAddWithConstant() 1233 if (match(LHS, m_Xor(m_Value(XorLHS), m_ConstantInt(XorRHS)))) { in visitAdd() 1375 if (match(&I, m_c_BinOp(m_Xor(m_Value(A), m_Value(B)), in visitAdd() 1869 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in visitSub() 1877 if (match(Op0, m_Xor(m_Value(A), m_Value(B))) && in visitSub()
|
D | InstCombineSelect.cpp | 822 m_Xor(m_Deferred(TrueVal), m_SpecificInt(BitWidth - 1)))) in foldSelectCtlzToCttz() 1468 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in foldSelectInstWithICmp() 1472 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in foldSelectInstWithICmp() 1476 match(TrueVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in foldSelectInstWithICmp() 1480 match(FalseVal, m_Xor(m_Specific(X), m_APInt(C))) && *Y == *C) in foldSelectInstWithICmp()
|
D | InstCombineCompares.cpp | 1926 if (match(OrOp0, m_OneUse(m_Xor(m_Value(X1), m_Value(X2)))) && in foldICmpOrConstant() 1927 match(OrOp1, m_OneUse(m_Xor(m_Value(X3), m_Value(X4))))) { in foldICmpOrConstant() 4163 if (match(Op0, m_Xor(m_Value(A), m_Value(B)))) { in foldICmpEquality() 4169 if (match(Op1, m_Xor(m_Value(C), m_Value(D)))) { in foldICmpEquality() 4191 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && (A == Op0 || B == Op0)) { in foldICmpEquality()
|
D | InstCombineShifts.cpp | 208 auto MaskB = m_Xor(m_Shl(m_AllOnes(), m_Value(MaskShAmt)), m_AllOnes()); in dropRedundantMaskingOfLeftShiftInput()
|
D | InstCombineCalls.cpp | 3397 match(DataArg, m_Xor(m_Value(Data), m_Value(Key)))) { in visitCallInst() 3412 m_Xor(m_Intrinsic<Intrinsic::arm_mve_pred_v2i>(m_Value(ArgArg)), in visitCallInst()
|
D | InstCombineCasts.cpp | 1216 if (SrcI && match(SrcI, m_OneUse(m_Xor(m_Value(And), m_Constant(C)))) && in visitZExt()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonLoopIdiomRecognition.cpp | 732 if (match(ShouldXoredV, m_Xor(m_Value(Y), m_Value(Z)))) { in matchLeftShift() 757 if (!match(U, m_Xor(m_Specific(SelI), m_Value(R))) && in matchLeftShift() 758 !match(U, m_Xor(m_Value(R), m_Specific(SelI)))) in matchLeftShift() 832 if (!match(FalseV, m_Xor(m_Specific(TrueV), m_Value(Q))) && in matchRightShift() 833 !match(FalseV, m_Xor(m_Value(Q), m_Specific(TrueV)))) in matchRightShift() 843 if (!match(TrueV, m_Xor(m_Specific(FalseV), m_Value(Q))) && in matchRightShift() 844 !match(TrueV, m_Xor(m_Value(Q), m_Specific(FalseV)))) in matchRightShift() 925 if (!match(PV.X, m_Xor(m_Value(X1), m_Value(X2)))) in scanSelect()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 652 match(Op0, m_Xor(m_Value(Y), m_SignMask()))) in SimplifyAddInst() 2142 if (match(Op1, m_Xor(m_Value(A), m_Value(B))) && in SimplifyOrInst() 2152 if (match(Op0, m_Xor(m_Value(A), m_Value(B))) && in SimplifyOrInst() 4135 m_Xor(m_PtrToInt(m_Specific(StrippedBasePtr)), m_AllOnes()))) { in SimplifyGEPInst()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 911 inline BinaryOp_match<LHS, RHS, Instruction::Xor> m_Xor(const LHS &L, in m_Xor() function
|