|
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 133 of file DependencyTracker.h.
|
default |
Referenced by LiveRootWorklistItemTy().
|
default |
References LiveRootWorklistItemTy().
|
inline |
Definition at line 137 of file DependencyTracker.h.
References llvm::dwarf_linker::parallel::UnitEntryPairTy::CU, llvm::dwarf_linker::parallel::UnitEntryPairTy::DieEntry, RootCU, and RootDieEntry.
|
inline |
Definition at line 144 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 183 of file DependencyTracker.h.
References RootCU.
Referenced by llvm::dwarf_linker::parallel::DependencyTracker::markCollectedLiveRootsAsKept().
|
inline |
Definition at line 162 of file DependencyTracker.h.
References RootCU.
|
inline |
Definition at line 168 of file DependencyTracker.h.
References assert(), ReferencedByCU, and ReferencedByDieEntry.
|
inline |
Definition at line 179 of file DependencyTracker.h.
References ReferencedTypeDieEntry.
|
inline |
Definition at line 158 of file DependencyTracker.h.
References RootCU, and RootDieEntry.
Referenced by llvm::dwarf_linker::parallel::DependencyTracker::markCollectedLiveRootsAsKept().
|
inline |
Definition at line 166 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 213 of file DependencyTracker.h.
Referenced by getReferencedByEntry(), hasReferencedByOtherEntry(), and LiveRootWorklistItemTy().
|
protected |
Definition at line 214 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 222 of file DependencyTracker.h.
Referenced by getReferencedTypeDieEntry(), and LiveRootWorklistItemTy().
|
protected |
Definition at line 206 of file DependencyTracker.h.
Referenced by getAction(), getPlacement(), getRootEntry(), LiveRootWorklistItemTy(), and LiveRootWorklistItemTy().
|
protected |
Definition at line 207 of file DependencyTracker.h.
Referenced by getRootEntry(), LiveRootWorklistItemTy(), and LiveRootWorklistItemTy().