Home
last modified time | relevance | path

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

/external/llvm/include/llvm/IR/
DPatternMatch.h877 template <typename LHS> inline neg_match<LHS> m_Neg(const LHS &L) { return L; } in m_Neg() function
1298 auto RHS = m_LShr(m_Neg(m_Value(OpR)), m_SpecificInt(ShiftWidth));
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAddSub.cpp1651 if (match(Op1, m_Mul(m_Value(A), m_Neg(m_Value(B)))) || in visitSub()
1652 match(Op1, m_Mul(m_Neg(m_Value(A)), m_Value(B)))) in visitSub()
DInstructionCombining.cpp1593 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
DInstCombineCompares.cpp3506 if (match(BO0, m_Neg(m_Value(X)))) in visitICmpInst()
/external/llvm/lib/Analysis/
DValueTracking.cpp1764 if (match(X, m_Neg(m_Specific(Y))) || match(Y, m_Neg(m_Specific(X)))) in isKnownToBeAPowerOfTwo()
3956 if ((CmpLHS == TrueVal && match(FalseVal, m_Neg(m_Specific(CmpLHS)))) || in matchSelectPattern()
3957 (CmpLHS == FalseVal && match(TrueVal, m_Neg(m_Specific(CmpLHS))))) { in matchSelectPattern()
DInstructionSimplify.cpp1605 if (match(Op0, m_Neg(m_Specific(Op1))) || in SimplifyAndInst()
1606 match(Op1, m_Neg(m_Specific(Op0)))) { in SimplifyAndInst()
2688 if (!CmpInst::isUnsigned(Pred) && match(LHS, m_Neg(m_ZExt(m_Value())))) { in SimplifyICmpInst()