LLVM 20.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 93 of file LLVMContextImpl.h.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 113 of file LLVMContextImpl.h.

Referenced by isEqual().

◆ getHashValue() [1/2]

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

Definition at line 121 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 126 of file LLVMContextImpl.h.

References getHashValue().

◆ getTombstoneKey()

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

Definition at line 117 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 130 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 136 of file LLVMContextImpl.h.

References LHS, and RHS.


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