LLVM 22.0.0git
llvm::DenseMapInfo< std::pair< T, U > > Struct Template Reference

#include "llvm/ADT/DenseMapInfo.h"

Inheritance diagram for llvm::DenseMapInfo< std::pair< T, U > >:
[legend]

Public Types

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

Static Public Member Functions

static constexpr Pair getEmptyKey ()
static constexpr 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 136 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 138 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 137 of file DenseMapInfo.h.

◆ SecondInfo

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

Definition at line 139 of file DenseMapInfo.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 141 of file DenseMapInfo.h.

◆ getHashValue()

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

Definition at line 149 of file DenseMapInfo.h.

References llvm::detail::combineHashValue().

◆ getHashValuePiecewise()

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

Definition at line 157 of file DenseMapInfo.h.

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

◆ getTombstoneKey()

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

Definition at line 145 of file DenseMapInfo.h.

◆ isEqual()

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

Definition at line 162 of file DenseMapInfo.h.

References LHS, and RHS.


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