LLVM  4.0.0
Public Types | Static Public Member Functions | List of all members
llvm::ImutContainerInfo< T > Struct Template Reference

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. More...

#include <ImmutableSet.h>

Inheritance diagram for llvm::ImutContainerInfo< T >:
[legend]
Collaboration diagram for llvm::ImutContainerInfo< T >:
[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 912 of file ImmutableSet.h.

Member Typedef Documentation

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

Definition at line 917 of file ImmutableSet.h.

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

Definition at line 918 of file ImmutableSet.h.

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

Definition at line 915 of file ImmutableSet.h.

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

Definition at line 916 of file ImmutableSet.h.

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

Definition at line 913 of file ImmutableSet.h.

Definition at line 914 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 921 of file ImmutableSet.h.

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

Definition at line 931 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 927 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 920 of file ImmutableSet.h.

References D.


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