LLVM API Documentation
#include <MachineDebugInfo.h>
Inheritance diagram for llvm::GlobalDesc:
Public Member Functions | |
DebugInfoDesc * | getContext () const |
const std::string & | getName () const |
CompileUnitDesc * | getFile () const |
unsigned | getLine () const |
TypeDesc * | getType () const |
bool | isStatic () const |
bool | isDefinition () const |
void | setContext (DebugInfoDesc *C) |
void | setName (const std::string &N) |
void | setFile (CompileUnitDesc *U) |
void | setLine (unsigned L) |
void | setType (TypeDesc *T) |
void | setIsStatic (bool IS) |
void | setIsDefinition (bool ID) |
virtual void | ApplyToFields (DIVisitor *Visitor) |
Protected Member Functions | |
GlobalDesc (unsigned T) |
Definition at line 553 of file MachineDebugInfo.h.
GlobalDesc::GlobalDesc | ( | unsigned | T | ) | [protected] |
Definition at line 1019 of file MachineDebugInfo.cpp.
void GlobalDesc::ApplyToFields | ( | DIVisitor * | Visitor | ) | [virtual] |
ApplyToFields - Target the visitor to the fields of the GlobalDesc.
Reimplemented from llvm::AnchoredDesc.
Reimplemented in llvm::GlobalVariableDesc, and llvm::SubprogramDesc.
Definition at line 1032 of file MachineDebugInfo.cpp.
References llvm::DIVisitor::Apply(), and llvm::AnchoredDesc::ApplyToFields().
Referenced by llvm::SubprogramDesc::ApplyToFields(), and llvm::GlobalVariableDesc::ApplyToFields().
DebugInfoDesc* llvm::GlobalDesc::getContext | ( | ) | const [inline] |
Definition at line 568 of file MachineDebugInfo.h.
CompileUnitDesc* llvm::GlobalDesc::getFile | ( | ) | const [inline] |
Definition at line 570 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
unsigned llvm::GlobalDesc::getLine | ( | ) | const [inline] |
Definition at line 571 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
const std::string& llvm::GlobalDesc::getName | ( | ) | const [inline] |
Definition at line 569 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
TypeDesc* llvm::GlobalDesc::getType | ( | ) | const [inline] |
Definition at line 572 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
bool llvm::GlobalDesc::isDefinition | ( | ) | const [inline] |
Definition at line 574 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
bool llvm::GlobalDesc::isStatic | ( | ) | const [inline] |
Definition at line 573 of file MachineDebugInfo.h.
Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().
void llvm::GlobalDesc::setContext | ( | DebugInfoDesc * | C | ) | [inline] |
void llvm::GlobalDesc::setFile | ( | CompileUnitDesc * | U | ) | [inline] |
void llvm::GlobalDesc::setIsDefinition | ( | bool | ID | ) | [inline] |
Definition at line 581 of file MachineDebugInfo.h.
void llvm::GlobalDesc::setIsStatic | ( | bool | IS | ) | [inline] |
Definition at line 580 of file MachineDebugInfo.h.
void llvm::GlobalDesc::setLine | ( | unsigned | L | ) | [inline] |
Definition at line 578 of file MachineDebugInfo.h.
void llvm::GlobalDesc::setName | ( | const std::string & | N | ) | [inline] |
Definition at line 576 of file MachineDebugInfo.h.
void llvm::GlobalDesc::setType | ( | TypeDesc * | T | ) | [inline] |