LLVM API Documentation

llvm::DIEDelta Class Reference

#include <DIE.h>

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

List of all members.

Public Member Functions

 DIEDelta (const DWLabel &Hi, const DWLabel &Lo)
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 &LabelHi, const DWLabel &LabelLo)
static bool classof (const DIEDelta *)
static bool classof (const DIEValue *D)


Detailed Description

DIEDelta - A simple label difference DIE.

Definition at line 441 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEDelta::DIEDelta ( const DWLabel &  Hi,
const DWLabel &  Lo 
) [inline]

Definition at line 445 of file DIE.h.


Member Function Documentation

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

EmitValue - Emit delta value.

Implements llvm::DIEValue.

Definition at line 396 of file DIE.cpp.

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

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

SizeOf - Determine size of delta value in bytes.

Implements llvm::DIEValue.

Definition at line 403 of file DIE.cpp.

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

void DIEDelta::Profile ( FoldingSetNodeID &  ID,
const DWLabel &  LabelHi,
const DWLabel &  LabelLo 
) [static]

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

Definition at line 410 of file DIE.cpp.

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

Referenced by Profile().

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

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

Implements llvm::DIEValue.

Definition at line 416 of file DIE.cpp.

References Profile().

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

Definition at line 463 of file DIE.h.

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

Reimplemented from llvm::DIEValue.

Definition at line 464 of file DIE.h.

References llvm::DIEValue::getType().

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

Implements llvm::DIEValue.

Definition at line 421 of file DIE.cpp.


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