|
LLVM
3.7.0
|
Tagged DWARF-like metadata node. More...
#include <DebugInfoMetadata.h>
Public Types | |
| enum | DIFlags { FlagAccessibility = FlagPrivate | FlagProtected | FlagPublic } |
| Debug info flags. More... | |
Public Types inherited from llvm::MDNode | |
| typedef const MDOperand * | op_iterator |
| typedef iterator_range < op_iterator > | op_range |
Public Types inherited from llvm::Metadata | |
| enum | MetadataKind { MDTupleKind, DILocationKind, GenericDINodeKind, DISubrangeKind, DIEnumeratorKind, DIBasicTypeKind, DIDerivedTypeKind, DICompositeTypeKind, DISubroutineTypeKind, DIFileKind, DICompileUnitKind, DISubprogramKind, DILexicalBlockKind, DILexicalBlockFileKind, DINamespaceKind, DIModuleKind, DITemplateTypeParameterKind, DITemplateValueParameterKind, DIGlobalVariableKind, DILocalVariableKind, DIExpressionKind, DIObjCPropertyKind, DIImportedEntityKind, ConstantAsMetadataKind, LocalAsMetadataKind, MDStringKind } |
Static Public Member Functions | |
| static unsigned | getFlag (StringRef Flag) |
| static const char * | getFlagString (unsigned Flag) |
| static unsigned | splitFlags (unsigned Flags, SmallVectorImpl< unsigned > &SplitFlags) |
| Split up a flags bitfield. More... | |
| static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::MDNode | |
| static MDTuple * | get (LLVMContext &Context, ArrayRef< Metadata * > MDs) |
| static MDTuple * | getIfExists (LLVMContext &Context, ArrayRef< Metadata * > MDs) |
| static MDTuple * | getDistinct (LLVMContext &Context, ArrayRef< Metadata * > MDs) |
| static TempMDTuple | getTemporary (LLVMContext &Context, ArrayRef< Metadata * > MDs) |
| static void | deleteTemporary (MDNode *N) |
| Deallocate a node created by getTemporary. More... | |
| template<class T > | |
| static std::enable_if < std::is_base_of< MDNode, T > ::value, T * >::type | replaceWithPermanent (std::unique_ptr< T, TempMDNodeDeleter > N) |
| Replace a temporary node with a permanent one. More... | |
| template<class T > | |
| static std::enable_if < std::is_base_of< MDNode, T > ::value, T * >::type | replaceWithUniqued (std::unique_ptr< T, TempMDNodeDeleter > N) |
| Replace a temporary node with a uniqued one. More... | |
| template<class T > | |
| static std::enable_if < std::is_base_of< MDNode, T > ::value, T * >::type | replaceWithDistinct (std::unique_ptr< T, TempMDNodeDeleter > N) |
| Replace a temporary node with a distinct one. More... | |
| static bool | classof (const Metadata *MD) |
| Methods for support type inquiry through isa, cast, and dyn_cast: More... | |
| static MDNode * | concatenate (MDNode *A, MDNode *B) |
| Methods for metadata merging. More... | |
| static MDNode * | intersect (MDNode *A, MDNode *B) |
| static MDNode * | getMostGenericTBAA (MDNode *A, MDNode *B) |
| static MDNode * | getMostGenericFPMath (MDNode *A, MDNode *B) |
| static MDNode * | getMostGenericRange (MDNode *A, MDNode *B) |
| static MDNode * | getMostGenericAliasScope (MDNode *A, MDNode *B) |
Static Protected Member Functions | |
| static MDString * | getCanonicalMDString (LLVMContext &Context, StringRef S) |
Static Protected Member Functions inherited from llvm::MDNode | |
| template<class T , class StoreT > | |
| static T * | storeImpl (T *N, StorageType Storage, StoreT &Store) |
Friends | |
| class | LLVMContextImpl |
| class | MDNode |
Additional Inherited Members | |
Protected Types inherited from llvm::MDNode | |
| typedef iterator_range < MDOperand * > | mutable_op_range |
Protected Types inherited from llvm::Metadata | |
| enum | StorageType { Uniqued, Distinct, Temporary } |
| Active type of storage. More... | |
Protected Attributes inherited from llvm::MDNode | |
| ContextAndReplaceableUses | Context |
Protected Attributes inherited from llvm::Metadata | |
| unsigned | Storage: 2 |
| Storage flag for non-uniqued, otherwise unowned, metadata. More... | |
| unsigned short | SubclassData16 |
| unsigned | SubclassData32 |
Tagged DWARF-like metadata node.
A metadata node with a DWARF tag (i.e., a constant named DW_TAG_*, defined in llvm/Support/Dwarf.h). Called DINode because it's potentially used for non-DWARF output.
Definition at line 144 of file DebugInfoMetadata.h.
Debug info flags.
The three accessibility flags are mutually exclusive and rolled together in the first two bits.
| Enumerator | |
|---|---|
| FlagAccessibility | |
Definition at line 180 of file DebugInfoMetadata.h.
|
inlineprotected |
Definition at line 149 of file DebugInfoMetadata.h.
References llvm::Metadata::SubclassData16.
|
protecteddefault |
Definition at line 198 of file DebugInfoMetadata.h.
References llvm::Metadata::DIBasicTypeKind, llvm::Metadata::DICompileUnitKind, llvm::Metadata::DICompositeTypeKind, llvm::Metadata::DIDerivedTypeKind, llvm::Metadata::DIEnumeratorKind, llvm::Metadata::DIFileKind, llvm::Metadata::DIGlobalVariableKind, llvm::Metadata::DIImportedEntityKind, llvm::Metadata::DILexicalBlockFileKind, llvm::Metadata::DILexicalBlockKind, llvm::Metadata::DILocalVariableKind, llvm::Metadata::DIModuleKind, llvm::Metadata::DINamespaceKind, llvm::Metadata::DIObjCPropertyKind, llvm::Metadata::DISubprogramKind, llvm::Metadata::DISubrangeKind, llvm::Metadata::DISubroutineTypeKind, llvm::Metadata::DITemplateTypeParameterKind, llvm::Metadata::DITemplateValueParameterKind, llvm::Metadata::GenericDINodeKind, and llvm::Metadata::getMetadataID().
|
inlinestaticprotected |
Definition at line 167 of file DebugInfoMetadata.h.
References llvm::StringRef::empty(), and llvm::MDString::get().
Definition at line 86 of file DebugInfoMetadata.cpp.
References HANDLE_DI_FLAG.
Definition at line 93 of file DebugInfoMetadata.cpp.
|
inlineprotected |
Definition at line 157 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
|
inline |
Definition at line 196 of file DebugInfoMetadata.h.
References llvm::TypedDINodeRef< T >::get().
Definition at line 161 of file DebugInfoMetadata.h.
Referenced by llvm::DIModule::getConfigurationMacros(), llvm::DIFile::getDirectory(), llvm::DIGlobalVariable::getDisplayName(), llvm::DIFile::getFilename(), llvm::DICompileUnit::getFlags(), llvm::DIObjCProperty::getGetterName(), llvm::GenericDINode::getHeader(), llvm::DICompositeTypeBase::getIdentifier(), llvm::DIModule::getIncludePath(), llvm::DIModule::getISysRoot(), llvm::DIGlobalVariable::getLinkageName(), llvm::DIEnumerator::getName(), llvm::DIType::getName(), llvm::DINamespace::getName(), llvm::DIModule::getName(), llvm::DITemplateParameter::getName(), llvm::DIVariable::getName(), llvm::DIObjCProperty::getName(), llvm::DIImportedEntity::getName(), llvm::DICompileUnit::getProducer(), llvm::DIObjCProperty::getSetterName(), and llvm::DICompileUnit::getSplitDebugFilename().
|
inline |
Definition at line 174 of file DebugInfoMetadata.h.
References llvm::Metadata::SubclassData16.
Referenced by llvm::DwarfUnit::addBlockByrefAddress(), llvm::DwarfUnit::applySubprogramAttributes(), llvm::DwarfDebug::beginFunction(), llvm::DwarfCompileUnit::constructImportedEntityDIE(), llvm::DIBuilder::createFunction(), llvm::DIBuilder::createMethod(), llvm::DwarfUnit::createTypeDIE(), getBaseTypeSize(), llvm::DwarfCompileUnit::getOrCreateGlobalVariableDIE(), llvm::DwarfUnit::getOrCreateStaticMemberDIE(), llvm::DbgVariable::getTag(), llvm::DbgVariable::getType(), llvm::MDNodeKeyImpl< DIBasicType >::isKeyOf(), llvm::MDNodeKeyImpl< DIDerivedType >::isKeyOf(), llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf(), llvm::MDNodeKeyImpl< DITemplateValueParameter >::isKeyOf(), llvm::MDNodeKeyImpl< DILocalVariable >::isKeyOf(), llvm::MDNodeKeyImpl< DIImportedEntity >::isKeyOf(), isUnsignedDIType(), WriteDIBasicType(), WriteDICompositeType(), WriteDIDerivedType(), WriteDIImportedEntity(), WriteDILocalVariable(), and WriteDITemplateValueParameter().
|
static |
Split up a flags bitfield.
Split Flags into SplitFlags, a vector of its components. Returns any remaining (unrecognized) bits.
Definition at line 104 of file DebugInfoMetadata.cpp.
References llvm::ARM_PROC::A, FlagAccessibility, and llvm::SmallVectorTemplateBase< T, isPodLike >::push_back().
|
friend |
Definition at line 145 of file DebugInfoMetadata.h.
|
friend |
Definition at line 146 of file DebugInfoMetadata.h.
1.8.6