LLVM
8.0.1
|
#include "llvm/ADT/ImmutableMap.h"
Classes | |
class | iterator |
Public Types | |
using | value_type = typename ValInfo::value_type |
using | value_type_ref = typename ValInfo::value_type_ref |
using | key_type = typename ValInfo::key_type |
using | key_type_ref = typename ValInfo::key_type_ref |
using | data_type = typename ValInfo::data_type |
using | data_type_ref = typename ValInfo::data_type_ref |
using | TreeTy = ImutAVLTree< ValInfo > |
using | FactoryTy = typename TreeTy::Factory |
Static Public Member Functions | |
static ImmutableMapRef | getEmptyMap (FactoryTy *F) |
static void | Profile (FoldingSetNodeID &ID, const ImmutableMapRef &M) |
Protected Attributes | |
TreeTy * | Root |
FactoryTy * | Factory |
Definition at line 258 of file ImmutableMap.h.
using llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::data_type = typename ValInfo::data_type |
Definition at line 264 of file ImmutableMap.h.
using llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::data_type_ref = typename ValInfo::data_type_ref |
Definition at line 265 of file ImmutableMap.h.
using llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::FactoryTy = typename TreeTy::Factory |
Definition at line 267 of file ImmutableMap.h.
using llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::key_type = typename ValInfo::key_type |
Definition at line 262 of file ImmutableMap.h.
using llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::key_type_ref = typename ValInfo::key_type_ref |
Definition at line 263 of file ImmutableMap.h.
using llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::TreeTy = ImutAVLTree<ValInfo> |
Definition at line 266 of file ImmutableMap.h.
using llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::value_type = typename ValInfo::value_type |
Definition at line 260 of file ImmutableMap.h.
using llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::value_type_ref = typename ValInfo::value_type_ref |
Definition at line 261 of file ImmutableMap.h.
|
inlineexplicit |
Constructs a map from a pointer to a tree root.
In general one should use a Factory object to create maps instead of directly invoking the constructor, but there are cases where make this constructor public is useful.
Definition at line 278 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::retain().
|
inlineexplicit |
Definition at line 285 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::retain().
|
inline |
Definition at line 292 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::retain().
|
inline |
Definition at line 298 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::release().
|
inline |
Definition at line 329 of file ImmutableMap.h.
|
inline |
Definition at line 343 of file ImmutableMap.h.
|
inline |
Definition at line 381 of file ImmutableMap.h.
|
inline |
Definition at line 339 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::contains().
|
inline |
Definition at line 382 of file ImmutableMap.h.
|
inlinestatic |
Definition at line 317 of file ImmutableMap.h.
|
inline |
Definition at line 404 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::getHeight().
|
inline |
getMaxElement - Returns the <key,value> pair in the ImmutableMap for which key is the highest in the ordering of keys in the map.
This method returns NULL if the map is empty.
Definition at line 396 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::getMaxElement(), and llvm::ImutAVLTree< ImutInfo >::getValue().
|
inline |
Definition at line 355 of file ImmutableMap.h.
|
inline |
Definition at line 384 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::find(), and llvm::ImutAVLTree< ImutInfo >::getValue().
|
inline |
Definition at line 325 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::release().
|
inline |
Definition at line 321 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::retain().
|
inline |
Definition at line 351 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::isNotEqual(), and llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::Root.
|
inline |
Definition at line 303 of file ImmutableMap.h.
References llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::Factory, llvm::ImutAVLTree< ImutInfo >::release(), llvm::ImutAVLTree< ImutInfo >::retain(), and llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::Root.
|
inline |
Definition at line 347 of file ImmutableMap.h.
References llvm::ImutAVLTree< ImutInfo >::isEqual(), and llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::Root.
|
inlinestatic |
Definition at line 406 of file ImmutableMap.h.
References llvm::FoldingSetNodeID::AddPointer(), and llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::Root.
|
inline |
Definition at line 410 of file ImmutableMap.h.
References llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::Profile().
Referenced by llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::Profile().
|
inline |
Definition at line 334 of file ImmutableMap.h.
|
inline |
Definition at line 361 of file ImmutableMap.h.
|
protected |
Definition at line 271 of file ImmutableMap.h.
Referenced by llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::operator=().
|
protected |
Definition at line 270 of file ImmutableMap.h.
Referenced by llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::operator!=(), llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::operator=(), llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::operator==(), and llvm::ImmutableMapRef< KeyT, ValT, ValInfo >::Profile().