CIRCT 21.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 75 of file FIRRTLReductions.cpp.
|
inline |
Definition at line 76 of file FIRRTLReductions.cpp.
References moduleSizes.
Referenced by FIRRTLModuleExternalizer::beforeReduction(), InstanceStubber::beforeReduction(), and 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 78 of file FIRRTLReductions.cpp.
References findInstantiatedModule(), getModuleSize(), and moduleSizes.
Referenced by getModuleSize(), getModuleSize(), FIRRTLModuleExternalizer::match(), InstanceStubber::match(), and ModuleExternalizer::match().
|
private |
Definition at line 93 of file FIRRTLReductions.cpp.
Referenced by clear(), getModuleSize(), and getModuleSize().