LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Static Public Member Functions | List of all members
llvm::ImutContainerInfo< T > Struct Template Reference

#include <ImmutableSet.h>

Inheritance diagram for llvm::ImutContainerInfo< T >:
Inheritance graph
[legend]
Collaboration diagram for llvm::ImutContainerInfo< T >:
Collaboration graph
[legend]

Public Types

typedef ImutProfileInfo< T >
::value_type 
value_type
 
typedef ImutProfileInfo< T >
::value_type_ref 
value_type_ref
 
typedef value_type key_type
 
typedef value_type_ref key_type_ref
 
typedef bool data_type
 
typedef bool data_type_ref
 
- Public Types inherited from llvm::ImutProfileInfo< T >
typedef const T value_type
 
typedef const Tvalue_type_ref
 

Static Public Member Functions

static key_type_ref KeyOfValue (value_type_ref D)
 
static data_type_ref DataOfValue (value_type_ref)
 
static bool isEqual (key_type_ref LHS, key_type_ref RHS)
 
static bool isLess (key_type_ref LHS, key_type_ref RHS)
 
static bool isDataEqual (data_type_ref, data_type_ref)
 
- Static Public Member Functions inherited from llvm::ImutProfileInfo< T >
static void Profile (FoldingSetNodeID &ID, value_type_ref X)
 

Detailed Description

template<typename T>
struct llvm::ImutContainerInfo< T >

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.

Definition at line 890 of file ImmutableSet.h.

Member Typedef Documentation

template<typename T >
typedef bool llvm::ImutContainerInfo< T >::data_type

Definition at line 895 of file ImmutableSet.h.

template<typename T >
typedef bool llvm::ImutContainerInfo< T >::data_type_ref

Definition at line 896 of file ImmutableSet.h.

template<typename T >
typedef value_type llvm::ImutContainerInfo< T >::key_type

Definition at line 893 of file ImmutableSet.h.

template<typename T >
typedef value_type_ref llvm::ImutContainerInfo< T >::key_type_ref

Definition at line 894 of file ImmutableSet.h.

template<typename T >
typedef ImutProfileInfo<T>::value_type llvm::ImutContainerInfo< T >::value_type

Definition at line 891 of file ImmutableSet.h.

Definition at line 892 of file ImmutableSet.h.

Member Function Documentation

template<typename T >
static data_type_ref llvm::ImutContainerInfo< T >::DataOfValue ( value_type_ref  )
inlinestatic

Definition at line 899 of file ImmutableSet.h.

template<typename T >
static bool llvm::ImutContainerInfo< T >::isDataEqual ( data_type_ref  ,
data_type_ref   
)
inlinestatic

Definition at line 909 of file ImmutableSet.h.

template<typename T >
static bool llvm::ImutContainerInfo< T >::isEqual ( key_type_ref  LHS,
key_type_ref  RHS 
)
inlinestatic
template<typename T >
static bool llvm::ImutContainerInfo< T >::isLess ( key_type_ref  LHS,
key_type_ref  RHS 
)
inlinestatic

Definition at line 905 of file ImmutableSet.h.

Referenced by llvm::ImutKeyValueInfo< T, S >::isLess().

template<typename T >
static key_type_ref llvm::ImutContainerInfo< T >::KeyOfValue ( value_type_ref  D)
inlinestatic

Definition at line 898 of file ImmutableSet.h.


The documentation for this struct was generated from the following file: