LLVM
12.0.0git
|
#include "llvm/CodeGen/DIE.h"
Classes | |
class | const_value_iterator |
class | value_iterator |
Public Types | |
using | value_range = iterator_range< value_iterator > |
using | const_value_range = iterator_range< const_value_iterator > |
Public Member Functions | |
value_iterator | addValue (BumpPtrAllocator &Alloc, const DIEValue &V) |
template<class T > | |
value_iterator | addValue (BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, T &&Value) |
void | takeValues (DIEValueList &Other) |
Take ownership of the nodes in Other , and append them to the back of the list. More... | |
value_range | values () |
const_value_range | values () const |
A list of DIE values.
This is a singly-linked list, but instead of reversing the order of insertion, we keep a pointer to the back of the list so we can push in order.
There are two main reasons to choose a linked list over a customized vector-like data structure.
|
inline |
Definition at line 696 of file DIE.h.
Referenced by llvm::DwarfCompileUnit::addBaseTypeRef(), llvm::DwarfUnit::addBlock(), llvm::DwarfUnit::addDIETypeSignature(), llvm::DwarfCompileUnit::addExpr(), llvm::DwarfUnit::addFlag(), llvm::DwarfUnit::addLabel(), llvm::DwarfCompileUnit::addLabelAddress(), llvm::DwarfUnit::addLabelDelta(), llvm::DwarfCompileUnit::addLocalLabelAddress(), llvm::DwarfCompileUnit::addLocationList(), llvm::DwarfUnit::addSectionDelta(), llvm::DwarfUnit::addSInt(), llvm::DwarfUnit::addString(), and llvm::DwarfUnit::addUInt().
|
inline |
|
inline |
Take ownership of the nodes in Other
, and append them to the back of the list.
Definition at line 708 of file DIE.h.
References List, and llvm::Other.
|
inline |
Definition at line 710 of file DIE.h.
References List, and llvm::make_range().
Referenced by llvm::DIE::computeOffsetsAndAbbrevs(), llvm::DIELoc::ComputeSize(), llvm::DIEBlock::ComputeSize(), llvm::AsmPrinter::emitDwarfDIE(), llvm::DwarfFile::emitUnit(), llvm::DIELoc::emitValue(), llvm::DIEBlock::emitValue(), llvm::DIE::findAttribute(), llvm::DIE::generateAbbrev(), getDIEStringAttr(), llvm::patchStmtList(), llvm::DIE::print(), and printValues().
|
inline |
Definition at line 713 of file DIE.h.
References List, and llvm::make_range().