Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1229 if (match(FV, m_Zero()) && match(TV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
1233 if (match(TV, m_Zero()) && match(FV, m_Sub(m_Value(N), m_Specific(A)))) in visitAdd()
1600 if (match(Op0, m_Sub(m_Specific(Op1), m_Value(Y)))) in visitSub()
1628 if (match(Op1, m_Sub(m_Value(Y), m_Value(Z)))) in visitSub()
DInstCombineMulDivRem.cpp244 if (match(Op0, m_Sub(m_Value(Y), m_Value(X)))) in visitMul()
898 if (match(Op0, m_Sub(m_Value(X), m_Value(Z)))) { // (X - Z) / Y; Y = Op1 in commonIDivTransforms()
DInstructionCombining.cpp1538 if (match(V, m_Sub(m_PtrToInt(m_Value(Y)), in visitGetElementPtrInst()
DInstCombineCompares.cpp2767 match(Op0, m_Sub(m_Value(A), m_Value(B)))) in visitICmpInst()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp555 if (match(Op1, m_Sub(m_Value(Y), m_Specific(Op0))) || in SimplifyAddInst()
556 match(Op0, m_Sub(m_Value(Y), m_Specific(Op1)))) in SimplifyAddInst()
735 if (MaxRecurse && match(Op1, m_Sub(m_Value(X), m_Value(Y)))) // Z - (X - Y) in SimplifySubInst()
3295 match(Ops[1], m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))))) in SimplifyGEPInst()
3302 m_AShr(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
3311 m_SDiv(m_Sub(m_Value(P), m_PtrToInt(m_Specific(Ops[0]))), in SimplifyGEPInst()
/external/llvm/include/llvm/IR/
DPatternMatch.h446 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L, in m_Sub() function