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

An integer value DIE. More...

#include "llvm/CodeGen/DIE.h"

Public Member Functions

 DIEInteger (uint64_t I)
uint64_t getValue () const
void setValue (uint64_t Val)
void EmitValue (const AsmPrinter *Asm, 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 163 of file DIE.h.

Constructor & Destructor Documentation

◆ DIEInteger()

llvm::DIEInteger::DIEInteger ( uint64_t  I)

Definition at line 167 of file DIE.h.

Member Function Documentation

◆ BestForm()

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

Choose the best form for integer.

Definition at line 170 of file DIE.h.

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

◆ EmitValue()

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

EmitValue - Emit integer of appropriate size.

Definition at line 375 of file DIE.cpp.

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

Referenced by llvm::AccelTableBase::finalize().

◆ getValue()

uint64_t llvm::DIEInteger::getValue ( ) const

Definition at line 190 of file DIE.h.

References llvm::Integer.

◆ print()

LLVM_DUMP_METHOD void DIEInteger::print ( raw_ostream O) const

Definition at line 455 of file DIE.cpp.

References llvm::Integer, and llvm::raw_ostream::write_hex().

◆ setValue()

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

Definition at line 191 of file DIE.h.

References llvm::HexStyle::Asm, llvm::RISCVFenceField::O, and print().

◆ SizeOf()

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

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