Searched refs:m_Neg (Results 1 – 6 of 6) sorted by relevance
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 877 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/ |
D | InstCombineAddSub.cpp | 1651 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()
|
D | InstructionCombining.cpp | 1593 if (match(V, m_Neg(m_PtrToInt(m_Value())))) { in visitGetElementPtrInst()
|
D | InstCombineCompares.cpp | 3506 if (match(BO0, m_Neg(m_Value(X)))) in visitICmpInst()
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1764 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()
|
D | InstructionSimplify.cpp | 1605 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()
|