LLVM 22.0.0git
llvm::dwarf_linker::StringPoolEntryInfo Class Reference

#include "llvm/DWARFLinker/StringPool.h"

Static Public Member Functions

static uint64_t getHashValue (const StringRef &Key)
static bool isEqual (const StringRef &LHS, const StringRef &RHS)
static StringRef getKey (const StringEntry &KeyData)
static StringEntrycreate (const StringRef &Key, llvm::parallel::PerThreadBumpPtrAllocator &Allocator)

Detailed Description

Definition at line 25 of file StringPool.h.

Member Function Documentation

◆ create()

StringEntry * llvm::dwarf_linker::StringPoolEntryInfo::create ( const StringRef & Key,
llvm::parallel::PerThreadBumpPtrAllocator & Allocator )
inlinestatic

◆ getHashValue()

uint64_t llvm::dwarf_linker::StringPoolEntryInfo::getHashValue ( const StringRef & Key)
inlinestatic
Returns
Hash value for the specified Key.

Definition at line 28 of file StringPool.h.

References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and llvm::xxh3_64bits().

◆ getKey()

StringRef llvm::dwarf_linker::StringPoolEntryInfo::getKey ( const StringEntry & KeyData)
inlinestatic
Returns
key for the specified KeyData.

Definition at line 38 of file StringPool.h.

References llvm::StringMapEntry< ValueTy >::getKey().

◆ isEqual()

bool llvm::dwarf_linker::StringPoolEntryInfo::isEqual ( const StringRef & LHS,
const StringRef & RHS )
inlinestatic
Returns
true if both LHS and RHS are equal.

Definition at line 33 of file StringPool.h.

References LHS, and RHS.


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