LLVM 20.0.0git
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
llvm::AppleAccelTableStaticTypeData Class Reference

Accelerator table data implementation for type accelerator tables with a DIE offset but no actual DIE pointer. More...

#include "llvm/CodeGen/AccelTable.h"

Inheritance diagram for llvm::AppleAccelTableStaticTypeData:
Inheritance graph
[legend]

Public Member Functions

 AppleAccelTableStaticTypeData (uint32_t Offset, uint16_t Tag, bool ObjCClassIsImplementation, uint32_t QualifiedNameHash)
 
void emit (AsmPrinter *Asm) const override
 
void print (raw_ostream &OS) const override
 
- Public Member Functions inherited from llvm::AppleAccelTableStaticOffsetData
 AppleAccelTableStaticOffsetData (uint32_t Offset)
 
void emit (AsmPrinter *Asm) const override
 
void print (raw_ostream &OS) const override
 
virtual void emit (AsmPrinter *Asm) const =0
 
- Public Member Functions inherited from llvm::AccelTableData
virtual ~AccelTableData ()=default
 
bool operator< (const AccelTableData &Other) const
 
virtual void print (raw_ostream &OS) const =0
 

Static Public Attributes

static constexpr Atom Atoms []
 
- Static Public Attributes inherited from llvm::AppleAccelTableStaticOffsetData
static constexpr Atom Atoms []
 

Protected Member Functions

uint64_t order () const override
 
uint64_t order () const override
 
virtual uint64_t order () const =0
 

Protected Attributes

uint32_t QualifiedNameHash
 
uint16_t Tag
 
bool ObjCClassIsImplementation
 
- Protected Attributes inherited from llvm::AppleAccelTableStaticOffsetData
uint32_t Offset
 

Additional Inherited Members

- Static Public Member Functions inherited from llvm::AppleAccelTableData
static uint32_t hash (StringRef Buffer)
 

Detailed Description

Accelerator table data implementation for type accelerator tables with a DIE offset but no actual DIE pointer.

Definition at line 528 of file AccelTable.h.

Constructor & Destructor Documentation

◆ AppleAccelTableStaticTypeData()

llvm::AppleAccelTableStaticTypeData::AppleAccelTableStaticTypeData ( uint32_t  Offset,
uint16_t  Tag,
bool  ObjCClassIsImplementation,
uint32_t  QualifiedNameHash 
)
inline

Definition at line 530 of file AccelTable.h.

Member Function Documentation

◆ emit()

void AppleAccelTableStaticTypeData::emit ( AsmPrinter Asm) const
overridevirtual

◆ order()

uint64_t llvm::AppleAccelTableStaticTypeData::order ( ) const
inlineoverrideprotectedvirtual

Reimplemented from llvm::AppleAccelTableStaticOffsetData.

Definition at line 548 of file AccelTable.h.

References llvm::AppleAccelTableStaticOffsetData::Offset.

◆ print()

void AppleAccelTableStaticTypeData::print ( raw_ostream OS) const
overridevirtual

Reimplemented from llvm::AppleAccelTableStaticOffsetData.

Definition at line 830 of file AccelTable.cpp.

References llvm::format(), llvm::Offset, OS, llvm::Tag, and llvm::dwarf::TagString().

Member Data Documentation

◆ Atoms

constexpr AppleAccelTableData::Atom AppleAccelTableStaticTypeData::Atoms
staticconstexpr
Initial value:
= {
Atom(dwarf::DW_ATOM_die_offset, dwarf::DW_FORM_data4),
Atom(dwarf::DW_ATOM_die_tag, dwarf::DW_FORM_data2),
Atom(5, dwarf::DW_FORM_data1), Atom(6, dwarf::DW_FORM_data4)}
@ DW_ATOM_die_tag
Definition: Dwarf.h:922
@ DW_ATOM_die_offset
Marker as the end of a list of atoms.
Definition: Dwarf.h:919

Definition at line 539 of file AccelTable.h.

◆ ObjCClassIsImplementation

bool llvm::AppleAccelTableStaticTypeData::ObjCClassIsImplementation
protected

Definition at line 552 of file AccelTable.h.

Referenced by emit().

◆ QualifiedNameHash

uint32_t llvm::AppleAccelTableStaticTypeData::QualifiedNameHash
protected

Definition at line 550 of file AccelTable.h.

Referenced by emit().

◆ Tag

uint16_t llvm::AppleAccelTableStaticTypeData::Tag
protected

Definition at line 551 of file AccelTable.h.

Referenced by emit().


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