LLVM: llvm::MDOperand Class Reference (original) (raw)

Tracking metadata reference owned by Metadata. More...

#include "[llvm/IR/Metadata.h](Metadata%5F8h%5Fsource.html)"

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)

Detailed Description

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 900 of file Metadata.h.

Constructor & Destructor Documentation

llvm::MDOperand::MDOperand ( ) default

MDOperand() [2/3]

MDOperand() [3/3]

llvm::MDOperand::MDOperand ( MDOperand && Op) inline

~MDOperand()

llvm::MDOperand::~MDOperand ( ) inline

Member Function Documentation

equalsStr()

get()

Metadata * llvm::MDOperand::get ( ) const inline

Definition at line 929 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().

operator Metadata *()

llvm::MDOperand::operator Metadata * ( ) const inline

operator*()

Metadata & llvm::MDOperand::operator* ( ) const inline

operator->()

Metadata * llvm::MDOperand::operator-> ( ) const inline

operator=() [1/2]

operator=() [2/2]

reset() [1/2]

void llvm::MDOperand::reset ( ) inline

reset() [2/2]


The documentation for this class was generated from the following file: