#include <SmallVector.h>
Public Types | |
typedef SuperClass::const_iterator | const_iterator |
typedef SuperClass::iterator | iterator |
typedef SuperClass::size_type | size_type |
![]() | |
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 | |
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 | |
![]() | |
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 342 of file SmallVector.h.
typedef SuperClass::const_iterator llvm_vecsmall::SmallVectorImpl< T >::const_iterator |
Definition at line 349 of file SmallVector.h.
typedef SuperClass::iterator llvm_vecsmall::SmallVectorImpl< T >::iterator |
Definition at line 348 of file SmallVector.h.
typedef SuperClass::size_type llvm_vecsmall::SmallVectorImpl< T >::size_type |
Definition at line 350 of file SmallVector.h.
|
private |
Definition at line 343 of file SmallVector.h.
|
privatedelete |
|
inlineexplicitprotected |
Definition at line 354 of file SmallVector.h.
|
inline |
Definition at line 359 of file SmallVector.h.
|
inline |
Add the specified range to the end of the SmallVector.
Definition at line 414 of file SmallVector.h.
|
inline |
Add the specified range to the end of the SmallVector.
Definition at line 426 of file SmallVector.h.
|
inline |
Definition at line 436 of file SmallVector.h.
|
inline |
Definition at line 440 of file SmallVector.h.
|
inline |
Definition at line 448 of file SmallVector.h.
|
inline |
Definition at line 369 of file SmallVector.h.
|
inline |
Definition at line 657 of file SmallVector.h.
|
inline |
Definition at line 453 of file SmallVector.h.
|
inline |
Definition at line 468 of file SmallVector.h.
|
inline |
Definition at line 486 of file SmallVector.h.
|
inline |
Definition at line 516 of file SmallVector.h.
|
inline |
Definition at line 545 of file SmallVector.h.
|
inline |
Definition at line 597 of file SmallVector.h.
|
inline |
Definition at line 653 of file SmallVector.h.
|
inline |
Definition at line 672 of file SmallVector.h.
|
inline |
Definition at line 676 of file SmallVector.h.
SmallVectorImpl< T > & llvm_vecsmall::SmallVectorImpl< T >::operator= | ( | const SmallVectorImpl< T > & | RHS | ) |
Definition at line 737 of file SmallVector.h.
SmallVectorImpl< T > & llvm_vecsmall::SmallVectorImpl< T >::operator= | ( | SmallVectorImpl< T > && | RHS | ) |
Definition at line 785 of file SmallVector.h.
|
inline |
Definition at line 668 of file SmallVector.h.
|
inline |
Definition at line 404 of file SmallVector.h.
|
inline |
Definition at line 399 of file SmallVector.h.
|
inline |
Definition at line 374 of file SmallVector.h.
|
inline |
Definition at line 387 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 690 of file SmallVector.h.
void llvm_vecsmall::SmallVectorImpl< T >::swap | ( | SmallVectorImpl< T > & | RHS | ) |
Definition at line 698 of file SmallVector.h.