LLVM API Documentation

Public Member Functions
llvm::IndexedMap< T, ToIndexT > Class Template Reference

#include <IndexedMap.h>

Inheritance diagram for llvm::IndexedMap< T, ToIndexT >:
Inheritance graph
[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 reserve (typename StorageT::size_type s)
void resize (typename StorageT::size_type s)
void clear ()
void grow (IndexT n)
bool inBounds (IndexT n) const
StorageT::size_type size () const

Detailed Description

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

Definition at line 31 of file IndexedMap.h.


Constructor & Destructor Documentation

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

Definition at line 39 of file IndexedMap.h.

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

Definition at line 41 of file IndexedMap.h.


Member Function Documentation

template<typename T, typename ToIndexT = llvm::identity<unsigned>>
void llvm::IndexedMap< T, ToIndexT >::clear ( ) [inline]
template<typename T, typename ToIndexT = llvm::identity<unsigned>>
void llvm::IndexedMap< T, ToIndexT >::grow ( IndexT  n) [inline]
template<typename T, typename ToIndexT = llvm::identity<unsigned>>
bool llvm::IndexedMap< T, ToIndexT >::inBounds ( IndexT  n) const [inline]
template<typename T, typename ToIndexT = llvm::identity<unsigned>>
StorageT::reference llvm::IndexedMap< T, ToIndexT >::operator[] ( IndexT  n) [inline]

Definition at line 43 of file IndexedMap.h.

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

Definition at line 48 of file IndexedMap.h.

template<typename T, typename ToIndexT = llvm::identity<unsigned>>
void llvm::IndexedMap< T, ToIndexT >::reserve ( typename StorageT::size_type  s) [inline]

Definition at line 53 of file IndexedMap.h.

Referenced by llvm::MachineRegisterInfo::MachineRegisterInfo().

template<typename T, typename ToIndexT = llvm::identity<unsigned>>
void llvm::IndexedMap< T, ToIndexT >::resize ( typename StorageT::size_type  s) [inline]
template<typename T, typename ToIndexT = llvm::identity<unsigned>>
StorageT::size_type llvm::IndexedMap< T, ToIndexT >::size ( ) const [inline]

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