class IndexedMap

Declaration

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

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

Templates

T
ToIndexT = identity<unsigned int>

Member Variables

private llvm::IndexedMap::StorageT storage_
private T nullVal_
private ToIndexT toIndex_

Method Overview

Methods

IndexedMap<T, ToIndexT>()

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

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

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

Parameters

const T& val

void clear()

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

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

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

Parameters

llvm::IndexedMap::IndexT n

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

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

Parameters

llvm::IndexedMap::IndexT n

void reserve(typename StorageT::size_type s)

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

Parameters

typename StorageT::size_type s

void resize(typename StorageT::size_type s)

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

Parameters

typename StorageT::size_type s

typename StorageT::size_type size() const

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