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

References

include/llvm/IR/PatternMatch.h
   47 template <typename Val, typename Pattern> bool match(Val *V, const Pattern &P) {
  112   LTy L;
  113   RTy R;
  115   match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {}
  115   match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {}
  127   LTy L;
  130   match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {}
  142 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) {
  142 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) {
  142 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) {
  142 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) {
  148 inline match_combine_and<LTy, RTy> m_CombineAnd(const LTy &L, const RTy &R) {
  148 inline match_combine_and<LTy, RTy> m_CombineAnd(const LTy &L, const RTy &R) {
  403 inline is_zero m_Zero() {
  735   LHS_t L;
  736   RHS_t R;
  740   BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {}
  740   BinaryOp_match(const LHS_t &LHS, const RHS_t &RHS) : L(LHS), R(RHS) {}
  759 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L,
  759 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L,
  759 inline BinaryOp_match<LHS, RHS, Instruction::Add> m_Add(const LHS &L,
  760                                                         const RHS &R) {
  771 inline BinaryOp_match<LHS, RHS, Instruction::Sub> m_Sub(const LHS &L,
  912   LHS_t L;
  915   OverflowingBinaryOp_match(const LHS_t &LHS, const RHS_t &RHS)
  943 inline OverflowingBinaryOp_match<LHS, RHS, Instruction::Sub,
  945 m_NSWSub(const LHS &L, const RHS &R) {
 1124   LHS_t L;
 1125   RHS_t R;
 1129   CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS)
 1129   CmpClass_match(PredicateTy &Pred, const LHS_t &LHS, const RHS_t &RHS)
 1151 inline CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate>
 1151 inline CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate>
 1152 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) {
 1152 m_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) {
 1202   T2 Op3;
 1204   ThreeOps_match(const T0 &Op1, const T1 &Op2, const T2 &Op3)
 1235 inline ThreeOps_match<Val_t, Elt_t, Idx_t, Instruction::InsertElement>
 1236 m_InsertElement(const Val_t &Val, const Elt_t &Elt, const Idx_t &Idx) {
 1250 inline ThreeOps_match<V1_t, V2_t, Mask_t, Instruction::ShuffleVector>
 1251 m_ShuffleVector(const V1_t &v1, const V2_t &v2, const Mask_t &m) {
 1806 inline CmpClass_match<LHS, RHS, ICmpInst, ICmpInst::Predicate, true>
 1807 m_c_ICmp(ICmpInst::Predicate &Pred, const LHS &L, const RHS &R) {
 1814 inline BinaryOp_match<LHS, RHS, Instruction::Add, true> m_c_Add(const LHS &L,
 1814 inline BinaryOp_match<LHS, RHS, Instruction::Add, true> m_c_Add(const LHS &L,
 1814 inline BinaryOp_match<LHS, RHS, Instruction::Add, true> m_c_Add(const LHS &L,
 1815                                                                 const RHS &R) {