|
CIRCT 22.0.0git
|
Helper to populate a DebugInfo with nodes.
More...

Public Member Functions | |
| DebugInfoBuilder (DebugInfo &di) | |
| void | visitRoot (Operation *op) |
| void | visitModule (hw::HWModuleOp moduleOp, DIModule &module) |
| DIModule * | createModule () |
| DIInstance * | createInstance () |
| DIVariable * | createVariable () |
| DIModule & | getOrCreateModule (StringAttr moduleName) |
Public Attributes | |
| DebugInfo & | di |
Helper to populate a DebugInfo with nodes.
Definition at line 24 of file DebugInfo.cpp.
|
inline |
Definition at line 25 of file DebugInfo.cpp.
|
inline |
Definition at line 35 of file DebugInfo.cpp.
References di, and circt::DebugInfo::instanceAllocator.
Referenced by visitModule().
|
inline |
Definition at line 31 of file DebugInfo.cpp.
References di, and circt::DebugInfo::moduleAllocator.
Referenced by getOrCreateModule(), and visitModule().
|
inline |
Definition at line 39 of file DebugInfo.cpp.
References di, and circt::DebugInfo::variableAllocator.
Referenced by visitModule(), and visitRoot().
|
inline |
Definition at line 43 of file DebugInfo.cpp.
References createModule(), di, and circt::DebugInfo::moduleNodes.
Referenced by visitModule().
| void circt::detail::DebugInfoBuilder::visitModule | ( | hw::HWModuleOp | moduleOp, |
| DIModule & | module | ||
| ) |
Definition at line 86 of file DebugInfo.cpp.
References createInstance(), createModule(), createVariable(), and getOrCreateModule().
Referenced by visitRoot().
| void circt::detail::DebugInfoBuilder::visitRoot | ( | Operation * | op | ) |
Definition at line 53 of file DebugInfo.cpp.
References createVariable(), and visitModule().
Referenced by circt::DebugInfo::DebugInfo().
| DebugInfo& circt::detail::DebugInfoBuilder::di |
Definition at line 26 of file DebugInfo.cpp.
Referenced by createInstance(), createModule(), createVariable(), and getOrCreateModule().