LLVM API Documentation

llvm::IndexedMap< T, ToIndexT > Class Template Reference

#include <IndexedMap.h>

Inheritance diagram for llvm::IndexedMap< T, ToIndexT >:
[legend]
Collaboration diagram for llvm::IndexedMap< T, ToIndexT >:
[legend]

List of all members.

Public Member Functions

 IndexedMap ()
 IndexedMap (const T &val)
StorageT::reference operator[] (IndexT n)
StorageT::const_reference operator[] (IndexT n) const
void clear ()
void grow (IndexT n)
StorageT::size_type size () const


Detailed Description

template<typename T, typename ToIndexT = IdentityFunctor>
class llvm::IndexedMap< T, ToIndexT >

Definition at line 36 of file IndexedMap.h.


Constructor & Destructor Documentation

template<typename T, typename ToIndexT = IdentityFunctor>
llvm::IndexedMap< T, ToIndexT >::IndexedMap (  )  [inline]

Definition at line 44 of file IndexedMap.h.

template<typename T, typename ToIndexT = IdentityFunctor>
llvm::IndexedMap< T, ToIndexT >::IndexedMap ( const T &  val  )  [inline, explicit]

Definition at line 46 of file IndexedMap.h.


Member Function Documentation

template<typename T, typename ToIndexT = IdentityFunctor>
StorageT::reference llvm::IndexedMap< T, ToIndexT >::operator[] ( IndexT  n  )  [inline]

Definition at line 48 of file IndexedMap.h.

template<typename T, typename ToIndexT = IdentityFunctor>
StorageT::const_reference llvm::IndexedMap< T, ToIndexT >::operator[] ( IndexT  n  )  const [inline]

Definition at line 53 of file IndexedMap.h.

template<typename T, typename ToIndexT = IdentityFunctor>
void llvm::IndexedMap< T, ToIndexT >::clear (  )  [inline]

Definition at line 58 of file IndexedMap.h.

template<typename T, typename ToIndexT = IdentityFunctor>
void llvm::IndexedMap< T, ToIndexT >::grow ( IndexT  n  )  [inline]

Definition at line 62 of file IndexedMap.h.

Referenced by llvm::VirtRegMap::grow().

template<typename T, typename ToIndexT = IdentityFunctor>
StorageT::size_type llvm::IndexedMap< T, ToIndexT >::size (  )  const [inline]

Definition at line 68 of file IndexedMap.h.


The documentation for this class was generated from the following file: