LLVM API Documentation
#include <MachineDebugInfo.h>
Inheritance diagram for llvm::VariableDesc:
Public Member Functions | |
VariableDesc (unsigned T) | |
DebugInfoDesc * | getContext () const |
const std::string & | getName () const |
CompileUnitDesc * | getFile () const |
unsigned | getLine () const |
TypeDesc * | getType () const |
void | setContext (DebugInfoDesc *C) |
void | setName (const std::string &N) |
void | setFile (CompileUnitDesc *U) |
void | setLine (unsigned L) |
void | setType (TypeDesc *T) |
virtual void | ApplyToFields (DIVisitor *Visitor) |
virtual const char * | getDescString () const |
virtual const char * | getTypeString () const |
virtual void | dump () |
Static Public Member Functions | |
static bool | classof (const VariableDesc *) |
static bool | classof (const DebugInfoDesc *D) |
Definition at line 506 of file MachineDebugInfo.h.
VariableDesc::VariableDesc | ( | unsigned | T | ) |
Definition at line 955 of file MachineDebugInfo.cpp.
void VariableDesc::ApplyToFields | ( | DIVisitor * | Visitor | ) | [virtual] |
ApplyToFields - Target the visitor to the fields of the VariableDesc.
Reimplemented from llvm::DebugInfoDesc.
Definition at line 979 of file MachineDebugInfo.cpp.
References llvm::DIVisitor::Apply(), and llvm::DebugInfoDesc::ApplyToFields().
bool VariableDesc::classof | ( | const DebugInfoDesc * | D | ) | [static] |
Reimplemented from llvm::DebugInfoDesc.
Definition at line 965 of file MachineDebugInfo.cpp.
References D, llvm::dwarf::DW_TAG_arg_variable, llvm::dwarf::DW_TAG_auto_variable, llvm::dwarf::DW_TAG_return_variable, and T.
static bool llvm::VariableDesc::classof | ( | const VariableDesc * | ) | [inline, static] |
Definition at line 530 of file MachineDebugInfo.h.
void VariableDesc::dump | ( | ) | [virtual] |
Implements llvm::DebugInfoDesc.
Definition at line 1006 of file MachineDebugInfo.cpp.
References getDescString(), and llvm::DebugInfoDesc::getTag().
DebugInfoDesc* llvm::VariableDesc::getContext | ( | ) | const [inline] |
Definition at line 518 of file MachineDebugInfo.h.
Referenced by llvm::MachineDebugInfo::RecordVariable().
const char * VariableDesc::getDescString | ( | ) | const [virtual] |
getDescString - Return a string used to compose global names and labels.
Implements llvm::DebugInfoDesc.
Definition at line 995 of file MachineDebugInfo.cpp.
Referenced by dump().
CompileUnitDesc* llvm::VariableDesc::getFile | ( | ) | const [inline] |
Definition at line 520 of file MachineDebugInfo.h.
unsigned llvm::VariableDesc::getLine | ( | ) | const [inline] |
Definition at line 521 of file MachineDebugInfo.h.
const std::string& llvm::VariableDesc::getName | ( | ) | const [inline] |
Definition at line 519 of file MachineDebugInfo.h.
TypeDesc* llvm::VariableDesc::getType | ( | ) | const [inline] |
Definition at line 522 of file MachineDebugInfo.h.
const char * VariableDesc::getTypeString | ( | ) | const [virtual] |
getTypeString - Return a string used to label this descriptor's type.
Implements llvm::DebugInfoDesc.
Definition at line 1001 of file MachineDebugInfo.cpp.
void llvm::VariableDesc::setContext | ( | DebugInfoDesc * | C | ) | [inline] |
void llvm::VariableDesc::setFile | ( | CompileUnitDesc * | U | ) | [inline] |
void llvm::VariableDesc::setLine | ( | unsigned | L | ) | [inline] |
Definition at line 526 of file MachineDebugInfo.h.
void llvm::VariableDesc::setName | ( | const std::string & | N | ) | [inline] |
Definition at line 524 of file MachineDebugInfo.h.
void llvm::VariableDesc::setType | ( | TypeDesc * | T | ) | [inline] |