|
LLVM 24.0.0git
|
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, const DWARFDebugInfoEntry *ReferencedTypeDieEntry=nullptr) | |
| UnitEntryPairTy | getRootEntry () const |
| CompileUnit::DieOutputPlacement | getPlacement () const |
| bool | hasReferencedByOtherEntry () const |
| UnitEntryPairTy | getReferencedByEntry () const |
| const DWARFDebugInfoEntry * | getReferencedTypeDieEntry () const |
| LiveRootWorklistActionTy | getAction () const |
Protected Attributes | |
| PointerIntPair< CompileUnit *, 3, LiveRootWorklistActionTy, CompileUnitPointerTraits > | RootCU |
| const DWARFDebugInfoEntry * | RootDieEntry = nullptr |
| CompileUnit * | ReferencedByCU = nullptr |
| Another root entry which references this RootDieEntry. | |
| const DWARFDebugInfoEntry * | ReferencedByDieEntry = nullptr |
| const DWARFDebugInfoEntry * | ReferencedTypeDieEntry = nullptr |
| The DIE actually referenced by ReferencedByDieEntry. | |
Class keeping live worklist item data.
Definition at line 159 of file DependencyTracker.h.
|
default |
Referenced by LiveRootWorklistItemTy().
|
default |
References LiveRootWorklistItemTy().
|
inline |
Definition at line 163 of file DependencyTracker.h.
References llvm::dwarf_linker::parallel::UnitEntryPairTy::CU, llvm::dwarf_linker::parallel::UnitEntryPairTy::DieEntry, RootCU, and RootDieEntry.
|
inline |
Definition at line 170 of file DependencyTracker.h.
References llvm::dwarf_linker::parallel::UnitEntryPairTy::CU, llvm::dwarf_linker::parallel::UnitEntryPairTy::DieEntry, ReferencedByCU, ReferencedByDieEntry, ReferencedTypeDieEntry, RootCU, and RootDieEntry.
|
inline |
Definition at line 209 of file DependencyTracker.h.
References RootCU.
Referenced by llvm::dwarf_linker::parallel::DependencyTracker::markCollectedLiveRootsAsKept().
|
inline |
Definition at line 188 of file DependencyTracker.h.
References RootCU.
|
inline |
Definition at line 194 of file DependencyTracker.h.
References assert(), ReferencedByCU, and ReferencedByDieEntry.
|
inline |
Definition at line 205 of file DependencyTracker.h.
References ReferencedTypeDieEntry.
|
inline |
Definition at line 184 of file DependencyTracker.h.
References RootCU, and RootDieEntry.
Referenced by llvm::dwarf_linker::parallel::DependencyTracker::markCollectedLiveRootsAsKept().
|
inline |
Definition at line 192 of file DependencyTracker.h.
References ReferencedByCU.
Referenced by llvm::dwarf_linker::parallel::DependencyTracker::markCollectedLiveRootsAsKept().
|
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 239 of file DependencyTracker.h.
Referenced by getReferencedByEntry(), hasReferencedByOtherEntry(), and LiveRootWorklistItemTy().
|
protected |
Definition at line 240 of file DependencyTracker.h.
Referenced by getReferencedByEntry(), and LiveRootWorklistItemTy().
|
protected |
The DIE actually referenced by ReferencedByDieEntry.
It lives in the same CU as RootDieEntry, but its placement can differ: RootDieEntry is the enclosing root that is marked as kept, whereas this DIE may be a nested type demoted independently. That placement, not RootDieEntry's, determines whether ReferencedByDieEntry may remain in the type table. Null when RootDieEntry is the referenced DIE itself.
Definition at line 248 of file DependencyTracker.h.
Referenced by getReferencedTypeDieEntry(), and LiveRootWorklistItemTy().
|
protected |
Definition at line 232 of file DependencyTracker.h.
Referenced by getAction(), getPlacement(), getRootEntry(), LiveRootWorklistItemTy(), and LiveRootWorklistItemTy().
|
protected |
Definition at line 233 of file DependencyTracker.h.
Referenced by getRootEntry(), LiveRootWorklistItemTy(), and LiveRootWorklistItemTy().