Helper class constructed on a per-HWModuleLike basis.
More...
|
LogicalResult | add (AppIDAttr id, Operation *op, bool inherited) |
| Add an appid component to the index. More...
|
|
FailureOr< Operation * > | lookup (AppIDAttr id, Location loc) const |
|
auto | getAppIDs () const |
|
ArrayRef< std::pair< AppIDAttr, Operation * > > | getChildren () const |
|
Helper class constructed on a per-HWModuleLike basis.
Contains a map for fast lookups to the operation involved in an appid component.
Definition at line 27 of file AppID.cpp.
◆ add()
LogicalResult AppIDIndex::ModuleAppIDs::add |
( |
AppIDAttr |
id, |
|
|
Operation * |
op, |
|
|
bool |
inherited |
|
) |
| |
|
inline |
Add an appid component to the index.
'Inherited' is true if we're bubbling up from an instance and is used to inform the conflicting entry error message.
Definition at line 32 of file AppID.cpp.
◆ getAppIDs()
auto AppIDIndex::ModuleAppIDs::getAppIDs |
( |
| ) |
const |
|
inline |
◆ getChildren()
ArrayRef<std::pair<AppIDAttr, Operation *> > AppIDIndex::ModuleAppIDs::getChildren |
( |
| ) |
const |
|
inline |
◆ lookup()
FailureOr<Operation *> AppIDIndex::ModuleAppIDs::lookup |
( |
AppIDAttr |
id, |
|
|
Location |
loc |
|
) |
| const |
|
inline |
◆ childAppIDPaths
DenseMap<AppIDAttr, Operation *> AppIDIndex::ModuleAppIDs::childAppIDPaths |
|
private |
◆ childAppIDPathsOrdered
SmallVector<std::pair<AppIDAttr, Operation *>, 8> AppIDIndex::ModuleAppIDs::childAppIDPathsOrdered |
|
private |
The documentation for this class was generated from the following file:
- /home/runner/work/circt-www/circt-www/circt_src/lib/Dialect/ESI/AppID.cpp