|
LLVM 23.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 SymbolStringPtrBase &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 186 of file SymbolStringPool.h.
Definition at line 188 of file SymbolStringPool.h.
|
inline |
Definition at line 190 of file SymbolStringPool.h.
|
inline |
Creates a SymbolStringPtr for this entry, with the SymbolStringPtr retaining the entry as usual.
Definition at line 208 of file SymbolStringPool.h.
|
inlinestatic |
Create an unsafe pool entry ref without changing the ref-count.
Definition at line 193 of file SymbolStringPool.h.
References llvm::orc::SymbolStringPtrBase::S, and SymbolStringPoolEntryUnsafe().
Referenced by llvm::orc::hash_value(), 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 212 of file SymbolStringPool.h.
References llvm::orc::SymbolStringPtrBase::S, and std::swap().
|
inline |
Definition at line 204 of file SymbolStringPool.h.
|
inline |
Definition at line 219 of file SymbolStringPool.h.
|
inline |
Definition at line 218 of file SymbolStringPool.h.
|
inlinestatic |
Consumes the given SymbolStringPtr without releasing the pool entry.
Definition at line 198 of file SymbolStringPool.h.
References std::swap(), and SymbolStringPoolEntryUnsafe().
Referenced by LLVMOrcExecutionSessionIntern(), and LLVMOrcLLJITMangleAndIntern().