|
LLVM 23.0.0git
|
Pointer to the context, with optional RAUW support. More...
#include "llvm/IR/Metadata.h"
Pointer to the context, with optional RAUW support.
Either a raw (non-null) pointer to the LLVMContext, or an owned pointer to ReplaceableMetadataImpl (which has a reference to LLVMContext).
Definition at line 979 of file Metadata.h.
|
inline |
Definition at line 983 of file Metadata.h.
Referenced by ContextAndReplaceableUses(), ContextAndReplaceableUses(), operator=(), and operator=().
|
inline |
Definition at line 984 of file Metadata.h.
References assert(), getReplaceableUses(), and llvm::release.
|
delete |
|
delete |
References ContextAndReplaceableUses().
|
delete |
References ContextAndReplaceableUses().
|
inline |
Definition at line 995 of file Metadata.h.
References getReplaceableUses().
|
inline |
Definition at line 1004 of file Metadata.h.
References llvm::cast(), llvm::ReplaceableMetadataImpl::getContext(), getReplaceableUses(), and hasReplaceableUses().
Referenced by getOrCreateReplaceableUses(), makeReplaceable(), and operator LLVMContext &().
|
inline |
Ensure that this has RAUW support, and then return it.
Definition at line 1017 of file Metadata.h.
References getContext(), getReplaceableUses(), hasReplaceableUses(), and makeReplaceable().
|
inline |
Definition at line 1010 of file Metadata.h.
References llvm::cast(), and hasReplaceableUses().
Referenced by ContextAndReplaceableUses(), getContext(), getOrCreateReplaceableUses(), makeReplaceable(), takeReplaceableUses(), and ~ContextAndReplaceableUses().
|
inline |
Whether this contains RAUW support.
Definition at line 1000 of file Metadata.h.
References llvm::isa().
Referenced by getContext(), getOrCreateReplaceableUses(), getReplaceableUses(), and takeReplaceableUses().
|
inline |
Assign RAUW support to this.
Make this replaceable, taking ownership of ReplaceableUses (which must not be null).
Definition at line 1028 of file Metadata.h.
References assert(), getContext(), and getReplaceableUses().
Referenced by getOrCreateReplaceableUses().
|
inline |
Definition at line 997 of file Metadata.h.
References getContext().
|
delete |
References ContextAndReplaceableUses().
|
delete |
References ContextAndReplaceableUses().
|
inline |
Drop RAUW support.
Cede ownership of RAUW support, returning it.
Definition at line 1039 of file Metadata.h.
References assert(), getReplaceableUses(), and hasReplaceableUses().