MLIR 22.0.0git
mlir::query::matcher::RegistryManager Class Reference

#include "Query/Matcher/RegistryManager.h"

Public Member Functions

 RegistryManager ()=delete

Static Public Member Functions

static std::optional< MatcherCtorlookupMatcherCtor (llvm::StringRef matcherName, const Registry &matcherRegistry)
static std::vector< ArgKindgetAcceptedCompletionTypes (llvm::ArrayRef< std::pair< MatcherCtor, unsigned > > context)
static std::vector< MatcherCompletiongetMatcherCompletions (ArrayRef< ArgKind > acceptedTypes, const Registry &matcherRegistry)
static VariantMatcher constructMatcher (MatcherCtor ctor, internal::SourceRange nameRange, llvm::StringRef functionName, ArrayRef< ParserValue > args, internal::Diagnostics *error)

Detailed Description

Definition at line 47 of file RegistryManager.h.

Constructor & Destructor Documentation

◆ RegistryManager()

mlir::query::matcher::RegistryManager::RegistryManager ( )
delete

Member Function Documentation

◆ constructMatcher()

◆ getAcceptedCompletionTypes()

◆ getMatcherCompletions()

std::vector< MatcherCompletion > mlir::query::matcher::RegistryManager::getMatcherCompletions ( llvm::ArrayRef< ArgKind > acceptedTypes,
const Registry & matcherRegistry )
static

◆ lookupMatcherCtor()

std::optional< MatcherCtor > mlir::query::matcher::RegistryManager::lookupMatcherCtor ( llvm::StringRef matcherName,
const Registry & matcherRegistry )
static

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