LLVM  15.0.0git
Public Types | Public Member Functions | List of all members
llvm::jitlink::AllocGroupSmallMap< T > Class Template Reference

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

#include "llvm/ExecutionEngine/JITLink/MemoryFlags.h"

Inheritance diagram for llvm::jitlink::AllocGroupSmallMap< T >:
Inheritance graph
[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::jitlink::AllocGroupSmallMap< T >

A specialized small-map for AllocGroups.

Iteration order is guaranteed to match key ordering.

Definition at line 142 of file MemoryFlags.h.

Member Typedef Documentation

◆ iterator

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

Definition at line 152 of file MemoryFlags.h.

Constructor & Destructor Documentation

◆ AllocGroupSmallMap() [1/2]

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

◆ AllocGroupSmallMap() [2/2]

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

Definition at line 155 of file MemoryFlags.h.

Member Function Documentation

◆ begin()

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

Definition at line 160 of file MemoryFlags.h.

Referenced by llvm::jitlink::BasicLayout::segments().

◆ empty()

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

Definition at line 167 of file MemoryFlags.h.

◆ end()

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

◆ find()

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

Definition at line 162 of file MemoryFlags.h.

◆ operator[]()

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

Definition at line 170 of file MemoryFlags.h.

◆ size()

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

Definition at line 168 of file MemoryFlags.h.


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