Home
last modified time | relevance | path

Searched refs:CustomSection (Results 1 – 12 of 12) sorted by relevance

/external/llvm-project/llvm/include/llvm/ObjectYAML/
DWasmYAML.h188 struct CustomSection : Section { struct
189 explicit CustomSection(StringRef Name) in CustomSection() function
200 struct DylinkSection : CustomSection { argument
201 DylinkSection() : CustomSection("dylink") {} in DylinkSection()
204 auto C = dyn_cast<CustomSection>(S); in classof()
215 struct NameSection : CustomSection {
216 NameSection() : CustomSection("name") {} in NameSection()
219 auto C = dyn_cast<CustomSection>(S); in classof()
227 struct LinkingSection : CustomSection {
228 LinkingSection() : CustomSection("linking") {} in LinkingSection()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h185 struct CustomSection : Section { struct
186 explicit CustomSection(StringRef Name) in CustomSection() function
197 struct DylinkSection : CustomSection { argument
198 DylinkSection() : CustomSection("dylink") {} in DylinkSection()
201 auto C = dyn_cast<CustomSection>(S); in classof()
212 struct NameSection : CustomSection {
213 NameSection() : CustomSection("name") {} in NameSection()
216 auto C = dyn_cast<CustomSection>(S); in classof()
223 struct LinkingSection : CustomSection {
224 LinkingSection() : CustomSection("linking") {} in LinkingSection()
[all …]
/external/llvm-project/lld/wasm/
DOutputSections.cpp235 void CustomSection::finalizeContents() { in finalizeContents()
250 void CustomSection::writeTo(uint8_t *buf) { in writeTo()
268 uint32_t CustomSection::getNumRelocations() const { in getNumRelocations()
275 void CustomSection::writeRelocations(raw_ostream &os) const { in writeRelocations()
DOutputSections.h112 class CustomSection : public OutputSection {
114 CustomSection(std::string name, ArrayRef<InputSection *> inputSections) in CustomSection() function
DWriter.cpp148 OutputSection *sec = make<CustomSection>(std::string(name), pair.second); in createCustomSections()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DWasmEmitter.cpp38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
306 WasmYAML::CustomSection &Section) { in writeSectionContent()
518 auto *CustomSection = cast<WasmYAML::CustomSection>(&Sec); in writeRelocSection() local
519 writeStringRef(("reloc." + CustomSection->Name).str(), OS); in writeRelocSection()
553 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) in writeWasm()
562 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) in writeWasm()
DWasmYAML.cpp90 static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { in sectionMapping()
173 auto CustomSection = cast<WasmYAML::CustomSection>(Section.get()); in mapping() local
174 SectionName = CustomSection->Name; in mapping()
200 Section.reset(new WasmYAML::CustomSection(SectionName)); in mapping()
201 sectionMapping(IO, *cast<WasmYAML::CustomSection>(Section.get())); in mapping()
/external/llvm-project/llvm/lib/ObjectYAML/
DWasmEmitter.cpp38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section);
321 WasmYAML::CustomSection &Section) { in writeSectionContent()
540 auto *CustomSection = cast<WasmYAML::CustomSection>(&Sec); in writeRelocSection() local
541 writeStringRef(("reloc." + CustomSection->Name).str(), OS); in writeRelocSection()
579 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) in writeWasm()
588 if (auto S = dyn_cast<WasmYAML::CustomSection>(Sec.get())) in writeWasm()
DWasmYAML.cpp91 static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { in sectionMapping()
174 auto CustomSection = cast<WasmYAML::CustomSection>(Section.get()); in mapping() local
175 SectionName = CustomSection->Name; in mapping()
201 Section.reset(new WasmYAML::CustomSection(SectionName)); in mapping()
202 sectionMapping(IO, *cast<WasmYAML::CustomSection>(Section.get())); in mapping()
/external/llvm-project/llvm/tools/obj2yaml/
Dwasm2yaml.cpp28 std::unique_ptr<WasmYAML::CustomSection>
51 std::unique_ptr<WasmYAML::CustomSection>
53 std::unique_ptr<WasmYAML::CustomSection> CustomSec; in dumpCustomSection()
183 CustomSec = std::make_unique<WasmYAML::CustomSection>(WasmSec.Name); in dumpCustomSection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DWasmObjectWriter.cpp329 void writeCustomSection(WasmCustomSection &CustomSection,
1013 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection, in writeCustomSection() argument
1017 auto *Sec = CustomSection.Section; in writeCustomSection()
1018 startCustomSection(Section, CustomSection.Name); in writeCustomSection()
1023 CustomSection.OutputContentsOffset = Section.ContentsOffset; in writeCustomSection()
1024 CustomSection.OutputIndex = Section.Index; in writeCustomSection()
1029 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSection()
1030 applyRelocations(Relocations, CustomSection.OutputContentsOffset); in writeCustomSection()
1590 for (auto &CustomSection : CustomSections) in writeObject() local
1591 writeCustomSection(CustomSection, Asm, Layout); in writeObject()
/external/llvm-project/llvm/lib/MC/
DWasmObjectWriter.cpp328 void writeCustomSection(WasmCustomSection &CustomSection,
1120 void WasmObjectWriter::writeCustomSection(WasmCustomSection &CustomSection, in writeCustomSection() argument
1124 auto *Sec = CustomSection.Section; in writeCustomSection()
1125 startCustomSection(Section, CustomSection.Name); in writeCustomSection()
1130 CustomSection.OutputContentsOffset = Section.ContentsOffset; in writeCustomSection()
1131 CustomSection.OutputIndex = Section.Index; in writeCustomSection()
1136 auto &Relocations = CustomSectionsRelocations[CustomSection.Section]; in writeCustomSection()
1137 applyRelocations(Relocations, CustomSection.OutputContentsOffset, Layout); in writeCustomSection()
1821 for (auto &CustomSection : CustomSections) in writeOneObject() local
1822 writeCustomSection(CustomSection, Asm, Layout); in writeOneObject()