Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
70 size_t addFilePath(RootDirKind Root, const StringPool::StringOffsetSize &Dir,
74 StringPool::StringOffsetSize addDirPath(StringRef Dir);
81 StringPool Paths;
95 const StringPool::StringOffsetSize WorkDirPath;
96 const StringPool::StringOffsetSize SysRootPath;
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp171 OffsetsStringPool &StringPool, in getDIENames() argument
181 Info.MangledName = StringPool.getEntry(MangledName); in getDIENames()
185 Info.Name = StringPool.getEntry(Name); in getDIENames()
193 Info.NameWithoutTemplate = StringPool.getEntry(*StrippedName); in getDIENames()
847 const DWARFUnit &U, OffsetsStringPool &StringPool, AttributesInfo &Info) { in cloneStringAttribute() argument
853 auto StringEntry = StringPool.getEntry(*String); in cloneStringAttribute()
1206 CompileUnit &Unit, OffsetsStringPool &StringPool, const DWARFFormValue &Val, in cloneAttribute() argument
1219 return cloneStringAttribute(Die, AttrSpec, Val, U, StringPool, Info); in cloneAttribute()
1266 OffsetsStringPool &StringPool, in addObjCAccelerator() argument
1281 Unit.addNameAccelerator(Die, StringPool.getEntry(Selector), SkipPubSection); in addObjCAccelerator()
[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()
/netbsd-src/external/apache2/llvm/dist/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);
/netbsd-src/external/apache2/llvm/dist/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.cpp81 D->StringPool = new cxstring::CXStringPool(); in MakeCXTranslationUnit()
4205 delete CTUnit->StringPool; in clang_disposeTranslationUnit()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()