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

ImutContainerInfo - Specialization for pointer values to treat pointers as references to unique objects. More...

#include "llvm/ADT/ImmutableSet.h"

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

Public Types

using value_type = typename ImutProfileInfo< T * >::value_type
 
using value_type_ref = typename ImutProfileInfo< T * >::value_type_ref
 
using key_type = value_type
 
using key_type_ref = value_type_ref
 
using data_type = bool
 
using data_type_ref = bool
 
- Public Types inherited from llvm::ImutProfileInfo< T *>
using value_type = const T *
 
using value_type_ref = const T * &
 

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 - Specialization for pointer values to treat pointers as references to unique objects.

Pointers are thus compared by their addresses.

Definition at line 936 of file ImmutableSet.h.

Member Typedef Documentation

◆ data_type

template<typename T >
using llvm::ImutContainerInfo< T * >::data_type = bool

Definition at line 941 of file ImmutableSet.h.

◆ data_type_ref

template<typename T >
using llvm::ImutContainerInfo< T * >::data_type_ref = bool

Definition at line 942 of file ImmutableSet.h.

◆ key_type

template<typename T >
using llvm::ImutContainerInfo< T * >::key_type = value_type

Definition at line 939 of file ImmutableSet.h.

◆ key_type_ref

template<typename T >
using llvm::ImutContainerInfo< T * >::key_type_ref = value_type_ref

Definition at line 940 of file ImmutableSet.h.

◆ value_type

template<typename T >
using llvm::ImutContainerInfo< T * >::value_type = typename ImutProfileInfo<T*>::value_type

Definition at line 937 of file ImmutableSet.h.

◆ value_type_ref

template<typename T >
using llvm::ImutContainerInfo< T * >::value_type_ref = typename ImutProfileInfo<T*>::value_type_ref

Definition at line 938 of file ImmutableSet.h.

Member Function Documentation

◆ DataOfValue()

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

Definition at line 945 of file ImmutableSet.h.

◆ isDataEqual()

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

Definition at line 951 of file ImmutableSet.h.

◆ isEqual()

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

Definition at line 947 of file ImmutableSet.h.

◆ isLess()

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

Definition at line 949 of file ImmutableSet.h.

◆ KeyOfValue()

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

Definition at line 944 of file ImmutableSet.h.

References D.


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