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 109 of file SymbolStringPool.h.
|
protected |
Definition at line 110 of file SymbolStringPool.h.
|
default |
|
inline |
Definition at line 77 of file SymbolStringPool.h.
|
inlineprotected |
Definition at line 112 of file SymbolStringPool.h.
|
inlineprotected |
Definition at line 132 of file SymbolStringPool.h.
References llvm::StringMapEntryStorage< ValueTy >::getValue(), isRealPoolEntry(), and S.
|
inlinestaticprotected |
Definition at line 127 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 103 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 14 of file SymbolStringPool.cpp.
|
friend |
Definition at line 83 of file SymbolStringPool.h.
|
friend |
Definition at line 71 of file SymbolStringPool.h.
|
staticconstexprprotected |
Definition at line 114 of file SymbolStringPool.h.
|
staticconstexprprotected |
Definition at line 122 of file SymbolStringPool.h.
Referenced by isRealPoolEntry().
|
protected |
Definition at line 136 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 118 of file SymbolStringPool.h.