LLVM API Documentation

llvm::DIEDwarfLabel Class Reference

DIEDwarfLabel - A Dwarf internal label expression DIE. More...

#include <DIE.h>

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

List of all members.

Public Member Functions

 DIEDwarfLabel (const DWLabel &L)
virtual void EmitValue (Dwarf *D, unsigned Form) const
virtual unsigned SizeOf (const TargetData *TD, unsigned Form) const
virtual void Profile (FoldingSetNodeID &ID)
virtual void print (std::ostream &O)

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, const DWLabel &Label)
static bool classof (const DIEDwarfLabel *)
static bool classof (const DIEValue *L)


Detailed Description

DIEDwarfLabel - A Dwarf internal label expression DIE.

Definition at line 339 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEDwarfLabel::DIEDwarfLabel ( const DWLabel &  L  )  [inline, explicit]

Definition at line 342 of file DIE.h.


Member Function Documentation

void DIEDwarfLabel::EmitValue ( Dwarf *  D,
unsigned  Form 
) const [virtual]

EmitValue - Emit label value.

Implements llvm::DIEValue.

Definition at line 283 of file DIE.cpp.

References llvm::dwarf::DW_FORM_data4, and llvm::Dwarf::EmitReference().

unsigned DIEDwarfLabel::SizeOf ( const TargetData *  TD,
unsigned  Form 
) const [virtual]

SizeOf - Determine size of label value in bytes.

Implements llvm::DIEValue.

Definition at line 290 of file DIE.cpp.

References llvm::dwarf::DW_FORM_data4, and llvm::TargetData::getPointerSize().

void DIEDwarfLabel::Profile ( FoldingSetNodeID &  ID,
const DWLabel &  Label 
) [static]

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

Definition at line 297 of file DIE.cpp.

References llvm::FoldingSetNodeID::AddInteger(), and llvm::DIEValue::isLabel.

Referenced by Profile().

void DIEDwarfLabel::Profile ( FoldingSetNodeID &  ID  )  [virtual]

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

Implements llvm::DIEValue.

Definition at line 301 of file DIE.cpp.

References Profile().

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

Definition at line 358 of file DIE.h.

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

Reimplemented from llvm::DIEValue.

Definition at line 359 of file DIE.h.

References llvm::DIEValue::getType().

void DIEDwarfLabel::print ( std::ostream &  O  )  [virtual]

Implements llvm::DIEValue.

Definition at line 306 of file DIE.cpp.


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