LLVM  7.0.0svn

Representation of the header of an Apple accelerator table. More...

#include "llvm/CodeGen/AccelTable.h"

## Classes

struct  Atom
An Atom defines the form of the data in the accelerator table. More...

## Public Member Functions

The length of the header data is always going to be 4 + 4 + 4*NumAtoms. More...

void setBucketAndHashCount (uint32_t HashCount)
Update header with hash and bucket count. More...

uint32_t getHashCount () const

uint32_t getBucketCount () const

void emit (AsmPrinter *)
Emits the header via the AsmPrinter. More...

void print (raw_ostream &OS) const

void dump () const

## Detailed Description

Representation of the header of an Apple accelerator table.

This consists of the fixed header and the header data. The latter contains the atoms which define the columns of the table.

Definition at line 99 of file AccelTable.h.

## Constructor & Destructor Documentation

inline

The length of the header data is always going to be 4 + 4 + 4*NumAtoms.

Definition at line 172 of file AccelTable.h.

## ◆ dump()

inline

Definition at line 191 of file AccelTable.h.

References llvm::dbgs(), and print().

## ◆ emit()

 void AppleAccelTableHeader::emit ( AsmPrinter * Asm )

## ◆ getBucketCount()

inline

Definition at line 184 of file AccelTable.h.

References emit(), and print().

## ◆ getHashCount()

inline

Definition at line 183 of file AccelTable.h.

## ◆ print()

 void AppleAccelTableHeader::print ( raw_ostream & OS ) const

## ◆ setBucketAndHashCount()

 void AppleAccelTableHeader::setBucketAndHashCount ( uint32_t HashCount )

Update header with hash and bucket count.

Definition at line 62 of file AccelTable.cpp.