Home
last modified time | relevance | path

Searched refs:StringPool (Results 1 – 18 of 18) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/IndexSerialization/
H A DSerializablePathCollection.h27 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()
73 StringPool::StringOffsetSize addDirPath(StringRef Dir);
80 StringPool Paths;
94 const StringPool::StringOffsetSize WorkDirPath;
95 const StringPool::StringOffsetSize SysRootPath;
96 const StringPool::StringOffsetSize OutputFilePath;
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/orc/tests/unit/
H A Dstring_pool_test.cpp16 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-14.2/contrib/llvm-project/compiler-rt/lib/orc/
H A Dstring_pool.h30 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-14.2/contrib/llvm-project/lldb/source/Utility/
H A DConstString.cpp62 typedef llvm::StringMap<StringPoolValueType, Allocator> StringPool; typedef in Pool
132 StringPool &map = m_string_pools[h].m_string_map; in GetConstCStringAndSetMangledCounterPart()
181 StringPool m_string_map;
195 static Pool &StringPool() { in StringPool() function
206 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString()
212 : m_string(StringPool().GetConstCStringWithStringRef(s)) {} in ConstString()
302 m_string = StringPool().GetConstCString(cstr); in SetCString()
306 m_string = StringPool().GetConstCStringWithStringRef(s); in SetString()
311 m_string = StringPool().GetConstCStringAndSetMangledCounterPart( in SetStringWithMangledCounterpart()
321 m_string = StringPool().GetConstCStringWithLength(cstr, cstr_len); in SetCStringWithLength()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/IndexSerialization/
H A DSerializablePathCollection.cpp16 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-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DStringPool.h50 class StringPool
55 StringPool() in StringPool() function
60 StringPool(size_t InitialSize) in StringPool() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DWARFLinker/Classic/
H A DDWARFLinkerDeclContext.h39 NonRelocatableStringpool &StringPool) { in resolve() argument
55 return StringPool.internString(ResolvedPath); in resolve()
163 NonRelocatableStringpool StringPool; variable
H A DDWARFStreamer.h216 OffsetsStringPool &StringPool) override;
228 OffsetsStringPool &StringPool, uint64_t &OutOffset);
H A DDWARFLinker.h161 OffsetsStringPool &StringPool) = 0;
704 OffsetsStringPool &StringPool, bool StripTemplate = false);
713 OffsetsStringPool &StringPool, bool SkipPubSection);
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinkerDeclContext.cpp91 NameRef = StringPool.internString(LinkageName); in getChildDeclContext()
93 NameRef = StringPool.internString(ShortName); in getChildDeclContext()
211 StringRef ResolvedPath = PathResolver.resolve(FileName, StringPool); in getResolvedPath()
H A DDWARFStreamer.cpp1269 OffsetsStringPool &StringPool) { in emitMacroTables() argument
1275 emitMacroTableImpl(Table, UnitMacroMap, StringPool, MacInfoSectionSize); in emitMacroTables()
1281 emitMacroTableImpl(Table, UnitMacroMap, StringPool, MacroSectionSize); in emitMacroTables()
1287 OffsetsStringPool &StringPool, in emitMacroTableImpl() argument
1454 StringPool.getEntry(MacroEntry.MacroStr); in emitMacroTableImpl()
H A DDWARFLinker.cpp146 OffsetsStringPool &StringPool, in getDIENames() argument
156 Info.MangledName = StringPool.getEntry(MangledName); in getDIENames()
160 Info.Name = StringPool.getEntry(Name); in getDIENames()
168 Info.NameWithoutTemplate = StringPool.getEntry(*StrippedName); in getDIENames()
1609 OffsetsStringPool &StringPool, in addObjCAccelerator() argument
1615 Unit.addNameAccelerator(Die, StringPool.getEntry(Names->Selector), in addObjCAccelerator()
1617 Unit.addObjCAccelerator(Die, StringPool.getEntry(Names->ClassName), in addObjCAccelerator()
1621 Die, StringPool.getEntry(*Names->ClassNameNoCategory), SkipPubSection); in addObjCAccelerator()
1624 Die, StringPool.getEntry(*Names->MethodNameNoCategory), SkipPubSection); in addObjCAccelerator()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerGlobalData.h96 StringPool &getStringPool() { return Strings; } in getStringPool()
163 StringPool Strings;
H A DDWARFLinkerCompileUnit.h108 StringEntry *getFileName(unsigned FileIdx, StringPool &GlobalStrings);
H A DDWARFLinkerCompileUnit.cpp189 StringPool &GlobalStrings) { in getFileName()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVSupport.cpp25 LVStringPool StringPool; variable
27 LVStringPool &llvm::logicalview::getStringPool() { return StringPool; } in getStringPool()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DSanitizerBinaryMetadata.cpp184 UniqueStringSaver StringPool{Alloc}; member in __anon758ec0060111::SanitizerBinaryMetadata
457 return StringPool.save(SectionSuffix + "!C"); in getSectionName()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp827 llvm::StringSaver StringPool(Alloc); in RoundTrip() local
828 auto SA = [&StringPool](const Twine &Arg) { in RoundTrip()
829 return StringPool.save(Arg).data(); in RoundTrip()