MLIR  21.0.0git
Public Types | Public Member Functions | List of all members
mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor Class Reference

#include "mlir/Query/Matcher/Marshallers.h"

+ Inheritance diagram for mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor:

Public Types

using VarOp = DynMatcher::VariadicOperator
 

Public Member Functions

 VariadicOperatorMatcherDescriptor (unsigned minCount, unsigned maxCount, VarOp varOp, StringRef matcherName)
 
VariantMatcher create (SourceRange nameRange, ArrayRef< ParserValue > args, Diagnostics *error) const override
 
bool isVariadic () const override
 
unsigned getNumArgs () const override
 
void getArgKinds (unsigned argNo, std::vector< ArgKind > &kinds) const override
 
- Public Member Functions inherited from mlir::query::matcher::internal::MatcherDescriptor
virtual ~MatcherDescriptor ()=default
 

Detailed Description

Definition at line 161 of file Marshallers.h.

Member Typedef Documentation

◆ VarOp

Definition at line 163 of file Marshallers.h.

Constructor & Destructor Documentation

◆ VariadicOperatorMatcherDescriptor()

mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor::VariadicOperatorMatcherDescriptor ( unsigned  minCount,
unsigned  maxCount,
VarOp  varOp,
StringRef  matcherName 
)
inline

Definition at line 164 of file Marshallers.h.

Member Function Documentation

◆ create()

VariantMatcher mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor::create ( SourceRange  nameRange,
ArrayRef< ParserValue args,
Diagnostics error 
) const
inlineoverridevirtual

◆ getArgKinds()

void mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor::getArgKinds ( unsigned  argNo,
std::vector< ArgKind > &  kinds 
) const
inlineoverridevirtual

◆ getNumArgs()

unsigned mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor::getNumArgs ( ) const
inlineoverridevirtual

Implements mlir::query::matcher::internal::MatcherDescriptor.

Definition at line 196 of file Marshallers.h.

◆ isVariadic()

bool mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor::isVariadic ( ) const
inlineoverridevirtual

Implements mlir::query::matcher::internal::MatcherDescriptor.

Definition at line 194 of file Marshallers.h.


The documentation for this class was generated from the following file: