LLVM 20.0.0git
Public Types | Static Public Member Functions | List of all members
llvm::DenseMapInfo< std::pair< T, U > > Struct Template Reference

#include "llvm/ADT/DenseMapInfo.h"

Public Types

using Pair = std::pair< T, U >
 
using FirstInfo = DenseMapInfo< T >
 
using SecondInfo = DenseMapInfo< U >
 

Static Public Member Functions

static Pair getEmptyKey ()
 
static Pair getTombstoneKey ()
 
static unsigned getHashValue (const Pair &PairVal)
 
static unsigned getHashValuePiecewise (const T &First, const U &Second)
 
static bool isEqual (const Pair &LHS, const Pair &RHS)
 

Detailed Description

template<typename T, typename U>
struct llvm::DenseMapInfo< std::pair< T, U > >

Definition at line 221 of file DenseMapInfo.h.

Member Typedef Documentation

◆ FirstInfo

template<typename T , typename U >
using llvm::DenseMapInfo< std::pair< T, U > >::FirstInfo = DenseMapInfo<T>

Definition at line 223 of file DenseMapInfo.h.

◆ Pair

template<typename T , typename U >
using llvm::DenseMapInfo< std::pair< T, U > >::Pair = std::pair<T, U>

Definition at line 222 of file DenseMapInfo.h.

◆ SecondInfo

template<typename T , typename U >
using llvm::DenseMapInfo< std::pair< T, U > >::SecondInfo = DenseMapInfo<U>

Definition at line 224 of file DenseMapInfo.h.

Member Function Documentation

◆ getEmptyKey()

template<typename T , typename U >
static Pair llvm::DenseMapInfo< std::pair< T, U > >::getEmptyKey ( )
inlinestatic

Definition at line 226 of file DenseMapInfo.h.

◆ getHashValue()

template<typename T , typename U >
static unsigned llvm::DenseMapInfo< std::pair< T, U > >::getHashValue ( const Pair PairVal)
inlinestatic

Definition at line 236 of file DenseMapInfo.h.

References llvm::detail::combineHashValue().

◆ getHashValuePiecewise()

template<typename T , typename U >
static unsigned llvm::DenseMapInfo< std::pair< T, U > >::getHashValuePiecewise ( const T First,
const U &  Second 
)
inlinestatic

Definition at line 244 of file DenseMapInfo.h.

References llvm::detail::combineHashValue(), and llvm::First.

◆ getTombstoneKey()

template<typename T , typename U >
static Pair llvm::DenseMapInfo< std::pair< T, U > >::getTombstoneKey ( )
inlinestatic

Definition at line 231 of file DenseMapInfo.h.

◆ isEqual()

template<typename T , typename U >
static bool llvm::DenseMapInfo< std::pair< T, U > >::isEqual ( const Pair LHS,
const Pair RHS 
)
inlinestatic

Definition at line 249 of file DenseMapInfo.h.

References LHS, and RHS.


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