|
CIRCT 24.0.0git
|
Expose the field names and types of struct and union types to the generic attribute and type walking and replacement infrastructure. More...
#include <HWTypes.h>
Static Public Member Functions | |
| static void | walk (const circt::hw::detail::FieldInfo ¶m, AttrTypeImmediateSubElementWalker &walker) |
| static circt::hw::detail::FieldInfo | replace (const circt::hw::detail::FieldInfo ¶m, AttrSubElementReplacements &attrRepls, TypeSubElementReplacements &typeRepls) |
Expose the field names and types of struct and union types to the generic attribute and type walking and replacement infrastructure.
This allows walkers to recurse into the fields of !hw.struct and !hw.union types, and replacers such as mlir::AttrTypeReplacer to replace types nested within the fields.
|
inlinestatic |
|
inlinestatic |
Definition at line 143 of file HWTypes.h.
References circt::hw::detail::FieldInfo::name, and circt::hw::detail::FieldInfo::type.