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 220 of file DwarfWriter.cpp.


Constructor & Destructor Documentation

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

Definition at line 225 of file DwarfWriter.cpp.


Member Function Documentation

unsigned DIEInteger::BestForm ( bool  IsSigned  ) 

BestForm - Choose the best form for integer.

Definition at line 599 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().

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

Reimplemented from llvm::DIEValue.

Definition at line 229 of file DwarfWriter.cpp.

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

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

Definition at line 228 of file DwarfWriter.cpp.

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

EmitValue - Emit integer of appropriate size.

Implements llvm::DIEValue.

Definition at line 614 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 633 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: