LLVM
8.0.1
|
Holds a subclass of DINode. More...
#include "llvm/IR/DebugInfoMetadata.h"
Public Member Functions | |
TypedDINodeRef ()=default | |
TypedDINodeRef (std::nullptr_t) | |
TypedDINodeRef (const T *MD) | |
TypedDINodeRef (const Metadata *MD) | |
template<class U > | |
TypedDINodeRef (const TypedDINodeRef< U > &X, typename std::enable_if< std::is_convertible< U *, T *>::value >::type *=nullptr) | |
operator Metadata * () const | |
T * | resolve () const |
bool | operator== (const TypedDINodeRef< T > &X) const |
bool | operator!= (const TypedDINodeRef< T > &X) const |
Holds a subclass of DINode.
FIXME: This class doesn't currently make much sense. Previously it was a union beteen MDString (for ODR-uniqued types) and things like DIType. To support CodeView work, it wasn't deleted outright when MDString-based type references were deleted; we'll soon need a similar concept for CodeView DITypeIndex.
Definition at line 71 of file DebugInfoMetadata.h.
|
default |
|
inline |
Definition at line 76 of file DebugInfoMetadata.h.
|
inline |
Definition at line 77 of file DebugInfoMetadata.h.
|
inlineexplicit |
Definition at line 79 of file DebugInfoMetadata.h.
References assert().
|
inline |
Definition at line 84 of file DebugInfoMetadata.h.
|
inline |
Definition at line 90 of file DebugInfoMetadata.h.
|
inline |
Definition at line 95 of file DebugInfoMetadata.h.
|
inline |
Definition at line 94 of file DebugInfoMetadata.h.
|
inline |
Definition at line 92 of file DebugInfoMetadata.h.
Referenced by llvm::BTFDebug::BTFDebug(), llvm::DbgVariable::classof(), llvm::DbgLabel::classof(), llvm::BTFTypeArray::completeType(), llvm::BTFDebug::endModule(), llvm::DebugHandlerBase::getBaseTypeSize(), getCommonClassOptions(), getFullyQualifiedName(), llvm::DILocation::getMergedLocation(), getQualifiedNameComponents(), llvm::DIVariable::getSignedness(), hasVectorBeenPadded(), llvm::DebugInfoFinder::processLocation(), llvm::DwarfUnit::resolve(), llvm::DwarfDebug::resolve(), shouldAlwaysEmitCompleteClassType(), and shouldEmitUdt().