| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/ |
| H A D | string_pool_test.cpp | 16 TEST(StringPool, UniquingAndComparisons) { in TEST() argument 17 StringPool SP; in TEST() 35 TEST(StringPool, Dereference) { in TEST() argument 36 StringPool SP; in TEST() 41 TEST(StringPool, ClearDeadEntries) { in TEST() argument 42 StringPool SP; in TEST() 52 TEST(StringPool, NullPtr) { in TEST() argument 58 TEST(StringPool, Hashable) { in TEST() argument 59 StringPool SP; in TEST()
|
| /freebsd/contrib/llvm-project/lldb/source/Utility/ |
| H A D | ConstString.cpp | 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() [all …]
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/orc/ |
| H A D | string_pool.h | 30 class StringPool { 35 ~StringPool(); 56 friend class StringPool; variable 119 using PoolEntry = StringPool::PoolMapEntry; 122 PooledStringPtr(StringPool::PoolMapEntry *S) : S(S) { 130 inline StringPool::~StringPool() { 137 inline PooledStringPtr StringPool::intern(std::string S) { 145 inline void StringPool::clearDeadEntries() { 154 inline bool StringPool::empty() const {
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinkerParallel/ |
| H A D | StringPool.h | |
| H A D | StringTable.h | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.h | |
| H A D | DWARFLinker.h | |
| H A D | DWARFStreamer.h | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/ |
| H A D | DWARFLinkerDeclContext.h | 39 NonRelocatableStringpool &StringPool) { in resolve() argument 55 return StringPool.internString(ResolvedPath); in resolve() 163 NonRelocatableStringpool StringPool; variable
|
| H A D | DWARFStreamer.h | 217 OffsetsStringPool &StringPool) override; 229 OffsetsStringPool &StringPool, uint64_t &OutOffset);
|
| H A D | DWARFLinker.h | 165 OffsetsStringPool &StringPool) = 0; 711 OffsetsStringPool &StringPool, bool StripTemplate = false); 720 OffsetsStringPool &StringPool, bool SkipPubSection);
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinkerDeclContext.cpp | |
| H A D | DWARFLinker.cpp | |
| H A D | DWARFStreamer.cpp | |
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DWARFLinkerGlobalData.h | 95 StringPool &getStringPool() { return Strings; } in getStringPool() 149 StringPool Strings;
|
| H A D | DWARFLinkerCompileUnit.h | 108 StringEntry *getFileName(unsigned FileIdx, StringPool &GlobalStrings);
|
| H A D | DWARFLinkerCompileUnit.cpp | 186 StringPool &GlobalStrings) { in getFileName()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerBinaryMetadata.cpp | 184 UniqueStringSaver StringPool{Alloc}; member in __anon0ee657d00111::SanitizerBinaryMetadata 466 return StringPool.save(SectionSuffix + VersionStr + "!C"); in getSectionName() 474 return StringPool.save("__start_" + SectionSuffix + VersionStr); in getSectionStart() 478 return StringPool.save("__stop_" + SectionSuffix + VersionStr); in getSectionEnd()
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVSupport.cpp | 23 LVStringPool StringPool; variable 25 LVStringPool &llvm::logicalview::getStringPool() { return StringPool; } in getStringPool()
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/ |
| H A D | DWARFEmitterImpl.h | |
| H A D | DWARFLinkerImpl.h | |
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
| H A D | DWARFStreamer.cpp | 1283 OffsetsStringPool &StringPool) { in emitMacroTables() argument 1289 emitMacroTableImpl(Table, UnitMacroMap, StringPool, MacInfoSectionSize); in emitMacroTables() 1295 emitMacroTableImpl(Table, UnitMacroMap, StringPool, MacroSectionSize); in emitMacroTables() 1301 OffsetsStringPool &StringPool, in emitMacroTableImpl() argument 1468 StringPool.getEntry(MacroEntry.MacroStr); in emitMacroTableImpl()
|
| H A D | DWARFLinker.cpp | 155 OffsetsStringPool &StringPool, in getDIENames() argument 165 Info.MangledName = StringPool.getEntry(MangledName); in getDIENames() 169 Info.Name = StringPool.getEntry(Name); in getDIENames() 177 Info.NameWithoutTemplate = StringPool.getEntry(*StrippedName); in getDIENames() 1644 OffsetsStringPool &StringPool, in addObjCAccelerator() argument 1650 Unit.addNameAccelerator(Die, StringPool.getEntry(Names->Selector), in addObjCAccelerator() 1652 Unit.addObjCAccelerator(Die, StringPool.getEntry(Names->ClassName), in addObjCAccelerator() 1656 Die, StringPool.getEntry(*Names->ClassNameNoCategory), SkipPubSection); in addObjCAccelerator() 1659 Die, StringPool.getEntry(*Names->MethodNameNoCategory), SkipPubSection); in addObjCAccelerator()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 855 llvm::StringSaver StringPool(Alloc); in RoundTrip() local 856 auto SA = [&StringPool](const Twine &Arg) { in RoundTrip() 857 return StringPool.save(Arg).data(); in RoundTrip()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/ |
| H A D | DemangleTestCases.inc | 24254 {"_ZN4llvm10StringPoolC1Ev", "llvm::StringPool::StringPool()"}, 24255 {"_ZN4llvm10StringPoolC2Ev", "llvm::StringPool::StringPool()"}, 24256 {"_ZN4llvm10StringPoolD1Ev", "llvm::StringPool::~StringPool()"}, 24257 {"_ZN4llvm10StringPoolD2Ev", "llvm::StringPool::~StringPool()"}, 24258 {"_ZN4llvm10StringPool6internENS_9StringRefE", "llvm::StringPool::intern(llvm::StringRef)"},
|