LLVM  7.0.0svn
Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
llvm::AppleAccelTableBase Class Reference

Apple-style accelerator table base class. More...

#include "llvm/CodeGen/AccelTable.h"

Inheritance diagram for llvm::AppleAccelTableBase:
Inheritance graph
Collaboration diagram for llvm::AppleAccelTableBase:
Collaboration graph


struct  HashData

Public Member Functions

void finalizeTable (AsmPrinter *, StringRef)
void emit (AsmPrinter *Asm, const MCSymbol *SecBegin)
void print (raw_ostream &OS) const
void dump () const

Protected Types

using StringEntries = StringMap< HashData, BumpPtrAllocator & >
using HashList = std::vector< HashData * >
using BucketList = std::vector< HashList >

Protected Member Functions

 AppleAccelTableBase (ArrayRef< AppleAccelTableHeader::Atom > Atoms)

Protected Attributes

BumpPtrAllocator Allocator
 Allocator for HashData and Values. More...
AppleAccelTableHeader Header
 Header containing both the header and header data. More...
StringEntries Entries
HashList Hashes
BucketList Buckets

Detailed Description

Apple-style accelerator table base class.

Definition at line 215 of file AccelTable.h.

Member Typedef Documentation

◆ BucketList

using llvm::AppleAccelTableBase::BucketList = std::vector<HashList>

Definition at line 245 of file AccelTable.h.

◆ HashList

using llvm::AppleAccelTableBase::HashList = std::vector<HashData *>

Definition at line 242 of file AccelTable.h.

◆ StringEntries

Definition at line 239 of file AccelTable.h.

Constructor & Destructor Documentation

◆ AppleAccelTableBase()

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

Definition at line 251 of file AccelTable.h.

References llvm::HexStyle::Asm, and computeBucketCount().

Member Function Documentation

◆ dump()

void llvm::AppleAccelTableBase::dump ( ) const

Definition at line 298 of file AccelTable.h.

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

◆ emit()

void llvm::AppleAccelTableBase::emit ( AsmPrinter Asm,
const MCSymbol SecBegin 

Definition at line 288 of file AccelTable.h.

References llvm::AppleAccelTableHeader::print().

◆ finalizeTable()

void AppleAccelTableBase::finalizeTable ( AsmPrinter Asm,
StringRef  Prefix 

◆ print()

void AppleAccelTableBase::print ( raw_ostream OS) const

Definition at line 299 of file AccelTable.cpp.

References E.

Member Data Documentation

◆ Allocator

BumpPtrAllocator llvm::AppleAccelTableBase::Allocator

Allocator for HashData and Values.

Definition at line 234 of file AccelTable.h.

◆ Buckets

BucketList llvm::AppleAccelTableBase::Buckets

Definition at line 246 of file AccelTable.h.

◆ Entries

StringEntries llvm::AppleAccelTableBase::Entries

Definition at line 240 of file AccelTable.h.

◆ Hashes

HashList llvm::AppleAccelTableBase::Hashes

Definition at line 243 of file AccelTable.h.

◆ Header

AppleAccelTableHeader llvm::AppleAccelTableBase::Header

Header containing both the header and header data.

Definition at line 237 of file AccelTable.h.

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