Home
last modified time | relevance | path

Searched refs:m_Sub (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp277 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()
DInstCombineMulDivRem.cpp150 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()
DInstCombineCompares.cpp1868 match(Op0, m_Sub(m_Value(A), m_Value(B)))) { in visitICmpInst()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1197 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()
DInstCombineMulDivRem.cpp255 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()
DInstructionCombining.cpp1598 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
DInstCombineCompares.cpp3287 match(Op0, m_Sub(m_Value(A), m_Value(B)))) in visitICmpInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp551 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/
DInstructionSimplify.cpp568 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/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp1124 match(I, m_Sub(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS))))) { in reuniteExts()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h304 m_Sub(const LHS &L, const RHS &R) { in m_Sub() function
/external/llvm/include/llvm/IR/
DPatternMatch.h446 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L, in m_Sub() function