Searched refs:m_NSWSub (Results 1 – 10 of 10) 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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | PatternMatch.cpp | 330 m_NSWSub(m_Value(MatchL), m_Value(MatchR)).match(IRB.CreateNSWSub(L, R))); in TEST_F() 367 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateSub(L, R))); in TEST_F() 368 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNUWSub(L, R))); in TEST_F() 369 EXPECT_FALSE(m_NSWSub(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 297 match(Op0, m_NSWSub(m_Value(), m_Value())) && in visitMul() 298 match(Op1, m_NSWSub(m_Value(), m_Value()))) in visitMul() 1179 if (match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
|
D | InstCombineCompares.cpp | 3292 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst() 3297 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst() 3302 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst() 3307 match(Op0, m_NSWSub(m_Value(A), m_Value(B)))) in visitICmpInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 4468 match(FalseVal, m_NSWSub(m_Specific(CmpLHS), m_Specific(CmpRHS)))) in matchMinMax() 4475 match(TrueVal, m_NSWSub(m_Specific(CmpLHS), m_Specific(CmpRHS)))) in matchMinMax() 4522 (NeedNSW && match(X, m_NSWSub(m_ZeroInt(), m_Specific(Y))))) in isKnownNegation() 4527 (NeedNSW && match(Y, m_NSWSub(m_ZeroInt(), m_Specific(X))))) in isKnownNegation() 4534 (NeedNSW && (match(X, m_NSWSub(m_Value(A), m_Value(B))) && in isKnownNegation() 4535 match(Y, m_NSWSub(m_Specific(B), m_Specific(A))))); in isKnownNegation()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 1189 match(I, m_NSWSub(m_Value(LHS), m_Value(RHS)))) { in reuniteExts()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SeparateConstOffsetFromGEP.cpp | 1140 match(I, m_NSWSub(m_Value(LHS), m_Value(RHS)))) { in reuniteExts()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 577 m_NSWSub(const LHS &L, const RHS &R) { in m_NSWSub() function
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 1078 if (match(Op0, m_NSWSub(m_Zero(), m_Value(X)))) { in visitSDiv()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 789 m_NSWSub(const LHS &L, const RHS &R) { in m_NSWSub() function
|