MLIR  20.0.0git
Classes | Namespaces | Functions
Marshallers.h File Reference
#include "ErrorBuilder.h"
#include "VariantValue.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"

Go to the source code of this file.

Classes

struct  mlir::query::matcher::internal::ArgTypeTraits< const T & >
 
struct  mlir::query::matcher::internal::ArgTypeTraits< llvm::StringRef >
 
struct  mlir::query::matcher::internal::ArgTypeTraits< DynMatcher >
 
class  mlir::query::matcher::internal::MatcherDescriptor
 
class  mlir::query::matcher::internal::FixedArgCountMatcherDescriptor
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::query
 
 mlir::query::matcher
 
 mlir::query::matcher::internal
 

Functions

bool mlir::query::matcher::internal::checkArgCount (SourceRange nameRange, size_t expectedArgCount, llvm::ArrayRef< ParserValue > args, Diagnostics *error)
 
template<typename ArgType , size_t Index>
bool mlir::query::matcher::internal::checkArgTypeAtIndex (llvm::StringRef matcherName, llvm::ArrayRef< ParserValue > args, Diagnostics *error)
 
template<typename ReturnType , typename... ArgTypes, size_t... Is>
static VariantMatcher mlir::query::matcher::internal::matcherMarshallFixedImpl (void(*matcherFunc)(), llvm::StringRef matcherName, SourceRange nameRange, llvm::ArrayRef< ParserValue > args, Diagnostics *error, std::index_sequence< Is... >)
 
template<typename ReturnType , typename... ArgTypes>
static VariantMatcher mlir::query::matcher::internal::matcherMarshallFixed (void(*matcherFunc)(), llvm::StringRef matcherName, SourceRange nameRange, llvm::ArrayRef< ParserValue > args, Diagnostics *error)
 
template<typename ReturnType , typename... ArgTypes>
std::unique_ptr< MatcherDescriptor > mlir::query::matcher::internal::makeMatcherAutoMarshall (ReturnType(*matcherFunc)(ArgTypes...), llvm::StringRef matcherName)