LLVM API Documentation
#include <DenseMap.h>
Inherits llvm::DenseMapBase< DenseMap< KeyT, ValueT, KeyInfoT >, KeyT, ValueT, KeyInfoT >.
Public Member Functions | |
DenseMap (unsigned NumInitBuckets=0) | |
DenseMap (const DenseMap &other) | |
template<typename InputIt > | |
DenseMap (const InputIt &I, const InputIt &E) | |
~DenseMap () | |
void | swap (DenseMap &RHS) |
DenseMap & | operator= (const DenseMap &other) |
void | copyFrom (const DenseMap &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< DenseMap, KeyT, ValueT, KeyInfoT > |
Definition at line 534 of file DenseMap.h.
|
inlineexplicit |
Definition at line 549 of file DenseMap.h.
|
inline |
Definition at line 553 of file DenseMap.h.
|
inline |
Definition at line 566 of file DenseMap.h.
|
inline |
Definition at line 571 of file DenseMap.h.
|
inline |
Definition at line 598 of file DenseMap.h.
Referenced by llvm::DenseMap< unsigned, unsigned >::DenseMap(), and llvm::DenseMap< unsigned, unsigned >::operator=().
|
inline |
Definition at line 618 of file DenseMap.h.
|
inline |
Definition at line 609 of file DenseMap.h.
Referenced by llvm::DenseMap< unsigned, unsigned >::DenseMap(), and llvm::DenseMap< unsigned, unsigned >::shrink_and_clear().
|
inline |
Definition at line 583 of file DenseMap.h.
|
inline |
Definition at line 635 of file DenseMap.h.
|
inline |
Definition at line 576 of file DenseMap.h.
Referenced by llvm::DenseSet< llvm::Value * >::swap().
|
friend |
Definition at line 541 of file DenseMap.h.