LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | Friends | List of all members
llvm::ThreadSafeTrieRawHashMapBase::ImplType Class Referencefinal
Inheritance diagram for llvm::ThreadSafeTrieRawHashMapBase::ImplType:
Inheritance graph
[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()

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

◆ 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()

static 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

Friends And Related Function Documentation

◆ TrailingObjects

friend class TrailingObjects
friend

Definition at line 204 of file TrieRawHashMap.cpp.

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.

Referenced by llvm::ThreadSafeTrieRawHashMapBase::insert().


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