MLIR 22.0.0git
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< int64_t >
struct  mlir::query::matcher::internal::ArgTypeTraits< bool >
struct  mlir::query::matcher::internal::ArgTypeTraits< DynMatcher >
class  mlir::query::matcher::internal::MatcherDescriptor
class  mlir::query::matcher::internal::FixedArgCountMatcherDescriptor
class  mlir::query::matcher::internal::VariadicOperatorMatcherDescriptor

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::query
namespace  mlir::query::matcher
 Computes the backward-slice of all transitive defs reachable from rootOp, if innerMatcher matches.
namespace  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< MatcherDescriptormlir::query::matcher::internal::makeMatcherAutoMarshall (ReturnType(*matcherFunc)(ArgTypes...), llvm::StringRef matcherName)
template<unsigned MinCount, unsigned MaxCount>
std::unique_ptr< MatcherDescriptormlir::query::matcher::internal::makeMatcherAutoMarshall (VariadicOperatorMatcherFunc< MinCount, MaxCount > func, StringRef matcherName)