Home
last modified time | relevance | path

Searched refs:m_NSWSub (Results 1 – 5 of 5) sorted by relevance

/external/llvm/unittests/IR/
DPatternMatch.cpp235 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/
DInstCombineMulDivRem.cpp297 match(Op0, m_NSWSub(m_Value(), m_Value())) && in visitMul()
298 match(Op1, m_NSWSub(m_Value(), m_Value()))) in visitMul()
1149 if (match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
DInstCombineCompares.cpp2866 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst()
2871 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst()
2876 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst()
2881 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst()
/external/llvm/lib/Transforms/Scalar/
DSeparateConstOffsetFromGEP.cpp1140 match(I, m_NSWSub(m_Value(LHS), m_Value(RHS)))) { in reuniteExts()
/external/llvm/include/llvm/IR/
DPatternMatch.h577 m_NSWSub(const LHS &L, const RHS &R) { in m_NSWSub() function