| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/wasm/ |
| D | WasmObjcopy.cpp | 24 static bool isDebugSection(const Section &Sec) { in isDebugSection() 28 static bool isLinkerSection(const Section &Sec) { in isLinkerSection() 32 static bool isNameSection(const Section &Sec) { return Sec.Name == "name"; } in isNameSection() 36 static bool isCommentSection(const Section &Sec) { in isCommentSection() 42 for (const Section &Sec : Obj.Sections) { in dumpSectionToFile() local 65 RemovePred = [&Config](const Section &Sec) { in removeSections() 71 RemovePred = [RemovePred](const Section &Sec) { in removeSections() 77 RemovePred = [RemovePred](const Section &Sec) { in removeSections() 84 RemovePred = [&Config](const Section &Sec) { in removeSections() 92 RemovePred = [&Config](const Section &Sec) { in removeSections() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/ELF/ |
| D | ELFObjcopy.cpp | 54 static bool isDebugSection(const SectionBase &Sec) { in isDebugSection() 58 static bool isDWOSection(const SectionBase &Sec) { in isDWOSection() 62 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred() 100 static void setSectionFlagsAndType(SectionBase &Sec, SectionFlag Flags) { in setSectionFlagsAndType() 176 for (auto &Sec : Obj.sections()) { in dumpSectionToFile() local 198 static bool isCompressable(const SectionBase &Sec) { in isCompressable() 210 for (auto &Sec : Obj.sections()) in replaceDebugSections() local 374 RemovePred = [&Config](const SectionBase &Sec) { in replaceAndRemoveSections() 380 RemovePred = [RemovePred](const SectionBase &Sec) { in replaceAndRemoveSections() 385 RemovePred = [RemovePred, &Obj](const SectionBase &Sec) { in replaceAndRemoveSections() [all …]
|
| D | ELFObject.cpp | 67 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr() 101 Error ELFSectionSizer<ELFT>::visit(SymbolTableSection &Sec) { in visit() 110 Error ELFSectionSizer<ELFT>::visit(RelocationSection &Sec) { in visit() 123 template <class ELFT> Error ELFSectionSizer<ELFT>::visit(GroupSection &Sec) { in visit() 142 Error BinarySectionWriter::visit(const SectionIndexSection &Sec) { in visit() 148 Error BinarySectionWriter::visit(const SymbolTableSection &Sec) { in visit() 154 Error BinarySectionWriter::visit(const RelocationSection &Sec) { in visit() 160 Error BinarySectionWriter::visit(const GnuDebugLinkSection &Sec) { in visit() 165 Error BinarySectionWriter::visit(const GroupSection &Sec) { in visit() 170 Error SectionWriter::visit(const Section &Sec) { in visit() [all …]
|
| /external/llvm/include/llvm/Object/ |
| D | ELFObjectFile.h | 274 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 278 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() 317 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() 374 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags() 379 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType() 544 DataRefImpl Sec; in getSymbolSection() local 558 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext() 564 std::error_code ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec, in getSectionName() 574 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress() 579 uint64_t ELFObjectFile<ELFT>::getSectionSize(DataRefImpl Sec) const { in getSectionSize() [all …]
|
| D | ELF.h | 114 const Elf_Sym *symbol_begin(const Elf_Shdr *Sec) const { in symbol_begin() 121 const Elf_Sym *symbol_end(const Elf_Shdr *Sec) const { in symbol_end() 129 Elf_Sym_Range symbols(const Elf_Shdr *Sec) const { in symbols() 146 Elf_Rela_Range relas(const Elf_Shdr *Sec) const { in relas() 163 Elf_Rel_Range rels(const Elf_Shdr *Sec) const { in rels() 196 const Elf_Sym *getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol() 245 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr *Sec) const { in getSectionContentsAsArray() 260 ELFFile<ELFT>::getSectionContents(const Elf_Shdr *Sec) const { in getSectionContents() 399 ErrorOr<const Elf_Shdr *> Sec = getSection(Section); in getEntry() local 467 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec) const { in getStringTableForSymtab()
|
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
| D | ELFObjectFile.h | 242 SectionRef toSectionRef(const Elf_Shdr *Sec) const { in toSectionRef() 339 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 343 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() 409 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() 483 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags() 488 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType() 493 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset() 674 DataRefImpl Sec; in getSymbolSection() local 691 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext() 697 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName() [all …]
|
| D | ELF.h | 55 const typename ELFT::Shdr *Sec) { in getSecIndexForError() 170 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols() 176 Expected<Elf_Rela_Range> relas(const Elf_Shdr *Sec) const { in relas() 180 Expected<Elf_Rel_Range> rels(const Elf_Shdr *Sec) const { in rels() 184 Expected<Elf_Relr_Range> relrs(const Elf_Shdr *Sec) const { in relrs() 376 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol() 392 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr *Sec) const { in getSectionContentsAsArray() 427 ELFFile<ELFT>::getSectionContents(const Elf_Shdr *Sec) const { in getSectionContents() 660 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec) const { in getStringTableForSymtab() 669 ELFFile<ELFT>::getStringTableForSymtab(const Elf_Shdr &Sec, in getStringTableForSymtab()
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Object/ |
| D | ELFObjectFile.h | 349 const Elf_Shdr *toELFShdrIter(DataRefImpl Sec) const { in toELFShdrIter() 353 DataRefImpl toDRI(const Elf_Shdr *Sec) const { in toDRI() 428 const Elf_Shdr *getSection(DataRefImpl Sec) const { in getSection() 535 uint64_t ELFObjectFile<ELFT>::getSectionFlags(DataRefImpl Sec) const { in getSectionFlags() 540 uint32_t ELFObjectFile<ELFT>::getSectionType(DataRefImpl Sec) const { in getSectionType() 545 uint64_t ELFObjectFile<ELFT>::getSectionOffset(DataRefImpl Sec) const { in getSectionOffset() 808 DataRefImpl Sec; in getSymbolSection() local 827 void ELFObjectFile<ELFT>::moveSectionNext(DataRefImpl &Sec) const { in moveSectionNext() 833 Expected<StringRef> ELFObjectFile<ELFT>::getSectionName(DataRefImpl Sec) const { in getSectionName() 838 uint64_t ELFObjectFile<ELFT>::getSectionAddress(DataRefImpl Sec) const { in getSectionAddress() [all …]
|
| D | ELF.h | 129 const typename ELFT::Shdr &Sec) { in getSecIndexForError() 143 const typename ELFT::Shdr &Sec) { in describe() 260 Expected<Elf_Sym_Range> symbols(const Elf_Shdr *Sec) const { in symbols() 266 Expected<Elf_Rela_Range> relas(const Elf_Shdr &Sec) const { in relas() 270 Expected<Elf_Rel_Range> rels(const Elf_Shdr &Sec) const { in rels() 274 Expected<Elf_Relr_Range> relrs(const Elf_Shdr &Sec) const { in relrs() 472 ELFFile<ELFT>::getSymbol(const Elf_Shdr *Sec, uint32_t Index) const { in getSymbol() 488 ELFFile<ELFT>::getSectionContentsAsArray(const Elf_Shdr &Sec) const { in getSectionContentsAsArray() 544 ELFFile<ELFT>::getSectionContents(const Elf_Shdr &Sec) const { in getSectionContents() 906 ELFFile<ELFT>::getVersionDefinitions(const Elf_Shdr &Sec) const { in getVersionDefinitions() [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/XCOFF/ |
| D | XCOFFWriter.cpp | 28 for (const Section &Sec : Obj.Sections) { in finalizeSections() local 67 for (const Section &Sec : Obj.Sections) { in writeHeaders() local 75 for (const Section &Sec : Obj.Sections) { in writeSections() local 82 for (const Section &Sec : Obj.Sections) { in writeSections() local
|
| /external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/ |
| D | MCFragment.h | 105 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment() 121 MCSection *Sec) in MCEncodedFragment() 180 MCSection *Sec) in MCEncodedFragmentWithContents() 201 MCSection *Sec) in MCEncodedFragmentWithFixups() 247 : MCEncodedFragmentWithContents(FT_CompactEncodedInst, true, Sec) { in MCEncodedFragmentWithContents() argument 266 : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec), in MCEncodedFragmentWithFixups() argument 299 : MCFragment(FT_Align, false, Sec), Alignment(Alignment), EmitNops(false), in MCFragment() argument 331 : MCFragment(FT_Fill, false, Sec), ValueSize(VSize), Value(Value), in MCFragment() argument 358 : MCFragment(FT_Org, false, Sec), Value(Value), Offset(&Offset), in MCFragment() argument 383 : MCFragment(FT_LEB, false, Sec), IsSigned(IsSigned_), Value(&Value_) { in MCFragment() argument [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/COFF/ |
| D | COFFObjcopy.cpp | 30 static bool isDebugSection(const Section &Sec) { in isDebugSection() 65 Section Sec; in addSection() local 136 Obj.removeSections([&Config](const Section &Sec) { in handleArgs() 158 Obj.truncateSections([](const Section &Sec) { in handleArgs() 249 auto It = llvm::find_if(Obj.getMutableSections(), [&](auto &Sec) { in handleArgs()
|
| D | COFFObject.cpp | 56 for (const Section &Sec : Sections) { in markSymbols() local 91 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections() 96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections()
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/MC/ |
| D | MCFragment.h | 116 explicit MCDummyFragment(MCSection *Sec) : MCFragment(FT_Dummy, false, Sec) {} in MCDummyFragment() 132 MCSection *Sec) in MCEncodedFragment() 192 MCSection *Sec) in MCEncodedFragmentWithContents() 213 MCSection *Sec) in MCEncodedFragmentWithFixups() 259 : MCEncodedFragmentWithContents(FT_CompactEncodedInst, true, Sec) { in MCEncodedFragmentWithContents() argument 280 : MCEncodedFragmentWithFixups(FT_Relaxable, true, Sec), in MCEncodedFragmentWithFixups() argument 319 : MCFragment(FT_Align, false, Sec), Alignment(Alignment), EmitNops(false), in MCFragment() argument 356 : MCFragment(FT_Fill, false, Sec), ValueSize(VSize), Value(Value), in MCFragment() argument 385 : MCFragment(FT_Nops, false, Sec), Size(NumBytes), in MCFragment() argument 413 : MCFragment(FT_Org, false, Sec), Value(Value), Offset(&Offset), in MCFragment() argument [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ExecutionEngine/Orc/ |
| D | ObjectFileInterface.cpp | 80 for (auto &Sec : Obj.sections()) { in getMachOObjectFileSymbolInfo() local 139 for (auto &Sec : Obj.sections()) { in getELFObjectFileSymbolInfo() local 167 auto Sec = Obj.getSection(COFFSym.getSectionNumber()); in getCOFFObjectFileSymbolInfo() local 220 for (auto &Sec : Obj.sections()) { in getCOFFObjectFileSymbolInfo() local 296 for (auto &Sec : G.sections()) { in hasInitializerSection() local
|
| D | DebuggerSupportPlugin.cpp | 45 static bool isDebugSection(Section &Sec) { in isDebugSection() 67 for (auto &Sec : G.sections()) { in preserveDebugSections() local 129 Section *Sec = nullptr; in startSynthesis() member 139 for (auto &Sec : G.sections()) { in startSynthesis() local 267 typename MachOTraits::Section Sec; in startSynthesis() local 305 for (auto *Sec : NonDebugSections) { in completeSynthesisAndRegister() local 442 for (auto &Sec : LG.sections()) in modifyPassConfigForMachO() local
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/ |
| D | MipsOptionRecord.cpp | 36 MCSectionELF *Sec = in EmitMipsOptionRecord() local 55 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/Mips/MCTargetDesc/ |
| D | MipsOptionRecord.cpp | 36 MCSectionELF *Sec = in EmitMipsOptionRecord() local 55 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
|
| /external/llvm/lib/Target/Mips/MCTargetDesc/ |
| D | MipsOptionRecord.cpp | 31 MCSectionELF *Sec = in EmitMipsOptionRecord() local 50 MCSectionELF *Sec = Context.getELFSection(".reginfo", ELF::SHT_MIPS_REGINFO, in EmitMipsOptionRecord() local
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ObjCopy/MachO/ |
| D | MachOObjcopy.cpp | 61 RemovePred = [&Config, RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 68 RemovePred = [RemovePred](const std::unique_ptr<Section> &Sec) { in removeSections() 78 RemovePred = [&Config](const std::unique_ptr<Section> &Sec) { in removeSections() 281 for (const std::unique_ptr<Section> &Sec : LC.Sections) { in dumpSectionToFile() local 303 Section Sec(TargetSegName, Pair.second); in addSection() local 342 [SecName](const std::unique_ptr<Section> &Sec) { in findSection() 359 Section &Sec = *SecToUpdateOrErr; in updateSection() local
|
| D | MachOReader.cpp | 31 static Section constructSectionCommon(const SectionType &Sec, uint32_t Index) { in constructSectionCommon() 49 Section constructSection(const MachO::section &Sec, uint32_t Index) { in constructSection() 53 Section constructSection(const MachO::section_64 &Sec, uint32_t Index) { in constructSection() 69 SectionType Sec; in extractSections() local 350 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion() local
|
| /external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/DWP/ |
| D | DWPStringPool.h | 34 MCSection *Sec; variable 39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/ExecutionEngine/JITLink/ |
| D | DefineExternalSectionStartAndEndSymbols.h | 30 Section *Sec = nullptr; member 73 SectionRange &getSectionRange(Section &Sec) { in getSectionRange()
|
| /external/llvm/tools/llvm-dwp/ |
| D | DWPStringPool.h | 34 MCSection *Sec; variable 39 DWPStringPool(MCStreamer &Out, MCSection *Sec) : Out(Out), Sec(Sec) {} in DWPStringPool()
|
| /external/llvm/lib/Object/ |
| D | COFFObjectFile.cpp | 242 const coff_section *Sec = nullptr; in getSymbolSection() local 256 const coff_section *Sec = toSec(Ref); in moveSectionNext() local 263 const coff_section *Sec = toSec(Ref); in getSectionName() local 268 const coff_section *Sec = toSec(Ref); in getSectionAddress() local 283 const coff_section *Sec = toSec(Ref); in getSectionContents() local 291 const coff_section *Sec = toSec(Ref); in getSectionAlignment() local 300 const coff_section *Sec = toSec(Ref); in isSectionText() local 305 const coff_section *Sec = toSec(Ref); in isSectionData() local 310 const coff_section *Sec = toSec(Ref); in isSectionBSS() local 325 const coff_section *Sec = toSec(Ref); in isSectionVirtual() local [all …]
|