|
LLVM
4.0.0
|
A linked-list with a custom, local allocator. More...
#include <AllocatorList.h>
Public Types | |
| typedef T | value_type |
| typedef T * | pointer |
| typedef T & | reference |
| typedef const T * | const_pointer |
| typedef const T & | const_reference |
| typedef list_type::size_type | size_type |
| typedef list_type::difference_type | difference_type |
| typedef IteratorImpl< T, typename list_type::iterator > | iterator |
| typedef IteratorImpl< T, typename list_type::reverse_iterator > | reverse_iterator |
| typedef IteratorImpl< const T, typename list_type::const_iterator > | const_iterator |
| typedef IteratorImpl< const T, typename list_type::const_reverse_iterator > | 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 29 of file AllocatorList.h.
| typedef IteratorImpl<const T, typename list_type::const_iterator> llvm::AllocatorList< T, AllocatorT >::const_iterator |
Definition at line 125 of file AllocatorList.h.
| typedef const T* llvm::AllocatorList< T, AllocatorT >::const_pointer |
Definition at line 71 of file AllocatorList.h.
| typedef const T& llvm::AllocatorList< T, AllocatorT >::const_reference |
Definition at line 72 of file AllocatorList.h.
| typedef IteratorImpl<const T, typename list_type::const_reverse_iterator> llvm::AllocatorList< T, AllocatorT >::const_reverse_iterator |
Definition at line 127 of file AllocatorList.h.
| typedef list_type::difference_type llvm::AllocatorList< T, AllocatorT >::difference_type |
Definition at line 74 of file AllocatorList.h.
| typedef IteratorImpl<T, typename list_type::iterator> llvm::AllocatorList< T, AllocatorT >::iterator |
Definition at line 121 of file AllocatorList.h.
| typedef T* llvm::AllocatorList< T, AllocatorT >::pointer |
Definition at line 69 of file AllocatorList.h.
| typedef T& llvm::AllocatorList< T, AllocatorT >::reference |
Definition at line 70 of file AllocatorList.h.
| typedef IteratorImpl<T, typename list_type::reverse_iterator> llvm::AllocatorList< T, AllocatorT >::reverse_iterator |
Definition at line 123 of file AllocatorList.h.
| typedef list_type::size_type llvm::AllocatorList< T, AllocatorT >::size_type |
Definition at line 73 of file AllocatorList.h.
| typedef T llvm::AllocatorList< T, AllocatorT >::value_type |
Definition at line 68 of file AllocatorList.h.
|
default |
|
inline |
Definition at line 130 of file AllocatorList.h.
|
inline |
Definition at line 132 of file AllocatorList.h.
|
inline |
Definition at line 145 of file AllocatorList.h.
|
inline |
Definition at line 168 of file AllocatorList.h.
|
inline |
Definition at line 170 of file AllocatorList.h.
|
inline |
Definition at line 155 of file AllocatorList.h.
Referenced by llvm::AllocatorList< Token >::emplace_front(), llvm::yaml::Scanner::peekNext(), and llvm::AllocatorList< Token >::push_front().
|
inline |
Definition at line 157 of file AllocatorList.h.
|
inline |
Definition at line 199 of file AllocatorList.h.
Referenced by llvm::AllocatorList< Token >::operator=(), llvm::yaml::Scanner::peekNext(), and llvm::AllocatorList< Token >::~AllocatorList().
|
inline |
Definition at line 173 of file AllocatorList.h.
Referenced by llvm::AllocatorList< Token >::emplace_back(), and llvm::AllocatorList< Token >::emplace_front().
|
inline |
Definition at line 206 of file AllocatorList.h.
|
inline |
Definition at line 209 of file AllocatorList.h.
|
inline |
Definition at line 152 of file AllocatorList.h.
Referenced by llvm::yaml::Scanner::getNext(), llvm::yaml::Scanner::peekNext(), and llvm::AllocatorList< Token >::resetAlloc().
|
inline |
Definition at line 156 of file AllocatorList.h.
Referenced by llvm::AllocatorList< Token >::emplace_back(), and llvm::AllocatorList< Token >::push_back().
|
inline |
Definition at line 158 of file AllocatorList.h.
|
inline |
Definition at line 190 of file AllocatorList.h.
|
inline |
Definition at line 194 of file AllocatorList.h.
|
inline |
Definition at line 169 of file AllocatorList.h.
Referenced by llvm::yaml::Scanner::peekNext().
|
inline |
Definition at line 171 of file AllocatorList.h.
|
inline |
Definition at line 177 of file AllocatorList.h.
Referenced by llvm::AllocatorList< Token >::push_back(), and llvm::AllocatorList< Token >::push_front().
|
inline |
Definition at line 180 of file AllocatorList.h.
|
inline |
Definition at line 185 of file AllocatorList.h.
|
inline |
Definition at line 135 of file AllocatorList.h.
|
inline |
Definition at line 141 of file AllocatorList.h.
|
inline |
Definition at line 200 of file AllocatorList.h.
|
inline |
Definition at line 201 of file AllocatorList.h.
Referenced by llvm::yaml::Scanner::getNext().
|
inline |
Definition at line 202 of file AllocatorList.h.
Referenced by llvm::yaml::Scanner::peekNext().
|
inline |
Definition at line 204 of file AllocatorList.h.
|
inline |
Definition at line 203 of file AllocatorList.h.
|
inline |
Definition at line 205 of file AllocatorList.h.
|
inline |
Definition at line 159 of file AllocatorList.h.
|
inline |
Definition at line 161 of file AllocatorList.h.
|
inline |
Definition at line 160 of file AllocatorList.h.
|
inline |
Definition at line 164 of file AllocatorList.h.
|
inline |
Reset the underlying allocator.
empty() Definition at line 216 of file AllocatorList.h.
Referenced by llvm::yaml::Scanner::getNext().
|
inline |
Definition at line 153 of file AllocatorList.h.
|
inline |
Definition at line 147 of file AllocatorList.h.
1.8.6