LLVM 20.0.0git
Classes | Public Member Functions | Protected Attributes | List of all members
llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy Class Reference

Class keeping live worklist item data. More...

#include "DWARFLinker/Parallel/DependencyTracker.h"

Classes

struct  CompileUnitPointerTraits
 Root entry. More...
 

Public Member Functions

 LiveRootWorklistItemTy ()=default
 
 LiveRootWorklistItemTy (const LiveRootWorklistItemTy &)=default
 
 LiveRootWorklistItemTy (LiveRootWorklistActionTy Action, UnitEntryPairTy RootEntry)
 
 LiveRootWorklistItemTy (LiveRootWorklistActionTy Action, UnitEntryPairTy RootEntry, UnitEntryPairTy ReferencedBy)
 
UnitEntryPairTy getRootEntry () const
 
CompileUnit::DieOutputPlacement getPlacement () const
 
bool hasReferencedByOtherEntry () const
 
UnitEntryPairTy getReferencedByEntry () const
 
LiveRootWorklistActionTy getAction () const
 

Protected Attributes

PointerIntPair< CompileUnit *, 3, LiveRootWorklistActionTy, CompileUnitPointerTraitsRootCU
 
const DWARFDebugInfoEntryRootDieEntry = nullptr
 
CompileUnitReferencedByCU = nullptr
 Another root entry which references this RootDieEntry.
 
const DWARFDebugInfoEntryReferencedByDieEntry = nullptr
 

Detailed Description

Class keeping live worklist item data.

Definition at line 133 of file DependencyTracker.h.

Constructor & Destructor Documentation

◆ LiveRootWorklistItemTy() [1/4]

llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::LiveRootWorklistItemTy ( )
default

◆ LiveRootWorklistItemTy() [2/4]

llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::LiveRootWorklistItemTy ( const LiveRootWorklistItemTy )
default

◆ LiveRootWorklistItemTy() [3/4]

llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::LiveRootWorklistItemTy ( LiveRootWorklistActionTy  Action,
UnitEntryPairTy  RootEntry 
)
inline

◆ LiveRootWorklistItemTy() [4/4]

llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::LiveRootWorklistItemTy ( LiveRootWorklistActionTy  Action,
UnitEntryPairTy  RootEntry,
UnitEntryPairTy  ReferencedBy 
)
inline

Member Function Documentation

◆ getAction()

LiveRootWorklistActionTy llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::getAction ( ) const
inline

◆ getPlacement()

CompileUnit::DieOutputPlacement llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::getPlacement ( ) const
inline

Definition at line 159 of file DependencyTracker.h.

References RootCU.

◆ getReferencedByEntry()

UnitEntryPairTy llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::getReferencedByEntry ( ) const
inline

Definition at line 165 of file DependencyTracker.h.

References assert(), ReferencedByCU, and ReferencedByDieEntry.

◆ getRootEntry()

UnitEntryPairTy llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::getRootEntry ( ) const
inline

◆ hasReferencedByOtherEntry()

bool llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::hasReferencedByOtherEntry ( ) const
inline

Member Data Documentation

◆ ReferencedByCU

CompileUnit* llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::ReferencedByCU = nullptr
protected

Another root entry which references this RootDieEntry.

ReferencedByDieEntry is kept to update placement. if RootDieEntry has placement incompatible with placement of ReferencedByDieEntry then it should be updated.

Definition at line 201 of file DependencyTracker.h.

Referenced by getReferencedByEntry(), hasReferencedByOtherEntry(), and LiveRootWorklistItemTy().

◆ ReferencedByDieEntry

const DWARFDebugInfoEntry* llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::ReferencedByDieEntry = nullptr
protected

Definition at line 202 of file DependencyTracker.h.

Referenced by getReferencedByEntry(), and LiveRootWorklistItemTy().

◆ RootCU

PointerIntPair<CompileUnit *, 3, LiveRootWorklistActionTy, CompileUnitPointerTraits> llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::RootCU
protected

Definition at line 194 of file DependencyTracker.h.

Referenced by getAction(), getPlacement(), getRootEntry(), and LiveRootWorklistItemTy().

◆ RootDieEntry

const DWARFDebugInfoEntry* llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::RootDieEntry = nullptr
protected

Definition at line 195 of file DependencyTracker.h.

Referenced by getRootEntry(), and LiveRootWorklistItemTy().


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