|
LLVM
4.0.0
|
#include <DIE.h>
Classes | |
| class | const_value_iterator |
| class | value_iterator |
Public Types | |
| typedef iterator_range < value_iterator > | value_range |
| typedef iterator_range < const_value_iterator > | const_value_range |
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) |
| 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 633 of file DIE.h.
References llvm::IntrusiveBackList< T >::back(), llvm::IntrusiveBackList< T >::push_back(), and llvm::IntrusiveBackList< Node >::toIterator().
Referenced by llvm::DwarfUnit::addBlock(), llvm::DwarfUnit::addDIEEntry(), 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::DwarfCompileUnit::addSectionDelta(), llvm::DwarfUnit::addSInt(), llvm::DwarfUnit::addString(), llvm::DwarfUnit::addUInt(), addValue(), and llvm::DwarfCompileUnit::applyStmtList().
|
inline |
Definition at line 638 of file DIE.h.
References addValue().
|
inline |
Definition at line 643 of file DIE.h.
References llvm::IntrusiveBackList< T >::begin(), llvm::IntrusiveBackList< T >::end(), and llvm::make_range().
Referenced by llvm::DIE::computeOffsetsAndAbbrevs(), llvm::DIELoc::ComputeSize(), llvm::DIEBlock::ComputeSize(), llvm::AsmPrinter::emitDwarfDIE(), llvm::DIELoc::EmitValue(), llvm::DIEBlock::EmitValue(), llvm::DIE::findAttribute(), llvm::DIE::generateAbbrev(), getDIEStringAttr(), llvm::DIE::print(), and printValues().
|
inline |
Definition at line 646 of file DIE.h.
References llvm::IntrusiveBackList< T >::begin(), llvm::IntrusiveBackList< T >::end(), and llvm::make_range().
1.8.6