LLVM 22.0.0git
llvm::AnonStructTypeKeyInfo Struct Reference

#include "IR/LLVMContextImpl.h"

Classes

struct  KeyTy

Static Public Member Functions

static StructTypegetEmptyKey ()
static StructTypegetTombstoneKey ()
static unsigned getHashValue (const KeyTy &Key)
static unsigned getHashValue (const StructType *ST)
static bool isEqual (const KeyTy &LHS, const StructType *RHS)
static bool isEqual (const StructType *LHS, const StructType *RHS)

Detailed Description

Definition at line 93 of file LLVMContextImpl.h.

Member Function Documentation

◆ getEmptyKey()

StructType * llvm::AnonStructTypeKeyInfo::getEmptyKey ( )
inlinestatic

Definition at line 113 of file LLVMContextImpl.h.

Referenced by isEqual().

◆ getHashValue() [1/2]

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

◆ getHashValue() [2/2]

unsigned llvm::AnonStructTypeKeyInfo::getHashValue ( const StructType * ST)
inlinestatic

Definition at line 125 of file LLVMContextImpl.h.

References getHashValue().

◆ getTombstoneKey()

StructType * llvm::AnonStructTypeKeyInfo::getTombstoneKey ( )
inlinestatic

Definition at line 117 of file LLVMContextImpl.h.

Referenced by isEqual().

◆ isEqual() [1/2]

bool llvm::AnonStructTypeKeyInfo::isEqual ( const KeyTy & LHS,
const StructType * RHS )
inlinestatic

Definition at line 129 of file LLVMContextImpl.h.

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

◆ isEqual() [2/2]

bool llvm::AnonStructTypeKeyInfo::isEqual ( const StructType * LHS,
const StructType * RHS )
inlinestatic

Definition at line 135 of file LLVMContextImpl.h.

References LHS, and RHS.


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