LLVM  7.0.0svn
Public Member Functions | List of all members
llvm::AccelTable< DataT > Class Template Reference

This class holds an abstract representation of an Accelerator Table, consisting of a sequence of buckets, each bucket containint a sequence of HashData entries. More...

#include "llvm/CodeGen/AccelTable.h"

Inheritance diagram for llvm::AccelTable< DataT >:
Inheritance graph
[legend]
Collaboration diagram for llvm::AccelTable< DataT >:
Collaboration graph
[legend]

Public Member Functions

 AccelTable ()
 
template<typename... Types>
void addName (DwarfStringPoolEntryRef Name, Types &&... Args)
 
- Public Member Functions inherited from llvm::AccelTableBase
void finalize (AsmPrinter *Asm, StringRef Prefix)
 
ArrayRef< HashListgetBuckets () const
 
uint32_t getBucketCount () const
 
uint32_t getUniqueHashCount () const
 
uint32_t getUniqueNameCount () const
 
void print (raw_ostream &OS) const
 
void dump () const
 
 AccelTableBase (const AccelTableBase &)=delete
 
void operator= (const AccelTableBase &)=delete
 

Additional Inherited Members

- Public Types inherited from llvm::AccelTableBase
using HashFn = uint32_t(StringRef)
 
using HashList = std::vector< HashData * >
 
using BucketList = std::vector< HashList >
 
- Protected Types inherited from llvm::AccelTableBase
using StringEntries = StringMap< HashData, BumpPtrAllocator & >
 
- Protected Member Functions inherited from llvm::AccelTableBase
void computeBucketCount ()
 
 AccelTableBase (HashFn *Hash)
 
- Protected Attributes inherited from llvm::AccelTableBase
BumpPtrAllocator Allocator
 Allocator for HashData and Values. More...
 
StringEntries Entries
 
HashFnHash
 
uint32_t BucketCount
 
uint32_t UniqueHashCount
 
HashList Hashes
 
BucketList Buckets
 

Detailed Description

template<typename DataT>
class llvm::AccelTable< DataT >

This class holds an abstract representation of an Accelerator Table, consisting of a sequence of buckets, each bucket containint a sequence of HashData entries.

The class is parameterized by the type of entries it holds. The type template parameter also defines the hash function to use for hashing names.

Definition at line 199 of file AccelTable.h.

Constructor & Destructor Documentation

◆ AccelTable()

template<typename DataT>
llvm::AccelTable< DataT >::AccelTable ( )
inline

Definition at line 201 of file AccelTable.h.

Member Function Documentation

◆ addName()

template<typename AccelTableDataT >
template<typename... Types>
void llvm::AccelTable< AccelTableDataT >::addName ( DwarfStringPoolEntryRef  Name,
Types &&...  Args 
)

Definition at line 209 of file AccelTable.h.


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