Generic profile template. The default behavior is to invoke the profile method of an object. Specializations for primitive integers and generic handling of pointers is done below.
Declared in <llvm/ADT/ImmutableSet.h>
template<typename T>
struct ImutProfileInfo;
| Name | Description |
|---|---|
value_type | The type of a value when profiling elements for folding-set hashing. |
value_type_ref | A reference to a value when profiling elements for folding-set hashing. |
| Name | Description |
|---|---|
Profile | Adds profile data for X to ID using T's FoldingSetTrait. |
| Name | Description |
|---|---|
ImutProfileInfo<bool> | Profile traits for booleans. |
ImutProfileInfo<char> | |
ImutProfileInfo<int> | |
ImutProfileInfo<long> | |
ImutProfileInfo<long long> | |
ImutProfileInfo<short> | |
ImutProfileInfo<unsigned char> | |
ImutProfileInfo<unsigned int> | |
ImutProfileInfo<unsigned long> | |
ImutProfileInfo<unsigned long long> | |
ImutProfileInfo<unsigned short> | |
ImutProfileInfo<T*> | Generic profile trait for pointer types. We treat pointers as references to unique objects. |
| Name | Description |
|---|---|
ImutContainerInfo<T*> | Specialization for pointer values to treat pointers as references to unique objects. Pointers are thus compared by their addresses. |
ImutContainerInfo | Generic definition of comparison operations for elements of immutable containers that defaults to using std::equal_to<> and std::less<> to perform comparison of elements. |