MLIR
20.0.0git
|
#include "Query/Matcher/RegistryManager.h"
Public Member Functions | |
RegistryManager ()=delete | |
Static Public Member Functions | |
static std::optional< MatcherCtor > | lookupMatcherCtor (llvm::StringRef matcherName, const Registry &matcherRegistry) |
static std::vector< ArgKind > | getAcceptedCompletionTypes (llvm::ArrayRef< std::pair< MatcherCtor, unsigned >> context) |
static std::vector< MatcherCompletion > | getMatcherCompletions (ArrayRef< ArgKind > acceptedTypes, const Registry &matcherRegistry) |
static VariantMatcher | constructMatcher (MatcherCtor ctor, internal::SourceRange nameRange, llvm::StringRef functionName, ArrayRef< ParserValue > args, internal::Diagnostics *error) |
Definition at line 47 of file RegistryManager.h.
|
delete |
|
static |
Definition at line 133 of file RegistryManager.cpp.
References mlir::query::matcher::internal::Diagnostics::addError(), mlir::query::matcher::internal::MatcherDescriptor::create(), mlir::query::matcher::VariantMatcher::getDynMatcher(), mlir::query::matcher::VariantMatcher::isNull(), mlir::query::matcher::internal::RegistryNotBindable, and mlir::query::matcher::VariantMatcher::SingleMatcher().
Referenced by mlir::query::matcher::internal::Parser::RegistrySema::actOnMatcherExpression().
|
static |
Definition at line 56 of file RegistryManager.cpp.
References mlir::query::matcher::internal::MatcherDescriptor::getArgKinds(), and mlir::query::matcher::Matcher.
Referenced by mlir::query::matcher::internal::Parser::RegistrySema::getAcceptedCompletionTypes().
|
static |
Definition at line 78 of file RegistryManager.cpp.
Referenced by mlir::query::matcher::internal::Parser::RegistrySema::getMatcherCompletions().
|
static |
Definition at line 48 of file RegistryManager.cpp.
References mlir::query::matcher::Registry::constructors().
Referenced by mlir::query::matcher::internal::Parser::RegistrySema::lookupMatcherCtor().