LLVM API Documentation
#include <MachineDebugInfo.h>
Inheritance diagram for llvm::EnumeratorDesc:
Public Member Functions | |
EnumeratorDesc () | |
const std::string & | getName () const |
int64_t | getValue () const |
void | setName (const std::string &N) |
void | setValue (int64_t V) |
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 EnumeratorDesc *) |
static bool | classof (const DebugInfoDesc *D) |
Definition at line 467 of file MachineDebugInfo.h.
EnumeratorDesc::EnumeratorDesc | ( | ) |
Definition at line 912 of file MachineDebugInfo.cpp.
void EnumeratorDesc::ApplyToFields | ( | DIVisitor * | Visitor | ) | [virtual] |
ApplyToFields - Target the visitor to the fields of the EnumeratorDesc.
Reimplemented from llvm::DebugInfoDesc.
Definition at line 925 of file MachineDebugInfo.cpp.
References llvm::DIVisitor::Apply(), and llvm::DebugInfoDesc::ApplyToFields().
bool EnumeratorDesc::classof | ( | const DebugInfoDesc * | D | ) | [static] |
Reimplemented from llvm::DebugInfoDesc.
Definition at line 919 of file MachineDebugInfo.cpp.
References D, and llvm::dwarf::DW_TAG_enumerator.
static bool llvm::EnumeratorDesc::classof | ( | const EnumeratorDesc * | ) | [inline, static] |
Definition at line 482 of file MachineDebugInfo.h.
void EnumeratorDesc::dump | ( | ) | [virtual] |
Implements llvm::DebugInfoDesc.
Definition at line 945 of file MachineDebugInfo.cpp.
References getDescString(), and llvm::DebugInfoDesc::getTag().
const char * EnumeratorDesc::getDescString | ( | ) | const [virtual] |
getDescString - Return a string used to compose global names and labels.
Implements llvm::DebugInfoDesc.
Definition at line 934 of file MachineDebugInfo.cpp.
Referenced by dump().
const std::string& llvm::EnumeratorDesc::getName | ( | ) | const [inline] |
Definition at line 476 of file MachineDebugInfo.h.
const char * EnumeratorDesc::getTypeString | ( | ) | const [virtual] |
getTypeString - Return a string used to label this descriptor's type.
Implements llvm::DebugInfoDesc.
Definition at line 940 of file MachineDebugInfo.cpp.
int64_t llvm::EnumeratorDesc::getValue | ( | ) | const [inline] |
Definition at line 477 of file MachineDebugInfo.h.
void llvm::EnumeratorDesc::setName | ( | const std::string & | N | ) | [inline] |
Definition at line 478 of file MachineDebugInfo.h.
void llvm::EnumeratorDesc::setValue | ( | int64_t | V | ) | [inline] |
Definition at line 479 of file MachineDebugInfo.h.