LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::IndexedMap< T, ToIndexT > Class Template Reference

#include <IndexedMap.h>

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

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)
inlineexplicit

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

Definition at line 61 of file IndexedMap.h.

template<typename T, typename ToIndexT = llvm::identity<unsigned>>
void llvm::IndexedMap< T, ToIndexT >::grow ( IndexT  n)
inline

Definition at line 65 of file IndexedMap.h.

Referenced by llvm::SystemZFrameLowering::SystemZFrameLowering().

template<typename T, typename ToIndexT = llvm::identity<unsigned>>
bool llvm::IndexedMap< T, ToIndexT >::inBounds ( IndexT  n) const
inline

Definition at line 71 of file IndexedMap.h.

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.

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

Definition at line 75 of file IndexedMap.h.


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