|
LLVM 22.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 1796 of file DWARFLinkerCompileUnit.cpp.
References assert(), llvm::dwarf_linker::parallel::CompileUnit::CompileUnit(), and Ptr.
| CompileUnit::OutputUnitVariantPtr::OutputUnitVariantPtr | ( | TypeUnit * | U | ) |
Definition at line 1801 of file DWARFLinkerCompileUnit.cpp.
| CompileUnit * CompileUnit::OutputUnitVariantPtr::getAsCompileUnit | ( | ) |
Returns CompileUnit if applicable.
Definition at line 1820 of file DWARFLinkerCompileUnit.cpp.
References llvm::cast(), llvm::dwarf_linker::parallel::CompileUnit::CompileUnit(), and Ptr.
Referenced by operator->().
| TypeUnit * CompileUnit::OutputUnitVariantPtr::getAsTypeUnit | ( | ) |
Returns TypeUnit if applicable.
Definition at line 1824 of file DWARFLinkerCompileUnit.cpp.
References llvm::cast(), and Ptr.
Referenced by operator->().
| bool CompileUnit::OutputUnitVariantPtr::isCompileUnit | ( | ) |
Definition at line 1812 of file DWARFLinkerCompileUnit.cpp.
References llvm::isa(), and Ptr.
| bool CompileUnit::OutputUnitVariantPtr::isTypeUnit | ( | ) |
Definition at line 1816 of file DWARFLinkerCompileUnit.cpp.
References llvm::isa(), and Ptr.
| DwarfUnit * CompileUnit::OutputUnitVariantPtr::operator-> | ( | ) |
Accessor for common functionality.
Definition at line 1805 of file DWARFLinkerCompileUnit.cpp.
References llvm::dwarf_linker::parallel::DwarfUnit::DwarfUnit(), getAsCompileUnit(), getAsTypeUnit(), and llvm::isCompileUnit().
|
protected |
Definition at line 599 of file DWARFLinkerCompileUnit.h.
Referenced by getAsCompileUnit(), getAsTypeUnit(), isCompileUnit(), isTypeUnit(), OutputUnitVariantPtr(), and OutputUnitVariantPtr().