LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 260 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 265 of file AccelTable.h.

Member Function Documentation

◆ isTU()

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

Definition at line 269 of file AccelTable.h.

References IsTU.

◆ offset()

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

Definition at line 267 of file AccelTable.h.

References Offset.

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

◆ unitID()

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

Definition at line 268 of file AccelTable.h.

References UnitID.

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

Member Data Documentation

◆ IsTU

bool llvm::OffsetAndUnitID::IsTU = false

Definition at line 263 of file AccelTable.h.

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

◆ Offset

uint64_t llvm::OffsetAndUnitID::Offset = 0

Definition at line 261 of file AccelTable.h.

Referenced by offset().

◆ UnitID

uint32_t llvm::OffsetAndUnitID::UnitID = 0

Definition at line 262 of file AccelTable.h.

Referenced by unitID().


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