reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/InstructionSimplify.cpp
 1084         match(Op0, m_NSWShl(m_Specific(Op1), m_Value()))) ||
 1355   if (Q.IIQ.UseInstrInfo && match(Op0, m_NSWShl(m_Value(X), m_Specific(Op1))))
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
  733     if ((IsSigned && match(Op0, m_NSWShl(m_Value(X), m_APInt(C1))) &&
  793   if (IsSigned && match(Op0, m_NSWShl(m_Specific(Op1), m_Value(Y))))
lib/Transforms/InstCombine/InstCombineShifts.cpp
 1194     if (match(Op0, m_NSWShl(m_Value(X), m_APInt(ShOp1))) &&
lib/Transforms/Scalar/StraightLineStrengthReduce.cpp
  507   } else if (match(ArrayIdx, m_NSWShl(m_Value(LHS), m_ConstantInt(RHS)))) {
unittests/IR/PatternMatch.cpp
  801   EXPECT_TRUE(m_NSWShl(m_Value(MatchL), m_Value(MatchR)).match(
  835   EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R)));
  836   EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(
  838   EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateNSWAdd(L, R)));