LLVM 20.0.0git
|
#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. | |
unsigned | sizeOf (const dwarf::FormParams &FormParams, dwarf::Form Form) const |
sizeOf - Determine size of integer value in bytes. | |
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. | |
|
inlineexplicit |
Definition at line 172 of file DIE.h.
References llvm::Integer.
|
inlinestatic |
Choose the best form for integer.
Definition at line 175 of file DIE.h.
References Int.
Referenced by llvm::DwarfUnit::addSInt(), llvm::DwarfUnit::addUInt(), llvm::dwarf_linker::classic::DwarfStreamer::emitDebugNames(), llvm::dwarf_linker::parallel::DwarfEmitterImpl::emitDebugNames(), and llvm::emitDWARF5AccelTable().
void DIEInteger::emitValue | ( | const AsmPrinter * | Asm, |
dwarf::Form | Form | ||
) | const |
EmitValue - Emit integer of appropriate size.
Definition at line 364 of file DIE.cpp.
References llvm_unreachable, and sizeOf().
Referenced by llvm::DIEString::emitValue(), and llvm::DIEAddrOffset::emitValue().
|
inline |
Definition at line 195 of file DIE.h.
References llvm::Integer.
LLVM_DUMP_METHOD void DIEInteger::print | ( | raw_ostream & | O | ) | const |
Definition at line 443 of file DIE.cpp.
Referenced by llvm::DIEAddrOffset::print().
|
inline |
Definition at line 196 of file DIE.h.
References llvm::Integer.
unsigned DIEInteger::sizeOf | ( | const dwarf::FormParams & | FormParams, |
dwarf::Form | Form | ||
) | const |
sizeOf - Determine size of integer value in bytes.
Definition at line 421 of file DIE.cpp.
References llvm::dwarf::getFixedFormByteSize(), llvm::getSLEB128Size(), llvm::getULEB128Size(), and llvm_unreachable.
Referenced by emitValue(), llvm::DIEString::sizeOf(), and llvm::DIEAddrOffset::sizeOf().