#include "circt/Dialect/OM/OMOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/OM/OMUtils.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "circt/Dialect/OM/OM.cpp.inc"
Go to the source code of this file.
|
| static ParseResult | parseBasePathString (OpAsmParser &parser, PathAttr &path) |
| |
| static void | printBasePathString (OpAsmPrinter &p, Operation *op, PathAttr path) |
| |
| static ParseResult | parsePathString (OpAsmParser &parser, PathAttr &path, StringAttr &module, StringAttr &ref, StringAttr &field) |
| |
| static void | printPathString (OpAsmPrinter &p, Operation *op, PathAttr path, StringAttr module, StringAttr ref, StringAttr field) |
| |
| static ParseResult | parseFieldLocs (OpAsmParser &parser, ArrayAttr &fieldLocs) |
| |
| static void | printFieldLocs (OpAsmPrinter &printer, Operation *op, ArrayAttr fieldLocs) |
| |
| static ParseResult | parseClassFieldsList (OpAsmParser &parser, SmallVectorImpl< Attribute > &fieldNames, SmallVectorImpl< Type > &fieldTypes) |
| |
| static ParseResult | parseClassLike (OpAsmParser &parser, OperationState &state) |
| |
| static void | printClassLike (ClassLike classLike, OpAsmPrinter &printer) |
| |
| LogicalResult | verifyClassLike (ClassLike classLike) |
| |
| void | getClassLikeAsmBlockArgumentNames (ClassLike classLike, Region ®ion, OpAsmSetValueNameFn setNameFn) |
| |
| NamedAttribute | makeFieldType (StringAttr name, Type type) |
| |
| NamedAttribute | makeFieldIdx (MLIRContext *ctx, mlir::StringAttr name, unsigned i) |
| |
| std::optional< Type > | getClassLikeFieldType (ClassLike classLike, StringAttr name) |
| |
| void | replaceClassLikeFieldTypes (ClassLike classLike, AttrTypeReplacer &replacer) |
| |
◆ GET_OP_CLASSES
◆ getClassLikeAsmBlockArgumentNames()
| void getClassLikeAsmBlockArgumentNames |
( |
ClassLike |
classLike, |
|
|
Region & |
region, |
|
|
OpAsmSetValueNameFn |
setNameFn |
|
) |
| |
◆ getClassLikeFieldType()
| std::optional< Type > getClassLikeFieldType |
( |
ClassLike |
classLike, |
|
|
StringAttr |
name |
|
) |
| |
◆ makeFieldIdx()
| NamedAttribute makeFieldIdx |
( |
MLIRContext * |
ctx, |
|
|
mlir::StringAttr |
name, |
|
|
unsigned |
i |
|
) |
| |
◆ makeFieldType()
| NamedAttribute makeFieldType |
( |
StringAttr |
name, |
|
|
Type |
type |
|
) |
| |
◆ parseBasePathString()
| static ParseResult parseBasePathString |
( |
OpAsmParser & |
parser, |
|
|
PathAttr & |
path |
|
) |
| |
|
static |
◆ parseClassFieldsList()
| static ParseResult parseClassFieldsList |
( |
OpAsmParser & |
parser, |
|
|
SmallVectorImpl< Attribute > & |
fieldNames, |
|
|
SmallVectorImpl< Type > & |
fieldTypes |
|
) |
| |
|
static |
◆ parseClassLike()
| static ParseResult parseClassLike |
( |
OpAsmParser & |
parser, |
|
|
OperationState & |
state |
|
) |
| |
|
static |
◆ parseFieldLocs()
| static ParseResult parseFieldLocs |
( |
OpAsmParser & |
parser, |
|
|
ArrayAttr & |
fieldLocs |
|
) |
| |
|
static |
◆ parsePathString()
| static ParseResult parsePathString |
( |
OpAsmParser & |
parser, |
|
|
PathAttr & |
path, |
|
|
StringAttr & |
module, |
|
|
StringAttr & |
ref, |
|
|
StringAttr & |
field |
|
) |
| |
|
static |
◆ printBasePathString()
| static void printBasePathString |
( |
OpAsmPrinter & |
p, |
|
|
Operation * |
op, |
|
|
PathAttr |
path |
|
) |
| |
|
static |
◆ printClassLike()
| static void printClassLike |
( |
ClassLike |
classLike, |
|
|
OpAsmPrinter & |
printer |
|
) |
| |
|
static |
◆ printFieldLocs()
| static void printFieldLocs |
( |
OpAsmPrinter & |
printer, |
|
|
Operation * |
op, |
|
|
ArrayAttr |
fieldLocs |
|
) |
| |
|
static |
◆ printPathString()
| static void printPathString |
( |
OpAsmPrinter & |
p, |
|
|
Operation * |
op, |
|
|
PathAttr |
path, |
|
|
StringAttr |
module, |
|
|
StringAttr |
ref, |
|
|
StringAttr |
field |
|
) |
| |
|
static |
◆ replaceClassLikeFieldTypes()
| void replaceClassLikeFieldTypes |
( |
ClassLike |
classLike, |
|
|
AttrTypeReplacer & |
replacer |
|
) |
| |
◆ verifyClassLike()
| LogicalResult verifyClassLike |
( |
ClassLike |
classLike | ) |
|