LLVM API Documentation

llvm::DIEValue Class Reference

#include <DIE.h>

Inheritance diagram for llvm::DIEValue:
[legend]
Collaboration diagram for llvm::DIEValue:
[legend]

List of all members.

Public Types

enum  {
  isInteger, isString, isLabel, isAsIsLabel,
  isSectionOffset, isDelta, isEntry, isBlock
}

Public Member Functions

 DIEValue (unsigned T)
virtual ~DIEValue ()
unsigned getType () const
virtual void EmitValue (Dwarf *D, unsigned Form) const =0
virtual unsigned SizeOf (const TargetData *TD, unsigned Form) const =0
virtual void Profile (FoldingSetNodeID &ID)=0
void print (std::ostream *O)
virtual void print (std::ostream &O)=0
void dump ()

Static Public Member Functions

static bool classof (const DIEValue *)

Protected Attributes

unsigned Type


Detailed Description

DIEValue - A debug information entry value.

Definition at line 212 of file DIE.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
isInteger 
isString 
isLabel 
isAsIsLabel 
isSectionOffset 
isDelta 
isEntry 
isBlock 

Definition at line 214 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEValue::DIEValue ( unsigned  T  )  [inline, explicit]

Definition at line 229 of file DIE.h.

virtual llvm::DIEValue::~DIEValue (  )  [inline, virtual]

Definition at line 230 of file DIE.h.


Member Function Documentation

unsigned llvm::DIEValue::getType (  )  const [inline]

virtual void llvm::DIEValue::EmitValue ( Dwarf *  D,
unsigned  Form 
) const [pure virtual]

virtual unsigned llvm::DIEValue::SizeOf ( const TargetData *  TD,
unsigned  Form 
) const [pure virtual]

virtual void llvm::DIEValue::Profile ( FoldingSetNodeID &  ID  )  [pure virtual]

Profile - Used to gather unique data for the value folding set.

Implemented in llvm::DIEInteger, llvm::DIEString, llvm::DIEDwarfLabel, llvm::DIEObjectLabel, llvm::DIESectionOffset, llvm::DIEDelta, llvm::DIEEntry, and llvm::DIEBlock.

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

void llvm::DIEValue::print ( std::ostream *  O  )  [inline]

Definition at line 251 of file DIE.h.

Referenced by dump().

virtual void llvm::DIEValue::print ( std::ostream &  O  )  [pure virtual]

void DIEValue::dump (  ) 

Definition at line 185 of file DIE.cpp.

References llvm::cerr(), and print().


Member Data Documentation

Type - Type of data stored in the value.

Definition at line 227 of file DIE.h.


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