llvm::ImutContainerInfo<T*>

Specialization for pointer values to treat pointers as references to unique objects. Pointers are thus compared by their addresses.

Synopsis

Declared in <llvm/ADT/ImmutableSet.h>

template<typename T>
struct ImutContainerInfo<T*>
    : ImutProfileInfo<T*>

Base Classes

NameDescription
ImutProfileInfo<T*>Profile traits that hash values into a FoldingSetNodeID.

Type Aliases

NameDescription
data_type The associated data type (unused for sets; always bool).
data_type_ref A reference to associated data (unused for sets).
key_type The key type (the pointer address for sets of pointers).
key_type_ref A reference to an element's key (the pointer address).
value_type The stored pointer element type.
value_type_ref A reference to a stored pointer element.

Static Member Functions

NameDescription
DataOfValue Returns the associated data for a set element (always true).
KeyOfValue Returns the lookup key for stored pointer D (the pointer itself).
Profile Adds profile data for X to ID using T's FoldingSetTrait.
isDataEqual Returns true if associated data values compare equal (always true for sets).
isEqual Returns true if pointers LHS and RHS are the same address.
isLess Returns true if pointer LHS is ordered before RHS by address.