Searched refs:m_NSWAdd (Results 1 – 4 of 4) sorted by relevance
/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 230 m_NSWAdd(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWAdd(L, R))); in TEST_F() 269 EXPECT_FALSE(m_NSWAdd(m_Value(), m_Value()).match(IRB.CreateAdd(L, R))); in TEST_F() 270 EXPECT_FALSE(m_NSWAdd(m_Value(), m_Value()).match(IRB.CreateNUWAdd(L, R))); in TEST_F() 271 EXPECT_FALSE(m_NSWAdd(m_Value(), m_Value()).match(IRB.CreateNSWSub(L, R))); in TEST_F()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 1139 if (match(I, m_NSWAdd(m_Value(LHS), m_Value(RHS))) || in reuniteExts()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 569 m_NSWAdd(const LHS &L, const RHS &R) { in m_NSWAdd() function
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 2059 if ((match(Induction, m_NSWAdd(m_Specific(PN), m_ConstantInt(X))) || in isKnownNonZero() 4120 if (match(RHS, m_NSWAdd(m_Specific(LHS), m_APInt(C)))) in isTruePredicate()
|