| /openbsd-src/gnu/llvm/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 …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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 {
|
| /openbsd-src/gnu/llvm/lldb/source/Utility/ |
| H A D | ConstString.cpp | 62 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() 209 : m_string(StringPool().GetConstCStringWithLength(cstr, cstr_len)) {} in ConstString() 212 : m_string(StringPool().GetConstCStringWithStringRef(s)) {} in ConstString() 302 m_string = StringPool().GetConstCString(cstr); in SetCString() 306 m_string = StringPool().GetConstCStringWithLength(s.data(), s.size()); in SetString() 311 m_string = StringPool().GetConstCStringAndSetMangledCounterPart( in SetStringWithMangledCounterpart() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVSupport.cpp | 25 LVStringPool StringPool; variable 27 LVStringPool &llvm::logicalview::getStringPool() { return StringPool; } in getStringPool()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DWARFLinker/ |
| H A D | DWARFLinker.h | 185 OffsetsStringPool &StringPool) = 0; 429 OffsetsStringPool &StringPool); 610 CompileUnit &U, OffsetsStringPool &StringPool, 619 OffsetsStringPool &StringPool, 665 OffsetsStringPool &StringPool, 675 OffsetsStringPool &StringPool, 722 OffsetsStringPool &StringPool, bool StripTemplate = false); 731 OffsetsStringPool &StringPool, bool SkipPubSection);
|
| H A D | DWARFLinkerDeclContext.h | 37 NonRelocatableStringpool &StringPool) { in resolve() argument 53 return StringPool.internString(ResolvedPath); in resolve() 161 NonRelocatableStringpool StringPool; variable
|
| H A D | DWARFStreamer.h | 176 OffsetsStringPool &StringPool) override; 191 OffsetsStringPool &StringPool, uint64_t &OutOffset);
|
| /openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinker.cpp | 174 OffsetsStringPool &StringPool, in getDIENames() argument 184 Info.MangledName = StringPool.getEntry(MangledName); in getDIENames() 188 Info.Name = StringPool.getEntry(Name); in getDIENames() 196 Info.NameWithoutTemplate = StringPool.getEntry(*StrippedName); in getDIENames() 941 const DWARFUnit &, OffsetsStringPool &StringPool, AttributesInfo &Info) { in cloneStringAttribute() argument 947 auto StringEntry = StringPool.getEntry(*String); in cloneStringAttribute() 1323 CompileUnit &Unit, OffsetsStringPool &StringPool, const DWARFFormValue &Val, in cloneAttribute() argument 1336 return cloneStringAttribute(Die, AttrSpec, Val, U, StringPool, Info); in cloneAttribute() 1383 OffsetsStringPool &StringPool, in addObjCAccelerator() argument 1398 Unit.addNameAccelerator(Die, StringPool.getEntry(Selector), SkipPubSection); in addObjCAccelerator() [all …]
|
| H A D | DWARFLinkerDeclContext.cpp | 88 NameRef = StringPool.internString(LinkageName); in getChildDeclContext() 90 NameRef = StringPool.internString(ShortName); in getChildDeclContext() 208 StringRef ResolvedPath = PathResolver.resolve(FileName, StringPool); in getResolvedPath()
|
| H A D | DWARFStreamer.cpp | 790 OffsetsStringPool &StringPool) { in emitMacroTables() argument 796 emitMacroTableImpl(Table, UnitMacroMap, StringPool, MacInfoSectionSize); in emitMacroTables() 802 emitMacroTableImpl(Table, UnitMacroMap, StringPool, MacroSectionSize); in emitMacroTables() 808 OffsetsStringPool &StringPool, in emitMacroTableImpl() argument 975 StringPool.getEntry(MacroEntry.MacroStr); in emitMacroTableImpl()
|
| /openbsd-src/gnu/llvm/clang/tools/libclang/ |
| H A D | CXString.cpp | 154 return TU->StringPool->getCXStringBuf(TU); in getCXStringBuf() 158 TU->StringPool->Pool.push_back(this); in dispose()
|
| H A D | CXTranslationUnit.h | 31 clang::cxstring::CXStringPool *StringPool; member
|
| H A D | CIndex.cpp | 82 D->StringPool = new cxstring::CXStringPool(); in MakeCXTranslationUnit() 4431 delete CTUnit->StringPool; in clang_disposeTranslationUnit()
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | CompilerInvocation.cpp | 714 llvm::StringSaver StringPool(Alloc); in RoundTrip() local 715 auto SA = [&StringPool](const Twine &Arg) { in RoundTrip() 716 return StringPool.save(Arg).data(); in RoundTrip()
|