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

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)
 Choose the best form for integer. More...
 

Detailed Description

An integer value DIE.

Definition at line 161 of file DIE.h.

Constructor & Destructor Documentation

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

Definition at line 165 of file DIE.h.

Member Function Documentation

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

Choose the best form for integer.

Definition at line 168 of file DIE.h.

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

void DIEInteger::EmitValue ( const AsmPrinter AP,
dwarf::Form  Form 
) const

EmitValue - Emit integer of appropriate size.

Definition at line 354 of file DIE.cpp.

References llvm::AsmPrinter::EmitSLEB128(), llvm::AsmPrinter::EmitULEB128(), LLVM_FALLTHROUGH, llvm_unreachable, llvm::AsmPrinter::OutStreamer, and SizeOf().

uint64_t llvm::DIEInteger::getValue ( ) const
inline

Definition at line 188 of file DIE.h.

LLVM_DUMP_METHOD void DIEInteger::print ( raw_ostream O) const

Definition at line 475 of file DIE.cpp.

References llvm::raw_ostream::write_hex().

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

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