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

References

include/llvm/IR/PatternMatch.h
 1922     auto LHS = m_AShr(m_Value(OpL), m_SpecificInt(ShiftWidth));
 1923     auto RHS = m_LShr(m_Neg(m_Value(OpR)), m_SpecificInt(ShiftWidth));
lib/Analysis/InstructionSimplify.cpp
 4056                          m_SpecificInt(TyAllocSize))))
lib/CodeGen/CodeGenPrepare.cpp
 6703                                    m_SpecificInt(HalfValBitSize))))))
lib/Target/ARM/MVETailPredication.cpp
  277   if (!match(InLoop, m_Add(m_Instruction(LHS), m_SpecificInt(Lanes))))
lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
   80     auto Sub = m_Sub(m_SpecificInt(Width), m_Value(R1));
  291     if (match(MulOp0, m_And(m_c_Add(m_LShr(m_Value(ShiftOp0), m_SpecificInt(4)),
  298                         m_And(m_LShr(m_Deferred(AndOp0), m_SpecificInt(2)),
  303             match(SubOp1, m_And(m_LShr(m_Specific(Root), m_SpecificInt(1)),
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1036                          m_SpecificInt(2))) &&
 1044                          m_SpecificInt(1))) &&
 2059     if (match(L, m_And(m_Value(X), m_SpecificInt(Mask))) &&
 2060         match(R, m_And(m_Neg(m_Specific(X)), m_SpecificInt(Mask))))
 2065     if (match(L, m_ZExt(m_And(m_Value(X), m_SpecificInt(Mask)))) &&
 2066         match(R, m_And(m_Neg(m_ZExt(m_And(m_Specific(X), m_SpecificInt(Mask)))),
 2067                        m_SpecificInt(Mask))))
lib/Transforms/InstCombine/InstCombineCalls.cpp
 1988       if (Op0 == Op1 && BitWidth == 16 && match(ShAmtC, m_SpecificInt(8))) {
lib/Transforms/InstCombine/InstCombineCasts.cpp
  528     if (match(R, m_OneUse(m_Sub(m_SpecificInt(Width), m_Specific(L)))))
  535     if (match(L, m_And(m_Value(X), m_SpecificInt(Mask))) &&
  536         match(R, m_And(m_Neg(m_Specific(X)), m_SpecificInt(Mask))))
  540     if (match(L, m_ZExt(m_And(m_Value(X), m_SpecificInt(Mask)))) &&
  541         match(R, m_ZExt(m_And(m_Neg(m_Specific(X)), m_SpecificInt(Mask)))))
lib/Transforms/InstCombine/InstCombineSelect.cpp
  814              m_Xor(m_Deferred(TrueVal), m_SpecificInt(BitWidth - 1))))
  874   if (match(ValueOnZero, m_SpecificInt(SizeOfInBits))) {
 2167   if (match(SA1, m_OneUse(m_Sub(m_SpecificInt(Width), m_Specific(SA0)))))
 2169   else if (match(SA0, m_OneUse(m_Sub(m_SpecificInt(Width), m_Specific(SA1)))))
lib/Transforms/InstCombine/InstCombineShifts.cpp
  960       match(Op1, m_Sub(m_SpecificInt(BitWidth - 1), m_Value(X))))
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  866   if (!match(Scalar, m_ExtractElement(m_Specific(X), m_SpecificInt(IdxC))))
unittests/IR/PatternMatch.cpp
  883   EXPECT_TRUE(m_Store(m_SpecificInt(42), m_Specific(Alloca))
  885   EXPECT_FALSE(m_Store(m_SpecificInt(42), m_Specific(FourtyTwo))
  887   EXPECT_FALSE(m_Store(m_SpecificInt(43), m_Specific(Alloca))
  948       match(VI1, m_InsertElement(m_Undef(), m_SpecificInt(1), m_Zero())));
  981       m_ShuffleVector(m_InsertElement(m_Undef(), m_SpecificInt(1), m_Zero()),
  991       m_ShuffleVector(m_InsertElement(m_Undef(), m_SpecificInt(2), m_Zero()),