Searched refs:m_NSWShl (Results 1 – 5 of 5) 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/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 501 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex()
|
/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 | 844 if ((IsSigned && match(LHS, m_NSWShl(m_Value(X), m_APInt(C1))) && in commonIDivTransforms()
|
/external/llvm/lib/Analysis/ |
D | InstructionSimplify.cpp | 1444 if (match(Op0, m_NSWShl(m_Value(X), m_Specific(Op1)))) in SimplifyAShrInst() 2328 } else if (match(LHS, m_NSWShl(m_ConstantInt(CI2), m_Value()))) { in SimplifyICmpInst()
|