Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DPatternMatch.cpp244 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/
DStraightLineStrengthReduce.cpp501 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex()
/external/llvm/include/llvm/IR/
DPatternMatch.h593 m_NSWShl(const LHS &L, const RHS &R) { in m_NSWShl() function
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp844 if ((IsSigned && match(LHS, m_NSWShl(m_Value(X), m_APInt(C1))) && in commonIDivTransforms()
/external/llvm/lib/Analysis/
DInstructionSimplify.cpp1444 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()