template<typename
ValT, typename ValInfo = ImutContainerInfo<ValT>,
bool Canonicalize = true>
class llvm::ImmutableSet< ValT, ValInfo, Canonicalize >::Factory
Definition at line 966 of file ImmutableSet.h.
template<typename
ValT, typename ValInfo = ImutContainerInfo<ValT>,
bool Canonicalize = true>
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 989 of file ImmutableSet.h.
References llvm::ImmutableSet< ValT, ValInfo, Canonicalize >::ImmutableSet().
template<typename
ValT, typename ValInfo = ImutContainerInfo<ValT>,
bool Canonicalize = true>
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 1004 of file ImmutableSet.h.
References llvm::ImmutableSet< ValT, ValInfo, Canonicalize >::ImmutableSet().