LLVM  6.0.0svn
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 709 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 718 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 721 of file Metadata.h.

◆ operator*()

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

Definition at line 723 of file Metadata.h.

◆ operator->()

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

Definition at line 722 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 725 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: