LLVM
8.0.1
|
#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... | |
|
inlinestatic |
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().
void DIEInteger::EmitValue | ( | const AsmPrinter * | Asm, |
dwarf::Form | Form | ||
) | const |
EmitValue - Emit integer of appropriate size.
Definition at line 376 of file DIE.cpp.
References llvm::AsmPrinter::EmitSLEB128(), llvm::AsmPrinter::EmitULEB128(), llvm::Integer, llvm_unreachable, and llvm::AsmPrinter::OutStreamer.
Referenced by llvm::AccelTableBase::finalize().
|
inline |
Definition at line 190 of file DIE.h.
References llvm::Integer.
LLVM_DUMP_METHOD void DIEInteger::print | ( | raw_ostream & | O | ) | const |
Definition at line 456 of file DIE.cpp.
References llvm::Integer, and llvm::raw_ostream::write_hex().
|
inline |
Definition at line 191 of file DIE.h.
References llvm::HexStyle::Asm, llvm::RISCVFenceField::O, and print().
unsigned DIEInteger::SizeOf | ( | const AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const |
SizeOf - Determine size of integer value in bytes.
Definition at line 431 of file DIE.cpp.
References llvm::dwarf::DWARF32, llvm::AsmPrinter::getDwarfVersion(), llvm::dwarf::getFixedFormByteSize(), llvm::AsmPrinter::getPointerSize(), llvm::getSLEB128Size(), llvm::getULEB128Size(), llvm::Integer, LLVM_DUMP_METHOD, llvm_unreachable, and llvm::AsmPrinter::OutStreamer.