|
LLVM 24.0.0git
|
#include "llvm/IR/DebugInfoMetadata.h"
Public Types | |
| using | BoundType = PointerUnion<DIVariable *, DIExpression *> |
| 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 | |
| using | op_iterator = const MDOperand * |
| using | op_range = iterator_range<op_iterator> |
| Public Types inherited from llvm::Metadata | |
| enum | MetadataKind |
Friends | |
| class | LLVMContextImpl |
| class | MDNode |
Additional Inherited Members | |
| Static Public Attributes inherited from llvm::Metadata | |
| static constexpr const unsigned | PoisonGeneratingIDs [] |
| Metadata IDs that may generate poison. | |
| Protected Types inherited from llvm::MDNode | |
| using | mutable_op_range = iterator_range<MDOperand *> |
| Protected Types inherited from llvm::Metadata | |
| enum | StorageType { Uniqued , Distinct , Temporary } |
| Active type of storage. More... | |
| Protected Member Functions inherited from llvm::DINode | |
| DINode (LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, ArrayRef< Metadata * > Ops1, ArrayRef< Metadata * > Ops2={}) | |
| ~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. | |
| Protected Member Functions inherited from llvm::MDNode | |
| LLVM_ABI | MDNode (LLVMContext &Context, unsigned ID, StorageType Storage, ArrayRef< Metadata * > Ops1, ArrayRef< Metadata * > Ops2={}) |
| ~MDNode ()=default | |
| LLVM_ABI void * | operator new (size_t Size, size_t NumOps, StorageType Storage) |
| LLVM_ABI void | operator delete (void *Mem) |
| void | operator delete (void *, unsigned) |
| Required by std, but never called. | |
| void | operator delete (void *, unsigned, bool) |
| Required by std, but never called. | |
| LLVM_ABI void | dropAllReferences () |
| MDOperand * | mutable_begin () |
| MDOperand * | mutable_end () |
| mutable_op_range | mutable_operands () |
| LLVM_ABI void | setOperand (unsigned I, Metadata *New) |
| Set an operand. | |
| unsigned | getNumUnresolved () const |
| void | setNumUnresolved (unsigned N) |
| LLVM_ABI void | storeDistinctInContext () |
| void | resize (size_t NumOps) |
| Resize the node to hold NumOps operands. | |
| 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. | |
| 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: 7 |
| Storage flag for non-uniqued, otherwise unowned, metadata. | |
| unsigned char | SubclassData1: 1 |
| unsigned short | SubclassData16 = 0 |
| unsigned | SubclassData32 = 0 |
Definition at line 418 of file DebugInfoMetadata.h.
| using llvm::DIGenericSubrange::BoundType = PointerUnion<DIVariable *, DIExpression *> |
Definition at line 450 of file DebugInfoMetadata.h.
Definition at line 457 of file DebugInfoMetadata.h.
References llvm::Metadata::getMetadataID().
|
inline |
Definition at line 438 of file DebugInfoMetadata.h.
| DIGenericSubrange::BoundType DIGenericSubrange::getCount | ( | ) | const |
Definition at line 748 of file DebugInfoMetadata.cpp.
References assert(), llvm::dyn_cast(), getRawCountNode(), and llvm::isa().
| DIGenericSubrange::BoundType DIGenericSubrange::getLowerBound | ( | ) | const |
Definition at line 765 of file DebugInfoMetadata.cpp.
References assert(), llvm::dyn_cast(), getRawLowerBound(), and llvm::isa().
|
inline |
Definition at line 445 of file DebugInfoMetadata.h.
References llvm::MDOperand::get(), and llvm::MDNode::getOperand().
Referenced by getCount().
|
inline |
Definition at line 446 of file DebugInfoMetadata.h.
References llvm::MDOperand::get(), and llvm::MDNode::getOperand().
Referenced by getLowerBound().
|
inline |
Definition at line 448 of file DebugInfoMetadata.h.
References llvm::MDOperand::get(), and llvm::MDNode::getOperand().
Referenced by getStride().
|
inline |
Definition at line 447 of file DebugInfoMetadata.h.
References llvm::MDOperand::get(), and llvm::MDNode::getOperand().
Referenced by getUpperBound().
| DIGenericSubrange::BoundType DIGenericSubrange::getStride | ( | ) | const |
Definition at line 799 of file DebugInfoMetadata.cpp.
References assert(), llvm::dyn_cast(), getRawStride(), and llvm::isa().
| DIGenericSubrange::BoundType DIGenericSubrange::getUpperBound | ( | ) | const |
Definition at line 782 of file DebugInfoMetadata.cpp.
References assert(), llvm::dyn_cast(), getRawUpperBound(), and llvm::isa().
|
friend |
Definition at line 419 of file DebugInfoMetadata.h.
References LLVMContextImpl.
Referenced by LLVMContextImpl.
|
friend |
Definition at line 420 of file DebugInfoMetadata.h.
References AbstractManglingParser< Derived, Alloc >::Ops, C(), LLVM_ABI, MDNode, and llvm::Metadata::Storage.
Referenced by MDNode.