CIRCT 22.0.0git
|
Utility to track the transitive size of modules. More...
Public Member Functions | |
void | clear () |
uint64_t | getModuleSize (Operation *module, ::detail::SymbolCache &symbols) |
void | clear () |
uint64_t | getModuleSize (HWModuleLike module, hw::InstanceGraph &instanceGraph) |
Private Attributes | |
llvm::DenseMap< Operation *, uint64_t > | moduleSizes |
Utility to track the transitive size of modules.
Definition at line 89 of file FIRRTLReductions.cpp.
|
inline |
Definition at line 90 of file FIRRTLReductions.cpp.
References moduleSizes.
Referenced by ModuleExternalizer::beforeReduction().
|
inline |
Definition at line 28 of file HWReductions.cpp.
References moduleSizes.
|
inline |
Definition at line 30 of file HWReductions.cpp.
References getModuleSize(), circt::igraph::InstanceGraph::lookup(), and moduleSizes.
|
inline |
Definition at line 92 of file FIRRTLReductions.cpp.
References findInstantiatedModule(), getModuleSize(), and moduleSizes.
Referenced by getModuleSize(), getModuleSize(), and ModuleExternalizer::match().
|
private |
Definition at line 107 of file FIRRTLReductions.cpp.
Referenced by clear(), getModuleSize(), and getModuleSize().