Tracking metadata reference owned by Metadata.

Synopsis

Declared in <llvm/IR/Metadata.h>

class MDOperand;

Description

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.

Member Functions

Name

Description

MDOperand [constructor]

Constructors

~MDOperand [destructor]

Stop tracking the referenced metadata.

operator=

Assignment operators

equalsStr

Return true if this operand is an MDString equal to Str.

get

Return the referenced metadata pointer.

operator*

Dereference to the referenced metadata.

operator‐>

Access members of the referenced metadata.

reset

reset overloads

operator Metadata*

Convert to the referenced metadata pointer.

Non-Member Functions

Name

Description

findStringMetadataForLoop

Find string metadata for loop

Created with MrDocs