/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 277 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 281 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 600 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub() 610 if (match(Op1, m_Sub(m_Value(Y), m_Value(Z)))) in visitSub()
|
D | InstCombineMulDivRem.cpp | 150 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul() 412 if (match(Op0, m_Sub(m_Value(X), m_Value(Z)))) { // (X - Z) / Y; Y = Op1 in commonIDivTransforms()
|
D | InstCombineCompares.cpp | 1868 match(Op0, m_Sub(m_Value(A), m_Value(B)))) { in visitICmpInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULowerKernelAttributes.cpp | 192 auto SubExpr = m_Sub(m_Specific(GridSize), in processUse()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 932 if (match(Op0, m_OneUse(m_Sub(m_Value(X), m_Value(Y)))) && in foldAddWithConstant() 1278 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 1282 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 1716 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub() 1741 if (match(Op1, m_Sub(m_Value(Y), m_Value(Z)))) in visitSub()
|
D | InstCombineMulDivRem.cpp | 202 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul() 763 if (match(Op0, m_Sub(m_Value(X), m_Value(Z)))) // (X - Z) / Y; Y = Op1 in commonIDivTransforms()
|
D | InstCombineSelect.cpp | 623 if (match(TrueVal, m_Sub(m_Specific(B), m_Specific(A)))) in canonicalizeSaturatedSubtract() 625 else if (!match(TrueVal, m_Sub(m_Specific(A), m_Specific(B)))) in canonicalizeSaturatedSubtract()
|
D | InstCombineAndOrXor.cpp | 1373 !match(Op0, m_OneUse(m_Sub(m_Constant(C), m_Specific(Op1))))) in narrowMaskedBinOp() 2531 if (match(NotVal, m_OneUse(m_Sub(m_Value(X), m_Value(Y))))) in visitXor() 2570 if (match(Op0, m_Sub(m_APInt(C), m_Value(X)))) { in visitXor()
|
D | InstCombineCasts.cpp | 523 m_OneUse(m_Sub(m_SpecificInt(NarrowWidth), m_Specific(ShAmt1))))) { in narrowRotate() 526 } else if (match(ShAmt1, m_OneUse(m_Sub(m_SpecificInt(NarrowWidth), in narrowRotate()
|
D | InstCombineCompares.cpp | 4130 if (match(U, m_Sub(m_Specific(Op1), m_Specific(Op0)))) in swapMayExposeCSEOpportunities() 4132 else if (match(U, m_Sub(m_Specific(Op0), m_Specific(Op1)))) in swapMayExposeCSEOpportunities()
|
D | InstructionCombining.cpp | 1753 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineAddSub.cpp | 1197 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 1201 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd() 1579 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub() 1607 if (match(Op1, m_Sub(m_Value(Y), m_Value(Z)))) in visitSub()
|
D | InstCombineMulDivRem.cpp | 255 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul() 922 if (match(Op0, m_Sub(m_Value(X), m_Value(Z)))) { // (X - Z) / Y; Y = Op1 in commonIDivTransforms()
|
D | InstructionCombining.cpp | 1598 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
|
D | InstCombineCompares.cpp | 3287 match(Op0, m_Sub(m_Value(A), m_Value(B)))) in visitICmpInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 593 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst() 594 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst() 796 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in SimplifySubInst() 3912 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst() 3919 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst() 3928 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst() 3949 m_Sub(m_Zero(), m_PtrToInt(m_Specific(StrippedBasePtr))))) { in SimplifyGEPInst()
|
D | ValueTracking.cpp | 4521 if ((!NeedNSW && match(X, m_Sub(m_ZeroInt(), m_Specific(Y)))) || in isKnownNegation() 4526 if ((!NeedNSW && match(Y, m_Sub(m_ZeroInt(), m_Specific(X)))) || in isKnownNegation() 4532 return (!NeedNSW && (match(X, m_Sub(m_Value(A), m_Value(B))) && in isKnownNegation() 4533 match(Y, m_Sub(m_Specific(B), m_Specific(A))))) || in isKnownNegation()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 551 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst() 552 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst() 733 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in SimplifySubInst() 3563 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst() 3570 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst() 3579 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | InstructionSimplify.cpp | 568 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst() 569 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst() 692 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in SimplifySubInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 1173 match(I, m_Sub(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS))))) { in reuniteExts()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 1124 match(I, m_Sub(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS))))) { in reuniteExts()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 651 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L, in m_Sub() function 1685 return m_Sub(m_ZeroInt(), V);
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 304 m_Sub(const LHS &L, const RHS &R) { in m_Sub() function
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 446 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L, in m_Sub() function
|