LLVM 20.0.0git
|
Tracking metadata reference owned by Metadata. More...
#include "llvm/IR/Metadata.h"
Public Member Functions | |
MDOperand ()=default | |
MDOperand (const MDOperand &)=delete | |
MDOperand (MDOperand &&Op) | |
MDOperand & | operator= (const MDOperand &)=delete |
MDOperand & | operator= (MDOperand &&Op) |
bool | equalsStr (StringRef Str) const |
~MDOperand () | |
Metadata * | get () const |
operator Metadata * () const | |
Metadata * | operator-> () const |
Metadata & | operator* () const |
void | reset () |
void | reset (Metadata *MD, Metadata *Owner) |
Tracking metadata reference owned by Metadata.
Similar to TrackingMDRef, but it's expected to be owned by an instance of Metadata, which has the option of registering itself for callbacks to re-unique itself.
In particular, this is used by MDNode.
Definition at line 891 of file Metadata.h.
|
default |
|
inline |
Definition at line 897 of file Metadata.h.
References llvm::MetadataTracking::retrack().
|
inline |
Definition at line 918 of file Metadata.h.
Definition at line 913 of file Metadata.h.
References get().
|
inline |
Definition at line 920 of file Metadata.h.
Referenced by llvm::AbstractCallSite::AbstractCallSite(), equalsStr(), getLinkedToSymbol(), llvm::getOptionalBoolLoopAttribute(), llvm::DIGenericSubrange::getRawCountNode(), llvm::DIGenericSubrange::getRawLowerBound(), llvm::DIGenericSubrange::getRawStride(), llvm::DIGenericSubrange::getRawUpperBound(), llvm::simplify_type< const MDOperand >::getSimplifiedValue(), llvm::simplify_type< MDOperand >::getSimplifiedValue(), operator Metadata *(), operator*(), operator->(), and updateLoopMetadataDebugLocationsImpl().
|
inline |
Definition at line 921 of file Metadata.h.
References get().
|
inline |
Definition at line 923 of file Metadata.h.
References get().
|
inline |
Definition at line 922 of file Metadata.h.
References get().
Definition at line 904 of file Metadata.h.
References llvm::MetadataTracking::retrack().
|
inline |
Definition at line 925 of file Metadata.h.
Referenced by llvm::MDNode::setOperand().
Definition at line 929 of file Metadata.h.