| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | IRSymtab.h | 148 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 D | wasm2yaml.cpp | 90 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 D | IRSymtab.cpp | 93 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 D | WasmObjectFile.cpp | 809 LinkingData.Comdats.emplace_back(Name); in parseLinkingSectionComdat()
|
| /llvm-project-15.0.7/llvm/test/Bitcode/ |
| H A D | weak-macho-3.5.ll | 4 ; The test checks that LLVM does not place weak GlobalVariables into Comdats for
|
| H A D | compatibility-3.6.ll | 19 ;; Comdats
|
| H A D | compatibility-3.7.ll | 19 ;; Comdats
|
| /llvm-project-15.0.7/llvm/lib/Target/DirectX/DXILWriter/ |
| H A D | DXILValueEnumerator.h | 69 ComdatSetType Comdats; variable 226 const ComdatSetType &getComdats() const { return Comdats; } in getComdats()
|
| H A D | DXILValueEnumerator.cpp | 508 unsigned ComdatID = Comdats.idFor(C); in getComdatID() 885 Comdats.insert(C); in EnumerateValue()
|
| /llvm-project-15.0.7/llvm/lib/Bitcode/Writer/ |
| H A D | ValueEnumerator.h | 66 ComdatSetType Comdats; variable 224 const ComdatSetType &getComdats() const { return Comdats; } in getComdats()
|
| H A D | ValueEnumerator.cpp | 473 unsigned ComdatID = Comdats.idFor(C); in getComdatID() 880 Comdats.insert(C); in EnumerateValue()
|
| /llvm-project-15.0.7/llvm/test/ThinLTO/X86/ |
| H A D | index-const-prop-comdat.ll | 6 ; Comdats are not internalized even if they are read only.
|
| /llvm-project-15.0.7/llvm/lib/MC/ |
| H A D | WasmObjectWriter.cpp | 349 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 D | SymbolRewriter.cpp | 99 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 D | comdat-sections.s | 35 # CHECK: Comdats:
|
| H A D | comdat-sections.ll | 10 ; OBJ: Comdats:
|
| H A D | comdat.ll | 111 ; CHECK-NEXT: Comdats:
|
| /llvm-project-15.0.7/llvm/lib/ObjectYAML/ |
| H A D | WasmEmitter.cpp | 254 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 D | WasmYAML.cpp | 77 IO.mapOptional("Comdats", Section.Comdats); in sectionMapping()
|
| /llvm-project-15.0.7/llvm/include/llvm/BinaryFormat/ |
| H A D | Wasm.h | 237 std::vector<StringRef> Comdats; member
|
| /llvm-project-15.0.7/lld/wasm/ |
| H A D | InputChunks.cpp | 62 return file->getWasmObj()->linkingData().Comdats[index]; in getComdatName()
|
| H A D | InputFiles.cpp | 430 ArrayRef<StringRef> comdats = wasmObj->linkingData().Comdats; in parse()
|
| /llvm-project-15.0.7/lld/test/wasm/ |
| H A D | relocatable.ll | 272 ; NORMAL-NEXT: Comdats:
|
| /llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/ |
| H A D | WasmYAML.h | 259 std::vector<Comdat> Comdats; member
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | AsmWriter.cpp | 2528 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()
|