LLVM 22.0.0git
|
Provides unsafe access to ownership operations on SymbolStringPtr. More...
#include "llvm/ExecutionEngine/Orc/SymbolStringPool.h"
Public Types | |
using | PoolEntry = SymbolStringPool::PoolMapEntry |
Public Member Functions | |
SymbolStringPoolEntryUnsafe (PoolEntry *E) | |
PoolEntry * | rawPtr () |
SymbolStringPtr | copyToSymbolStringPtr () |
Creates a SymbolStringPtr for this entry, with the SymbolStringPtr retaining the entry as usual. | |
SymbolStringPtr | moveToSymbolStringPtr () |
Creates a SymbolStringPtr for this entry without performing a retain operation during construction. | |
void | retain () |
void | release () |
Static Public Member Functions | |
static SymbolStringPoolEntryUnsafe | from (const SymbolStringPtr &S) |
Create an unsafe pool entry ref without changing the ref-count. | |
static SymbolStringPoolEntryUnsafe | take (SymbolStringPtr &&S) |
Consumes the given SymbolStringPtr without releasing the pool entry. |
Provides unsafe access to ownership operations on SymbolStringPtr.
This class can be used to manage SymbolStringPtr instances from C.
Definition at line 200 of file SymbolStringPool.h.
Definition at line 202 of file SymbolStringPool.h.
|
inline |
Definition at line 204 of file SymbolStringPool.h.
|
inline |
Creates a SymbolStringPtr for this entry, with the SymbolStringPtr retaining the entry as usual.
Definition at line 222 of file SymbolStringPool.h.
|
inlinestatic |
Create an unsafe pool entry ref without changing the ref-count.
Definition at line 207 of file SymbolStringPool.h.
References llvm::orc::SymbolStringPtrBase::S, and SymbolStringPoolEntryUnsafe().
Referenced by LLVMOrcCreateDynamicLibrarySearchGeneratorForPath(), LLVMOrcCreateDynamicLibrarySearchGeneratorForProcess(), LLVMOrcExecutionSessionLookup(), LLVMOrcMaterializationResponsibilityGetInitializerSymbol(), LLVMOrcMaterializationResponsibilityGetRequestedSymbols(), LLVMOrcMaterializationResponsibilityGetSymbols(), and llvm::orc::CAPIDefinitionGenerator::tryToGenerate().
|
inline |
Creates a SymbolStringPtr for this entry without performing a retain operation during construction.
Definition at line 226 of file SymbolStringPool.h.
References llvm::orc::SymbolStringPtrBase::S, and std::swap().
|
inline |
Definition at line 218 of file SymbolStringPool.h.
|
inline |
Definition at line 233 of file SymbolStringPool.h.
|
inline |
Definition at line 232 of file SymbolStringPool.h.
|
inlinestatic |
Consumes the given SymbolStringPtr without releasing the pool entry.
Definition at line 212 of file SymbolStringPool.h.
References std::swap(), and SymbolStringPoolEntryUnsafe().
Referenced by LLVMOrcExecutionSessionIntern(), and LLVMOrcLLJITMangleAndIntern().