LLVM
8.0.1
|
An associative container with fast insertion-order (deterministic) iteration over its elements. More...
#include "Transforms/ObjCARC/BlotMapVector.h"
Public Types | |
using | iterator = typename VectorTy::iterator |
using | const_iterator = typename VectorTy::const_iterator |
Public Member Functions | |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
ValueT & | operator[] (const KeyT &Arg) |
std::pair< iterator, bool > | insert (const std::pair< KeyT, ValueT > &InsertPair) |
iterator | find (const KeyT &Key) |
const_iterator | find (const KeyT &Key) const |
void | blot (const KeyT &Key) |
This is similar to erase, but instead of removing the element from the vector, it just zeros out the key in the vector. More... | |
void | clear () |
bool | empty () const |
An associative container with fast insertion-order (deterministic) iteration over its elements.
Plus the special blot operation.
Definition at line 23 of file BlotMapVector.h.
using llvm::BlotMapVector< KeyT, ValueT >::const_iterator = typename VectorTy::const_iterator |
Definition at line 49 of file BlotMapVector.h.
using llvm::BlotMapVector< KeyT, ValueT >::iterator = typename VectorTy::iterator |
Definition at line 48 of file BlotMapVector.h.
|
inline |
Definition at line 51 of file BlotMapVector.h.
Referenced by ComputePostOrders().
|
inline |
Definition at line 53 of file BlotMapVector.h.
|
inline |
This is similar to erase, but instead of removing the element from the vector, it just zeros out the key in the vector.
This leaves iterators intact, but clients must be prepared for zeroed-out keys when iterating.
Definition at line 97 of file BlotMapVector.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::erase(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().
Referenced by ComputePostOrders().
|
inline |
Definition at line 105 of file BlotMapVector.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::clear().
|
inline |
Definition at line 110 of file BlotMapVector.h.
References assert(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::empty().
|
inline |
Definition at line 52 of file BlotMapVector.h.
Referenced by ComputePostOrders().
|
inline |
Definition at line 54 of file BlotMapVector.h.
|
inline |
Definition at line 80 of file BlotMapVector.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().
Referenced by ComputePostOrders().
|
inline |
Definition at line 87 of file BlotMapVector.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::end(), and llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::find().
|
inline |
Definition at line 68 of file BlotMapVector.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert().
|
inline |
Definition at line 56 of file BlotMapVector.h.
References llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::insert().