#include <SmallVector.h>
Public Types | |
typedef SuperClass::const_iterator | const_iterator |
typedef SuperClass::iterator | iterator |
typedef SuperClass::size_type | size_type |
![]() | |
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 | |
SmallVectorImpl (unsigned N) | |
![]() | |
void | grow (size_t MinSize=0) |
SmallVectorTemplateBase (size_t Size) | |
![]() | |
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 SmallVectorTemplateBase< T, IsPod< T >::value > | SuperClass |
Private Member Functions | |
SmallVectorImpl (const SmallVectorImpl &)=delete | |
Additional Inherited Members | |
![]() | |
const typedef T * | const_iterator |
const typedef T * | const_pointer |
const typedef T & | const_reference |
![]() | |
static void | destroy_range (T *S, T *E) |
static void | uninitialized_copy (It1 I, It1 E, It2 Dest) |
static void | uninitialized_move (It1 I, It1 E, It2 Dest) |
![]() | |
void * | BeginX |
void * | CapacityX |
void * | EndX |
This class consists of common code factored out of the SmallVector class to reduce code duplication based on the SmallVector 'N' template parameter.
Definition at line 439 of file SmallVector.h.
typedef SuperClass::const_iterator llvm_vecsmall::SmallVectorImpl< T >::const_iterator |
Definition at line 447 of file SmallVector.h.
typedef SuperClass::iterator llvm_vecsmall::SmallVectorImpl< T >::iterator |
Definition at line 446 of file SmallVector.h.
typedef SuperClass::size_type llvm_vecsmall::SmallVectorImpl< T >::size_type |
Definition at line 448 of file SmallVector.h.
|
private |
Definition at line 441 of file SmallVector.h.
|
privatedelete |
|
inlineexplicitprotected |
Definition at line 452 of file SmallVector.h.
|
inline |
Definition at line 458 of file SmallVector.h.
|
inline |
Add the specified range to the end of the SmallVector.
Definition at line 524 of file SmallVector.h.
|
inline |
Add the specified range to the end of the SmallVector.
Definition at line 537 of file SmallVector.h.
|
inline |
Definition at line 548 of file SmallVector.h.
|
inline |
Definition at line 553 of file SmallVector.h.
|
inline |
Definition at line 562 of file SmallVector.h.
|
inline |
Definition at line 468 of file SmallVector.h.
|
inline |
Definition at line 790 of file SmallVector.h.
|
inline |
Definition at line 568 of file SmallVector.h.
|
inline |
Definition at line 584 of file SmallVector.h.
|
inline |
Definition at line 636 of file SmallVector.h.
|
inline |
Definition at line 723 of file SmallVector.h.
|
inline |
Definition at line 668 of file SmallVector.h.
|
inline |
Definition at line 784 of file SmallVector.h.
|
inline |
Definition at line 603 of file SmallVector.h.
|
inline |
Definition at line 808 of file SmallVector.h.
|
inline |
Definition at line 813 of file SmallVector.h.
SmallVectorImpl< T > & llvm_vecsmall::SmallVectorImpl< T >::operator= | ( | const SmallVectorImpl< T > & | RHS | ) |
Definition at line 881 of file SmallVector.h.
SmallVectorImpl< T > & llvm_vecsmall::SmallVectorImpl< T >::operator= | ( | SmallVectorImpl< T > && | RHS | ) |
Definition at line 934 of file SmallVector.h.
|
inline |
Definition at line 802 of file SmallVector.h.
|
inline |
Definition at line 513 of file SmallVector.h.
|
inline |
Definition at line 507 of file SmallVector.h.
|
inline |
Definition at line 474 of file SmallVector.h.
|
inline |
Definition at line 491 of file SmallVector.h.
|
inline |
Set the array size to N
, which the current array must have enough capacity for.
This does not construct or destroy any elements in the vector.
Clients can use this in conjunction with capacity() to write past the end of the buffer when they know that more elements are available, and only update the size later. This avoids the cost of value initializing elements which will only be overwritten.
Definition at line 828 of file SmallVector.h.
void llvm_vecsmall::SmallVectorImpl< T >::swap | ( | SmallVectorImpl< T > & | RHS | ) |
Definition at line 836 of file SmallVector.h.