Searched refs:m_NSWSub (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineShifts.cpp | 1457 if (match(Op0, m_OneUse(m_NSWSub(m_Value(X), m_Value(Y))))) in visitLShr() 1740 if (match(Op0, m_OneUse(m_NSWSub(m_Value(X), m_Value(Y))))) in visitAShr()
|
H A D | InstCombineCalls.cpp | 1052 if (match(Op, m_NSWSub(m_Value(X), m_Value(Y)))) in getKnownSign() 1064 if (match(Op, m_NSWSub(m_Value(X), m_Value(Y)))) in getKnownSignOrZero()
|
H A D | InstCombineAddSub.cpp | 2103 match(X, m_NSWSub(m_Specific(Op0), m_Value(Z)))) { in foldSubOfMinMax()
|
H A D | InstCombineAndOrXor.cpp | 3847 m_NSWSub(m_Value(Y), m_Value(X)), in visitOr()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | SeparateConstOffsetFromGEP.cpp | 1267 } else if (match(I, m_NSWSub(m_Value(LHS), m_Value(RHS)))) { in reuniteExts()
|
H A D | LICM.cpp | 2592 if (!match(VariantLHS, m_NSWSub(m_Value(VariantOp), m_Value(InvariantOp)))) in hoistSub()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | PatternMatch.h | 1279 m_NSWSub(const LHS &L, const RHS &R) { in m_NSWSub() function 2743 return m_NSWSub(m_ZeroInt(), V);
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ValueTracking.cpp | 7142 match(RHS, m_NSWSub(m_Specific(LHS), m_Value()))) in computeOverflowForSignedSub() 8374 (NeedNSW && (match(X, m_NSWSub(m_Value(A), m_Value(B))) && in isKnownNegation() 8375 match(Y, m_NSWSub(m_Specific(B), m_Specific(A))))); in isKnownNegation()
|