LLVM API Documentation

llvm::DIEInteger Class Reference

#include <DIE.h>

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

List of all members.

Public Member Functions

 DIEInteger (uint64_t I)
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 unsigned BestForm (bool IsSigned, uint64_t Int)
static void Profile (FoldingSetNodeID &ID, unsigned Int)
static bool classof (const DIEInteger *)
static bool classof (const DIEValue *I)


Detailed Description

DIEInteger - An integer value DIE.

Definition at line 262 of file DIE.h.


Constructor & Destructor Documentation

llvm::DIEInteger::DIEInteger ( uint64_t  I  )  [inline, explicit]

Definition at line 265 of file DIE.h.


Member Function Documentation

static unsigned llvm::DIEInteger::BestForm ( bool  IsSigned,
uint64_t  Int 
) [inline, static]

BestForm - Choose the best form for integer.

Definition at line 269 of file DIE.h.

References llvm::dwarf::DW_FORM_data1, llvm::dwarf::DW_FORM_data2, llvm::dwarf::DW_FORM_data4, and llvm::dwarf::DW_FORM_data8.

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

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

void DIEInteger::Profile ( FoldingSetNodeID &  ID,
unsigned  Int 
) [static]

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

Definition at line 236 of file DIE.cpp.

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

Referenced by Profile().

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

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

Implements llvm::DIEValue.

Definition at line 240 of file DIE.cpp.

References Profile().

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

Definition at line 296 of file DIE.h.

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

Reimplemented from llvm::DIEValue.

Definition at line 297 of file DIE.h.

References llvm::DIEValue::getType().

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

Implements llvm::DIEValue.

Definition at line 245 of file DIE.cpp.


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