CIRCT
20.0.0git
|
Debug information attached to an operation and the operations nested within. More...
#include <DebugInfo.h>
Public Member Functions | |
DebugInfo (Operation *op) | |
Collect the debug information nested under the given operation. More... | |
Public Attributes | |
Operation * | operation |
The operation that was passed to the constructor. More... | |
llvm::MapVector< StringAttr, DIModule * > | moduleNodes |
A mapping from module name to module debug info. More... | |
Protected Attributes | |
llvm::SpecificBumpPtrAllocator< DIModule > | moduleAllocator |
llvm::SpecificBumpPtrAllocator< DIInstance > | instanceAllocator |
llvm::SpecificBumpPtrAllocator< DIVariable > | variableAllocator |
Friends | |
struct | detail::DebugInfoBuilder |
Debug information attached to an operation and the operations nested within.
This is an analysis that gathers debug information for a piece of IR, either from attributes attached to operations or the general structure of the IR.
Definition at line 63 of file DebugInfo.h.
DebugInfo::DebugInfo | ( | Operation * | op | ) |
Collect the debug information nested under the given operation.
Definition at line 188 of file DebugInfo.cpp.
References circt::detail::DebugInfoBuilder::visitRoot().
|
friend |
Definition at line 73 of file DebugInfo.h.
|
protected |
Definition at line 75 of file DebugInfo.h.
Referenced by circt::detail::DebugInfoBuilder::createInstance().
|
protected |
Definition at line 74 of file DebugInfo.h.
Referenced by circt::detail::DebugInfoBuilder::createModule().
llvm::MapVector<StringAttr, DIModule *> circt::DebugInfo::moduleNodes |
A mapping from module name to module debug info.
Definition at line 70 of file DebugInfo.h.
Referenced by dump(), and circt::detail::DebugInfoBuilder::getOrCreateModule().
Operation* circt::DebugInfo::operation |
The operation that was passed to the constructor.
Definition at line 68 of file DebugInfo.h.
Referenced by dump().
|
protected |
Definition at line 76 of file DebugInfo.h.
Referenced by circt::detail::DebugInfoBuilder::createVariable().