LLVM 22.0.0git
llvm::orc::AllocGroupSmallMap< T > Class Template Reference

A specialized small-map for AllocGroups. More...

#include "llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h"

Inheritance diagram for llvm::orc::AllocGroupSmallMap< T >:
[legend]

Public Types

using iterator = typename VectorTy::iterator

Public Member Functions

 AllocGroupSmallMap ()=default
 AllocGroupSmallMap (std::initializer_list< std::pair< AllocGroup, T > > Inits)
iterator begin ()
iterator end ()
iterator find (AllocGroup G)
bool empty () const
size_t size () const
Toperator[] (AllocGroup G)

Detailed Description

template<typename T>
class llvm::orc::AllocGroupSmallMap< T >

A specialized small-map for AllocGroups.

Iteration order is guaranteed to match key ordering.

Definition at line 165 of file MemoryFlags.h.

Member Typedef Documentation

◆ iterator

template<typename T>
using llvm::orc::AllocGroupSmallMap< T >::iterator = typename VectorTy::iterator

Definition at line 175 of file MemoryFlags.h.

Constructor & Destructor Documentation

◆ AllocGroupSmallMap() [1/2]

template<typename T>
llvm::orc::AllocGroupSmallMap< T >::AllocGroupSmallMap ( )
default

◆ AllocGroupSmallMap() [2/2]

template<typename T>
llvm::orc::AllocGroupSmallMap< T >::AllocGroupSmallMap ( std::initializer_list< std::pair< AllocGroup, T > > Inits)
inline

Definition at line 178 of file MemoryFlags.h.

Member Function Documentation

◆ begin()

template<typename T>
iterator llvm::orc::AllocGroupSmallMap< T >::begin ( )
inline

Definition at line 183 of file MemoryFlags.h.

◆ empty()

template<typename T>
bool llvm::orc::AllocGroupSmallMap< T >::empty ( ) const
inline

Definition at line 190 of file MemoryFlags.h.

◆ end()

template<typename T>
iterator llvm::orc::AllocGroupSmallMap< T >::end ( )
inline

Definition at line 184 of file MemoryFlags.h.

Referenced by llvm::orc::AllocGroupSmallMap< Segment >::find().

◆ find()

template<typename T>
iterator llvm::orc::AllocGroupSmallMap< T >::find ( AllocGroup G)
inline

Definition at line 185 of file MemoryFlags.h.

◆ operator[]()

template<typename T>
T & llvm::orc::AllocGroupSmallMap< T >::operator[] ( AllocGroup G)
inline

Definition at line 193 of file MemoryFlags.h.

◆ size()

template<typename T>
size_t llvm::orc::AllocGroupSmallMap< T >::size ( ) const
inline

Definition at line 191 of file MemoryFlags.h.


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