MLIR
21.0.0git
|
#include "mlir/Query/Matcher/Marshallers.h"
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 |
![]() | |
virtual | ~MatcherDescriptor ()=default |
Definition at line 161 of file Marshallers.h.
using mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor::VarOp = DynMatcher::VariadicOperator |
Definition at line 163 of file Marshallers.h.
|
inline |
Definition at line 164 of file Marshallers.h.
|
inlineoverridevirtual |
Implements mlir::query::matcher::internal::MatcherDescriptor.
Definition at line 169 of file Marshallers.h.
References mlir::query::matcher::internal::addError(), mlir::query::matcher::VariantValue::getMatcher(), mlir::query::matcher::VariantValue::isMatcher(), mlir::query::matcher::ParserValue::range, mlir::query::matcher::internal::RegistryWrongArgCount, mlir::query::matcher::internal::RegistryWrongArgType, mlir::query::matcher::ParserValue::value, and mlir::query::matcher::VariantMatcher::VariadicOperatorMatcher().
|
inlineoverridevirtual |
Implements mlir::query::matcher::internal::MatcherDescriptor.
Definition at line 198 of file Marshallers.h.
References mlir::query::matcher::Matcher.
|
inlineoverridevirtual |
Implements mlir::query::matcher::internal::MatcherDescriptor.
Definition at line 196 of file Marshallers.h.
|
inlineoverridevirtual |
Implements mlir::query::matcher::internal::MatcherDescriptor.
Definition at line 194 of file Marshallers.h.