LLVM
8.0.1
|
Store a vector of values using a specific number of bits for each value. More...
#include "llvm/ADT/PackedVector.h"
Classes | |
class | reference |
Public Member Functions | |
PackedVector ()=default | |
PackedVector (unsigned size) | |
bool | empty () const |
unsigned | size () const |
void | clear () |
void | resize (unsigned N) |
void | reserve (unsigned N) |
PackedVector & | reset () |
void | push_back (T val) |
reference | operator[] (unsigned Idx) |
T | operator[] (unsigned Idx) const |
bool | operator== (const PackedVector &RHS) const |
bool | operator!= (const PackedVector &RHS) const |
PackedVector & | operator|= (const PackedVector &RHS) |
Store a vector of values using a specific number of bits for each value.
Both signed and unsigned types can be used, e.g
will create a vector accepting values -2, -1, 0, 1. Any other value will hit an assertion.
Definition at line 76 of file PackedVector.h.
|
default |
|
inlineexplicit |
Definition at line 102 of file PackedVector.h.
|
inline |
Definition at line 108 of file PackedVector.h.
|
inline |
Definition at line 104 of file PackedVector.h.
|
inline |
Definition at line 136 of file PackedVector.h.
|
inline |
Definition at line 132 of file PackedVector.h.
|
inline |
Definition at line 124 of file PackedVector.h.
|
inline |
Definition at line 128 of file PackedVector.h.
|
inline |
Definition at line 140 of file PackedVector.h.
|
inline |
Definition at line 119 of file PackedVector.h.
References llvm::size().
|
inline |
Definition at line 112 of file PackedVector.h.
|
inline |
Definition at line 114 of file PackedVector.h.
References llvm::PackedVector< T, BitNum, BitVectorTy >::reset().
Referenced by llvm::PackedVector< T, BitNum, BitVectorTy >::reset().
|
inline |
Definition at line 110 of file PackedVector.h.
|
inline |
Definition at line 106 of file PackedVector.h.