|
LLVM
3.7.0
|
Pointer to the context, with optional RAUW support. More...
#include <Metadata.h>
Public Member Functions | |
| ContextAndReplaceableUses (LLVMContext &Context) | |
| ContextAndReplaceableUses (std::unique_ptr< ReplaceableMetadataImpl > ReplaceableUses) | |
| ~ContextAndReplaceableUses () | |
| operator LLVMContext & () | |
| bool | hasReplaceableUses () const |
| Whether this contains RAUW support. More... | |
| LLVMContext & | getContext () const |
| ReplaceableMetadataImpl * | getReplaceableUses () const |
| void | makeReplaceable (std::unique_ptr< ReplaceableMetadataImpl > ReplaceableUses) |
| Assign RAUW support to this. More... | |
| std::unique_ptr < ReplaceableMetadataImpl > | takeReplaceableUses () |
| Drop RAUW support. More... | |
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 654 of file Metadata.h.
|
inline |
Definition at line 665 of file Metadata.h.
|
inline |
Definition at line 666 of file Metadata.h.
References getReplaceableUses().
|
inline |
Definition at line 671 of file Metadata.h.
References getReplaceableUses().
|
inline |
Definition at line 679 of file Metadata.h.
References llvm::ReplaceableMetadataImpl::getContext(), getReplaceableUses(), and hasReplaceableUses().
Referenced by llvm::MDNode::getContext(), makeReplaceable(), and operator LLVMContext &().
|
inline |
Definition at line 684 of file Metadata.h.
References hasReplaceableUses().
Referenced by ContextAndReplaceableUses(), getContext(), makeReplaceable(), llvm::MDNode::replaceAllUsesWith(), takeReplaceableUses(), and ~ContextAndReplaceableUses().
|
inline |
Whether this contains RAUW support.
Definition at line 676 of file Metadata.h.
Referenced by getContext(), getReplaceableUses(), llvm::MDNode::isResolved(), and takeReplaceableUses().
|
inline |
Assign RAUW support to this.
Make this replaceable, taking ownership of ReplaceableUses (which must not be null).
Definition at line 695 of file Metadata.h.
References getContext(), and getReplaceableUses().
|
inline |
Definition at line 673 of file Metadata.h.
References getContext().
|
inline |
Drop RAUW support.
Cede ownership of RAUW support, returning it.
Definition at line 706 of file Metadata.h.
References getReplaceableUses(), and hasReplaceableUses().
1.8.6