class OnDiskIterableChainedHashTable

Declaration

template <typename Info>
class OnDiskIterableChainedHashTable { /* full declaration omitted */ };

Description

Provides lookup and iteration over an on disk hash table. \copydetails llvm::OnDiskChainedHashTable

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:431

Templates

Info

Method Overview

  • public static OnDiskIterableChainedHashTable<Info> * Create(const unsigned char * Buckets, const unsigned char *const Payload, const unsigned char *const Base, const Info & InfoObj = type-parameter-0-0())
  • public OnDiskIterableChainedHashTable<Info>(llvm::OnDiskIterableChainedHashTable::offset_type NumBuckets, llvm::OnDiskIterableChainedHashTable::offset_type NumEntries, const unsigned char * Buckets, const unsigned char * Payload, const unsigned char * Base, const Info & InfoObj = type-parameter-0-0())
  • public iterator_range<llvm::OnDiskIterableChainedHashTable::data_iterator> data()
  • public llvm::OnDiskIterableChainedHashTable::data_iterator data_begin()
  • public llvm::OnDiskIterableChainedHashTable::data_iterator data_end()
  • public llvm::OnDiskIterableChainedHashTable::key_iterator key_begin()
  • public llvm::OnDiskIterableChainedHashTable::key_iterator key_end()
  • public iterator_range<llvm::OnDiskIterableChainedHashTable::key_iterator> keys()

Methods

static OnDiskIterableChainedHashTable<Info>*
Create(const unsigned char* Buckets,
       const unsigned char* const Payload,
       const unsigned char* const Base,
       const Info& InfoObj = type - parameter -
                             0 - 0())

Description

Create the hash table.

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:603

Parameters

const unsigned char* Buckets
is the beginning of the hash table itself, which follows the payload of entire structure. This is the value returned by OnDiskHashTableGenerator::Emit.
const unsigned char* const Payload
is the beginning of the data contained in the table. This is Base plus any padding or header data that was stored, ie, the offset that the stream was at when calling Emit.
const unsigned char* const Base
is the point from which all offsets into the structure are based. This is offset 0 in the stream that was used when Emitting the table.
const Info& InfoObj = type-parameter-0-0()

OnDiskIterableChainedHashTable<Info>(
    llvm::OnDiskIterableChainedHashTable::
        offset_type NumBuckets,
    llvm::OnDiskIterableChainedHashTable::
        offset_type NumEntries,
    const unsigned char* Buckets,
    const unsigned char* Payload,
    const unsigned char* Base,
    const Info& InfoObj = type - parameter - 0 -
                          0())

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:492

Parameters

llvm::OnDiskIterableChainedHashTable::offset_type NumBuckets
llvm::OnDiskIterableChainedHashTable::offset_type NumEntries
const unsigned char* Buckets
const unsigned char* Payload
const unsigned char* Base
const Info& InfoObj = type-parameter-0-0()

iterator_range<
    llvm::OnDiskIterableChainedHashTable::
        data_iterator>
data()

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:585

llvm::OnDiskIterableChainedHashTable::
    data_iterator
    data_begin()

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:580

llvm::OnDiskIterableChainedHashTable::
    data_iterator
    data_end()

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:583

llvm::OnDiskIterableChainedHashTable::key_iterator
key_begin()

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:537

llvm::OnDiskIterableChainedHashTable::key_iterator
key_end()

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:540

iterator_range<
    llvm::OnDiskIterableChainedHashTable::
        key_iterator>
keys()

Declared at: llvm/include/llvm/Support/OnDiskHashTable.h:542