LLVM 22.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) |
template<class T> | |
bool | replaceValue (BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Attribute NewAttribute, dwarf::Form Form, T &&NewValue) |
template<class T> | |
bool | replaceValue (BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, T &&NewValue) |
bool | replaceValue (BumpPtrAllocator &Alloc, dwarf::Attribute Attribute, dwarf::Form Form, DIEValue &NewValue) |
bool | deleteValue (dwarf::Attribute Attribute) |
void | takeValues (DIEValueList &Other) |
Take ownership of the nodes in Other , and append them to the back of the list. | |
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 749 of file DIE.h.
References llvm::Alloc, and llvm::IntrusiveBackList< Node >::toIterator().
Referenced by addValue().
|
inline |
Definition at line 754 of file DIE.h.
References addValue(), llvm::Alloc, and T.
|
inline |
|
inline |
Definition at line 761 of file DIE.h.
References llvm::Alloc, T, and values().
|
inline |
Definition at line 788 of file DIE.h.
References llvm::Alloc, and values().
|
inline |
Definition at line 776 of file DIE.h.
References llvm::Alloc, T, and values().
|
inline |
Take ownership of the nodes in Other
, and append them to the back of the list.
Definition at line 814 of file DIE.h.
References llvm::Other.
|
inline |
Definition at line 816 of file DIE.h.
References llvm::make_range().
Referenced by llvm::DIE::computeOffsetsAndAbbrevs(), llvm::DIEBlock::computeSize(), llvm::DIELoc::computeSize(), llvm::AsmPrinter::emitDwarfDIE(), llvm::DwarfFile::emitUnit(), llvm::DIEBlock::emitValue(), llvm::DIELoc::emitValue(), llvm::DIE::findAttribute(), llvm::DIE::generateAbbrev(), getDIEStringAttr(), llvm::patchAddrBase(), llvm::patchStmtList(), llvm::DIE::print(), printValues(), replaceValue(), replaceValue(), and replaceValue().
|
inline |
Definition at line 819 of file DIE.h.
References llvm::make_range().