class IndexedMap

Declaration

template <typename T, typename ToIndexT = identity<unsigned int>>
class IndexedMap { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ADT/IndexedMap.h:29

Templates

T
ToIndexT = identity<unsigned int>

Method Overview

Methods

IndexedMap<T, ToIndexT>()

Declared at: llvm/include/llvm/ADT/IndexedMap.h:41

IndexedMap<T, ToIndexT>(const T& val)

Declared at: llvm/include/llvm/ADT/IndexedMap.h:43

Parameters

const T& val

void clear()

Declared at: llvm/include/llvm/ADT/IndexedMap.h:63

void grow(llvm::IndexedMap::IndexT n)

Declared at: llvm/include/llvm/ADT/IndexedMap.h:67

Parameters

llvm::IndexedMap::IndexT n

bool inBounds(llvm::IndexedMap::IndexT n) const

Declared at: llvm/include/llvm/ADT/IndexedMap.h:73

Parameters

llvm::IndexedMap::IndexT n

void reserve(typename StorageT::size_type s)

Declared at: llvm/include/llvm/ADT/IndexedMap.h:55

Parameters

typename StorageT::size_type s

void resize(typename StorageT::size_type s)

Declared at: llvm/include/llvm/ADT/IndexedMap.h:59

Parameters

typename StorageT::size_type s

typename StorageT::size_type size() const

Declared at: llvm/include/llvm/ADT/IndexedMap.h:77