llvm::MDNode::operator new

Allocate an MDNode with NumOps operand slots and Storage kind.

Synopsis

Declared in <llvm/IR/Metadata.h>

void*
operator new(
    size_t Size,
    size_t NumOps,
    StorageType Storage);

Return Value

Raw storage for an MDNode with NumOps operand slots.

Parameters

NameDescription
SizeSize of the MDNode subclass object.
NumOpsNumber of operand slots to allocate.
StorageStorage/uniquing kind for the node.