Searched refs:m_NSWShl (Results 1 – 11 of 11) sorted by relevance
/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 244 EXPECT_TRUE(m_NSWShl(m_Value(MatchL), m_Value(MatchR)).match( in TEST_F() 278 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R))); in TEST_F() 279 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match( in TEST_F() 281 EXPECT_FALSE(m_NSWShl(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 | 339 EXPECT_TRUE(m_NSWShl(m_Value(MatchL), m_Value(MatchR)).match( in TEST_F() 373 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R))); in TEST_F() 374 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match( in TEST_F() 376 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R))); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 508 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 472 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 710 if ((IsSigned && match(Op0, m_NSWShl(m_Value(X), m_APInt(C1))) && in commonIDivTransforms() 770 if (IsSigned && match(Op0, m_NSWShl(m_Specific(Op1), m_Value(Y)))) in commonIDivTransforms()
|
D | InstCombineShifts.cpp | 852 if (match(Op0, m_NSWShl(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 593 m_NSWShl(const LHS &L, const RHS &R) { in m_NSWShl() function
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 858 if ((IsSigned && match(LHS, m_NSWShl(m_Value(X), m_APInt(C1))) && in commonIDivTransforms()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 805 m_NSWShl(const LHS &L, const RHS &R) { in m_NSWShl() function
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1439 if (match(Op0, m_NSWShl(m_Value(X), m_Specific(Op1)))) in SimplifyAShrInst() 2354 } else if (match(LHS, m_NSWShl(m_ConstantInt(CI2), m_Value()))) { in SimplifyICmpInst()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1098 match(Op0, m_NSWShl(m_Specific(Op1), m_Value()))) || in simplifyRem() 1368 if (match(Op0, m_NSWShl(m_Value(X), m_Specific(Op1)))) in SimplifyAShrInst()
|