LLVM 18.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 849 of file Metadata.h.
|
inline |
Definition at line 853 of file Metadata.h.
|
inline |
Definition at line 854 of file Metadata.h.
References assert(), getReplaceableUses(), and Ptr.
|
delete |
|
delete |
|
delete |
|
inline |
Definition at line 865 of file Metadata.h.
References getReplaceableUses().
|
inline |
Definition at line 874 of file Metadata.h.
References llvm::ReplaceableMetadataImpl::getContext(), getReplaceableUses(), hasReplaceableUses(), and Ptr.
Referenced by getOrCreateReplaceableUses(), makeReplaceable(), and operator LLVMContext &().
|
inline |
Ensure that this has RAUW support, and then return it.
Definition at line 887 of file Metadata.h.
References getContext(), getReplaceableUses(), hasReplaceableUses(), and makeReplaceable().
|
inline |
Definition at line 880 of file Metadata.h.
References hasReplaceableUses(), and Ptr.
Referenced by ContextAndReplaceableUses(), getContext(), getOrCreateReplaceableUses(), makeReplaceable(), takeReplaceableUses(), and ~ContextAndReplaceableUses().
|
inline |
Whether this contains RAUW support.
Definition at line 870 of file Metadata.h.
References Ptr.
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 898 of file Metadata.h.
References assert(), getContext(), getReplaceableUses(), and Ptr.
Referenced by getOrCreateReplaceableUses().
|
inline |
Definition at line 867 of file Metadata.h.
References getContext().
|
delete |
|
delete |
|
inline |
Drop RAUW support.
Cede ownership of RAUW support, returning it.
Definition at line 909 of file Metadata.h.
References assert(), getReplaceableUses(), hasReplaceableUses(), and Ptr.