LLVM 20.0.0git
|
Base class for both owning and non-owning symbol-string ptrs. More...
#include "llvm/ExecutionEngine/Orc/SymbolStringPool.h"
Public Member Functions | |
SymbolStringPtrBase ()=default | |
SymbolStringPtrBase (std::nullptr_t) | |
operator bool () const | |
StringRef | operator* () const |
bool | poolEntryIsAlive () const |
Protected Types | |
using | PoolEntry = SymbolStringPool::PoolMapEntry |
using | PoolEntryPtr = PoolEntry * |
Protected Member Functions | |
SymbolStringPtrBase (PoolEntryPtr S) | |
size_t | getRefCount () const |
Static Protected Member Functions | |
static bool | isRealPoolEntry (PoolEntryPtr P) |
Protected Attributes | |
PoolEntryPtr | S = nullptr |
Static Protected Attributes | |
static constexpr uintptr_t | EmptyBitPattern |
static constexpr uintptr_t | TombstoneBitPattern |
static constexpr uintptr_t | InvalidPtrMask |
Base class for both owning and non-owning symbol-string ptrs.
All symbol-string ptrs are convertible to bool, dereferenceable and comparable.
SymbolStringPtrBases are default-constructible and constructible from nullptr to enable comparison with these values.
Definition at line 70 of file SymbolStringPool.h.
|
protected |
Definition at line 106 of file SymbolStringPool.h.
|
protected |
Definition at line 107 of file SymbolStringPool.h.
|
default |
|
inline |
Definition at line 77 of file SymbolStringPool.h.
|
inlineprotected |
Definition at line 109 of file SymbolStringPool.h.
|
inlineprotected |
Definition at line 129 of file SymbolStringPool.h.
References llvm::StringMapEntryStorage< ValueTy >::getValue(), isRealPoolEntry(), and S.
|
inlinestaticprotected |
Definition at line 124 of file SymbolStringPool.h.
References InvalidPtrMask, and P.
Referenced by getRefCount(), poolEntryIsAlive(), and llvm::orc::SymbolStringPtr::SymbolStringPtr().
|
inlineexplicit |
Definition at line 79 of file SymbolStringPool.h.
References S.
|
inline |
Definition at line 81 of file SymbolStringPool.h.
References llvm::StringMapEntry< ValueTy >::first(), and S.
|
inline |
Definition at line 100 of file SymbolStringPool.h.
References llvm::StringMapEntryStorage< ValueTy >::getValue(), isRealPoolEntry(), and S.
Referenced by llvm::orc::SymbolStringPtr::SymbolStringPtr().
|
friend |
Definition at line 71 of file SymbolStringPool.h.
|
friend |
Definition at line 71 of file SymbolStringPool.h.
|
friend |
Definition at line 87 of file SymbolStringPool.h.
|
friend |
Definition at line 91 of file SymbolStringPool.h.
|
friend |
Definition at line 83 of file SymbolStringPool.h.
|
friend |
Definition at line 71 of file SymbolStringPool.h.
|
staticconstexprprotected |
Definition at line 111 of file SymbolStringPool.h.
|
staticconstexprprotected |
Definition at line 119 of file SymbolStringPool.h.
Referenced by isRealPoolEntry().
|
protected |
Definition at line 133 of file SymbolStringPool.h.
Referenced by llvm::orc::SymbolStringPoolEntryUnsafe::from(), getRefCount(), llvm::orc::SymbolStringPoolEntryUnsafe::moveToSymbolStringPtr(), operator bool(), operator*(), llvm::orc::SymbolStringPtr::operator=(), poolEntryIsAlive(), and llvm::orc::SymbolStringPtr::SymbolStringPtr().
|
staticconstexprprotected |
Definition at line 115 of file SymbolStringPool.h.