LLVM 19.0.0git
Classes | Static Public Member Functions | List of all members
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 92 of file LLVMContextImpl.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 112 of file LLVMContextImpl.h.

Referenced by isEqual().

◆ getHashValue() [1/2]

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

Definition at line 120 of file LLVMContextImpl.h.

References llvm::hash_combine(), and llvm::hash_combine_range().

Referenced by getHashValue().

◆ getHashValue() [2/2]

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

Definition at line 125 of file LLVMContextImpl.h.

References getHashValue().

◆ getTombstoneKey()

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

Definition at line 116 of file LLVMContextImpl.h.

Referenced by isEqual().

◆ isEqual() [1/2]

static 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]

static 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: