Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1217 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
1221 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
1599 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub()
1627 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()
908 if (match(Op0, m_Sub(m_Value(X), m_Value(Z)))) { // (X - Z) / Y; Y = Op1 in commonIDivTransforms()
DInstructionCombining.cpp1602 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
DInstCombineCompares.cpp2861 match(Op0, m_Sub(m_Value(A), m_Value(B)))) in visitICmpInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp554 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst()
555 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst()
734 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in SimplifySubInst()
3503 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst()
3510 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
3519 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp1124 match(I, m_Sub(m_SExt(m_Value(LHS)), m_SExt(m_Value(RHS))))) { in reuniteExts()
/external/llvm/include/llvm/IR/
DPatternMatch.h446 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L, in m_Sub() function