class BlotMapVector

Declaration

template <class KeyT, class ValueT>
class BlotMapVector { /* full declaration omitted */ };

Description

An associative container with fast insertion-order (deterministic) iteration over its elements. Plus the special blot operation.

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:22

Templates

KeyT
ValueT

Member Variables

private llvm::BlotMapVector::MapTy Map
private llvm::BlotMapVector::VectorTy Vector

Method Overview

  • public llvm::BlotMapVector::iterator begin()
  • public llvm::BlotMapVector::const_iterator begin() const
  • public void blot(const KeyT & Key)
  • public void clear()
  • public bool empty() const
  • public llvm::BlotMapVector::iterator end()
  • public llvm::BlotMapVector::const_iterator end() const
  • public llvm::BlotMapVector::iterator find(const KeyT & Key)
  • public llvm::BlotMapVector::const_iterator find(const KeyT & Key) const
  • public std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> & InsertPair)

Methods

llvm::BlotMapVector::iterator begin()

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:50

llvm::BlotMapVector::const_iterator begin() const

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:52

void blot(const KeyT& Key)

Description

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.

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:96

Parameters

const KeyT& Key

void clear()

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:104

bool empty() const

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:109

llvm::BlotMapVector::iterator end()

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:51

llvm::BlotMapVector::const_iterator end() const

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:53

llvm::BlotMapVector::iterator find(
    const KeyT& Key)

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:79

Parameters

const KeyT& Key

llvm::BlotMapVector::const_iterator find(
    const KeyT& Key) const

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:86

Parameters

const KeyT& Key

std::pair<iterator, bool> insert(
    const std::pair<KeyT, ValueT>& InsertPair)

Declared at: llvm/lib/Transforms/ObjCARC/BlotMapVector.h:67

Parameters

const std::pair<KeyT, ValueT>& InsertPair