|
LLVM
3.7.0
|
Base class for DICompositeType and DISubroutineType. More...
#include <DebugInfoMetadata.h>
Static Public Member Functions | |
| static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::DIDerivedTypeBase | |
| static bool | classof (const Metadata *MD) |
Static Public Member Functions inherited from llvm::DIType | |
| 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 | |
| DICompositeTypeBase (LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, ArrayRef< Metadata * > Ops) | |
| ~DICompositeTypeBase ()=default | |
Protected Member Functions inherited from llvm::DIDerivedTypeBase | |
| DIDerivedTypeBase (LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, unsigned Line, uint64_t SizeInBits, uint64_t AlignInBits, uint64_t OffsetInBits, unsigned Flags, ArrayRef< Metadata * > Ops) | |
| ~DIDerivedTypeBase ()=default | |
Protected Member Functions inherited from llvm::DIType | |
| 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 DICompositeType and DISubroutineType.
TODO: Delete; they're not really related.
Definition at line 770 of file DebugInfoMetadata.h.
|
inlineprotected |
Definition at line 774 of file DebugInfoMetadata.h.
|
protecteddefault |
Definition at line 828 of file DebugInfoMetadata.h.
References llvm::Metadata::DICompositeTypeKind, llvm::Metadata::DISubroutineTypeKind, and llvm::Metadata::getMetadataID().
|
inline |
Get the elements of the composite type.
Definition at line 790 of file DebugInfoMetadata.h.
References getRawElements().
Referenced by llvm::DwarfUnit::constructTypeDIE(), replaceElements(), and WriteDICompositeType().
|
inline |
Definition at line 798 of file DebugInfoMetadata.h.
References llvm::DINode::getStringOperand().
Referenced by llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf().
|
inline |
Definition at line 801 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getElements(), llvm::DISubroutineType::getRawTypeArray(), and llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf().
|
inline |
Definition at line 804 of file DebugInfoMetadata.h.
Referenced by WriteDICompositeType().
|
inline |
Definition at line 803 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getTemplateParams(), and llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf().
|
inline |
Definition at line 802 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getVTableHolder(), and llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf().
|
inline |
Definition at line 799 of file DebugInfoMetadata.h.
Referenced by llvm::DwarfUnit::constructTypeDIE(), llvm::MDNodeKeyImpl< DICompositeType >::isKeyOf(), and WriteDICompositeType().
|
inline |
Definition at line 795 of file DebugInfoMetadata.h.
References getRawTemplateParams().
Referenced by llvm::DwarfUnit::constructTypeDIE(), and WriteDICompositeType().
|
inline |
Definition at line 794 of file DebugInfoMetadata.h.
References getRawVTableHolder().
Referenced by llvm::DwarfUnit::constructTypeDIE(), and WriteDICompositeType().
|
inline |
Replace operands.
If this isUniqued() and not isResolved(), on a uniquing collision this will be RAUW'ed and deleted. Use a TrackingMDRef to keep track of its movement if necessary.
Definition at line 812 of file DebugInfoMetadata.h.
References getElements(), and llvm::MDNode::replaceOperandWith().
Referenced by llvm::DIBuilder::replaceArrays().
|
inline |
Definition at line 823 of file DebugInfoMetadata.h.
References llvm::MDNode::replaceOperandWith().
Referenced by llvm::DIBuilder::replaceArrays().
|
inline |
Definition at line 820 of file DebugInfoMetadata.h.
References llvm::MDNode::replaceOperandWith().
Referenced by llvm::DIBuilder::replaceVTableHolder().
1.8.6