LLVM API Documentation

llvm::TypeDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::TypeDesc:

Inheritance graph
[legend]
Collaboration diagram for llvm::TypeDesc:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TypeDesc (unsigned T)
DebugInfoDescgetContext () const
const std::string & getName () const
CompileUnitDescgetFile () const
unsigned getLine () const
uint64_t getSize () const
uint64_t getAlign () const
uint64_t getOffset () const
bool isPrivate () const
bool isProtected () 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)
void setIsPrivate ()
void setIsProtected ()
virtual void ApplyToFields (DIVisitor *Visitor)
virtual const char * getDescString () const
virtual const char * getTypeString () const
virtual void dump ()

Detailed Description

TypeDesc - This class packages debug information associated with a type.

Definition at line 278 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

TypeDesc::TypeDesc ( unsigned  T  ) 

Definition at line 674 of file MachineDebugInfo.cpp.


Member Function Documentation

DebugInfoDesc* llvm::TypeDesc::getContext (  )  const [inline]

Definition at line 297 of file MachineDebugInfo.h.

Referenced by llvm::CompositeTypeDesc::dump(), llvm::DerivedTypeDesc::dump(), and llvm::BasicTypeDesc::dump().

const std::string& llvm::TypeDesc::getName (  )  const [inline]

Definition at line 298 of file MachineDebugInfo.h.

Referenced by llvm::CompositeTypeDesc::dump(), llvm::DerivedTypeDesc::dump(), and llvm::BasicTypeDesc::dump().

CompileUnitDesc* llvm::TypeDesc::getFile (  )  const [inline]

Definition at line 299 of file MachineDebugInfo.h.

Referenced by llvm::CompositeTypeDesc::dump(), and llvm::DerivedTypeDesc::dump().

unsigned llvm::TypeDesc::getLine (  )  const [inline]

Definition at line 302 of file MachineDebugInfo.h.

Referenced by llvm::CompositeTypeDesc::dump(), and llvm::DerivedTypeDesc::dump().

uint64_t llvm::TypeDesc::getSize (  )  const [inline]

Definition at line 303 of file MachineDebugInfo.h.

Referenced by llvm::CompositeTypeDesc::dump(), llvm::DerivedTypeDesc::dump(), and llvm::BasicTypeDesc::dump().

uint64_t llvm::TypeDesc::getAlign (  )  const [inline]

Definition at line 304 of file MachineDebugInfo.h.

uint64_t llvm::TypeDesc::getOffset (  )  const [inline]

Definition at line 305 of file MachineDebugInfo.h.

bool llvm::TypeDesc::isPrivate (  )  const [inline]

Definition at line 306 of file MachineDebugInfo.h.

bool llvm::TypeDesc::isProtected (  )  const [inline]

Definition at line 309 of file MachineDebugInfo.h.

void llvm::TypeDesc::setContext ( DebugInfoDesc C  )  [inline]

Definition at line 312 of file MachineDebugInfo.h.

References C.

void llvm::TypeDesc::setName ( const std::string &  N  )  [inline]

Definition at line 313 of file MachineDebugInfo.h.

void llvm::TypeDesc::setFile ( CompileUnitDesc U  )  [inline]

Definition at line 314 of file MachineDebugInfo.h.

References U.

void llvm::TypeDesc::setLine ( unsigned  L  )  [inline]

Definition at line 317 of file MachineDebugInfo.h.

void llvm::TypeDesc::setSize ( uint64_t  S  )  [inline]

Definition at line 318 of file MachineDebugInfo.h.

void llvm::TypeDesc::setAlign ( uint64_t  A  )  [inline]

Definition at line 319 of file MachineDebugInfo.h.

void llvm::TypeDesc::setOffset ( uint64_t  O  )  [inline]

Definition at line 320 of file MachineDebugInfo.h.

void llvm::TypeDesc::setIsPrivate (  )  [inline]

Definition at line 321 of file MachineDebugInfo.h.

void llvm::TypeDesc::setIsProtected (  )  [inline]

Definition at line 322 of file MachineDebugInfo.h.

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 688 of file MachineDebugInfo.cpp.

References llvm::DIVisitor::Apply(), llvm::DebugInfoDesc::ApplyToFields(), llvm::DebugInfoDesc::getVersion(), and llvm::LLVMDebugVersion4.

Referenced by llvm::DerivedTypeDesc::ApplyToFields(), and llvm::BasicTypeDesc::ApplyToFields().

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 703 of file MachineDebugInfo.cpp.

Referenced by 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 709 of file MachineDebugInfo.cpp.

void TypeDesc::dump (  )  [virtual]

Implements llvm::DebugInfoDesc.

Reimplemented in llvm::BasicTypeDesc, llvm::DerivedTypeDesc, and llvm::CompositeTypeDesc.

Definition at line 714 of file MachineDebugInfo.cpp.

References getDescString(), llvm::DebugInfoDesc::getTag(), and llvm::DebugInfoDesc::getVersion().


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