LLVM  8.0.1
Public Member Functions | List of all members
llvm::MDOperand Class Reference

Tracking metadata reference owned by Metadata. More...

#include "llvm/IR/Metadata.h"

Public Member Functions

 MDOperand ()=default
 
 MDOperand (MDOperand &&)=delete
 
 MDOperand (const MDOperand &)=delete
 
MDOperandoperator= (MDOperand &&)=delete
 
MDOperandoperator= (const MDOperand &)=delete
 
 ~MDOperand ()
 
Metadataget () const
 
 operator Metadata * () const
 
Metadataoperator-> () const
 
Metadataoperator* () 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 711 of file Metadata.h.

Constructor & Destructor Documentation

◆ MDOperand() [1/3]

llvm::MDOperand::MDOperand ( )
default

◆ MDOperand() [2/3]

llvm::MDOperand::MDOperand ( MDOperand &&  )
delete

◆ MDOperand() [3/3]

llvm::MDOperand::MDOperand ( const MDOperand )
delete

◆ ~MDOperand()

llvm::MDOperand::~MDOperand ( )
inline

Definition at line 720 of file Metadata.h.

Member Function Documentation

◆ get()

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

◆ operator Metadata *()

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

Definition at line 723 of file Metadata.h.

◆ operator*()

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

Definition at line 725 of file Metadata.h.

◆ operator->()

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

Definition at line 724 of file Metadata.h.

◆ operator=() [1/2]

MDOperand& llvm::MDOperand::operator= ( MDOperand &&  )
delete

◆ operator=() [2/2]

MDOperand& llvm::MDOperand::operator= ( const MDOperand )
delete

◆ reset() [1/2]

void llvm::MDOperand::reset ( )
inline

Definition at line 727 of file Metadata.h.

Referenced by llvm::MDNode::setOperand().

◆ reset() [2/2]

void llvm::MDOperand::reset ( Metadata MD,
Metadata Owner 
)
inline

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