LLVM API Documentation
#include <SmallVector.h>
Inherits llvm::SmallVectorImpl< T >.
Public Member Functions | |
SmallVector () | |
SmallVector (unsigned Size, const T &Value=T()) | |
template<typename ItTy > | |
SmallVector (ItTy S, ItTy E) | |
template<typename RangeTy > | |
SmallVector (const llvm::iterator_range< RangeTy > R) | |
SmallVector (const SmallVector &RHS) | |
const SmallVector & | operator= (const SmallVector &RHS) |
SmallVector (SmallVector &&RHS) | |
const SmallVector & | operator= (SmallVector &&RHS) |
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small. It contains some number of elements in-place, which allows it to avoid heap allocation when the actual number of elements is below that threshold. This allows normal "small" cases to be fast without losing generality for large inputs.
Note that this does not attempt to be exception safe.
Definition at line 837 of file SmallVector.h.
llvm::SmallVector< T, N >::SmallVector | ( | ) | [inline] |
Definition at line 841 of file SmallVector.h.
llvm::SmallVector< T, N >::SmallVector | ( | unsigned | Size, |
const T & | Value = T() |
||
) | [inline, explicit] |
Definition at line 844 of file SmallVector.h.
llvm::SmallVector< T, N >::SmallVector | ( | ItTy | S, |
ItTy | E | ||
) | [inline] |
Definition at line 850 of file SmallVector.h.
llvm::SmallVector< T, N >::SmallVector | ( | const llvm::iterator_range< RangeTy > | R | ) | [inline, explicit] |
Definition at line 855 of file SmallVector.h.
llvm::SmallVector< T, N >::SmallVector | ( | const SmallVector< T, N > & | RHS | ) | [inline] |
Definition at line 860 of file SmallVector.h.
llvm::SmallVector< T, N >::SmallVector | ( | SmallVector< T, N > && | RHS | ) | [inline] |
Definition at line 870 of file SmallVector.h.
const SmallVector& llvm::SmallVector< T, N >::operator= | ( | const SmallVector< T, N > & | RHS | ) | [inline] |
Definition at line 865 of file SmallVector.h.
Referenced by llvm::SmallVector< Inst, 7 >::operator=().
const SmallVector& llvm::SmallVector< T, N >::operator= | ( | SmallVector< T, N > && | RHS | ) | [inline] |
Definition at line 875 of file SmallVector.h.