| /freebsd-src/contrib/llvm-project/clang/include/clang/IndexSerialization/ |
| H A D | SerializablePathCollection.h | 27 class StringPool { 54 StringPool::StringOffsetSize Path; 56 DirPath(RootDirKind Root, const StringPool::StringOffsetSize &Path) in DirPath() 62 StringPool::StringOffsetSize Filename; 64 FilePath(const DirPath &Dir, const StringPool::StringOffsetSize &Filename) in FilePath() 69 size_t addFilePath(RootDirKind Root, const StringPool::StringOffsetSize &Dir, 73 StringPool::StringOffsetSize addDirPath(StringRef Dir); 80 StringPool Paths; 94 const StringPool::StringOffsetSize WorkDirPath; 95 const StringPool::StringOffsetSize SysRootPath; [all …]
|
| /freebsd-src/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-src/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-src/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)); 201 static Pool &StringPool() { in StringPool() 212 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString() 215 : m_string(StringPool().GetConstCStringWithLength(cstr, cstr_len)) {} in operator <() 218 : m_string(StringPool() in operator <() 195 static Pool &StringPool() { StringPool() function [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/IndexSerialization/ |
| H A D | SerializablePathCollection.cpp | 16 StringPool::StringOffsetSize StringPool::add(StringRef Str) { in add() 19 return StringPool::StringOffsetSize(Offset, Str.size()); in add() 23 const StringPool::StringOffsetSize &Dir, in addFilePath() 29 StringPool::StringOffsetSize PathPool::addDirPath(StringRef Dir) { in addDirPath()
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/DWARFLinker/ |
| H A D | StringPool.h | 50 class StringPool 55 StringPool() in StringPool() function 60 StringPool(size_t InitialSize) in StringPool() function
|
| /freebsd-src/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 | 213 OffsetsStringPool &StringPool) override; 225 OffsetsStringPool &StringPool, uint64_t &OutOffset);
|
| H A D | DWARFLinker.h | 161 OffsetsStringPool &StringPool) = 0; 704 OffsetsStringPool &StringPool, bool StripTemplate = false); 713 OffsetsStringPool &StringPool, bool SkipPubSection);
|
| /freebsd-src/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
| H A D | DWARFLinkerDeclContext.cpp | 91 NameRef = StringPool.internString(LinkageName); in getChildDeclContext() 93 NameRef = StringPool.internString(ShortName); in getChildDeclContext() 211 StringRef ResolvedPath = PathResolver.resolve(FileName, StringPool); in getResolvedPath()
|
| H A D | DWARFStreamer.cpp | 1278 OffsetsStringPool &StringPool) { in emitMacroTables() 1284 emitMacroTableImpl(Table, UnitMacroMap, StringPool, MacInfoSectionSize); 1290 emitMacroTableImpl(Table, UnitMacroMap, StringPool, MacroSectionSize); in emitMacroTableImpl() 1296 OffsetsStringPool &StringPool, in emitMacroTableImpl() 1463 StringPool.getEntry(MacroEntry.MacroStr); in emitMacroTableImpl() 1269 emitMacroTables(DWARFContext * Context,const Offset2UnitMap & UnitMacroMap,OffsetsStringPool & StringPool) emitMacroTables() argument 1287 emitMacroTableImpl(const DWARFDebugMacro * MacroTable,const Offset2UnitMap & UnitMacroMap,OffsetsStringPool & StringPool,uint64_t & OutOffset) emitMacroTableImpl() argument
|
| H A D | DWARFLinker.cpp | 155 OffsetsStringPool &StringPool, in getDIENames() 165 Info.MangledName = StringPool.getEntry(MangledName); in getDIENames() 169 Info.Name = StringPool.getEntry(Name); in getDIENames() 177 Info.NameWithoutTemplate = StringPool.getEntry(*StrippedName); in resolveRelativeObjectPath() 1626 OffsetsStringPool &StringPool, 1632 Unit.addNameAccelerator(Die, StringPool.getEntry(Names->Selector), in shouldSkipAttribute() 1634 Unit.addObjCAccelerator(Die, StringPool.getEntry(Names->ClassName), in shouldSkipAttribute() 1638 Die, StringPool.getEntry(*Names->ClassNameNoCategory), SkipPubSection); in shouldSkipAttribute() 1641 Die, StringPool.getEntry(*Names->MethodNameNoCategory), SkipPubSection); in shouldSkipAttribute() 146 getDIENames(const DWARFDie & Die,AttributesInfo & Info,OffsetsStringPool & StringPool,bool StripTemplate) getDIENames() argument 1609 addObjCAccelerator(CompileUnit & Unit,const DIE * Die,DwarfStringPoolEntryRef Name,OffsetsStringPool & StringPool,bool SkipPubSection) addObjCAccelerator() argument
|
| /freebsd-src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
| H A D | DWARFLinkerGlobalData.h | 14 #include "llvm/DWARFLinker/StringPool.h" 95 StringPool &getStringPool() { return Strings; } 149 StringPool Strings; in setTargetTriple()
|
| H A D | DWARFLinkerCompileUnit.h | 108 StringEntry *getFileName(unsigned FileIdx, StringPool &GlobalStrings);
|
| H A D | DWARFLinkerCompileUnit.cpp | 189 StringPool &GlobalStrings) { in getFileName()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVSupport.cpp | 25 LVStringPool StringPool; variable 27 LVStringPool &llvm::logicalview::getStringPool() { return StringPool; } in getStringPool()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | SanitizerBinaryMetadata.cpp | 186 UniqueStringSaver StringPool{Alloc}; 465 return StringPool.save(SectionSuffix + VersionStr + "!C"); in getSectionEnd() 472 // StringPool to store the new string. in SanitizerBinaryMetadataPass() 473 return StringPool.save("__start_" + SectionSuffix + VersionStr); 477 return StringPool.save("__stop_" + SectionSuffix + VersionStr); in run() 184 UniqueStringSaver StringPool{Alloc}; global() member in __anon6407de220111::SanitizerBinaryMetadata
|
| /freebsd-src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 851 llvm::StringSaver StringPool(Alloc); in RoundTrip() 852 auto SA = [&StringPool](const Twine &Arg) { in RoundTrip() 853 return StringPool.save(Arg).data(); in RoundTrip() 827 llvm::StringSaver StringPool(Alloc); RoundTrip() local
|