class ReplaceableMetadataImpl

Declaration

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

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

Method Overview

Methods

ReplaceableMetadataImpl(
    llvm::LLVMContext& Context)

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

Parameters

llvm::LLVMContext& Context

llvm::LLVMContext& getContext() const

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

void replaceAllUsesWith(llvm::Metadata* MD)

Description

Replace all uses of this with MD. Replace all uses of this with \c MD, which is allowed to be null.

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

Parameters

llvm::Metadata* MD

void resolveAllUses(bool ResolveUsers = true)

Description

Resolve all uses of this. Resolve all uses of this, turning off RAUW permanently. If \c ResolveUsers, call \a MDNode::resolve() on any users whose last operand is resolved.

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

Parameters

bool ResolveUsers = true

~ReplaceableMetadataImpl()

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