|
LLVM
3.7.0
|
#include <ImmutableSet.h>
Public Member Functions | |
| Factory (bool canonicalize=true) | |
| Factory (BumpPtrAllocator &Alloc, bool canonicalize=true) | |
| ImmutableSet | getEmptySet () |
| getEmptySet - Returns an immutable set that contains no elements. More... | |
| ImmutableSet | add (ImmutableSet Old, value_type_ref V) |
| add - Creates a new immutable set that contains all of the values of the original set with the addition of the specified value. More... | |
| ImmutableSet | remove (ImmutableSet Old, value_type_ref V) |
| remove - Creates a new immutable set that contains all of the values of the original set with the exception of the specified value. More... | |
| BumpPtrAllocator & | getAllocator () |
| TreeTy::Factory * | getTreeFactory () const |
Definition at line 990 of file ImmutableSet.h.
|
inline |
Definition at line 995 of file ImmutableSet.h.
|
inline |
Definition at line 998 of file ImmutableSet.h.
|
inline |
add - Creates a new immutable set that contains all of the values of the original set with the addition of the specified value.
If the original set already included the value, then the original set is returned and no memory is allocated. The time and space complexity of this operation is logarithmic in the size of the original set. The memory allocated to represent the set is released when the factory object that created the set is destroyed.
Definition at line 1013 of file ImmutableSet.h.
References llvm::ImutAVLFactory< ImutInfo >::add(), llvm::ImutAVLFactory< ImutInfo >::getCanonicalTree(), and llvm::ImmutableSet< ValT, ValInfo >::ImmutableSet().
|
inline |
Definition at line 1030 of file ImmutableSet.h.
|
inline |
getEmptySet - Returns an immutable set that contains no elements.
Definition at line 1002 of file ImmutableSet.h.
References llvm::ImutAVLFactory< ImutInfo >::getEmptyTree(), and llvm::ImmutableSet< ValT, ValInfo >::ImmutableSet().
|
inline |
Definition at line 1032 of file ImmutableSet.h.
|
inline |
remove - Creates a new immutable set that contains all of the values of the original set with the exception of the specified value.
If the original set did not contain the value, the original set is returned and no memory is allocated. The time and space complexity of this operation is logarithmic in the size of the original set. The memory allocated to represent the set is released when the factory object that created the set is destroyed.
Definition at line 1025 of file ImmutableSet.h.
References llvm::ImutAVLFactory< ImutInfo >::getCanonicalTree(), llvm::ImmutableSet< ValT, ValInfo >::ImmutableSet(), and llvm::ImutAVLFactory< ImutInfo >::remove().
1.8.6