LLVM 22.0.0git
llvm::FunctionTypeKeyInfo Struct Reference

#include "IR/LLVMContextImpl.h"

Classes

struct  KeyTy

Static Public Member Functions

static FunctionTypegetEmptyKey ()
static FunctionTypegetTombstoneKey ()
static unsigned getHashValue (const KeyTy &Key)
static unsigned getHashValue (const FunctionType *FT)
static bool isEqual (const KeyTy &LHS, const FunctionType *RHS)
static bool isEqual (const FunctionType *LHS, const FunctionType *RHS)

Detailed Description

Definition at line 140 of file LLVMContextImpl.h.

Member Function Documentation

◆ getEmptyKey()

FunctionType * llvm::FunctionTypeKeyInfo::getEmptyKey ( )
inlinestatic

Definition at line 164 of file LLVMContextImpl.h.

Referenced by isEqual().

◆ getHashValue() [1/2]

unsigned llvm::FunctionTypeKeyInfo::getHashValue ( const FunctionType * FT)
inlinestatic

Definition at line 177 of file LLVMContextImpl.h.

References getHashValue().

◆ getHashValue() [2/2]

unsigned llvm::FunctionTypeKeyInfo::getHashValue ( const KeyTy & Key)
inlinestatic

◆ getTombstoneKey()

FunctionType * llvm::FunctionTypeKeyInfo::getTombstoneKey ( )
inlinestatic

Definition at line 168 of file LLVMContextImpl.h.

Referenced by isEqual().

◆ isEqual() [1/2]

bool llvm::FunctionTypeKeyInfo::isEqual ( const FunctionType * LHS,
const FunctionType * RHS )
inlinestatic

Definition at line 187 of file LLVMContextImpl.h.

References LHS, and RHS.

◆ isEqual() [2/2]

bool llvm::FunctionTypeKeyInfo::isEqual ( const KeyTy & LHS,
const FunctionType * RHS )
inlinestatic

Definition at line 181 of file LLVMContextImpl.h.

References getEmptyKey(), getTombstoneKey(), LHS, and RHS.


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