CIRCT 24.0.0git
Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
mlir::AttrTypeSubElementHandler< circt::hw::detail::FieldInfo > Struct Reference

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 &param, AttrTypeImmediateSubElementWalker &walker)
 
static circt::hw::detail::FieldInfo replace (const circt::hw::detail::FieldInfo &param, AttrSubElementReplacements &attrRepls, TypeSubElementReplacements &typeRepls)
 

Detailed Description

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.

Definition at line 142 of file HWTypes.h.

Member Function Documentation

◆ replace()

static circt::hw::detail::FieldInfo mlir::AttrTypeSubElementHandler< circt::hw::detail::FieldInfo >::replace ( const circt::hw::detail::FieldInfo param,
AttrSubElementReplacements &  attrRepls,
TypeSubElementReplacements &  typeRepls 
)
inlinestatic

Definition at line 149 of file HWTypes.h.

◆ walk()

static void mlir::AttrTypeSubElementHandler< circt::hw::detail::FieldInfo >::walk ( const circt::hw::detail::FieldInfo param,
AttrTypeImmediateSubElementWalker &  walker 
)
inlinestatic

The documentation for this struct was generated from the following file: