Home
last modified time | relevance | path

Searched refs:StringEntry (Results 1 – 22 of 22) sorted by relevance

/freebsd-src/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DStringPool.h23 using StringEntry = StringMapEntry<std::nullopt_t>; variable
38 static inline StringRef getKey(const StringEntry &KeyData) { in getKey()
43 static inline StringEntry *
46 return StringEntry::create(Key, Allocator); in create()
51 : public ConcurrentHashTableByPtr<StringRef, StringEntry,
56 : ConcurrentHashTableByPtr<StringRef, StringEntry, in StringPool()
61 : ConcurrentHashTableByPtr<StringRef, StringEntry, in StringPool()
/freebsd-src/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerTypeUnit.h70 uint64_t getDebugStrIndex(const StringEntry *String) override { in getDebugStrIndex()
92 uint32_t addFileNameIntoLinetable(StringEntry *Dir, StringEntry *FileName);
99 bool operator()(const StringEntry *LHS, const StringEntry *RHS) const { in operator()
104 bool operator()(const std::pair<StringEntry *, uint64_t> &LHS, in operator()
105 const std::pair<StringEntry *, uint64_t> &RHS) const { in operator()
119 using DirectoriesMapTy = std::map<StringEntry *, size_t, CmpStringEntryRef>;
120 using FilenamesMapTy = std::map<std::pair<StringEntry *, uint64_t>, size_t,
H A DAcceleratorRecordsSaver.h49 void saveNameRecord(StringEntry *Name, DIE *OutDIE, dwarf::Tag Tag,
51 void saveNamespaceRecord(StringEntry *Name, DIE *OutDIE, dwarf::Tag Tag,
53 void saveObjCNameRecord(StringEntry *Name, DIE *OutDIE, dwarf::Tag Tag);
54 void saveTypeRecord(StringEntry *Name, DIE *OutDIE, dwarf::Tag Tag,
H A DOutputSections.h47 const StringEntry *String = nullptr;
52 const StringEntry *String = nullptr;
115 StringEntry *String);
119 StringEntry *String = nullptr;
124 StringEntry *String);
128 StringEntry *String = nullptr;
132 DebugTypeDeclFilePatch(DIE *Die, TypeEntry *TypeName, StringEntry *Directory,
133 StringEntry *FilePath);
137 StringEntry *Directory = nullptr;
138 StringEntry *FilePat
[all...]
H A DAcceleratorRecordsSaver.cpp167 StringEntry *NameWithoutTemplateParams = in save()
189 StringEntry *Selector = in saveObjC()
192 StringEntry *ClassName = in saveObjC()
196 StringEntry *ClassNameNoCategory = in saveObjC()
201 StringEntry *MethodNameNoCategory = in saveObjC()
207 void AcceleratorRecordsSaver::saveNameRecord(StringEntry *Name, DIE *OutDIE, in saveNameRecord()
220 void AcceleratorRecordsSaver::saveNamespaceRecord(StringEntry *Name, in saveNamespaceRecord()
248 void AcceleratorRecordsSaver::saveObjCNameRecord(StringEntry *Name, DIE *OutDIE, in saveObjCNameRecord()
261 void AcceleratorRecordsSaver::saveTypeRecord(StringEntry *Name, DIE *OutDIE, in saveTypeRecord()
H A DStringEntryToDwarfStringPoolEntryMap.h20 /// This class creates a DwarfStringPoolEntry for the corresponding StringEntry.
27 /// Create DwarfStringPoolEntry for specified StringEntry if necessary.
29 DwarfStringPoolEntryWithExtString *add(const StringEntry *String) { in add()
48 /// StringEntry.
50 getExistingEntry(const StringEntry *String) const { in getExistingEntry()
64 DenseMap<const StringEntry *, DwarfStringPoolEntryWithExtString *>;
H A DDWARFLinkerUnit.h129 StringEntry *String = nullptr;
160 virtual uint64_t getDebugStrIndex(const StringEntry *String) {
209 IndexedValuesMap<const StringEntry *> DebugStringIndexMap; in isODRLanguage()
H A DDIEAttributeCloner.h26 StringEntry *Name = nullptr;
29 StringEntry *MangledName = nullptr;
H A DOutputSections.cpp45 TypeEntry *TypeName, StringEntry *String) in DebugTypeStrPatch()
51 StringEntry *String) in DebugTypeLineStrPatch()
56 StringEntry *Directory, in DebugTypeDeclFilePatch()
57 StringEntry *FilePath) in DebugTypeDeclFilePatch()
H A DDWARFLinkerCompileUnit.h108 StringEntry *getFileName(unsigned FileIdx, StringPool &GlobalStrings);
685 using ResolvedPathsMap = DenseMap<unsigned, StringEntry *>;
687 StringMap<StringEntry *> ResolvedParentPaths;
H A DDWARFLinkerTypeUnit.cpp265 uint32_t TypeUnit::addFileNameIntoLinetable(StringEntry *Dir, in addFileNameIntoLinetable()
266 StringEntry *FileName) { in addFileNameIntoLinetable()
H A DDWARFLinkerUnit.cpp151 for (const StringEntry *String : DebugStringIndexMap.getValues()) { in emitDebugStringOffsetSection()
H A DDWARFLinkerImpl.h297 function_ref<void(StringDestinationKind, const StringEntry *)>
H A DDWARFLinkerImpl.cpp962 const StringEntry *String) { in assignOffsetsToStrings()
998 function_ref<void(StringDestinationKind Kind, const StringEntry *String)>
1172 [&](StringDestinationKind Kind, const StringEntry *String) { in emitStringSections()
H A DDIEAttributeCloner.cpp191 StringEntry *StringInPool = in cloneStringAttr()
H A DDWARFLinkerCompileUnit.cpp188 StringEntry *CompileUnit::getFileName(unsigned FileIdx, in getFileName()
211 StringMap<StringEntry *>::iterator ParentIt = in getFileName()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DOffloadYAML.h27 struct StringEntry { struct
36 std::optional<std::vector<StringEntry>> StringEntries;
51 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::OffloadYAML::Binary::StringEntry) in LLVM_YAML_IS_SEQUENCE_VECTOR() argument
68 template <> struct MappingTraits<OffloadYAML::Binary::StringEntry> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
69 static void mapping(IO &IO, OffloadYAML::Binary::StringEntry &M); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Object/
H A DOffloadBinary.h125 struct StringEntry { struct
135 const StringEntry *StringMapBegin = in OffloadBinary() argument
136 reinterpret_cast<const StringEntry *>(&Buffer[TheEntry->StringOffset]); in OffloadBinary()
/freebsd-src/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DOffloadYAML.cpp59 void MappingTraits<OffloadYAML::Binary::StringEntry>::mapping( in mapping()
60 IO &IO, OffloadYAML::Binary::StringEntry &SE) { in mapping()
/freebsd-src/contrib/llvm-project/llvm/lib/Object/
H A DOffloadBinary.cpp220 sizeof(StringEntry) * OffloadingData.StringData.size(); in write()
255 StringEntry Map{Offset + StrTab.getOffset(KeyAndValue.first), in write()
257 OS << StringRef(reinterpret_cast<char *>(&Map), sizeof(StringEntry)); in write()
/freebsd-src/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinker.cpp1042 DwarfStringPoolEntryRef StringEntry; in cloneStringAttribute()
1044 StringEntry = DebugLineStrPool.getEntry(*String); in cloneStringAttribute()
1046 StringEntry = DebugStrPool.getEntry(*String); in cloneStringAttribute()
1052 StringEntry = DebugStrPool.getEntry(*FileName); in cloneStringAttribute()
1058 Info.Name = StringEntry; in cloneStringAttribute()
1061 Info.MangledName = StringEntry; in cloneStringAttribute()
1065 StringOffsetPool.getValueIndex(StringEntry.getOffset()); in cloneStringAttribute()
1075 DIEInteger(StringEntry.getOffset())); in cloneDieReferenceAttribute()
1799 auto StringEntry = DebugStrPool.getEntry(LibraryInstallName.value()); in cloneDIE()
1801 dwarf::DW_FORM_strp, DIEInteger(StringEntry in cloneDIE()
1031 DwarfStringPoolEntryRef StringEntry; cloneStringAttribute() local
1782 auto StringEntry = DebugStrPool.getEntry(LibraryInstallName.value()); cloneDIE() local
[all...]
/freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp274 using StringEntry = std::tuple<uint32_t, std::string, LVScopeCompileUnit *>; typedef in llvm::logicalview::__anon3e5074260211::LVStringRecords
275 using StringIds = std::map<TypeIndex, StringEntry>;