LLVM API Documentation
#include <DIE.h>
Public Member Functions | |
| DIEInteger (uint64_t I) | |
| virtual void | EmitValue (Dwarf *D, unsigned Form) const |
| virtual unsigned | SizeOf (const TargetData *TD, unsigned Form) const |
| virtual void | Profile (FoldingSetNodeID &ID) |
| virtual void | print (std::ostream &O) |
Static Public Member Functions | |
| static unsigned | BestForm (bool IsSigned, uint64_t Int) |
| static void | Profile (FoldingSetNodeID &ID, unsigned Int) |
| static bool | classof (const DIEInteger *) |
| static bool | classof (const DIEValue *I) |
Definition at line 262 of file DIE.h.
| llvm::DIEInteger::DIEInteger | ( | uint64_t | I | ) | [inline, explicit] |
BestForm - Choose the best form for integer.
Definition at line 269 of file DIE.h.
References llvm::dwarf::DW_FORM_data1, llvm::dwarf::DW_FORM_data2, llvm::dwarf::DW_FORM_data4, and llvm::dwarf::DW_FORM_data8.
EmitValue - Emit integer of appropriate size.
Implements llvm::DIEValue.
Definition at line 196 of file DIE.cpp.
References llvm::dwarf::DW_FORM_data1, llvm::dwarf::DW_FORM_data2, llvm::dwarf::DW_FORM_data4, llvm::dwarf::DW_FORM_data8, llvm::dwarf::DW_FORM_flag, llvm::dwarf::DW_FORM_ref1, llvm::dwarf::DW_FORM_ref2, llvm::dwarf::DW_FORM_ref4, llvm::dwarf::DW_FORM_ref8, llvm::dwarf::DW_FORM_sdata, llvm::dwarf::DW_FORM_udata, llvm::AsmPrinter::EmitInt16(), llvm::AsmPrinter::EmitInt32(), llvm::AsmPrinter::EmitInt64(), llvm::AsmPrinter::EmitInt8(), llvm::AsmPrinter::EmitSLEB128Bytes(), llvm::AsmPrinter::EmitULEB128Bytes(), llvm::Dwarf::getAsm(), and llvm_unreachable.
| unsigned DIEInteger::SizeOf | ( | const TargetData * | TD, | |
| unsigned | Form | |||
| ) | const [virtual] |
SizeOf - Determine size of integer value in bytes.
Implements llvm::DIEValue.
Definition at line 216 of file DIE.cpp.
References llvm::dwarf::DW_FORM_data1, llvm::dwarf::DW_FORM_data2, llvm::dwarf::DW_FORM_data4, llvm::dwarf::DW_FORM_data8, llvm::dwarf::DW_FORM_flag, llvm::dwarf::DW_FORM_ref1, llvm::dwarf::DW_FORM_ref2, llvm::dwarf::DW_FORM_ref4, llvm::dwarf::DW_FORM_ref8, llvm::dwarf::DW_FORM_sdata, llvm::dwarf::DW_FORM_udata, llvm::TargetAsmInfo::getSLEB128Size(), llvm::TargetAsmInfo::getULEB128Size(), and llvm_unreachable.
| void DIEInteger::Profile | ( | FoldingSetNodeID & | ID, | |
| unsigned | Int | |||
| ) | [static] |
Profile - Used to gather unique data for the value folding set.
Definition at line 236 of file DIE.cpp.
References llvm::FoldingSetNodeID::AddInteger(), and llvm::DIEValue::isInteger.
Referenced by Profile().
| void DIEInteger::Profile | ( | FoldingSetNodeID & | ID | ) | [virtual] |
Profile - Used to gather unique data for the value folding set.
Implements llvm::DIEValue.
Definition at line 240 of file DIE.cpp.
References Profile().
| static bool llvm::DIEInteger::classof | ( | const DIEInteger * | ) | [inline, static] |
Reimplemented from llvm::DIEValue.
Definition at line 297 of file DIE.h.
References llvm::DIEValue::getType().
| void DIEInteger::print | ( | std::ostream & | O | ) | [virtual] |