CIRCT
20.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 309 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, circt::calyx::direction::get(), and symbolTable.
|
inline |
Definition at line 318 of file FIRRTLAnnotationHelper.h.
References circt::calyx::direction::get().
Referenced by buildNLA().
|
inline |
Definition at line 322 of file FIRRTLAnnotationHelper.h.
|
inline |
Definition at line 314 of file FIRRTLAnnotationHelper.h.
|
private |
Definition at line 325 of file FIRRTLAnnotationHelper.h.
Referenced by getOpFor().
|
private |
Definition at line 326 of file FIRRTLAnnotationHelper.h.
Referenced by getOpFor(), and HierPathCache().
|
private |
Definition at line 327 of file FIRRTLAnnotationHelper.h.
Referenced by getOpFor().