LLVM 22.0.0git
llvm::OffsetAndUnitID Struct Reference

Helper class to identify an entry in DWARF5AccelTable based on their DIE offset and UnitID. More...

#include "llvm/CodeGen/AccelTable.h"

Public Member Functions

 OffsetAndUnitID ()=delete
 OffsetAndUnitID (uint64_t Offset, uint32_t UnitID, bool IsTU)
uint64_t offset () const
uint32_t unitID () const
bool isTU () const

Public Attributes

uint64_t Offset = 0
uint32_t UnitID = 0
bool IsTU = false

Detailed Description

Helper class to identify an entry in DWARF5AccelTable based on their DIE offset and UnitID.

Definition at line 261 of file AccelTable.h.

Constructor & Destructor Documentation

◆ OffsetAndUnitID() [1/2]

llvm::OffsetAndUnitID::OffsetAndUnitID ( )
delete

◆ OffsetAndUnitID() [2/2]

llvm::OffsetAndUnitID::OffsetAndUnitID ( uint64_t Offset,
uint32_t UnitID,
bool IsTU )
inline

Definition at line 266 of file AccelTable.h.

References IsTU, Offset, and UnitID.

Member Function Documentation

◆ isTU()

bool llvm::OffsetAndUnitID::isTU ( ) const
inline

Definition at line 270 of file AccelTable.h.

References IsTU.

◆ offset()

uint64_t llvm::OffsetAndUnitID::offset ( ) const
inline

Definition at line 268 of file AccelTable.h.

References Offset.

Referenced by llvm::DenseMapInfo< OffsetAndUnitID >::getHashValue().

◆ unitID()

uint32_t llvm::OffsetAndUnitID::unitID ( ) const
inline

Definition at line 269 of file AccelTable.h.

References UnitID.

Referenced by llvm::DenseMapInfo< OffsetAndUnitID >::getHashValue().

Member Data Documentation

◆ IsTU

bool llvm::OffsetAndUnitID::IsTU = false

◆ Offset

uint64_t llvm::OffsetAndUnitID::Offset = 0

Definition at line 262 of file AccelTable.h.

Referenced by offset(), and OffsetAndUnitID().

◆ UnitID

uint32_t llvm::OffsetAndUnitID::UnitID = 0

Definition at line 263 of file AccelTable.h.

Referenced by OffsetAndUnitID(), and unitID().


The documentation for this struct was generated from the following file: