LLVM 20.0.0git
|
StringMapEntryStorage - Holds the value in a StringMapEntry. More...
#include "llvm/ADT/StringMapEntry.h"
Public Member Functions | |
StringMapEntryStorage (size_t keyLength) | |
template<typename... InitTy> | |
StringMapEntryStorage (size_t keyLength, InitTy &&...initVals) | |
StringMapEntryStorage (StringMapEntryStorage &e)=delete | |
const ValueTy & | getValue () const |
ValueTy & | getValue () |
void | setValue (const ValueTy &V) |
Public Member Functions inherited from llvm::StringMapEntryBase | |
StringMapEntryBase (size_t keyLength) | |
size_t | getKeyLength () const |
Public Attributes | |
ValueTy | second |
Additional Inherited Members | |
Static Protected Member Functions inherited from llvm::StringMapEntryBase | |
template<typename AllocatorTy > | |
static void * | allocateWithKey (size_t EntrySize, size_t EntryAlign, StringRef Key, AllocatorTy &Allocator) |
Helper to tail-allocate Key . | |
StringMapEntryStorage - Holds the value in a StringMapEntry.
Factored out into a separate base class to make it easier to specialize. This is primarily intended to support StringSet, which doesn't need a value stored at all.
Definition at line 69 of file StringMapEntry.h.
|
inlineexplicit |
Definition at line 73 of file StringMapEntry.h.
|
inline |
Definition at line 76 of file StringMapEntry.h.
|
delete |
|
inline |
Definition at line 82 of file StringMapEntry.h.
References llvm::StringMapEntryStorage< ValueTy >::second.
|
inline |
Definition at line 81 of file StringMapEntry.h.
References llvm::StringMapEntryStorage< ValueTy >::second.
Referenced by llvm::dwarf_linker::parallel::TypePool::getOrCreateTypeEntryBody(), llvm::orc::SymbolStringPtrBase::getRefCount(), llvm::OperandBundleUse::getTagID(), llvm::orc::SymbolStringPtrBase::poolEntryIsAlive(), llvm::orc::SymbolStringPoolEntryUnsafe::release(), llvm::orc::SymbolStringPoolEntryUnsafe::retain(), llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveNamespaceRecord(), llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveTypeRecord(), llvm::orc::SymbolStringPtr::SymbolStringPtr(), and llvm::dwarf_linker::parallel::TypePool::TypePool().
|
inline |
Definition at line 84 of file StringMapEntry.h.
References llvm::StringMapEntryStorage< ValueTy >::second.
ValueTy llvm::StringMapEntryStorage< ValueTy >::second |
Definition at line 71 of file StringMapEntry.h.
Referenced by llvm::dwarf_linker::parallel::CompileUnit::cloneDIE(), llvm::StringMapEntryStorage< ValueTy >::getValue(), llvm::MCContext::getWasmSection(), and llvm::StringMapEntryStorage< ValueTy >::setValue().