|
LLVM 22.0.0git
|
List of ValueAsMetadata, to be used as an argument to a dbg.value intrinsic. More...
#include "llvm/IR/DebugInfoMetadata.h"
Public Member Functions | |
| ArrayRef< ValueAsMetadata * > | getArgs () const |
| iterator | args_begin () |
| iterator | args_end () |
| SmallVector< DbgVariableRecord * > | getAllDbgVariableRecordUsers () |
| LLVM_ABI void | handleChangedOperand (void *Ref, Metadata *New) |
| Public Member Functions inherited from llvm::Metadata | |
| unsigned | getMetadataID () const |
| LLVM_ABI void | dump () const |
| User-friendly dump. | |
| LLVM_ABI void | dump (const Module *M) const |
| LLVM_ABI void | print (raw_ostream &OS, const Module *M=nullptr, bool IsForDebug=false) const |
| Print. | |
| LLVM_ABI void | print (raw_ostream &OS, ModuleSlotTracker &MST, const Module *M=nullptr, bool IsForDebug=false) const |
| LLVM_ABI void | printAsOperand (raw_ostream &OS, const Module *M=nullptr) const |
| Print as operand. | |
| LLVM_ABI void | printAsOperand (raw_ostream &OS, ModuleSlotTracker &MST, const Module *M=nullptr) const |
Static Public Member Functions | |
| static LLVM_ABI DIArgList * | get (LLVMContext &Context, ArrayRef< ValueAsMetadata * > Args) |
| static bool | classof (const Metadata *MD) |
Friends | |
| class | ReplaceableMetadataImpl |
| class | LLVMContextImpl |
Additional Inherited Members | |
| 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::Metadata | |
| enum | StorageType { Uniqued , Distinct , Temporary } |
| Active type of storage. More... | |
| 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. | |
| 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 |
List of ValueAsMetadata, to be used as an argument to a dbg.value intrinsic.
Definition at line 4595 of file DebugInfoMetadata.h.
|
inline |
Definition at line 4619 of file DebugInfoMetadata.h.
|
inline |
Definition at line 4620 of file DebugInfoMetadata.h.
Definition at line 4622 of file DebugInfoMetadata.h.
References llvm::Metadata::getMetadataID(), and llvm::Metadata::Metadata().
|
static |
Definition at line 2582 of file DebugInfoMetadata.cpp.
Referenced by llvm::DbgVariableIntrinsic::addVariableLocationOps(), llvm::DbgVariableRecord::addVariableLocationOps(), llvm::DbgVariableIntrinsic::replaceVariableLocationOp(), llvm::DbgVariableIntrinsic::replaceVariableLocationOp(), llvm::DbgVariableRecord::replaceVariableLocationOp(), llvm::DbgVariableRecord::replaceVariableLocationOp(), restorePreTransformState(), and updateDVIWithLocations().
|
inline |
Definition at line 4626 of file DebugInfoMetadata.h.
References llvm::ReplaceableMetadataImpl::getAllDbgVariableRecordUsers().
Referenced by findDbgIntrinsics().
|
inline |
Definition at line 4617 of file DebugInfoMetadata.h.
Referenced by llvm::ValueEnumerator::incorporateFunction().
| void DIArgList::handleChangedOperand | ( | void * | Ref, |
| Metadata * | New ) |
Definition at line 2592 of file DebugInfoMetadata.cpp.
References assert(), llvm::cast_or_null(), llvm::LLVMContextImpl::DIArgLists, llvm::PoisonValue::get(), llvm::ValueAsMetadata::get(), llvm::ReplaceableMetadataImpl::getContext(), llvm::getUniqued(), llvm::isa(), llvm::Metadata::Metadata(), llvm::LLVMContext::pImpl, llvm::Ref, and llvm::ReplaceableMetadataImpl::replaceAllUsesWith().
|
friend |
Definition at line 4597 of file DebugInfoMetadata.h.
References LLVMContextImpl, llvm::Metadata::Metadata(), ReplaceableMetadataImpl, and llvm::Metadata::Uniqued.
Referenced by LLVMContextImpl.
|
friend |
Definition at line 4596 of file DebugInfoMetadata.h.
References ReplaceableMetadataImpl.
Referenced by LLVMContextImpl, and ReplaceableMetadataImpl.