|
LLVM
3.7.0
|
Base class for types. More...
#include <DebugInfoMetadata.h>
Static Public Member Functions | |
| 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 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) |
Protected Member Functions | |
| DIType (LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, unsigned Line, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, ArrayRef< Metadata * > Ops) | |
| ~DIType ()=default | |
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 |
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... | |
Base class for types.
TODO: Remove the hardcoded name and context, since many types don't use them. TODO: Split up flags.
Definition at line 516 of file DebugInfoMetadata.h.
|
inlineprotected |
Definition at line 524 of file DebugInfoMetadata.h.
|
protecteddefault |
Definition at line 580 of file DebugInfoMetadata.h.
References llvm::Metadata::DIBasicTypeKind, llvm::Metadata::DICompositeTypeKind, llvm::Metadata::DIDerivedTypeKind, llvm::Metadata::DISubroutineTypeKind, and llvm::Metadata::getMetadataID().
|
inline |
Definition at line 533 of file DebugInfoMetadata.h.
References llvm::MDNode::clone().
Referenced by createTypeWithFlags().
|
inline |
Definition at line 539 of file DebugInfoMetadata.h.
Referenced by llvm::MDNodeKeyImpl< DIBasicType >::isKeyOf(), llvm::MDNodeKeyImpl< DIDerivedType >::isKeyOf(), llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf(), WriteDIBasicType(), WriteDICompositeType(), and WriteDIDerivedType().
|
inline |
Definition at line 541 of file DebugInfoMetadata.h.
Referenced by isAppleBlockExtension(), isArtificial(), isBlockByrefStruct(), isForwardDecl(), llvm::MDNodeKeyImpl< DIDerivedType >::isKeyOf(), llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf(), llvm::MDNodeKeyImpl< DISubroutineType >::isKeyOf(), isLValueReference(), isObjcClassComplete(), isObjectPointer(), isPrivate(), isProtected(), isPublic(), isRValueReference(), isStaticMember(), isVector(), isVirtual(), WriteDICompositeType(), WriteDIDerivedType(), and WriteDISubroutineType().
|
inline |
Definition at line 537 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfUnit::addSourceLine(), llvm::MDNodeKeyImpl< DIDerivedType >::isKeyOf(), llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf(), WriteDICompositeType(), and WriteDIDerivedType().
|
inline |
Definition at line 544 of file DebugInfoMetadata.h.
References llvm::DINode::getStringOperand().
Referenced by llvm::DwarfCompileUnit::addGlobalType(), llvm::DwarfUnit::constructTypeDIE(), llvm::DwarfUnit::getOrCreateStaticMemberDIE(), llvm::MDNodeKeyImpl< DIBasicType >::isKeyOf(), llvm::MDNodeKeyImpl< DIDerivedType >::isKeyOf(), llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf(), and isUnsignedDIType().
|
inline |
Definition at line 540 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfUnit::addBlockByrefAddress(), llvm::MDNodeKeyImpl< DIDerivedType >::isKeyOf(), llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf(), WriteDICompositeType(), and WriteDIDerivedType().
|
inline |
Definition at line 548 of file DebugInfoMetadata.h.
Referenced by WriteDIBasicType(), WriteDICompositeType(), and WriteDIDerivedType().
|
inline |
Definition at line 547 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getScope(), llvm::MDNodeKeyImpl< DIDerivedType >::isKeyOf(), and llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf().
|
inline |
Definition at line 578 of file DebugInfoMetadata.h.
References llvm::TypedDINodeRef< T >::get().
|
inline |
Definition at line 543 of file DebugInfoMetadata.h.
References getRawScope().
Referenced by llvm::DwarfUnit::createTypeDIE(), llvm::DwarfUnit::getOrCreateStaticMemberDIE(), WriteDICompositeType(), and WriteDIDerivedType().
|
inline |
Definition at line 538 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfUnit::constructTypeDIE(), getBaseTypeSize(), llvm::MDNodeKeyImpl< DIBasicType >::isKeyOf(), llvm::MDNodeKeyImpl< DIDerivedType >::isKeyOf(), llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf(), WriteDIBasicType(), WriteDICompositeType(), and WriteDIDerivedType().
|
inline |
Definition at line 565 of file DebugInfoMetadata.h.
References getFlags().
Referenced by llvm::DwarfUnit::constructTypeDIE().
|
inline |
Definition at line 568 of file DebugInfoMetadata.h.
References getFlags().
Referenced by llvm::DwarfUnit::constructSubprogramArguments(), llvm::DIBuilder::createArtificialType(), and llvm::DbgVariable::isArtificial().
|
inline |
Definition at line 566 of file DebugInfoMetadata.h.
References getFlags().
Referenced by llvm::DbgVariable::getType().
|
inline |
Definition at line 564 of file DebugInfoMetadata.h.
References getFlags().
Referenced by llvm::DwarfUnit::constructTypeDIE().
|
inline |
Definition at line 575 of file DebugInfoMetadata.h.
References getFlags().
|
inline |
Definition at line 570 of file DebugInfoMetadata.h.
References getFlags().
Referenced by llvm::DwarfUnit::constructTypeDIE().
|
inline |
Definition at line 569 of file DebugInfoMetadata.h.
References getFlags().
Referenced by llvm::DIBuilder::createObjectPointerType(), and llvm::DbgVariable::isObjectPointer().
|
inline |
Definition at line 555 of file DebugInfoMetadata.h.
References llvm::DINode::FlagAccessibility, and getFlags().
Referenced by llvm::DwarfUnit::getOrCreateStaticMemberDIE().
|
inline |
Definition at line 558 of file DebugInfoMetadata.h.
References llvm::DINode::FlagAccessibility, and getFlags().
Referenced by llvm::DwarfUnit::getOrCreateStaticMemberDIE().
|
inline |
Definition at line 561 of file DebugInfoMetadata.h.
References llvm::DINode::FlagAccessibility, and getFlags().
Referenced by llvm::DwarfUnit::getOrCreateStaticMemberDIE().
|
inline |
Definition at line 576 of file DebugInfoMetadata.h.
References getFlags().
|
inline |
Definition at line 574 of file DebugInfoMetadata.h.
References getFlags().
|
inline |
Definition at line 573 of file DebugInfoMetadata.h.
References getFlags().
|
inline |
Definition at line 567 of file DebugInfoMetadata.h.
References getFlags().
|
inline |
Definition at line 550 of file DebugInfoMetadata.h.
References llvm::MDNode::isUniqued().
1.8.6