CIRCT 20.0.0git
|
Helper class constructed on a per-HWModuleLike basis. More...
Public Member Functions | |
LogicalResult | add (AppIDAttr id, Operation *op, bool inherited) |
Add an appid component to the index. | |
FailureOr< Operation * > | lookup (AppIDAttr id, Location loc) const |
auto | getAppIDs () const |
ArrayRef< std::pair< AppIDAttr, Operation * > > | getChildren () const |
Private Attributes | |
DenseMap< AppIDAttr, Operation * > | childAppIDPaths |
SmallVector< std::pair< AppIDAttr, Operation * >, 8 > | childAppIDPathsOrdered |
Helper class constructed on a per-HWModuleLike basis.
Contains a map for fast lookups to the operation involved in an appid component.
|
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.
References childAppIDPaths, and childAppIDPathsOrdered.
|
inline |
Definition at line 54 of file AppID.cpp.
References childAppIDPathsOrdered.
|
inline |
Definition at line 59 of file AppID.cpp.
References childAppIDPathsOrdered.
|
inline |
Definition at line 46 of file AppID.cpp.
References childAppIDPaths.
|
private |
|
private |
Definition at line 68 of file AppID.cpp.
Referenced by add(), getAppIDs(), and getChildren().