LLVM  7.0.0svn
Classes | Public Member Functions | List of all members
llvm::AppleAccelTableHeader Class Reference

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

 AppleAccelTableHeader (ArrayRef< AppleAccelTableHeader::Atom > Atoms)
 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

◆ AppleAccelTableHeader()

llvm::AppleAccelTableHeader::AppleAccelTableHeader ( ArrayRef< AppleAccelTableHeader::Atom Atoms)
inline

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

Definition at line 172 of file AccelTable.h.

References setBucketAndHashCount(), and llvm::SmallVectorTemplateCommon< T >::size().

Member Function Documentation

◆ dump()

void llvm::AppleAccelTableHeader::dump ( ) const
inline

Definition at line 191 of file AccelTable.h.

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

Referenced by llvm::AppleAccelTableHeader::Atom::dump().

◆ emit()

void AppleAccelTableHeader::emit ( AsmPrinter Asm)

◆ getBucketCount()

uint32_t llvm::AppleAccelTableHeader::getBucketCount ( ) const
inline

Definition at line 184 of file AccelTable.h.

References emit(), and print().

◆ getHashCount()

uint32_t llvm::AppleAccelTableHeader::getHashCount ( ) const
inline

Definition at line 183 of file AccelTable.h.

◆ print()

void AppleAccelTableHeader::print ( raw_ostream OS) const

◆ setBucketAndHashCount()

void AppleAccelTableHeader::setBucketAndHashCount ( uint32_t  HashCount)

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