LLVM API Documentation
#include <DenseMap.h>
Public Member Functions | |
SmallDenseMap (unsigned NumInitBuckets=0) | |
SmallDenseMap (const SmallDenseMap &other) | |
template<typename InputIt > | |
SmallDenseMap (const InputIt &I, const InputIt &E) | |
~SmallDenseMap () | |
void | swap (SmallDenseMap &RHS) |
SmallDenseMap & | operator= (const SmallDenseMap &other) |
void | copyFrom (const SmallDenseMap &other) |
void | init (unsigned InitBuckets) |
void | grow (unsigned AtLeast) |
void | shrink_and_clear () |
![]() | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
bool LLVM_ATTRIBUTE_UNUSED_RESULT | empty () const |
unsigned | size () const |
void | resize (size_t Size) |
Grow the densemap so that it has at least Size buckets. Does not shrink. More... | |
void | clear () |
bool | count (const KeyT &Val) const |
count - Return true if the specified key is in the map. More... | |
iterator | find (const KeyT &Val) |
const_iterator | find (const KeyT &Val) const |
iterator | find_as (const LookupKeyT &Val) |
const_iterator | find_as (const LookupKeyT &Val) const |
ValueT | lookup (const KeyT &Val) const |
std::pair< iterator, bool > | insert (const std::pair< KeyT, ValueT > &KV) |
void | insert (InputIt I, InputIt E) |
insert - Range insertion of pairs. More... | |
bool | erase (const KeyT &Val) |
void | erase (iterator I) |
value_type & | FindAndConstruct (const KeyT &Key) |
ValueT & | operator[] (const KeyT &Key) |
bool | isPointerIntoBucketsArray (const void *Ptr) const |
const void * | getPointerIntoBucketsArray () const |
size_t | getMemorySize () const |
Friends | |
class | DenseMapBase< SmallDenseMap, KeyT, ValueT, KeyInfoT > |
Definition at line 690 of file DenseMap.h.
|
inlineexplicit |
Definition at line 713 of file DenseMap.h.
|
inline |
Definition at line 717 of file DenseMap.h.
|
inline |
Definition at line 730 of file DenseMap.h.
|
inline |
Definition at line 735 of file DenseMap.h.
|
inline |
Definition at line 827 of file DenseMap.h.
Referenced by llvm::SmallDenseMap< llvm::SDValue, llvm::SDValue, 8 >::operator=(), and llvm::SmallDenseMap< llvm::SDValue, llvm::SDValue, 8 >::SmallDenseMap().
|
inline |
Definition at line 847 of file DenseMap.h.
|
inline |
Definition at line 838 of file DenseMap.h.
Referenced by llvm::SmallDenseMap< llvm::SDValue, llvm::SDValue, 8 >::shrink_and_clear(), and llvm::SmallDenseMap< llvm::SDValue, llvm::SDValue, 8 >::SmallDenseMap().
|
inline |
Definition at line 812 of file DenseMap.h.
|
inline |
Definition at line 899 of file DenseMap.h.
|
inline |
Definition at line 740 of file DenseMap.h.
|
friend |
Definition at line 697 of file DenseMap.h.