Pointer to the context, with optional RAUW support.

Synopsis

Declared in <llvm/IR/Metadata.h>

class ContextAndReplaceableUses;

Description

Either a raw (non‐null) pointer to the LLVMContext, or an owned pointer to ReplaceableMetadataImpl (which has a reference to LLVMContext).

Member Functions

Name

Description

ContextAndReplaceableUses [constructor]

Constructors

~ContextAndReplaceableUses [destructor]

Destroy owned replaceable‐uses support, if any.

operator=

Assignment operators

getContext

Return the LLVMContext associated with this node.

getOrCreateReplaceableUses

Ensure that this has RAUW support, and then return it.

getReplaceableUses

Return replaceable‐uses support if present, else null.

hasReplaceableUses

Whether this contains RAUW support.

makeReplaceable

Assign RAUW support to this.

takeReplaceableUses

Drop RAUW support.

operator LLVMContext&

Convert to the associated LLVMContext.

Created with MrDocs