LLVM 20.0.0git
|
A linked-list with a custom, local allocator. More...
#include "llvm/ADT/AllocatorList.h"
Public Types | |
using | value_type = T |
using | pointer = T * |
using | reference = T & |
using | const_pointer = const T * |
using | const_reference = const T & |
using | size_type = typename list_type::size_type |
using | difference_type = typename list_type::difference_type |
using | iterator = IteratorImpl< T, typename list_type::iterator > |
using | reverse_iterator = IteratorImpl< T, typename list_type::reverse_iterator > |
using | const_iterator = IteratorImpl< const T, typename list_type::const_iterator > |
using | const_reverse_iterator = IteratorImpl< const T, typename list_type::const_reverse_iterator > |
A linked-list with a custom, local allocator.
Expose a std::list-like interface that owns and uses a custom LLVM-style allocator (e.g., BumpPtrAllocator), leveraging simple_ilist for the implementation details.
Because this list owns the allocator, calling splice() with a different list isn't generally safe. As such, splice has been left out of the interface entirely.
Definition at line 33 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::const_iterator = IteratorImpl<const T, typename list_type::const_iterator> |
Definition at line 126 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::const_pointer = const T * |
Definition at line 80 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::const_reference = const T & |
Definition at line 81 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::const_reverse_iterator = IteratorImpl<const T, typename list_type::const_reverse_iterator> |
Definition at line 128 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::difference_type = typename list_type::difference_type |
Definition at line 83 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::iterator = IteratorImpl<T, typename list_type::iterator> |
Definition at line 123 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::pointer = T * |
Definition at line 78 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::reference = T & |
Definition at line 79 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::reverse_iterator = IteratorImpl<T, typename list_type::reverse_iterator> |
Definition at line 124 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::size_type = typename list_type::size_type |
Definition at line 82 of file AllocatorList.h.
using llvm::AllocatorList< T, AllocatorT >::value_type = T |
Definition at line 77 of file AllocatorList.h.
|
default |
|
inline |
Definition at line 132 of file AllocatorList.h.
References List.
|
inline |
Definition at line 135 of file AllocatorList.h.
|
inline |
Definition at line 151 of file AllocatorList.h.
References llvm::AllocatorList< T, AllocatorT >::clear().
|
inline |
Definition at line 174 of file AllocatorList.h.
References List.
|
inline |
Definition at line 176 of file AllocatorList.h.
References List.
|
inline |
Definition at line 161 of file AllocatorList.h.
References List.
Referenced by llvm::AllocatorList< T, AllocatorT >::emplace_front(), llvm::yaml::Scanner::peekNext(), and llvm::AllocatorList< T, AllocatorT >::push_front().
|
inline |
Definition at line 163 of file AllocatorList.h.
References List.
|
inline |
Definition at line 205 of file AllocatorList.h.
References List.
Referenced by llvm::AllocatorList< T, AllocatorT >::operator=(), llvm::yaml::Scanner::peekNext(), and llvm::AllocatorList< T, AllocatorT >::~AllocatorList().
|
inline |
Definition at line 179 of file AllocatorList.h.
Referenced by llvm::AllocatorList< T, AllocatorT >::emplace_back(), and llvm::AllocatorList< T, AllocatorT >::emplace_front().
|
inline |
Definition at line 212 of file AllocatorList.h.
References llvm::AllocatorList< T, AllocatorT >::emplace(), and llvm::AllocatorList< T, AllocatorT >::end().
|
inline |
Definition at line 215 of file AllocatorList.h.
References llvm::AllocatorList< T, AllocatorT >::begin(), and llvm::AllocatorList< T, AllocatorT >::emplace().
|
inline |
Definition at line 158 of file AllocatorList.h.
References List.
Referenced by llvm::yaml::Scanner::getNext(), llvm::yaml::Scanner::peekNext(), and llvm::AllocatorList< T, AllocatorT >::resetAlloc().
|
inline |
Definition at line 162 of file AllocatorList.h.
References List.
Referenced by llvm::AllocatorList< T, AllocatorT >::emplace_back(), and llvm::AllocatorList< T, AllocatorT >::push_back().
|
inline |
Definition at line 164 of file AllocatorList.h.
References List.
|
inline |
Definition at line 200 of file AllocatorList.h.
References llvm::First, llvm::Last, and List.
|
inline |
Definition at line 196 of file AllocatorList.h.
|
inline |
Definition at line 175 of file AllocatorList.h.
References List.
Referenced by llvm::yaml::Scanner::peekNext().
|
inline |
Definition at line 177 of file AllocatorList.h.
References List.
|
inline |
Definition at line 186 of file AllocatorList.h.
|
inline |
Definition at line 191 of file AllocatorList.h.
References llvm::First, I, llvm::Last, and List.
|
inline |
Definition at line 183 of file AllocatorList.h.
Referenced by llvm::AllocatorList< T, AllocatorT >::push_back(), and llvm::AllocatorList< T, AllocatorT >::push_front().
|
inline |
Definition at line 139 of file AllocatorList.h.
References llvm::AllocatorList< T, AllocatorT >::clear(), List, and X.
|
inline |
Definition at line 146 of file AllocatorList.h.
|
inline |
Definition at line 206 of file AllocatorList.h.
References List.
|
inline |
Definition at line 207 of file AllocatorList.h.
References List.
Referenced by llvm::yaml::Scanner::getNext().
|
inline |
Definition at line 210 of file AllocatorList.h.
References llvm::AllocatorList< T, AllocatorT >::end(), and llvm::AllocatorList< T, AllocatorT >::insert().
|
inline |
Definition at line 208 of file AllocatorList.h.
References llvm::AllocatorList< T, AllocatorT >::end(), and llvm::AllocatorList< T, AllocatorT >::insert().
Referenced by llvm::yaml::Scanner::peekNext().
|
inline |
Definition at line 211 of file AllocatorList.h.
References llvm::AllocatorList< T, AllocatorT >::begin(), and llvm::AllocatorList< T, AllocatorT >::insert().
|
inline |
Definition at line 209 of file AllocatorList.h.
References llvm::AllocatorList< T, AllocatorT >::begin(), and llvm::AllocatorList< T, AllocatorT >::insert().
|
inline |
Definition at line 165 of file AllocatorList.h.
References List.
|
inline |
Definition at line 167 of file AllocatorList.h.
References List.
|
inline |
Definition at line 166 of file AllocatorList.h.
References List.
|
inline |
Definition at line 170 of file AllocatorList.h.
References List.
|
inline |
Reset the underlying allocator.
empty()
Definition at line 222 of file AllocatorList.h.
References assert(), and llvm::AllocatorList< T, AllocatorT >::empty().
Referenced by llvm::yaml::Scanner::getNext().
|
inline |
Definition at line 159 of file AllocatorList.h.
References List.
|
inline |
Definition at line 153 of file AllocatorList.h.
References List, RHS, and std::swap().