MLIR  18.0.0git
Classes | Namespaces | Typedefs
DialectImplementation.h File Reference
#include "mlir/IR/OpImplementation.h"

Go to the source code of this file.


class  mlir::DialectAsmPrinter
 This is a pure-virtual base class that exposes the asmprinter hooks necessary to implement a custom printAttribute/printType() method on a dialect. More...
class  mlir::DialectAsmParser
 The DialectAsmParser has methods for interacting with the asm parser when parsing attributes and types. More...
struct  mlir::FieldParser< AttributeT, std::enable_if_t< std::is_base_of< Attribute, AttributeT >::value, AttributeT > >
 Parse an attribute. More...
struct  mlir::FieldParser< TypeT, std::enable_if_t< std::is_base_of< Type, TypeT >::value, TypeT > >
 Parse an attribute. More...
struct  mlir::FieldParser< IntT, std::enable_if_t< std::is_integral< IntT >::value, IntT > >
 Parse any integer. More...
struct  mlir::FieldParser< std::string >
 Parse a string. More...
struct  mlir::FieldParser< std::optional< AttributeT >, std::enable_if_t< std::is_base_of< Attribute, AttributeT >::value, std::optional< AttributeT > > >
 Parse an Optional attribute. More...
struct  mlir::FieldParser< std::optional< IntT >, std::enable_if_t< std::is_integral< IntT >::value, std::optional< IntT > > >
 Parse an Optional integer. More...
struct  mlir::FieldParser< ContainerT, std::enable_if_t< llvm::is_detected< detail::has_push_back_t, ContainerT >::value, ContainerT > >
 Parse any container that supports back insertion as a list. More...
struct  mlir::FieldParser< AffineMap >
 Parse an affine map. More...


 This header declares functions that assist transformations in the MemRef dialect.
 Detect if any of the given parameter types has a sub-element handler.


template<typename T >
using mlir::detail::has_push_back_t = decltype(std::declval< T >().push_back(std::declval< typename T::value_type && >()))