class NamedMDNode

Declaration

class NamedMDNode { /* full declaration omitted */ };

Declared at: llvm/include/llvm/IR/Metadata.h:1334

Method Overview

  • public NamedMDNode(const llvm::NamedMDNode &)
  • public void addOperand(llvm::MDNode * M)
  • public void clearOperands()
  • public void dropAllReferences()
  • public void dump() const
  • public void eraseFromParent()
  • public llvm::StringRef getName() const
  • public unsigned int getNumOperands() const
  • public llvm::MDNode * getOperand(unsigned int i) const
  • public inline llvm::Module * getParent()
  • public inline const llvm::Module * getParent() const
  • public llvm::NamedMDNode::const_op_iterator op_begin() const
  • public llvm::NamedMDNode::op_iterator op_begin()
  • public llvm::NamedMDNode::const_op_iterator op_end() const
  • public llvm::NamedMDNode::op_iterator op_end()
  • public inline iterator_range<llvm::NamedMDNode::op_iterator> operands()
  • public inline iterator_range<llvm::NamedMDNode::const_op_iterator> operands() const
  • public void print(llvm::raw_ostream & ROS, llvm::ModuleSlotTracker & MST, bool IsForDebug = false) const
  • public void print(llvm::raw_ostream & ROS, bool IsForDebug = false) const
  • public void setOperand(unsigned int I, llvm::MDNode * New)
  • public ~NamedMDNode()

Methods

NamedMDNode(const llvm::NamedMDNode&)

Declared at: llvm/include/llvm/IR/Metadata.h:1388

Parameters

const llvm::NamedMDNode&

void addOperand(llvm::MDNode* M)

Declared at: llvm/include/llvm/IR/Metadata.h:1405

Parameters

llvm::MDNode* M

void clearOperands()

Description

Drop all references to this node's operands.

Declared at: llvm/include/llvm/IR/Metadata.h:1397

void dropAllReferences()

Description

Remove all uses and clear node vector.

Declared at: llvm/include/llvm/IR/Metadata.h:1395

void dump() const

Declared at: llvm/include/llvm/IR/Metadata.h:1411

void eraseFromParent()

Description

Drop all references and remove the node from parent module.

Declared at: llvm/include/llvm/IR/Metadata.h:1392

llvm::StringRef getName() const

Declared at: llvm/include/llvm/IR/Metadata.h:1407

unsigned int getNumOperands() const

Declared at: llvm/include/llvm/IR/Metadata.h:1404

llvm::MDNode* getOperand(unsigned int i) const

Declared at: llvm/include/llvm/IR/Metadata.h:1403

Parameters

unsigned int i

inline llvm::Module* getParent()

Description

Get the module that holds this named metadata collection.

Declared at: llvm/include/llvm/IR/Metadata.h:1400

inline const llvm::Module* getParent() const

Declared at: llvm/include/llvm/IR/Metadata.h:1401

llvm::NamedMDNode::const_op_iterator op_begin()
    const

Declared at: llvm/include/llvm/IR/Metadata.h:1423

llvm::NamedMDNode::op_iterator op_begin()

Declared at: llvm/include/llvm/IR/Metadata.h:1418

llvm::NamedMDNode::const_op_iterator op_end()
    const

Declared at: llvm/include/llvm/IR/Metadata.h:1424

llvm::NamedMDNode::op_iterator op_end()

Declared at: llvm/include/llvm/IR/Metadata.h:1419

inline iterator_range<
    llvm::NamedMDNode::op_iterator>
operands()

Declared at: llvm/include/llvm/IR/Metadata.h:1426

inline iterator_range<
    llvm::NamedMDNode::const_op_iterator>
operands() const

Declared at: llvm/include/llvm/IR/Metadata.h:1429

void print(llvm::raw_ostream& ROS,
           llvm::ModuleSlotTracker& MST,
           bool IsForDebug = false) const

Declared at: llvm/include/llvm/IR/Metadata.h:1409

Parameters

llvm::raw_ostream& ROS
llvm::ModuleSlotTracker& MST
bool IsForDebug = false

void print(llvm::raw_ostream& ROS,
           bool IsForDebug = false) const

Declared at: llvm/include/llvm/IR/Metadata.h:1408

Parameters

llvm::raw_ostream& ROS
bool IsForDebug = false

void setOperand(unsigned int I, llvm::MDNode* New)

Declared at: llvm/include/llvm/IR/Metadata.h:1406

Parameters

unsigned int I
llvm::MDNode* New

~NamedMDNode()

Declared at: llvm/include/llvm/IR/Metadata.h:1389