LLVM 22.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 899 of file Metadata.h.
|
default |
|
inline |
Definition at line 905 of file Metadata.h.
References llvm::MetadataTracking::retrack().
|
inline |
Definition at line 926 of file Metadata.h.
Definition at line 921 of file Metadata.h.
References get().
Referenced by llvm::isExplicitlyUnknownBranchWeightsMetadata().
|
inline |
Definition at line 928 of file Metadata.h.
Referenced by llvm::AbstractCallSite::AbstractCallSite(), analyzeModule(), equalsStr(), getLinkedToSymbol(), llvm::getOptionalBoolLoopAttribute(), llvm::DISubrangeType::getRawBias(), llvm::DIGenericSubrange::getRawCountNode(), llvm::DIGenericSubrange::getRawLowerBound(), llvm::DISubrangeType::getRawLowerBound(), llvm::DIGenericSubrange::getRawStride(), llvm::DISubrangeType::getRawStride(), llvm::DIGenericSubrange::getRawUpperBound(), llvm::DISubrangeType::getRawUpperBound(), llvm::simplify_type< const MDOperand >::getSimplifiedValue(), llvm::simplify_type< MDOperand >::getSimplifiedValue(), operator Metadata *(), operator*(), operator->(), and updateLoopMetadataDebugLocationsImpl().
|
inline |
Definition at line 929 of file Metadata.h.
References get().
|
inline |
Definition at line 931 of file Metadata.h.
References get().
|
inline |
Definition at line 930 of file Metadata.h.
References get().
Definition at line 912 of file Metadata.h.
References llvm::MetadataTracking::retrack().
|
inline |
Definition at line 933 of file Metadata.h.
Referenced by llvm::MDNode::setOperand().
Definition at line 937 of file Metadata.h.