#include <SmallVector.h>
Public Types | |
typedef const T * | const_iterator |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
typedef ptrdiff_t | difference_type |
typedef T * | iterator |
typedef T * | pointer |
typedef T & | reference |
typedef std::reverse_iterator< iterator > | reverse_iterator |
typedef size_t | size_type |
typedef T | value_type |
Protected Member Functions | |
iterator | capacity_ptr () |
const_iterator | capacity_ptr () const |
void | grow_pod (size_t MinSizeInBytes, size_t TSize) |
bool | isSmall () const |
void | resetToSmall () |
Put this vector in a state of being small. More... | |
void | setEnd (T *P) |
SmallVectorTemplateCommon (size_t Size) | |
![]() | |
void | grow_pod (void *FirstEl, size_t MinSizeInBytes, size_t TSize) |
SmallVectorBase (void *FirstEl, size_t Size) | |
Private Types | |
typedef std::aligned_union< 1, T >::type | U |
Private Attributes | |
U | FirstEl |
Friends | |
template<typename , unsigned > | |
struct | SmallVectorStorage |
Additional Inherited Members | |
![]() | |
void * | BeginX |
void * | CapacityX |
void * | EndX |
This is the part of SmallVectorTemplateBase which does not depend on whether the type T is a POD. The extra dummy template argument is used by ArrayRef to avoid unnecessarily requiring T to be complete.
Definition at line 89 of file SmallVector.h.
typedef const T* llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::const_iterator |
Definition at line 125 of file SmallVector.h.
typedef const T* llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::const_pointer |
Definition at line 133 of file SmallVector.h.
typedef const T& llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::const_reference |
Definition at line 131 of file SmallVector.h.
typedef std::reverse_iterator<const_iterator> llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::const_reverse_iterator |
Definition at line 127 of file SmallVector.h.
typedef ptrdiff_t llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::difference_type |
Definition at line 122 of file SmallVector.h.
typedef T* llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::iterator |
Definition at line 124 of file SmallVector.h.
typedef T* llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::pointer |
Definition at line 132 of file SmallVector.h.
typedef T& llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::reference |
Definition at line 130 of file SmallVector.h.
typedef std::reverse_iterator<iterator> llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::reverse_iterator |
Definition at line 128 of file SmallVector.h.
typedef size_t llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::size_type |
Definition at line 121 of file SmallVector.h.
|
private |
Definition at line 97 of file SmallVector.h.
typedef T llvm_vecsmall::SmallVectorTemplateCommon< T, typename >::value_type |
Definition at line 123 of file SmallVector.h.
|
inlineprotected |
Definition at line 102 of file SmallVector.h.
|
inline |
Definition at line 187 of file SmallVector.h.
|
inline |
Definition at line 191 of file SmallVector.h.
|
inline |
Definition at line 137 of file SmallVector.h.
|
inline |
Definition at line 139 of file SmallVector.h.
|
inline |
Return the total number of elements in the currently allocated buffer.
Definition at line 160 of file SmallVector.h.
|
inlineprotected |
Definition at line 145 of file SmallVector.h.
|
inlineprotected |
Definition at line 146 of file SmallVector.h.
|
inline |
Return a pointer to the vector's buffer, even if empty().
Definition at line 163 of file SmallVector.h.
|
inline |
Return a pointer to the vector's buffer, even if empty().
Definition at line 165 of file SmallVector.h.
|
inline |
Definition at line 141 of file SmallVector.h.
|
inline |
Definition at line 143 of file SmallVector.h.
|
inline |
Definition at line 178 of file SmallVector.h.
|
inline |
Definition at line 182 of file SmallVector.h.
|
inlineprotected |
Definition at line 104 of file SmallVector.h.
|
inlineprotected |
Return true if this is a smallvector which has not had dynamic memory allocated for it.
Definition at line 110 of file SmallVector.h.
|
inline |
Definition at line 157 of file SmallVector.h.
|
inline |
Definition at line 168 of file SmallVector.h.
|
inline |
Definition at line 173 of file SmallVector.h.
|
inline |
Definition at line 150 of file SmallVector.h.
|
inline |
Definition at line 151 of file SmallVector.h.
|
inline |
Definition at line 152 of file SmallVector.h.
|
inline |
Definition at line 153 of file SmallVector.h.
|
inlineprotected |
Put this vector in a state of being small.
Definition at line 115 of file SmallVector.h.
|
inlineprotected |
Definition at line 119 of file SmallVector.h.
|
inline |
Definition at line 156 of file SmallVector.h.
|
friend |
Definition at line 91 of file SmallVector.h.
|
private |
Definition at line 98 of file SmallVector.h.