LLVM API Documentation

llvm::DIEInteger Class Reference

Inheritance diagram for llvm::DIEInteger:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DIEInteger (uint64_t I)
unsigned BestForm (bool IsSigned)
virtual void EmitValue (const DwarfWriter &DW, unsigned Form) const
virtual unsigned SizeOf (const DwarfWriter &DW, unsigned Form) const

Static Public Member Functions

static bool classof (const DIEInteger *)
static bool classof (const DIEValue *I)

Detailed Description

Definition at line 221 of file DwarfWriter.cpp.


Constructor & Destructor Documentation

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

Definition at line 226 of file DwarfWriter.cpp.


Member Function Documentation

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

Definition at line 229 of file DwarfWriter.cpp.

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

Reimplemented from llvm::DIEValue.

Definition at line 230 of file DwarfWriter.cpp.

References llvm::DIEValue::isInteger, and llvm::DIEValue::Type.

unsigned DIEInteger::BestForm ( bool  IsSigned  ) 

BestForm - Choose the best form for integer.

Definition at line 600 of file DwarfWriter.cpp.

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

Referenced by llvm::DIE::AddSInt(), llvm::DIEBlock::AddSInt(), llvm::DIE::AddUInt(), and llvm::DIEBlock::AddUInt().

void DIEInteger::EmitValue ( const DwarfWriter DW,
unsigned  Form 
) const [virtual]

EmitValue - Emit integer of appropriate size.

Implements llvm::DIEValue.

Definition at line 615 of file DwarfWriter.cpp.

References DW, llvm::dwarf::DW_FORM_data1, llvm::dwarf::DW_FORM_data2, llvm::dwarf::DW_FORM_data4, llvm::dwarf::DW_FORM_data8, llvm::dwarf::DW_FORM_flag, llvm::dwarf::DW_FORM_ref1, llvm::dwarf::DW_FORM_ref2, llvm::dwarf::DW_FORM_ref4, llvm::dwarf::DW_FORM_ref8, llvm::dwarf::DW_FORM_sdata, and llvm::dwarf::DW_FORM_udata.

unsigned DIEInteger::SizeOf ( const DwarfWriter DW,
unsigned  Form 
) const [virtual]

SizeOf - Determine size of integer value in bytes.

Implements llvm::DIEValue.

Definition at line 634 of file DwarfWriter.cpp.

References DW, llvm::dwarf::DW_FORM_data1, llvm::dwarf::DW_FORM_data2, llvm::dwarf::DW_FORM_data4, llvm::dwarf::DW_FORM_data8, llvm::dwarf::DW_FORM_flag, llvm::dwarf::DW_FORM_ref1, llvm::dwarf::DW_FORM_ref2, llvm::dwarf::DW_FORM_ref4, llvm::dwarf::DW_FORM_ref8, llvm::dwarf::DW_FORM_sdata, and llvm::dwarf::DW_FORM_udata.


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