Lines Matching refs:StringPool
62 typedef llvm::StringMap<StringPoolValueType, Allocator> StringPool; typedef in Pool
103 const uint32_t string_hash = StringPool::hash(string_ref); in GetConstCStringWithStringRef()
129 const uint32_t demangled_hash = StringPool::hash(demangled); in GetConstCStringAndSetMangledCounterPart()
134 StringPool &map = pool.m_string_map; in GetConstCStringAndSetMangledCounterPart()
179 StringPool m_string_map;
185 return selectPool(StringPool::hash(s)); in selectPool()
201 static Pool &StringPool() { in StringPool() function
212 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString()
215 : m_string(StringPool().GetConstCStringWithLength(cstr, cstr_len)) {} in ConstString()
218 : m_string(StringPool().GetConstCStringWithStringRef(s)) {} in ConstString()
308 m_string = StringPool().GetConstCString(cstr); in SetCString()
312 m_string = StringPool().GetConstCStringWithStringRef(s); in SetString()
317 m_string = StringPool().GetConstCStringAndSetMangledCounterPart( in SetStringWithMangledCounterpart()
322 counterpart.m_string = StringPool().GetMangledCounterpart(m_string); in GetMangledCounterpart()
327 m_string = StringPool().GetConstCStringWithLength(cstr, cstr_len); in SetCStringWithLength()
332 m_string = StringPool().GetConstTrimmedCStringWithLength(cstr, cstr_len); in SetTrimmedCStringWithLength()
336 return StringPool().GetMemoryStats(); in GetMemoryStats()