Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/include/clang/IndexSerialization/
H A DSerializablePathCollection.h28 class StringPool {
55 StringPool::StringOffsetSize Path;
57 DirPath(RootDirKind Root, const StringPool::StringOffsetSize &Path) in DirPath()
63 StringPool::StringOffsetSize Filename;
65 FilePath(const DirPath &Dir, const StringPool::StringOffsetSize &Filename) in FilePath()
74 StringPool::StringOffsetSize addDirPath(StringRef Dir);
81 StringPool Paths;
95 const StringPool::StringOffsetSize WorkDirPath;
96 const StringPool::StringOffsetSize SysRootPath;
97 const StringPool::StringOffsetSize OutputFilePath;
[all …]
/llvm-project-15.0.7/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()
311 m_string = StringPool().GetConstCStringAndSetMangledCounterPart( in SetStringWithMangledCounterpart()
316 counterpart.m_string = StringPool().GetMangledCounterpart(m_string); in GetMangledCounterpart()
321 m_string = StringPool().GetConstCStringWithLength(cstr, cstr_len); in SetCStringWithLength()
[all …]
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp183 Info.MangledName = StringPool.getEntry(MangledName); in getDIENames()
187 Info.Name = StringPool.getEntry(Name); in getDIENames()
195 Info.NameWithoutTemplate = StringPool.getEntry(*StrippedName); in getDIENames()
890 auto StringEntry = StringPool.getEntry(*String); in cloneStringAttribute()
1493 getDIENames(InputDIE, AttrInfo, StringPool, in cloneDIE()
1506 addObjCAccelerator(Unit, Die, AttrInfo.Name, StringPool, in cloneDIE()
2081 const DWARFFile &File, OffsetsStringPool &StringPool, in loadClangModule() argument
2165 OffsetsStringPool &StringPool, bool IsLittleEndian) { in cloneAllCompileUnits() argument
2275 Producer = StringPool.internString("dsymutil"); in emitPaperTrailWarnings()
2280 Producer = StringPool.internString("dwarfopt"); in emitPaperTrailWarnings()
[all …]
H A DDWARFLinkerDeclContext.cpp88 NameRef = StringPool.internString(LinkageName); in getChildDeclContext()
90 NameRef = StringPool.internString(ShortName); in getChildDeclContext()
208 StringRef ResolvedPath = PathResolver.resolve(FileName, StringPool); in getResolvedPath()
/llvm-project-15.0.7/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h37 NonRelocatableStringpool &StringPool) { in resolve() argument
53 return StringPool.internString(ResolvedPath); in resolve()
161 NonRelocatableStringpool StringPool; variable
H A DDWARFLinker.h409 OffsetsStringPool &StringPool);
563 CompileUnit &U, OffsetsStringPool &StringPool,
572 OffsetsStringPool &StringPool,
618 OffsetsStringPool &StringPool,
628 OffsetsStringPool &StringPool,
675 OffsetsStringPool &StringPool, bool StripTemplate = false);
684 OffsetsStringPool &StringPool, bool SkipPubSection);
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXString.cpp145 return TU->StringPool->getCXStringBuf(TU); in getCXStringBuf()
149 TU->StringPool->Pool.push_back(this); in dispose()
H A DCXTranslationUnit.h31 clang::cxstring::CXStringPool *StringPool; member
H A DCIndex.cpp82 D->StringPool = new cxstring::CXStringPool(); in MakeCXTranslationUnit()
4401 delete CTUnit->StringPool; in clang_disposeTranslationUnit()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDwarfGenerator.h256 std::unique_ptr<DwarfStringPool> StringPool; // Entries owned by Allocator. variable
313 DwarfStringPool &getStringPool() { return *StringPool; } in getStringPool()
H A DDwarfGenerator.cpp401 StringPool(nullptr), Abbreviations(Allocator), in Generator()
495 StringPool = std::make_unique<DwarfStringPool>(Allocator, *Asm, StringRef()); in init()
519 StringPool->emitStringOffsetsTableHeader(*Asm, TLOF->getDwarfStrOffSection(), in generate()
521 StringPool->emit(*Asm, TLOF->getDwarfStrSection(), in generate()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DCompilerInvocation.cpp710 llvm::StringSaver StringPool(Alloc); in RoundTrip() local
711 auto SA = [&StringPool](const Twine &Arg) { in RoundTrip()
712 return StringPool.save(Arg).data(); in RoundTrip()