LLVM 20.0.0git
|
Output unit selector. More...
#include "DWARFLinker/Parallel/DWARFLinkerCompileUnit.h"
Public Member Functions | |
OutputUnitVariantPtr (CompileUnit *U) | |
OutputUnitVariantPtr (TypeUnit *U) | |
DwarfUnit * | operator-> () |
Accessor for common functionality. | |
bool | isCompileUnit () |
bool | isTypeUnit () |
CompileUnit * | getAsCompileUnit () |
Returns CompileUnit if applicable. | |
TypeUnit * | getAsTypeUnit () |
Returns TypeUnit if applicable. | |
Protected Attributes | |
PointerUnion< CompileUnit *, TypeUnit * > | Ptr |
Output unit selector.
Definition at line 580 of file DWARFLinkerCompileUnit.h.
CompileUnit::OutputUnitVariantPtr::OutputUnitVariantPtr | ( | CompileUnit * | U | ) |
Definition at line 1799 of file DWARFLinkerCompileUnit.cpp.
References assert().
CompileUnit::OutputUnitVariantPtr::OutputUnitVariantPtr | ( | TypeUnit * | U | ) |
Definition at line 1804 of file DWARFLinkerCompileUnit.cpp.
References assert().
CompileUnit * CompileUnit::OutputUnitVariantPtr::getAsCompileUnit | ( | ) |
Returns CompileUnit if applicable.
Definition at line 1823 of file DWARFLinkerCompileUnit.cpp.
References Ptr.
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneAddressAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneDieRefAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneScalarAttr(), llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveNameRecord(), llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveNamespaceRecord(), llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveObjCNameRecord(), and llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveTypeRecord().
TypeUnit * CompileUnit::OutputUnitVariantPtr::getAsTypeUnit | ( | ) |
Returns TypeUnit if applicable.
Definition at line 1827 of file DWARFLinkerCompileUnit.cpp.
References Ptr.
Referenced by llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveNamespaceRecord(), and llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveTypeRecord().
bool CompileUnit::OutputUnitVariantPtr::isCompileUnit | ( | ) |
Definition at line 1815 of file DWARFLinkerCompileUnit.cpp.
References Ptr.
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::clone(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneScalarAttr(), llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveNamespaceRecord(), and llvm::dwarf_linker::parallel::AcceleratorRecordsSaver::saveTypeRecord().
bool CompileUnit::OutputUnitVariantPtr::isTypeUnit | ( | ) |
Definition at line 1819 of file DWARFLinkerCompileUnit.cpp.
References Ptr.
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneAddressAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneBlockAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneDieRefAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneScalarAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneStringAttr(), and llvm::dwarf_linker::parallel::DIEAttributeCloner::DIEAttributeCloner().
DwarfUnit * CompileUnit::OutputUnitVariantPtr::operator-> | ( | ) |
Accessor for common functionality.
Definition at line 1808 of file DWARFLinkerCompileUnit.cpp.
References llvm::isCompileUnit().
|
protected |
Definition at line 599 of file DWARFLinkerCompileUnit.h.