LLVM 22.0.0git
|
#include "llvm/DWARFLinker/StringPool.h"
Public Member Functions | |
StringPool () | |
StringPool (size_t InitialSize) | |
llvm::parallel::PerThreadBumpPtrAllocator & | getAllocatorRef () |
void | clear () |
Public Member Functions inherited from llvm::ConcurrentHashTableByPtr< StringRef, StringEntry, llvm::parallel::PerThreadBumpPtrAllocator, StringPoolEntryInfo > | |
ConcurrentHashTableByPtr (llvm::parallel::PerThreadBumpPtrAllocator &Allocator, uint64_t EstimatedSize=100000, size_t ThreadsNum=parallel::strategy.compute_thread_count(), size_t InitialNumberOfBuckets=128) | |
virtual | ~ConcurrentHashTableByPtr () |
std::pair< StringEntry *, bool > | insert (const StringRef &NewValue) |
Insert new value NewValue or return already existing entry. | |
void | printStatistic (raw_ostream &OS) |
Print information about current state of hash table structures. |
Additional Inherited Members | |
Protected Types inherited from llvm::ConcurrentHashTableByPtr< StringRef, StringEntry, llvm::parallel::PerThreadBumpPtrAllocator, StringPoolEntryInfo > | |
using | ExtHashBitsTy |
using | EntryDataTy |
using | HashesPtr |
using | DataPtr |
Protected Member Functions inherited from llvm::ConcurrentHashTableByPtr< StringRef, StringEntry, llvm::parallel::PerThreadBumpPtrAllocator, StringPoolEntryInfo > | |
void | RehashBucket (Bucket &CurBucket) |
uint32_t | getBucketIdx (hash_code Hash) |
uint32_t | getExtHashBits (uint64_t Hash) |
uint32_t | getStartIdx (uint32_t ExtHashBits, uint32_t BucketSize) |
Protected Attributes inherited from llvm::ConcurrentHashTableByPtr< StringRef, StringEntry, llvm::parallel::PerThreadBumpPtrAllocator, StringPoolEntryInfo > | |
uint64_t | HashBitsNum |
uint64_t | HashMask |
uint64_t | ExtHashMask |
uint32_t | MaxBucketSize |
uint32_t | InitialBucketSize |
uint32_t | NumberOfBuckets |
std::unique_ptr< Bucket[]> | BucketsArray |
llvm::parallel::PerThreadBumpPtrAllocator & | MultiThreadAllocator |
Definition at line 50 of file StringPool.h.
|
inline |
Definition at line 55 of file StringPool.h.
|
inline |
Definition at line 60 of file StringPool.h.
|
inline |
Definition at line 69 of file StringPool.h.
|
inline |
Definition at line 65 of file StringPool.h.