LLVM API Documentation

llvm::DerivedTypeDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::DerivedTypeDesc:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DerivedTypeDesc (unsigned T)
TypeDescgetFromType () const
void setFromType (TypeDesc *F)
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 DerivedTypeDesc *)
static bool classof (const DebugInfoDesc *D)

Detailed Description

DerivedTypeDesc - This class packages debug information associated with a derived types (eg., typedef, pointer, reference.)

Definition at line 360 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

DerivedTypeDesc::DerivedTypeDesc ( unsigned  T  ) 

Definition at line 755 of file MachineDebugInfo.cpp.


Member Function Documentation

void DerivedTypeDesc::ApplyToFields ( DIVisitor Visitor  )  [virtual]

ApplyToFields - Target the visitor to the fields of the DerivedTypeDesc.

Reimplemented from llvm::TypeDesc.

Reimplemented in llvm::CompositeTypeDesc.

Definition at line 779 of file MachineDebugInfo.cpp.

References llvm::DIVisitor::Apply(), and llvm::TypeDesc::ApplyToFields().

Referenced by llvm::CompositeTypeDesc::ApplyToFields().

bool DerivedTypeDesc::classof ( const DebugInfoDesc D  )  [static]

Reimplemented from llvm::DebugInfoDesc.

Reimplemented in llvm::CompositeTypeDesc.

Definition at line 761 of file MachineDebugInfo.cpp.

References D, llvm::dwarf::DW_TAG_const_type, llvm::dwarf::DW_TAG_member, llvm::dwarf::DW_TAG_pointer_type, llvm::dwarf::DW_TAG_reference_type, llvm::dwarf::DW_TAG_restrict_type, llvm::dwarf::DW_TAG_typedef, llvm::dwarf::DW_TAG_volatile_type, and T.

static bool llvm::DerivedTypeDesc::classof ( const DerivedTypeDesc  )  [inline, static]

Definition at line 372 of file MachineDebugInfo.h.

void DerivedTypeDesc::dump (  )  [virtual]

Reimplemented from llvm::TypeDesc.

Reimplemented in llvm::CompositeTypeDesc.

Definition at line 800 of file MachineDebugInfo.cpp.

References llvm::TypeDesc::getContext(), getDescString(), llvm::TypeDesc::getFile(), llvm::TypeDesc::getLine(), llvm::TypeDesc::getName(), llvm::TypeDesc::getSize(), and llvm::DebugInfoDesc::getTag().

const char * DerivedTypeDesc::getDescString (  )  const [virtual]

getDescString - Return a string used to compose global names and labels.

Reimplemented from llvm::TypeDesc.

Reimplemented in llvm::CompositeTypeDesc.

Definition at line 789 of file MachineDebugInfo.cpp.

Referenced by dump().

TypeDesc* llvm::DerivedTypeDesc::getFromType (  )  const [inline]

Definition at line 368 of file MachineDebugInfo.h.

Referenced by llvm::CompositeTypeDesc::dump().

const char * DerivedTypeDesc::getTypeString (  )  const [virtual]

getTypeString - Return a string used to label this descriptor's type.

Reimplemented from llvm::TypeDesc.

Reimplemented in llvm::CompositeTypeDesc.

Definition at line 795 of file MachineDebugInfo.cpp.

void llvm::DerivedTypeDesc::setFromType ( TypeDesc F  )  [inline]

Definition at line 369 of file MachineDebugInfo.h.

References F.


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