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