|
CIRCT 22.0.0git
|
A cache of existing HierPathOps, mostly used to facilitate HierPathOp reuse. More...
#include <FIRRTLAnnotationHelper.h>

Public Member Functions | |
| HierPathCache (Operation *op, SymbolTable &symbolTable) | |
| hw::HierPathOp | getOpFor (ArrayAttr attr) |
| StringAttr | getSymFor (ArrayAttr attr) |
| FlatSymbolRefAttr | getRefFor (ArrayAttr attr) |
| const SymbolTable & | getSymbolTable () const |
Private Attributes | |
| OpBuilder | builder |
| DenseMap< ArrayAttr, hw::HierPathOp > | cache |
| SymbolTable & | symbolTable |
A cache of existing HierPathOps, mostly used to facilitate HierPathOp reuse.
Definition at line 316 of file FIRRTLAnnotationHelper.h.
| HierPathCache::HierPathCache | ( | Operation * | op, |
| SymbolTable & | symbolTable | ||
| ) |
Definition at line 394 of file FIRRTLAnnotationHelper.cpp.
References cache.
| hw::HierPathOp HierPathCache::getOpFor | ( | ArrayAttr | attr | ) |
Definition at line 405 of file FIRRTLAnnotationHelper.cpp.
References builder, cache, and symbolTable.
|
inline |
Definition at line 325 of file FIRRTLAnnotationHelper.h.
Referenced by buildNLA().
|
inline |
Definition at line 329 of file FIRRTLAnnotationHelper.h.
|
inline |
Definition at line 321 of file FIRRTLAnnotationHelper.h.
|
private |
Definition at line 332 of file FIRRTLAnnotationHelper.h.
Referenced by getOpFor().
|
private |
Definition at line 333 of file FIRRTLAnnotationHelper.h.
Referenced by getOpFor(), and HierPathCache().
|
private |
Definition at line 334 of file FIRRTLAnnotationHelper.h.
Referenced by getOpFor().