LLVM 20.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::ImutProfileInfo< T * > Struct Template Reference

Generic profile trait for pointer types. More...

#include "llvm/ADT/ImmutableSet.h"

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

Public Types

using value_type = const T *
 
using value_type_ref = value_type
 

Static Public Member Functions

static void Profile (FoldingSetNodeID &ID, value_type_ref X)
 

Detailed Description

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

Generic profile trait for pointer types.

We treat pointers as references to unique objects.

Definition at line 888 of file ImmutableSet.h.

Member Typedef Documentation

◆ value_type

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

Definition at line 889 of file ImmutableSet.h.

◆ value_type_ref

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

Definition at line 890 of file ImmutableSet.h.

Member Function Documentation

◆ Profile()

template<typename T >
static void llvm::ImutProfileInfo< T * >::Profile ( FoldingSetNodeID ID,
value_type_ref  X 
)
inlinestatic

Definition at line 892 of file ImmutableSet.h.

References X.


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