Searched refs:PoolEntry (Results 1 – 5 of 5) sorted by relevance
33 class PoolEntry : public std::enable_shared_from_this<PoolEntry> {36 PoolEntry(ValuePool &Pool, ValueKeyT Value) in PoolEntry() function39 ~PoolEntry() { Pool.removeEntry(this); } in ~PoolEntry()50 static inline PoolEntry *getEmptyKey() { return nullptr; } in getEmptyKey()52 static inline PoolEntry *getTombstoneKey() { in getTombstoneKey()53 return reinterpret_cast<PoolEntry *>(static_cast<uintptr_t>(1)); in getTombstoneKey()61 static unsigned getHashValue(PoolEntry *P) { in getHashValue()65 static unsigned getHashValue(const PoolEntry *P) { in getHashValue()75 static bool isEqual(const ValueKeyT &C, PoolEntry *P) { in isEqual()81 static bool isEqual(PoolEntry *P1, PoolEntry *P2) { in isEqual()[all …]
82 const PoolEntry &pool = selectPool(llvm::StringRef(ccstr)); in GetMangledCounterpart()104 PoolEntry &pool = selectPool(string_hash); in GetConstCStringWithStringRef()130 PoolEntry &pool = selectPool(demangled_hash); in GetConstCStringAndSetMangledCounterPart()147 PoolEntry &pool = selectPool(llvm::StringRef(mangled_ccstr)); in GetConstCStringAndSetMangledCounterPart()177 struct PoolEntry { struct in Pool182 std::array<PoolEntry, 256> m_string_pools;184 PoolEntry &selectPool(const llvm::StringRef &s) { in selectPool()188 PoolEntry &selectPool(uint32_t h) { in selectPool()
119 using PoolEntry = StringPool::PoolMapEntry;120 using PoolEntryPtr = PoolEntry *;
106 using PoolEntry = SymbolStringPool::PoolMapEntry;107 using PoolEntryPtr = PoolEntry *;197 using PoolEntry = SymbolStringPool::PoolMapEntry;199 SymbolStringPoolEntryUnsafe(PoolEntry *E) : E(E) {}208 PoolEntry *E = nullptr;213 PoolEntry *rawPtr() { return E; }231 PoolEntry *E = nullptr;
47 return reinterpret_cast<SymbolStringPoolEntryUnsafe::PoolEntry *>(E); in unwrap()