LLVM  8.0.1
Public Member Functions | List of all members
llvm::ImmutableListFactory< T > Class Template Reference

#include "llvm/ADT/ImmutableList.h"

Public Member Functions

 ImmutableListFactory ()
 
 ImmutableListFactory (BumpPtrAllocator &Alloc)
 
 ~ImmutableListFactory ()
 
template<typename ElemT >
LLVM_NODISCARD ImmutableList< Tconcat (ElemT &&Head, ImmutableList< T > Tail)
 
template<typename ElemT >
LLVM_NODISCARD ImmutableList< Tadd (ElemT &&Data, ImmutableList< T > L)
 
template<typename ... CtorArgs>
LLVM_NODISCARD ImmutableList< Templace (ImmutableList< T > Tail, CtorArgs &&...Args)
 
ImmutableList< TgetEmptyList () const
 
template<typename ElemT >
ImmutableList< Tcreate (ElemT &&Data)
 

Detailed Description

template<typename T>
class llvm::ImmutableListFactory< T >

Definition at line 25 of file ImmutableList.h.

Constructor & Destructor Documentation

◆ ImmutableListFactory() [1/2]

template<typename T >
llvm::ImmutableListFactory< T >::ImmutableListFactory ( )
inline

Definition at line 166 of file ImmutableList.h.

◆ ImmutableListFactory() [2/2]

template<typename T >
llvm::ImmutableListFactory< T >::ImmutableListFactory ( BumpPtrAllocator Alloc)
inline

Definition at line 169 of file ImmutableList.h.

◆ ~ImmutableListFactory()

template<typename T >
llvm::ImmutableListFactory< T >::~ImmutableListFactory ( )
inline

Definition at line 172 of file ImmutableList.h.

Member Function Documentation

◆ add()

template<typename T >
template<typename ElemT >
LLVM_NODISCARD ImmutableList<T> llvm::ImmutableListFactory< T >::add ( ElemT &&  Data,
ImmutableList< T L 
)
inline

Definition at line 200 of file ImmutableList.h.

References llvm::concat(), and llvm::Data.

◆ concat()

template<typename T >
template<typename ElemT >
LLVM_NODISCARD ImmutableList<T> llvm::ImmutableListFactory< T >::concat ( ElemT &&  Head,
ImmutableList< T Tail 
)
inline

◆ create()

template<typename T >
template<typename ElemT >
ImmutableList<T> llvm::ImmutableListFactory< T >::create ( ElemT &&  Data)
inline

Definition at line 215 of file ImmutableList.h.

References llvm::concat(), and llvm::Data.

◆ emplace()

template<typename T >
template<typename ... CtorArgs>
LLVM_NODISCARD ImmutableList<T> llvm::ImmutableListFactory< T >::emplace ( ImmutableList< T Tail,
CtorArgs &&...  Args 
)
inline

Definition at line 205 of file ImmutableList.h.

References llvm::AMDGPU::HSAMD::Kernel::Key::Args, llvm::concat(), and T.

◆ getEmptyList()

template<typename T >
ImmutableList<T> llvm::ImmutableListFactory< T >::getEmptyList ( ) const
inline

Definition at line 210 of file ImmutableList.h.


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