CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::DebugInfo Struct Reference

Debug information attached to an operation and the operations nested within. More...

#include <DebugInfo.h>

Collaboration diagram for circt::DebugInfo:

Public Member Functions

 DebugInfo (Operation *op)
 Collect the debug information nested under the given operation.

Public Attributes

Operation * operation
 The operation that was passed to the constructor.
llvm::MapVector< StringAttr, DIModule * > moduleNodes
 A mapping from module name to module debug info.

Protected Attributes

llvm::SpecificBumpPtrAllocator< DIModule > moduleAllocator
llvm::SpecificBumpPtrAllocator< DIInstance > instanceAllocator
llvm::SpecificBumpPtrAllocator< DIVariable > variableAllocator

Friends

struct detail::DebugInfoBuilder

Detailed Description

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.

Constructor & Destructor Documentation

◆ DebugInfo()

DebugInfo::DebugInfo ( Operation * op)

Collect the debug information nested under the given operation.

Definition at line 188 of file DebugInfo.cpp.

References operation, and circt::detail::DebugInfoBuilder::visitRoot().

◆ detail::DebugInfoBuilder

friend struct detail::DebugInfoBuilder
friend

Definition at line 73 of file DebugInfo.h.

Member Data Documentation

◆ instanceAllocator

llvm::SpecificBumpPtrAllocator<DIInstance> circt::DebugInfo::instanceAllocator
protected

Definition at line 75 of file DebugInfo.h.

◆ moduleAllocator

llvm::SpecificBumpPtrAllocator<DIModule> circt::DebugInfo::moduleAllocator
protected

Definition at line 74 of file DebugInfo.h.

◆ moduleNodes

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().

◆ operation

Operation* circt::DebugInfo::operation

The operation that was passed to the constructor.

Definition at line 68 of file DebugInfo.h.

Referenced by DebugInfo(), and dump().

◆ variableAllocator

llvm::SpecificBumpPtrAllocator<DIVariable> circt::DebugInfo::variableAllocator
protected

Definition at line 76 of file DebugInfo.h.


The documentation for this struct was generated from the following files: