|
LLVM 23.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 897 of file Metadata.h.
|
default |
Referenced by MDOperand(), MDOperand(), operator=(), and operator=().
References MDOperand().
|
inline |
Definition at line 903 of file Metadata.h.
References MDOperand(), and llvm::MetadataTracking::retrack().
|
inline |
Definition at line 924 of file Metadata.h.
Definition at line 919 of file Metadata.h.
References llvm::cast(), get(), and llvm::isa_and_nonnull().
Referenced by llvm::SPIRVNonSemanticDebugHandler::beginModule(), and llvm::isExplicitlyUnknownProfileMetadata().
|
inline |
Definition at line 926 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 927 of file Metadata.h.
References get().
|
inline |
Definition at line 929 of file Metadata.h.
References get().
|
inline |
Definition at line 928 of file Metadata.h.
References get().
References MDOperand().
Definition at line 910 of file Metadata.h.
References MDOperand(), and llvm::MetadataTracking::retrack().
|
inline |
Definition at line 931 of file Metadata.h.
Referenced by llvm::MDNode::setOperand().
Definition at line 935 of file Metadata.h.
References Owner.