LLVM 19.0.0git
Static Public Member Functions | Static Public Attributes | List of all members
llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::CompileUnitPointerTraits Struct Reference

Root entry. More...

#include "DWARFLinker/Parallel/DependencyTracker.h"

Static Public Member Functions

static void * getAsVoidPointer (CompileUnit *P)
static CompileUnitgetFromVoidPointer (void *P)

Static Public Attributes

static constexpr int NumLowBitsAvailable = 3

Detailed Description

Root entry.

ASSUMPTION: 3 bits are used to store LiveRootWorklistActionTy value. Thus LiveRootWorklistActionTy should have no more eight elements. Pointer traits for CompileUnit.

Definition at line 181 of file DependencyTracker.h.

Member Function Documentation

◆ getAsVoidPointer()

static void * llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::CompileUnitPointerTraits::getAsVoidPointer ( CompileUnit P)

Definition at line 182 of file DependencyTracker.h.

References P.

◆ getFromVoidPointer()

static CompileUnit * llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::CompileUnitPointerTraits::getFromVoidPointer ( void *  P)

Definition at line 183 of file DependencyTracker.h.

References P.

Member Data Documentation

◆ NumLowBitsAvailable

constexpr int llvm::dwarf_linker::parallel::DependencyTracker::LiveRootWorklistItemTy::CompileUnitPointerTraits::NumLowBitsAvailable = 3

Definition at line 186 of file DependencyTracker.h.

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