Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/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 …]
/freebsd-13.1/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()
182 StringPool m_string_map;
196 static Pool &StringPool() { in StringPool() function
207 : m_string(StringPool().GetConstCString(cstr)) {} in ConstString()
213 : m_string(StringPool().GetConstCStringWithStringRef(s)) {} in ConstString()
303 m_string = StringPool().GetConstCString(cstr); in SetCString()
312 m_string = StringPool().GetConstCStringAndSetMangledCounterPart( in SetStringWithMangledCounterpart()
317 counterpart.m_string = StringPool().GetMangledCounterpart(m_string); in GetMangledCounterpart()
322 m_string = StringPool().GetConstCStringWithLength(cstr, cstr_len); in SetCStringWithLength()
[all …]
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp181 Info.MangledName = StringPool.getEntry(MangledName); in getDIENames()
185 Info.Name = StringPool.getEntry(Name); in getDIENames()
193 Info.NameWithoutTemplate = StringPool.getEntry(*StrippedName); in getDIENames()
853 auto StringEntry = StringPool.getEntry(*String); in cloneStringAttribute()
1452 getDIENames(InputDIE, AttrInfo, StringPool, in cloneDIE()
1465 addObjCAccelerator(Unit, Die, AttrInfo.Name, StringPool, in cloneDIE()
2050 const DWARFFile &File, OffsetsStringPool &StringPool, in loadClangModule() argument
2135 OffsetsStringPool &StringPool, bool IsLittleEndian) { in cloneAllCompileUnits() argument
2245 Producer = StringPool.internString("dsymutil"); in emitPaperTrailWarnings()
2250 Producer = StringPool.internString("dwarfopt"); in emitPaperTrailWarnings()
[all …]
H A DDWARFLinkerDeclContext.cpp87 NameRef = StringPool.internString(LinkageName); in getChildDeclContext()
89 NameRef = StringPool.internString(ShortName); in getChildDeclContext()
207 StringRef ResolvedPath = PathResolver.resolve(FileName, StringPool); in getResolvedPath()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFLinkerDeclContext.h36 NonRelocatableStringpool &StringPool) { in resolve() argument
52 return StringPool.internString(ResolvedPath); in resolve()
155 NonRelocatableStringpool StringPool; variable
H A DDWARFLinker.h418 OffsetsStringPool &StringPool);
568 CompileUnit &U, OffsetsStringPool &StringPool,
577 OffsetsStringPool &StringPool,
623 OffsetsStringPool &StringPool,
633 OffsetsStringPool &StringPool,
680 OffsetsStringPool &StringPool, bool StripTemplate = false);
692 OffsetsStringPool &StringPool, bool SkipPubSection);
/freebsd-13.1/contrib/llvm-project/llvm/lib/TableGen/
H A DRecord.cpp528 static StringMap<StringInit*, BumpPtrAllocator &> StringPool(Allocator); in get() local
532 auto &Entry = *StringPool.insert(std::make_pair(V, nullptr)).first; in get()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp682 llvm::StringSaver StringPool(Alloc); in RoundTrip() local
683 auto SA = [&StringPool](const Twine &Arg) { in RoundTrip()
684 return StringPool.save(Arg).data(); in RoundTrip()