|
LLVM
4.0.0
|
Compile unit. More...
#include <DebugInfoMetadata.h>
Public Types | |
| enum | DebugEmissionKind : unsigned { NoDebug = 0, FullDebug, LineTablesOnly, LastEmissionKind = LineTablesOnly } |
Public Types inherited from llvm::DINode | |
| enum | DIFlags : uint32_t { FlagAccessibility = FlagPrivate | FlagProtected | FlagPublic, FlagPtrToMemberRep } |
| 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 |
Static Public Member Functions | |
| static Optional < DebugEmissionKind > | getEmissionKind (StringRef Str) |
| static const char * | EmissionKindString (DebugEmissionKind EK) |
| static void | get ()=delete |
| static void | getIfExists ()=delete |
| static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::DIScope | |
| static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::DINode | |
| static DIFlags | getFlag (StringRef Flag) |
| static StringRef | getFlagString (DIFlags Flag) |
| static DIFlags | splitFlags (DIFlags Flags, SmallVectorImpl< DIFlags > &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 MDNode * | getMostGenericAlignmentOrDereferenceable (MDNode *A, MDNode *B) |
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 Member Functions inherited from llvm::DIScope | |
| DIScope (LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, ArrayRef< Metadata * > Ops) | |
| ~DIScope ()=default | |
Protected Member Functions inherited from llvm::DINode | |
| DINode (LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, ArrayRef< Metadata * > Ops1, ArrayRef< Metadata * > Ops2=None) | |
| ~DINode ()=default | |
| template<class Ty > | |
| Ty * | getOperandAs (unsigned I) const |
| StringRef | getStringOperand (unsigned I) const |
| void | setTag (unsigned Tag) |
| Allow subclasses to mutate the tag. More... | |
Protected Member Functions inherited from llvm::MDNode | |
| void * | operator new (size_t Size, unsigned NumOps) |
| void | operator delete (void *Mem) |
| void | operator delete (void *, unsigned) |
| Required by std, but never called. More... | |
| void | operator delete (void *, unsigned, bool) |
| Required by std, but never called. More... | |
| MDNode (LLVMContext &Context, unsigned ID, StorageType Storage, ArrayRef< Metadata * > Ops1, ArrayRef< Metadata * > Ops2=None) | |
| ~MDNode ()=default | |
| void | dropAllReferences () |
| MDOperand * | mutable_begin () |
| MDOperand * | mutable_end () |
| mutable_op_range | mutable_operands () |
| void | setOperand (unsigned I, Metadata *New) |
| Set an operand. More... | |
| void | storeDistinctInContext () |
Protected Member Functions inherited from llvm::Metadata | |
| Metadata (unsigned ID, StorageType Storage) | |
| ~Metadata ()=default | |
| void | handleChangedOperand (void *, Metadata *) |
| Default handling of a changed operand, which asserts. More... | |
Static Protected Member Functions inherited from llvm::DINode | |
| 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) |
| template<class T > | |
| static T * | storeImpl (T *N, StorageType Storage) |
Protected Attributes inherited from llvm::Metadata | |
| unsigned char | Storage |
| Storage flag for non-uniqued, otherwise unowned, metadata. More... | |
| unsigned short | SubclassData16 |
| unsigned | SubclassData32 |
Compile unit.
Definition at line 1025 of file DebugInfoMetadata.h.
| Enumerator | |
|---|---|
| NoDebug | |
| FullDebug | |
| LineTablesOnly | |
| LastEmissionKind | |
Definition at line 1030 of file DebugInfoMetadata.h.
Definition at line 1189 of file DebugInfoMetadata.h.
References llvm::Metadata::getMetadataID().
|
inline |
Definition at line 1124 of file DebugInfoMetadata.h.
| llvm::DICompileUnit::DEFINE_MDNODE_GET_DISTINCT_TEMPORARY | ( | DICompileUnit | , |
| (unsigned SourceLanguage, DIFile *File, StringRef Producer,bool IsOptimized, StringRef Flags, unsigned RuntimeVersion,StringRef SplitDebugFilename, DebugEmissionKind EmissionKind,DICompositeTypeArray EnumTypes, DIScopeArray RetainedTypes,DIGlobalVariableExpressionArray GlobalVariables,DIImportedEntityArray ImportedEntities, DIMacroNodeArray Macros,uint64_t DWOId, bool SplitDebugInlining) | , | ||
| (SourceLanguage, File, Producer, IsOptimized, Flags, RuntimeVersion,SplitDebugFilename, EmissionKind, EnumTypes, RetainedTypes,GlobalVariables, ImportedEntities, Macros, DWOId, SplitDebugInlining) | |||
| ) |
|
static |
Definition at line 413 of file DebugInfoMetadata.cpp.
References FullDebug, LineTablesOnly, and NoDebug.
|
staticdelete |
|
inline |
Definition at line 1150 of file DebugInfoMetadata.h.
|
static |
Definition at line 405 of file DebugInfoMetadata.cpp.
References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), FullDebug, LineTablesOnly, NoDebug, and llvm::None.
|
inline |
Definition at line 1129 of file DebugInfoMetadata.h.
References llvm::lltok::EmissionKind.
|
inline |
Definition at line 1135 of file DebugInfoMetadata.h.
References getRawEnumTypes().
|
inline |
Definition at line 1133 of file DebugInfoMetadata.h.
References llvm::DINode::getStringOperand().
|
inline |
Definition at line 1141 of file DebugInfoMetadata.h.
References getRawGlobalVariables().
|
staticdelete |
|
inline |
Definition at line 1144 of file DebugInfoMetadata.h.
References getRawImportedEntities().
|
inline |
Definition at line 1147 of file DebugInfoMetadata.h.
References getRawMacros().
|
inline |
Definition at line 1132 of file DebugInfoMetadata.h.
References llvm::DINode::getStringOperand().
|
inline |
Definition at line 1162 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getEnumTypes().
|
inline |
Definition at line 1158 of file DebugInfoMetadata.h.
|
inline |
Definition at line 1164 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getGlobalVariables().
|
inline |
Definition at line 1165 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getImportedEntities().
|
inline |
Definition at line 1166 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getMacros().
|
inline |
Definition at line 1157 of file DebugInfoMetadata.h.
|
inline |
Definition at line 1163 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getRetainedTypes().
|
inline |
Definition at line 1159 of file DebugInfoMetadata.h.
|
inline |
Definition at line 1138 of file DebugInfoMetadata.h.
References getRawRetainedTypes().
|
inline |
Definition at line 1128 of file DebugInfoMetadata.h.
|
inline |
Definition at line 1126 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfUnit::getLanguage().
|
inline |
Definition at line 1134 of file DebugInfoMetadata.h.
References llvm::DINode::getStringOperand().
|
inline |
Definition at line 1152 of file DebugInfoMetadata.h.
Referenced by forBothCUs().
|
inline |
Definition at line 1127 of file DebugInfoMetadata.h.
|
inline |
Replace arrays.
If this isUniqued() and not isResolved(), it will be RAUW'ed and deleted on a uniquing collision. In practice, uniquing collisions on DICompileUnit should be fairly rare.
Definition at line 1174 of file DebugInfoMetadata.h.
References llvm::MDNode::replaceOperandWith().
Referenced by llvm::DIBuilder::finalize().
|
inline |
Definition at line 1180 of file DebugInfoMetadata.h.
References llvm::MDNode::replaceOperandWith().
Referenced by llvm::DIBuilder::finalize().
|
inline |
Definition at line 1183 of file DebugInfoMetadata.h.
References llvm::MDNode::replaceOperandWith().
Referenced by llvm::DIBuilder::finalize().
|
inline |
Definition at line 1186 of file DebugInfoMetadata.h.
References llvm::MDNode::replaceOperandWith().
Referenced by llvm::DIBuilder::finalize().
|
inline |
Definition at line 1177 of file DebugInfoMetadata.h.
References llvm::MDNode::replaceOperandWith().
Referenced by llvm::DIBuilder::finalize().
|
inline |
Definition at line 1151 of file DebugInfoMetadata.h.
|
inline |
Definition at line 1153 of file DebugInfoMetadata.h.
|
friend |
Definition at line 1026 of file DebugInfoMetadata.h.
|
friend |
Definition at line 1027 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t llvm::DICompileUnit::DWOId |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::DWOId |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned llvm::DICompileUnit::EmissionKind |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::EmissionKind |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata* llvm::DICompileUnit::EnumTypes |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::EnumTypes |
Definition at line 1114 of file DebugInfoMetadata.h.
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::File |
Definition at line 1114 of file DebugInfoMetadata.h.
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::Flags |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata* llvm::DICompileUnit::GlobalVariables |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::GlobalVariables |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata* llvm::DICompileUnit::ImportedEntities |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::ImportedEntities |
Definition at line 1114 of file DebugInfoMetadata.h.
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::IsOptimized |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata* llvm::DICompileUnit::Macros |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::Macros |
Definition at line 1114 of file DebugInfoMetadata.h.
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::Producer |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata* llvm::DICompileUnit::RetainedTypes |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::RetainedTypes |
Definition at line 1114 of file DebugInfoMetadata.h.
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::RuntimeVersion |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::SourceLanguage |
Definition at line 1114 of file DebugInfoMetadata.h.
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::SplitDebugFilename |
Definition at line 1114 of file DebugInfoMetadata.h.
| unsigned Metadata MDString bool MDString unsigned MDString unsigned Metadata Metadata Metadata Metadata Metadata uint64_t bool llvm::DICompileUnit::SplitDebugInlining |
Definition at line 1114 of file DebugInfoMetadata.h.
1.8.6