CIRCT
19.0.0git
|
#include "circt/Dialect/Moore/MooreTypes.h"
#include "circt/Dialect/Moore/MooreDialect.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/DialectImplementation.h"
#include "llvm/ADT/TypeSwitch.h"
#include "circt/Dialect/Moore/MooreTypes.cpp.inc"
Go to the source code of this file.
Classes | |
struct | circt::moore::detail::RealTypeStorage |
struct | circt::moore::detail::DimStorage |
struct | circt::moore::detail::UnsizedDimStorage |
struct | circt::moore::detail::RangeDimStorage |
struct | circt::moore::detail::SizedDimStorage |
struct | circt::moore::detail::AssocDimStorage |
struct | circt::moore::detail::StructTypeStorage |
struct | Subset |
Namespaces | |
circt | |
The InstanceGraph op interface, see InstanceGraphInterface.td for more details. | |
circt::moore | |
circt::moore::detail | |
Macros | |
#define | GET_TYPEDEF_CLASSES |
#define | GET_TYPEDEF_LIST |
Functions | |
static ParseResult | parseMooreType (DialectAsmParser &parser, Subset subset, Type &type) |
Parse a type registered with this dialect. More... | |
static void | printMooreType (Type type, DialectAsmPrinter &printer, Subset subset) |
Print a type registered with this dialect. More... | |
static OptionalParseResult | customTypeParser (DialectAsmParser &parser, StringRef mnemonic, Subset subset, llvm::SMLoc loc, Type &type) |
Parse a type with custom syntax. More... | |
static LogicalResult | customTypePrinter (Type type, DialectAsmPrinter &printer, Subset subset) |
Print a type with custom syntax. More... | |
#define GET_TYPEDEF_CLASSES |
Definition at line 33 of file MooreTypes.cpp.
#define GET_TYPEDEF_LIST |
|
static |
Parse a type with custom syntax.
Definition at line 455 of file MooreTypes.cpp.
References Subset::allowUnpacked, circt::moore::FourValued, circt::calyx::direction::get(), circt::moore::RealType::get(), circt::moore::PackedStructType::get(), circt::moore::UnpackedStructType::get(), circt::moore::PackedUnsizedDim::get(), circt::moore::PackedRangeDim::get(), circt::moore::UnpackedUnsizedDim::get(), circt::moore::UnpackedRangeDim::get(), circt::moore::UnpackedQueueDim::get(), circt::moore::UnpackedAssocDim::get(), circt::moore::UnpackedArrayDim::get(), circt::moore::RealType::getKindFromKeyword(), circt::moore::getStructKindFromMnemonic(), Subset::implied, isdigit, Subset::Packed, parseMooreType(), circt::moore::TwoValued, Subset::Unpacked, and width.
Referenced by parseMooreType().
|
static |
Print a type with custom syntax.
Definition at line 622 of file MooreTypes.cpp.
References circt::moore::getMnemonicFromStructKind(), Subset::implied, Subset::Packed, printMooreType(), circt::moore::TwoValued, and Subset::Unpacked.
Referenced by printMooreType().
|
static |
Parse a type registered with this dialect.
Definition at line 704 of file MooreTypes.cpp.
References customTypeParser().
Referenced by customTypeParser().
|
static |
Print a type registered with this dialect.
Definition at line 722 of file MooreTypes.cpp.
References assert(), and customTypePrinter().
Referenced by customTypePrinter().