Home
last modified time | relevance | path

Searched refs:m_NSWShl (Results 1 – 11 of 11) 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/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DPatternMatch.cpp339 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/
DStraightLineStrengthReduce.cpp508 } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) { in factorArrayIndex()
/external/llvm/lib/Transforms/Scalar/
DStraightLineStrengthReduce.cpp472 } 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/
DInstCombineMulDivRem.cpp710 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()
DInstCombineShifts.cpp852 if (match(Op0, m_NSWShl(m_Value(X), m_APInt(ShOp1))) && in visitAShr()
/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.cpp858 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/
DPatternMatch.h805 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInstructionSimplify.cpp1098 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()