LLVM  8.0.1
Public Member Functions | List of all members
llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory Class Reference

#include "llvm/ADT/ImmutableMap.h"

Public Member Functions

 Factory (bool canonicalize=true)
 
 Factory (BumpPtrAllocator &Alloc, bool canonicalize=true)
 
 Factory (const Factory &)=delete
 
Factoryoperator= (const Factory &)=delete
 
ImmutableMap getEmptyMap ()
 
LLVM_NODISCARD ImmutableMap add (ImmutableMap Old, key_type_ref K, data_type_ref D)
 
LLVM_NODISCARD ImmutableMap remove (ImmutableMap Old, key_type_ref K)
 
TreeTy::FactorygetTreeFactory () const
 

Detailed Description

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
class llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory

Definition at line 102 of file ImmutableMap.h.

Constructor & Destructor Documentation

◆ Factory() [1/3]

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::Factory ( bool  canonicalize = true)
inline

Definition at line 107 of file ImmutableMap.h.

◆ Factory() [2/3]

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::Factory ( BumpPtrAllocator Alloc,
bool  canonicalize = true 
)
inline

Definition at line 109 of file ImmutableMap.h.

◆ Factory() [3/3]

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::Factory ( const Factory )
delete

Member Function Documentation

◆ add()

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
LLVM_NODISCARD ImmutableMap llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::add ( ImmutableMap  Old,
key_type_ref  K,
data_type_ref  D 
)
inline

◆ getEmptyMap()

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
ImmutableMap llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::getEmptyMap ( )
inline

Definition at line 115 of file ImmutableMap.h.

References llvm::ImutAVLFactory< ImutInfo >::getEmptyTree().

◆ getTreeFactory()

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
TreeTy::Factory* llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::getTreeFactory ( ) const
inline

Definition at line 128 of file ImmutableMap.h.

References F().

◆ operator=()

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
Factory& llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::operator= ( const Factory )
delete

◆ remove()

template<typename KeyT, typename ValT, typename ValInfo = ImutKeyValueInfo<KeyT,ValT>>
LLVM_NODISCARD ImmutableMap llvm::ImmutableMap< KeyT, ValT, ValInfo >::Factory::remove ( ImmutableMap  Old,
key_type_ref  K 
)
inline

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