LLVM
8.0.1
|
DIELoc - Represents an expression location. More...
#include "llvm/CodeGen/DIE.h"
Public Member Functions | |
DIELoc ()=default | |
unsigned | ComputeSize (const AsmPrinter *AP) const |
ComputeSize - Calculate the size of the location expression. More... | |
dwarf::Form | BestForm (unsigned DwarfVersion) const |
BestForm - Choose the best form for data. More... | |
void | EmitValue (const AsmPrinter *Asm, dwarf::Form Form) const |
EmitValue - Emit location data. More... | |
unsigned | SizeOf (const AsmPrinter *AP, dwarf::Form Form) const |
SizeOf - Determine size of location data in bytes. More... | |
void | print (raw_ostream &O) const |
Public Member Functions inherited from llvm::DIEValueList | |
value_iterator | addValue (BumpPtrAllocator &Alloc, const DIEValue &V) |
template<class T > | |
value_iterator | addValue (BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, T &&Value) |
value_range | values () |
const_value_range | values () const |
Additional Inherited Members | |
Public Types inherited from llvm::DIEValueList | |
using | value_range = iterator_range< value_iterator > |
using | const_value_range = iterator_range< const_value_iterator > |
|
default |
|
inline |
BestForm - Choose the best form for data.
Definition at line 858 of file DIE.h.
References llvm::HexStyle::Asm, llvm::RISCVFenceField::O, and print().
Referenced by llvm::DwarfUnit::addBlock().
unsigned DIELoc::ComputeSize | ( | const AsmPrinter * | AP | ) | const |
ComputeSize - Calculate the size of the location expression.
ComputeSize - calculate the size of the location expression.
Definition at line 685 of file DIE.cpp.
References Size, and llvm::cl::values().
Referenced by llvm::DwarfUnit::addBlock().
void DIELoc::EmitValue | ( | const AsmPrinter * | Asm, |
dwarf::Form | Form | ||
) | const |
EmitValue - Emit location data.
Definition at line 696 of file DIE.cpp.
References llvm::AsmPrinter::emitInt16(), llvm::AsmPrinter::emitInt32(), llvm::AsmPrinter::emitInt8(), llvm::AsmPrinter::EmitULEB128(), llvm_unreachable, Size, and llvm::cl::values().
LLVM_DUMP_METHOD void DIELoc::print | ( | raw_ostream & | O | ) | const |
Definition at line 726 of file DIE.cpp.
References printValues(), and Size.
unsigned DIELoc::SizeOf | ( | const AsmPrinter * | AP, |
dwarf::Form | Form | ||
) | const |
SizeOf - Determine size of location data in bytes.
Definition at line 713 of file DIE.cpp.
References llvm::getULEB128Size(), LLVM_DUMP_METHOD, llvm_unreachable, and Size.