LLVM 20.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 () |
void | handleChangedOperand (void *Ref, Metadata *New) |
Public Member Functions inherited from llvm::Metadata | |
unsigned | getMetadataID () const |
void | dump () const |
User-friendly dump. | |
void | dump (const Module *M) const |
void | print (raw_ostream &OS, const Module *M=nullptr, bool IsForDebug=false) const |
Print. | |
void | print (raw_ostream &OS, ModuleSlotTracker &MST, const Module *M=nullptr, bool IsForDebug=false) const |
void | printAsOperand (raw_ostream &OS, const Module *M=nullptr) const |
Print as operand. | |
void | printAsOperand (raw_ostream &OS, ModuleSlotTracker &MST, const Module *M=nullptr) const |
Static Public Member Functions | |
static 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 |
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 3940 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3963 of file DebugInfoMetadata.h.
|
inline |
Definition at line 3964 of file DebugInfoMetadata.h.
Definition at line 3966 of file DebugInfoMetadata.h.
References llvm::Metadata::getMetadataID().
|
static |
Definition at line 2311 of file DebugInfoMetadata.cpp.
References llvm::LLVMContextImpl::DIArgLists, and llvm::LLVMContext::pImpl.
Referenced by llvm::DbgVariableRecord::addVariableLocationOps(), llvm::DbgVariableIntrinsic::addVariableLocationOps(), llvm::DbgVariableRecord::replaceVariableLocationOp(), llvm::DbgVariableIntrinsic::replaceVariableLocationOp(), restorePreTransformState(), and updateDVIWithLocations().
|
inline |
Definition at line 3970 of file DebugInfoMetadata.h.
References llvm::ReplaceableMetadataImpl::getAllDbgVariableRecordUsers().
Referenced by findDbgIntrinsics().
|
inline |
Definition at line 3961 of file DebugInfoMetadata.h.
Referenced by llvm::ValueEnumerator::incorporateFunction().
void DIArgList::handleChangedOperand | ( | void * | Ref, |
Metadata * | New | ||
) |
Definition at line 2321 of file DebugInfoMetadata.cpp.
References assert(), llvm::LLVMContextImpl::DIArgLists, llvm::PoisonValue::get(), llvm::ValueAsMetadata::get(), llvm::ReplaceableMetadataImpl::getContext(), llvm::getUniqued(), llvm::LLVMContext::pImpl, llvm::Ref, and llvm::ReplaceableMetadataImpl::replaceAllUsesWith().
|
friend |
Definition at line 3942 of file DebugInfoMetadata.h.
|
friend |
Definition at line 3941 of file DebugInfoMetadata.h.