LLVM API Documentation

llvm::BasicTypeDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::BasicTypeDesc:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BasicTypeDesc ()
unsigned getEncoding () const
void setEncoding (unsigned E)
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 BasicTypeDesc *)
static bool classof (const DebugInfoDesc *D)

Detailed Description

BasicTypeDesc - This class packages debug information associated with a basic type (eg. int, bool, double.)

Definition at line 324 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

BasicTypeDesc::BasicTypeDesc (  ) 

Definition at line 712 of file MachineDebugInfo.cpp.


Member Function Documentation

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

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

Reimplemented from llvm::TypeDesc.

Definition at line 724 of file MachineDebugInfo.cpp.

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

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

Reimplemented from llvm::DebugInfoDesc.

Definition at line 718 of file MachineDebugInfo.cpp.

References D, and llvm::dwarf::DW_TAG_base_type.

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

Definition at line 336 of file MachineDebugInfo.h.

void BasicTypeDesc::dump (  )  [virtual]

Reimplemented from llvm::TypeDesc.

Definition at line 743 of file MachineDebugInfo.cpp.

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

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

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

Reimplemented from llvm::TypeDesc.

Definition at line 732 of file MachineDebugInfo.cpp.

Referenced by dump().

unsigned llvm::BasicTypeDesc::getEncoding (  )  const [inline]

Definition at line 332 of file MachineDebugInfo.h.

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

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

Reimplemented from llvm::TypeDesc.

Definition at line 738 of file MachineDebugInfo.cpp.

void llvm::BasicTypeDesc::setEncoding ( unsigned  E  )  [inline]

Definition at line 333 of file MachineDebugInfo.h.


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