LLVM API Documentation
#include <MachineDebugInfo.h>
Inheritance diagram for llvm::TypeDesc:
Public Member Functions | |
TypeDesc (unsigned T) | |
DebugInfoDesc * | getContext () const |
const std::string & | getName () const |
CompileUnitDesc * | getFile () const |
unsigned | getLine () const |
uint64_t | getSize () const |
uint64_t | getAlign () const |
uint64_t | getOffset () const |
void | setContext (DebugInfoDesc *C) |
void | setName (const std::string &N) |
void | setFile (CompileUnitDesc *U) |
void | setLine (unsigned L) |
void | setSize (uint64_t S) |
void | setAlign (uint64_t A) |
void | setOffset (uint64_t O) |
virtual void | ApplyToFields (DIVisitor *Visitor) |
virtual const char * | getDescString () const |
virtual const char * | getTypeString () const |
virtual void | dump () |
Definition at line 275 of file MachineDebugInfo.h.
TypeDesc::TypeDesc | ( | unsigned | T | ) |
Definition at line 657 of file MachineDebugInfo.cpp.
void TypeDesc::ApplyToFields | ( | DIVisitor * | Visitor | ) | [virtual] |
ApplyToFields - Target the visitor to the fields of the TypeDesc.
Reimplemented from llvm::DebugInfoDesc.
Reimplemented in llvm::BasicTypeDesc, llvm::DerivedTypeDesc, and llvm::CompositeTypeDesc.
Definition at line 670 of file MachineDebugInfo.cpp.
References llvm::DIVisitor::Apply(), and llvm::DebugInfoDesc::ApplyToFields().
Referenced by llvm::DerivedTypeDesc::ApplyToFields(), and llvm::BasicTypeDesc::ApplyToFields().
void TypeDesc::dump | ( | ) | [virtual] |
Implements llvm::DebugInfoDesc.
Reimplemented in llvm::BasicTypeDesc, llvm::DerivedTypeDesc, and llvm::CompositeTypeDesc.
Definition at line 697 of file MachineDebugInfo.cpp.
References getDescString(), and llvm::DebugInfoDesc::getTag().
uint64_t llvm::TypeDesc::getAlign | ( | ) | const [inline] |
Definition at line 294 of file MachineDebugInfo.h.
DebugInfoDesc* llvm::TypeDesc::getContext | ( | ) | const [inline] |
Definition at line 289 of file MachineDebugInfo.h.
Referenced by llvm::CompositeTypeDesc::dump(), llvm::DerivedTypeDesc::dump(), and llvm::BasicTypeDesc::dump().
const char * TypeDesc::getDescString | ( | ) | const [virtual] |
getDescString - Return a string used to compose global names and labels.
Implements llvm::DebugInfoDesc.
Reimplemented in llvm::BasicTypeDesc, llvm::DerivedTypeDesc, and llvm::CompositeTypeDesc.
Definition at line 686 of file MachineDebugInfo.cpp.
Referenced by dump().
CompileUnitDesc* llvm::TypeDesc::getFile | ( | ) | const [inline] |
Definition at line 291 of file MachineDebugInfo.h.
Referenced by llvm::CompositeTypeDesc::dump(), and llvm::DerivedTypeDesc::dump().
unsigned llvm::TypeDesc::getLine | ( | ) | const [inline] |
Definition at line 292 of file MachineDebugInfo.h.
Referenced by llvm::CompositeTypeDesc::dump(), and llvm::DerivedTypeDesc::dump().
const std::string& llvm::TypeDesc::getName | ( | ) | const [inline] |
Definition at line 290 of file MachineDebugInfo.h.
Referenced by llvm::CompositeTypeDesc::dump(), llvm::DerivedTypeDesc::dump(), and llvm::BasicTypeDesc::dump().
uint64_t llvm::TypeDesc::getOffset | ( | ) | const [inline] |
Definition at line 295 of file MachineDebugInfo.h.
uint64_t llvm::TypeDesc::getSize | ( | ) | const [inline] |
Definition at line 293 of file MachineDebugInfo.h.
Referenced by llvm::CompositeTypeDesc::dump(), llvm::DerivedTypeDesc::dump(), and llvm::BasicTypeDesc::dump().
const char * TypeDesc::getTypeString | ( | ) | const [virtual] |
getTypeString - Return a string used to label this descriptor's type.
Implements llvm::DebugInfoDesc.
Reimplemented in llvm::BasicTypeDesc, llvm::DerivedTypeDesc, and llvm::CompositeTypeDesc.
Definition at line 692 of file MachineDebugInfo.cpp.
void llvm::TypeDesc::setAlign | ( | uint64_t | A | ) | [inline] |
Definition at line 301 of file MachineDebugInfo.h.
void llvm::TypeDesc::setContext | ( | DebugInfoDesc * | C | ) | [inline] |
void llvm::TypeDesc::setFile | ( | CompileUnitDesc * | U | ) | [inline] |
void llvm::TypeDesc::setLine | ( | unsigned | L | ) | [inline] |
Definition at line 299 of file MachineDebugInfo.h.
void llvm::TypeDesc::setName | ( | const std::string & | N | ) | [inline] |
Definition at line 297 of file MachineDebugInfo.h.
void llvm::TypeDesc::setOffset | ( | uint64_t | O | ) | [inline] |
Definition at line 302 of file MachineDebugInfo.h.
void llvm::TypeDesc::setSize | ( | uint64_t | S | ) | [inline] |
Definition at line 300 of file MachineDebugInfo.h.