Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h42 const RelocAddrMap& Relocs; variable
45 const RelocAddrMap &Relocs) in DWARFAcceleratorTable() argument
46 : AccelSection(AccelSection), StringSection(StringSection), Relocs(Relocs) {} in DWARFAcceleratorTable()
DDWARFSection.h20 RelocAddrMap Relocs; member
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp63 std::vector<ELFRelocationEntry> &Relocs) override;
199 static void dumpRelocs(const char *Prefix, const Container &Relocs) { in dumpRelocs() argument
200 for (const auto &R : Relocs) in dumpRelocs()
409 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
410 if (Relocs.size() < 2) in sortRelocs()
414 std::sort(Relocs.begin(), Relocs.end(), in sortRelocs()
422 DEBUG(dumpRelocs("R: ", Relocs)); in sortRelocs()
427 copy_if_else(Relocs.begin(), Relocs.end(), std::back_inserter(Remainder), in sortRelocs()
470 assert(Relocs.size() == Sorted.size() && "Some relocs were not consumed"); in sortRelocs()
476 Relocs[CopyTo++] = R.R; in sortRelocs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsELFObjectWriter.cpp68 std::vector<ELFRelocationEntry> &Relocs) override;
207 static void dumpRelocs(const char *Prefix, const Container &Relocs) { in dumpRelocs() argument
208 for (const auto &R : Relocs) in dumpRelocs()
445 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
452 if (Relocs.size() < 2) in sortRelocs()
456 llvm::sort(Relocs.begin(), Relocs.end(), in sortRelocs()
464 LLVM_DEBUG(dumpRelocs("R: ", Relocs)); in sortRelocs()
469 copy_if_else(Relocs.begin(), Relocs.end(), std::back_inserter(Remainder), in sortRelocs()
512 assert(Relocs.size() == Sorted.size() && "Some relocs were not consumed"); in sortRelocs()
518 Relocs[CopyTo++] = R.R; in sortRelocs()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp72 DWARFAcceleratorTable Accel(AccelSection, StrData, Section.Relocs); in dumpAccelSection()
165 LineTable.parse(lineData, &getLineSection().Relocs, &stmtOffset); in dump()
324 Loc.reset(new DWARFDebugLoc(getLocSection().Relocs)); in getDebugLoc()
394 Line.reset(new DWARFDebugLine(&getLineSection().Relocs)); in getLineTableForUnit()
764 .Case("debug_info", &InfoSection.Relocs) in DWARFContextInMemory()
765 .Case("debug_loc", &LocSection.Relocs) in DWARFContextInMemory()
766 .Case("debug_info.dwo", &InfoDWOSection.Relocs) in DWARFContextInMemory()
767 .Case("debug_line", &LineSection.Relocs) in DWARFContextInMemory()
768 .Case("apple_names", &AppleNamesSection.Relocs) in DWARFContextInMemory()
769 .Case("apple_types", &AppleTypesSection.Relocs) in DWARFContextInMemory()
[all …]
DDWARFAcceleratorTable.cpp107 RelocAddrMap::const_iterator Reloc = Relocs.find(DataOffset-4); in dump()
108 if (Reloc != Relocs.end()) in dump()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DELF.cpp297 std::vector<Elf_Rela> Relocs; in decode_relrs() local
315 Relocs.push_back(Rela); in decode_relrs()
327 Relocs.push_back(Rela); in decode_relrs()
336 return Relocs; in decode_relrs()
371 std::vector<Elf_Rela> Relocs; in android_relas() local
372 Relocs.reserve(NumRelocs); in android_relas()
410 Relocs.push_back(R); in android_relas()
420 return Relocs; in android_relas()
/external/swiftshader/third_party/LLVM/tools/llvm-objdump/
DMachODump.cpp418 std::vector<std::pair<uint64_t, uint32_t> > Relocs; in DisassembleInputMachO() local
422 Relocs.push_back(std::make_pair(RE->Word0, RE->Word1 & 0xffffff)); in DisassembleInputMachO()
424 array_pod_sort(Relocs.begin(), Relocs.end()); in DisassembleInputMachO()
577 for (unsigned j = 0; j != Relocs.size(); ++j) in DisassembleInputMachO()
578 if (Relocs[j].first >= Sections[SectIdx].Address + Inst.Address && in DisassembleInputMachO()
579 Relocs[j].first < Sections[SectIdx].Address + Inst.Address + in DisassembleInputMachO()
583 UnsortedSymbols[Relocs[j].second].StringIndex) in DisassembleInputMachO()
585 DumpAddress(UnsortedSymbols[Relocs[j].second].Value, Sections, in DisassembleInputMachO()
/external/swiftshader/third_party/LLVM/lib/MC/
DMachObjectWriter.cpp690 std::vector<macho::RelocationEntry> &Relocs = Relocations[it]; in WriteObject() local
691 unsigned NumRelocs = Relocs.size(); in WriteObject()
749 std::vector<macho::RelocationEntry> &Relocs = Relocations[it]; in WriteObject() local
750 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in WriteObject()
751 Write32(Relocs[e - i - 1].Word0); in WriteObject()
752 Write32(Relocs[e - i - 1].Word1); in WriteObject()
DELFObjectWriter.cpp747 std::vector<ELFRelocationEntry> &Relocs = Relocations[SD]; in WriteRelocationsFragment() local
749 array_pod_sort(Relocs.begin(), Relocs.end()); in WriteRelocationsFragment()
751 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in WriteRelocationsFragment()
752 ELFRelocationEntry entry = Relocs[e - i - 1]; in WriteRelocationsFragment()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp891 void RuntimeDyldImpl::resolveRelocationList(const RelocationList &Relocs, in resolveRelocationList() argument
893 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in resolveRelocationList()
894 const RelocationEntry &RE = Relocs[i]; in resolveRelocationList()
911 RelocationList &Relocs = i->second; in resolveExternalSymbols() local
912 resolveRelocationList(Relocs, 0); in resolveExternalSymbols()
951 RelocationList &Relocs = i->second; in resolveExternalSymbols() local
952 resolveRelocationList(Relocs, Addr); in resolveExternalSymbols()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCELFObjectTargetWriter.cpp27 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
DMachObjectWriter.cpp836 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() local
837 unsigned NumRelocs = Relocs.size(); in writeObject()
941 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() local
942 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) { in writeObject()
DELFObjectWriter.cpp897 std::vector<ELFRelocationEntry> &Relocs = OWriter.Relocations[&Sec]; in writeRelocations() local
903 std::reverse(Relocs.begin(), Relocs.end()); in writeRelocations()
906 OWriter.TargetObjectWriter->sortRelocs(Asm, Relocs); in writeRelocations()
908 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in writeRelocations()
909 const ELFRelocationEntry &Entry = Relocs[e - i - 1]; in writeRelocations()
/external/llvm/lib/MC/
DMCELFObjectTargetWriter.cpp34 std::vector<ELFRelocationEntry> &Relocs) { in sortRelocs() argument
DMachObjectWriter.cpp804 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() local
805 unsigned NumRelocs = Relocs.size(); in writeObject()
912 std::vector<RelAndSymbol> &Relocs = Relocations[&Sec]; in writeObject() local
913 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) { in writeObject()
DELFObjectWriter.cpp1084 std::vector<ELFRelocationEntry> &Relocs = Relocations[&Sec]; in writeRelocations() local
1090 std::reverse(Relocs.begin(), Relocs.end()); in writeRelocations()
1093 TargetObjectWriter->sortRelocs(Asm, Relocs); in writeRelocations()
1095 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in writeRelocations()
1096 const ELFRelocationEntry &Entry = Relocs[e - i - 1]; in writeRelocations()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyld.cpp984 void RuntimeDyldImpl::resolveRelocationList(const RelocationList &Relocs, in resolveRelocationList() argument
986 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in resolveRelocationList()
987 const RelocationEntry &RE = Relocs[i]; in resolveRelocationList()
1040 RelocationList &Relocs = i->second; in resolveExternalSymbols() local
1041 resolveRelocationList(Relocs, 0); in resolveExternalSymbols()
1085 RelocationList &Relocs = i->second; in resolveExternalSymbols() local
1086 resolveRelocationList(Relocs, Addr); in resolveExternalSymbols()
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp251 SmallVectorImpl<const GCRelocateInst *> &Relocs, in removeDuplicateGCPtrs() argument
266 NewRelocs.push_back(Relocs[i]); in removeDuplicateGCPtrs()
275 assert(Relocs.size() >= NewRelocs.size()); in removeDuplicateGCPtrs()
278 Relocs = NewRelocs; in removeDuplicateGCPtrs()
280 assert(Ptrs.size() == Relocs.size()); in removeDuplicateGCPtrs()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp279 SmallVectorImpl<const GCRelocateInst *> &Relocs, in removeDuplicateGCPtrs() argument
294 NewRelocs.push_back(Relocs[i]); in removeDuplicateGCPtrs()
303 assert(Relocs.size() >= NewRelocs.size()); in removeDuplicateGCPtrs()
306 Relocs = NewRelocs; in removeDuplicateGCPtrs()
308 assert(Ptrs.size() == Relocs.size()); in removeDuplicateGCPtrs()
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp496 RelocationList &Relocs = Relocations[Name]; in reassignSymbolAddress() local
497 for (unsigned i = 0, e = Relocs.size(); i != e; ++i) { in reassignSymbolAddress()
498 RelocationEntry &RE = Relocs[i]; in reassignSymbolAddress()
/external/llvm/include/llvm/MC/
DMCELFObjectWriter.h88 std::vector<ELFRelocationEntry> &Relocs);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
DMCELFObjectWriter.h91 std::vector<ELFRelocationEntry> &Relocs);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFContext.cpp1206 RelocAddrMap Relocs; member
1427 RelocAddrMap *Map = Sec ? &Sec->Relocs : nullptr; in DWARFObjInMemory()
1434 .Relocs; in DWARFObjInMemory()
1438 .Relocs; in DWARFObjInMemory()
1487 RelocAddrMap::const_iterator AI = Sec.Relocs.find(Pos); in find()
1488 if (AI == Sec.Relocs.end()) in find()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp493 static const std::map<unsigned,unsigned> Relocs = { in getFixupNoBits() local
507 auto F = Relocs.find(VarKind); in getFixupNoBits()
508 if (F != Relocs.end()) in getFixupNoBits()

12