MLIR  20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
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()

VariantMatcher mlir::query::matcher::RegistryManager::constructMatcher ( MatcherCtor  ctor,
internal::SourceRange  nameRange,
llvm::StringRef  functionName,
llvm::ArrayRef< ParserValue args,
internal::Diagnostics error 
)
static

◆ getAcceptedCompletionTypes()

std::vector< ArgKind > mlir::query::matcher::RegistryManager::getAcceptedCompletionTypes ( llvm::ArrayRef< std::pair< MatcherCtor, unsigned >>  context)
static

◆ 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: