LLVM API Documentation

Public Member Functions | Static Public Member Functions
llvm::DIEInteger Class Reference

#include <DIE.h>

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)
void EmitValue (AsmPrinter *AP, dwarf::Form Form) const override
uint64_t getValue () const
unsigned SizeOf (AsmPrinter *AP, dwarf::Form Form) const override
void print (raw_ostream &O) const override

Static Public Member Functions

static dwarf::Form BestForm (bool IsSigned, uint64_t Int)
static bool classof (const DIEValue *I)

Detailed Description

DIEInteger - An integer value DIE.

Definition at line 248 of file DIE.h.


Constructor & Destructor Documentation

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

Definition at line 252 of file DIE.h.


Member Function Documentation

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

BestForm - Choose the best form for integer.

Definition at line 256 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::tgtok::Int.

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

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

Definition at line 287 of file DIE.h.

References llvm::DIEValue::getType(), and llvm::DIEValue::isInteger.

void DIEInteger::EmitValue ( AsmPrinter Asm,
dwarf::Form  Form 
) const [override, virtual]
uint64_t llvm::DIEInteger::getValue ( ) const [inline]

Definition at line 280 of file DIE.h.

void DIEInteger::print ( raw_ostream O) const [override, virtual]

Implements llvm::DIEValue.

Definition at line 261 of file DIE.cpp.

References llvm::raw_ostream::write_hex().

unsigned DIEInteger::SizeOf ( AsmPrinter AP,
dwarf::Form  Form 
) const [override, virtual]

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