Home
last modified time | relevance | path

Searched refs:Comdats (Results 1 – 25 of 32) sorted by relevance

12

/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DIRSymtab.h148 Range<Comdat> Comdats; member
240 ArrayRef<storage::Comdat> Comdats; variable
261 Comdats = range(header().Comdats); in Reader()
290 ComdatTable.reserve(Comdats.size()); in getComdatTable()
291 for (auto C : Comdats) in getComdatTable()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp90 ArrayRef<StringRef> Comdats = Obj.linkingData().Comdats; in dumpCustomSection() local
91 for (StringRef ComdatName : Comdats) in dumpCustomSection()
92 LinkingSec->Comdats.emplace_back(WasmYAML::Comdat{ComdatName, {}}); in dumpCustomSection()
95 LinkingSec->Comdats[Func.Comdat].Entries.emplace_back( in dumpCustomSection()
111 LinkingSec->Comdats[Segment.Data.Comdat].Entries.emplace_back( in dumpCustomSection()
120 LinkingSec->Comdats[WasmSec.Comdat].Entries.emplace_back( in dumpCustomSection()
/llvm-project-15.0.7/llvm/lib/Object/
H A DIRSymtab.cpp93 std::vector<storage::Comdat> Comdats; member
189 auto P = ComdatMap.insert(std::make_pair(C, Comdats.size())); in getComdatIndex()
212 Comdats.push_back(Comdat); in getComdatIndex()
355 writeRange(Hdr.Comdats, Comdats); in build()
H A DWasmObjectFile.cpp809 LinkingData.Comdats.emplace_back(Name); in parseLinkingSectionComdat()
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dweak-macho-3.5.ll4 ; The test checks that LLVM does not place weak GlobalVariables into Comdats for
H A Dcompatibility-3.6.ll19 ;; Comdats
H A Dcompatibility-3.7.ll19 ;; Comdats
/llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILValueEnumerator.h69 ComdatSetType Comdats; variable
226 const ComdatSetType &getComdats() const { return Comdats; } in getComdats()
H A DDXILValueEnumerator.cpp508 unsigned ComdatID = Comdats.idFor(C); in getComdatID()
885 Comdats.insert(C); in EnumerateValue()
/llvm-project-15.0.7/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.h66 ComdatSetType Comdats; variable
224 const ComdatSetType &getComdats() const { return Comdats; } in getComdats()
H A DValueEnumerator.cpp473 unsigned ComdatID = Comdats.idFor(C); in getComdatID()
880 Comdats.insert(C); in EnumerateValue()
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dindex-const-prop-comdat.ll6 ; Comdats are not internalized even if they are read only.
/llvm-project-15.0.7/llvm/lib/MC/
H A DWasmObjectWriter.cpp349 const std::map<StringRef, std::vector<WasmComdatEntry>> &Comdats);
1160 const std::map<StringRef, std::vector<WasmComdatEntry>> &Comdats) { in writeLinkingMetaDataSection() argument
1224 if (Comdats.size()) { in writeLinkingMetaDataSection()
1226 encodeULEB128(Comdats.size(), W->OS); in writeLinkingMetaDataSection()
1227 for (const auto &C : Comdats) { in writeLinkingMetaDataSection()
1474 std::map<StringRef, std::vector<WasmComdatEntry>> Comdats; in writeOneObject() local
1520 Comdats[C->getName()].emplace_back( in writeOneObject()
1555 Comdats[C->getName()].emplace_back( in writeOneObject()
1609 Comdats[C->getName()].emplace_back( in writeOneObject()
1947 for (auto &Group : Comdats) { in writeOneObject()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSymbolRewriter.cpp99 auto &Comdats = M.getComdatSymbolTable(); in rewriteComdat() local
105 Comdats.erase(Comdats.find(Source)); in rewriteComdat()
/llvm-project-15.0.7/llvm/test/MC/WebAssembly/
H A Dcomdat-sections.s35 # CHECK: Comdats:
H A Dcomdat-sections.ll10 ; OBJ: Comdats:
H A Dcomdat.ll111 ; CHECK-NEXT: Comdats:
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp254 if (Section.Comdats.size()) { in writeSectionContent()
256 encodeULEB128(Section.Comdats.size(), SubSection.getStream()); in writeSectionContent()
257 for (const auto &C : Section.Comdats) { in writeSectionContent()
H A DWasmYAML.cpp77 IO.mapOptional("Comdats", Section.Comdats); in sectionMapping()
/llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/
H A DWasm.h237 std::vector<StringRef> Comdats; member
/llvm-project-15.0.7/lld/wasm/
H A DInputChunks.cpp62 return file->getWasmObj()->linkingData().Comdats[index]; in getComdatName()
H A DInputFiles.cpp430 ArrayRef<StringRef> comdats = wasmObj->linkingData().Comdats; in parse()
/llvm-project-15.0.7/lld/test/wasm/
H A Drelocatable.ll272 ; NORMAL-NEXT: Comdats:
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h259 std::vector<Comdat> Comdats; member
/llvm-project-15.0.7/llvm/lib/IR/
H A DAsmWriter.cpp2528 SetVector<const Comdat *> Comdats; member in __anon7e5391880911::AssemblyWriter
2635 Comdats.insert(C); in AssemblyWriter()
2798 if (!Comdats.empty()) in printModule()
2800 for (const Comdat *C : Comdats) { in printModule()
2802 if (C != Comdats.back()) in printModule()

12