LLVM 22.0.0git
llvm::ThreadSafeTrieRawHashMapBase::ImplType Class Referencefinal
Inheritance diagram for llvm::ThreadSafeTrieRawHashMapBase::ImplType:
[legend]

Public Member Functions

TrieSubtrie * save (std::unique_ptr< TrieSubtrie > S)
TrieSubtrie * getRoot ()
void operator delete (void *Ptr)

Static Public Member Functions

static std::unique_ptr< ImplTypecreate (size_t StartBit, size_t NumBits)
static void * operator new (size_t Size)

Public Attributes

ThreadSafeAllocator< BumpPtrAllocatorContentAlloc
 FIXME: This should take a function that allocates and constructs the content lazily (taking the hash as a separate parameter), in case of collision.

Friends

class TrailingObjects

Detailed Description

Definition at line 163 of file TrieRawHashMap.cpp.

Member Function Documentation

◆ create()

std::unique_ptr< ImplType > llvm::ThreadSafeTrieRawHashMapBase::ImplType::create ( size_t StartBit,
size_t NumBits )
inlinestatic

Definition at line 167 of file TrieRawHashMap.cpp.

References Size.

Referenced by TrailingObjects.

◆ getRoot()

TrieSubtrie * llvm::ThreadSafeTrieRawHashMapBase::ImplType::getRoot ( )
inline

◆ operator delete()

void llvm::ThreadSafeTrieRawHashMapBase::ImplType::operator delete ( void * Ptr)
inline

Definition at line 196 of file TrieRawHashMap.cpp.

References Ptr.

◆ operator new()

void * llvm::ThreadSafeTrieRawHashMapBase::ImplType::operator new ( size_t Size)
inlinestatic

Definition at line 195 of file TrieRawHashMap.cpp.

References Size.

◆ save()

TrieSubtrie * llvm::ThreadSafeTrieRawHashMapBase::ImplType::save ( std::unique_ptr< TrieSubtrie > S)
inline

Definition at line 177 of file TrieRawHashMap.cpp.

References assert(), getRoot(), and llvm::Next.

◆ TrailingObjects

Member Data Documentation

◆ ContentAlloc

ThreadSafeAllocator<BumpPtrAllocator> llvm::ThreadSafeTrieRawHashMapBase::ImplType::ContentAlloc

FIXME: This should take a function that allocates and constructs the content lazily (taking the hash as a separate parameter), in case of collision.

Definition at line 201 of file TrieRawHashMap.cpp.


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