MLIR
20.0.0git
|
#include "mlir/IR/ExtensibleDialect.h"
#include "mlir/IR/AttributeSupport.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/OperationSupport.h"
#include "mlir/IR/StorageUniquerSupport.h"
Go to the source code of this file.
Classes | |
struct | mlir::detail::DynamicTypeStorage |
Storage of DynamicType. More... | |
struct | mlir::detail::DynamicAttrStorage |
Storage of DynamicAttr. More... | |
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::detail | |
AttrTypeReplacer. | |
Functions | |
static LogicalResult | typeOrAttrParser (AsmParser &parser, SmallVectorImpl< Attribute > &parsedParams) |
Default parser for dynamic attribute or type parameters. More... | |
static void | typeOrAttrPrinter (AsmPrinter &printer, ArrayRef< Attribute > params) |
Default printer for dynamic attribute or type parameters. More... | |
|
static |
Default parser for dynamic attribute or type parameters.
Parse in the format '(<>)?' or '<attr (,attr)*>'.
Definition at line 24 of file ExtensibleDialect.cpp.
References mlir::AsmParser::parseAttribute(), mlir::AsmParser::parseComma(), mlir::AsmParser::parseOptionalGreater(), and mlir::AsmParser::parseOptionalLess().
Referenced by mlir::DynamicAttrDefinition::get(), and mlir::DynamicTypeDefinition::get().
|
static |
Default printer for dynamic attribute or type parameters.
Print in the format '(<>)?' or '<attr (,attr)*>'.
Definition at line 46 of file ExtensibleDialect.cpp.
References mlir::AsmPrinter::getStream().
Referenced by mlir::DynamicAttrDefinition::get(), and mlir::DynamicTypeDefinition::get().