LLVM API Documentation

llvm::DIEObjectLabel Class Reference

DIEObjectLabel - A label to an object in code or data. More...

#include <DIE.h>

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

List of all members.

Public Member Functions

 DIEObjectLabel (const std::string &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 std::string &Label)
static bool classof (const DIEObjectLabel *)
static bool classof (const DIEValue *L)


Detailed Description

DIEObjectLabel - A label to an object in code or data.

Definition at line 369 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEObjectLabel::DIEObjectLabel ( const std::string &  L  )  [inline, explicit]

Definition at line 372 of file DIE.h.


Member Function Documentation

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

EmitValue - Emit label value.

Implements llvm::DIEValue.

Definition at line 318 of file DIE.cpp.

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

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

SizeOf - Determine size of label value in bytes.

Implements llvm::DIEValue.

Definition at line 325 of file DIE.cpp.

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

void DIEObjectLabel::Profile ( FoldingSetNodeID &  ID,
const std::string &  Label 
) [static]

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

Definition at line 332 of file DIE.cpp.

References llvm::FoldingSetNodeID::AddInteger(), llvm::FoldingSetNodeID::AddString(), and llvm::DIEValue::isAsIsLabel.

Referenced by Profile().

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

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

Implements llvm::DIEValue.

Definition at line 336 of file DIE.cpp.

References Profile().

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

Definition at line 389 of file DIE.h.

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

Reimplemented from llvm::DIEValue.

Definition at line 390 of file DIE.h.

References llvm::DIEValue::getType().

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

Implements llvm::DIEValue.

Definition at line 341 of file DIE.cpp.


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