LLVM  3.7.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::DIEInteger Class Reference

DIEInteger - An integer value DIE. More...

#include <DIE.h>

Public Member Functions

 DIEInteger (uint64_t I)
 
uint64_t getValue () const
 
void setValue (uint64_t Val)
 
void EmitValue (const AsmPrinter *AP, dwarf::Form Form) const
 EmitValue - Emit integer of appropriate size. More...
 
unsigned SizeOf (const AsmPrinter *AP, dwarf::Form Form) const
 SizeOf - Determine size of integer value in bytes. More...
 
void print (raw_ostream &O) const
 

Static Public Member Functions

static dwarf::Form BestForm (bool IsSigned, uint64_t Int)
 BestForm - Choose the best form for integer. More...
 

Detailed Description

DIEInteger - An integer value DIE.

Definition at line 112 of file DIE.h.

Constructor & Destructor Documentation

llvm::DIEInteger::DIEInteger ( uint64_t  I)
inlineexplicit

Definition at line 116 of file DIE.h.

Member Function Documentation

static dwarf::Form llvm::DIEInteger::BestForm ( bool  IsSigned,
uint64_t  Int 
)
inlinestatic

BestForm - Choose the best form for integer.

Definition at line 120 of file DIE.h.

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

Referenced by llvm::DwarfUnit::addSInt(), and llvm::DwarfUnit::addUInt().

void DIEInteger::EmitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const
uint64_t llvm::DIEInteger::getValue ( ) const
inline

Definition at line 140 of file DIE.h.

void DIEInteger::print ( raw_ostream O) const

Definition at line 307 of file DIE.cpp.

References llvm::raw_ostream::write_hex().

void llvm::DIEInteger::setValue ( uint64_t  Val)
inline

Definition at line 141 of file DIE.h.

unsigned DIEInteger::SizeOf ( const AsmPrinter AP,
dwarf::Form  Form 
) const

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