Searched refs:m_NSWSub (Results 1 – 4 of 4) sorted by relevance
/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 235 m_NSWSub(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWSub(L, R))); in TEST_F() 272 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateSub(L, R))); in TEST_F() 273 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNUWSub(L, R))); in TEST_F() 274 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 286 match(Op0, m_NSWSub(m_Value(), m_Value())) && in visitMul() 287 match(Op1, m_NSWSub(m_Value(), m_Value()))) in visitMul() 1139 if (match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
|
D | InstCombineCompares.cpp | 2772 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst() 2777 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst() 2782 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst() 2787 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 577 m_NSWSub(const LHS &L, const RHS &R) { in m_NSWSub() function
|