LLVM API Documentation

llvm::GlobalDesc Class Reference

#include <MachineDebugInfo.h>

Inheritance diagram for llvm::GlobalDesc:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

DebugInfoDescgetContext () const
const std::string & getName () const
CompileUnitDescgetFile () const
unsigned getLine () const
TypeDescgetType () const
bool isStatic () const
bool isDefinition () const
void setContext (DebugInfoDesc *C)
void setName (const std::string &N)
void setFile (CompileUnitDesc *U)
void setLine (unsigned L)
void setType (TypeDesc *T)
void setIsStatic (bool IS)
void setIsDefinition (bool ID)
virtual void ApplyToFields (DIVisitor *Visitor)

Protected Member Functions

 GlobalDesc (unsigned T)

Detailed Description

GlobalDesc - This class is the base descriptor for global functions and variables.

Definition at line 553 of file MachineDebugInfo.h.


Constructor & Destructor Documentation

GlobalDesc::GlobalDesc ( unsigned  T  )  [protected]

Definition at line 1019 of file MachineDebugInfo.cpp.


Member Function Documentation

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

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

Reimplemented from llvm::AnchoredDesc.

Reimplemented in llvm::GlobalVariableDesc, and llvm::SubprogramDesc.

Definition at line 1032 of file MachineDebugInfo.cpp.

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

Referenced by llvm::SubprogramDesc::ApplyToFields(), and llvm::GlobalVariableDesc::ApplyToFields().

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

Definition at line 568 of file MachineDebugInfo.h.

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

Definition at line 570 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

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

Definition at line 571 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

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

Definition at line 569 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

TypeDesc* llvm::GlobalDesc::getType (  )  const [inline]

Definition at line 572 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

bool llvm::GlobalDesc::isDefinition (  )  const [inline]

Definition at line 574 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

bool llvm::GlobalDesc::isStatic (  )  const [inline]

Definition at line 573 of file MachineDebugInfo.h.

Referenced by llvm::SubprogramDesc::dump(), and llvm::GlobalVariableDesc::dump().

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

Definition at line 575 of file MachineDebugInfo.h.

References llvm::CallingConv::C.

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

Definition at line 577 of file MachineDebugInfo.h.

References U.

void llvm::GlobalDesc::setIsDefinition ( bool  ID  )  [inline]

Definition at line 581 of file MachineDebugInfo.h.

void llvm::GlobalDesc::setIsStatic ( bool  IS  )  [inline]

Definition at line 580 of file MachineDebugInfo.h.

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

Definition at line 578 of file MachineDebugInfo.h.

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

Definition at line 576 of file MachineDebugInfo.h.

void llvm::GlobalDesc::setType ( TypeDesc T  )  [inline]

Definition at line 579 of file MachineDebugInfo.h.

References T.


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