|
LLVM 24.0.0git
|
A single intermediate-IR layer location. More...
#include "llvm/IR/DebugInfoMetadata.h"
Friends | |
| class | LLVMContextImpl |
| class | MDNode |
Additional Inherited Members | |
| 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 |
| 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::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::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 |
A single intermediate-IR layer location.
One source coordinate in an intermediate IR level (e.g. MLIR) that sits between the high-level source and the final LLVM IR. It has no scope and references its DIFile directly. Grouped behind a DILayerLocList on DILocation's optional irlayers operand.
Uses the SubclassData16 and SubclassData32 Metadata slots.
Definition at line 2685 of file DebugInfoMetadata.h.
Definition at line 2731 of file DebugInfoMetadata.h.
References llvm::Metadata::getMetadataID().
|
inline |
Definition at line 2710 of file DebugInfoMetadata.h.
|
inline |
Definition at line 2718 of file DebugInfoMetadata.h.
References llvm::Metadata::SubclassData16.
|
inline |
Definition at line 2729 of file DebugInfoMetadata.h.
References llvm::cast_if_present(), and getRawFile().
|
inline |
Definition at line 2723 of file DebugInfoMetadata.h.
References getRawKind().
|
inline |
Definition at line 2717 of file DebugInfoMetadata.h.
References llvm::Metadata::SubclassData32.
|
inline |
Definition at line 2728 of file DebugInfoMetadata.h.
References llvm::MDNode::getOperand().
Referenced by getFile().
|
inline |
Definition at line 2720 of file DebugInfoMetadata.h.
References llvm::cast_if_present(), and llvm::MDNode::getOperand().
Referenced by getKind().
|
friend |
Definition at line 2686 of file DebugInfoMetadata.h.
References LLVMContextImpl.
Referenced by LLVMContextImpl.
|
friend |
Definition at line 2687 of file DebugInfoMetadata.h.
References AbstractManglingParser< Derived, Alloc >::Ops, C(), MDNode, llvm::Metadata::Storage, llvm::Metadata::SubclassData16, and llvm::Metadata::SubclassData32.
Referenced by MDNode.