Home
last modified time | relevance | path

Searched refs:Rel (Results 1 - 25 of 36) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
H A DELFObjectFile.h66 virtual Expected<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
238 using Elf_Rel = typename ELFT::Rel;
294 void moveRelocationNext(DataRefImpl &Rel) const override;
295 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
296 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
297 uint64_t getRelocationType(DataRefImpl Rel) const override;
298 void getRelocationTypeName(DataRefImpl Rel,
306 /// Get the relocation section that contains \a Rel.
307 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection()
308 auto RelSecOrErr = EF.getSection(Rel in getRelSection()
912 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const getRelocationTypeName() argument
[all...]
H A DXCOFFObjectFile.h280 void moveRelocationNext(DataRefImpl &Rel) const override;
281 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
282 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
283 uint64_t getRelocationType(DataRefImpl Rel) const override;
284 void getRelocationTypeName(DataRefImpl Rel,
H A DMachO.h334 void moveRelocationNext(DataRefImpl &Rel) const override;
335 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
336 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
337 section_iterator getRelocationSection(DataRefImpl Rel) const;
338 uint64_t getRelocationType(DataRefImpl Rel) const override;
339 void getRelocationTypeName(DataRefImpl Rel,
341 uint8_t getRelocationLength(DataRefImpl Rel) const;
347 section_iterator getRelocationRelocatedSection(relocation_iterator Rel) const;
543 MachO::any_relocation_info getRelocation(DataRefImpl Rel) const;
544 MachO::data_in_code_entry getDice(DataRefImpl Rel) cons
[all...]
H A DObjectFile.h281 virtual void moveRelocationNext(DataRefImpl &Rel) const = 0;
282 virtual uint64_t getRelocationOffset(DataRefImpl Rel) const = 0;
283 virtual symbol_iterator getRelocationSymbol(DataRefImpl Rel) const = 0;
284 virtual uint64_t getRelocationType(DataRefImpl Rel) const = 0;
285 virtual void getRelocationTypeName(DataRefImpl Rel,
H A DWasm.h191 void moveRelocationNext(DataRefImpl &Rel) const override;
192 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
193 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
194 uint64_t getRelocationType(DataRefImpl Rel) const override;
195 void getRelocationTypeName(DataRefImpl Rel,
H A DCOFF.h795 const coff_relocation *toRel(DataRefImpl Rel) const;
918 void moveRelocationNext(DataRefImpl &Rel) const override;
919 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
920 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
921 uint64_t getRelocationType(DataRefImpl Rel) const override;
922 void getRelocationTypeName(DataRefImpl Rel,
H A DELF.h81 using Elf_Rel = typename ELFT::Rel;
148 Expected<const Elf_Sym *> getRelocationSymbol(const Elf_Rel *Rel,
474 ELFFile<ELFT>::getRelocationSymbol(const Elf_Rel *Rel, in getRelocationSymbol() argument
476 uint32_t Index = Rel->getSymbol(isMips64EL()); in getRelocationSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
H A DRelocationResolver.cpp303 uint32_t Rel = R.getType(); in resolveMips32() local
304 if (Rel == ELF::R_MIPS_32) in resolveMips32()
306 if (Rel == ELF::R_MIPS_TLS_DTPREL32) in resolveMips32()
322 uint32_t Rel = R.getType(); in resolveSparc32() local
323 if (Rel == ELF::R_SPARC_32 || Rel == ELF::R_SPARC_UA32) in resolveSparc32()
H A DXCOFFObjectFile.cpp326 void XCOFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
331 uint64_t XCOFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
337 symbol_iterator XCOFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
342 uint64_t XCOFFObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
349 DataRefImpl Rel, SmallVectorImpl<char> &Result) const { in getRelocationTypeName()
348 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const getRelocationTypeName() argument
H A DCOFFObjectFile.cpp1116 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const { in toRel()
1117 return reinterpret_cast<const coff_relocation*>(Rel.p); in toRel()
1120 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
1121 Rel.p = reinterpret_cast<uintptr_t>( in moveRelocationNext()
1122 reinterpret_cast<const coff_relocation*>(Rel.p) + 1); in moveRelocationNext()
1125 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
1126 const coff_relocation *R = toRel(Rel); in getRelocationOffset()
1130 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
1131 const coff_relocation *R = toRel(Rel); in getRelocationSymbol()
1144 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) cons
1277 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const getRelocationTypeName() argument
[all...]
H A DWasmObjectFile.cpp1475 void WasmObjectFile::moveRelocationNext(DataRefImpl &Rel) const { Rel.d.b++; } in moveRelocationNext()
1478 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset() local
1479 return Rel.Offset; in getRelocationOffset()
1483 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol() local
1484 if (Rel.Type == wasm::R_WASM_TYPE_INDEX_LEB) in getRelocationSymbol()
1488 Sym.d.b = Rel.Index; in getRelocationSymbol()
1493 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType() local
1494 return Rel.Type; in getRelocationType()
1499 const wasm::WasmRelocation &Rel in getRelocationTypeName() local
[all...]
H A DMachOObjectFile.cpp2115 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const { in moveRelocationNext()
2116 ++Rel.d.b; in moveRelocationNext()
2119 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const { in getRelocationOffset()
2123 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationOffset()
2128 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const { in getRelocationSymbol()
2129 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationSymbol()
2149 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const { in getRelocationSection()
2150 return section_iterator(getAnyRelocationSection(getRelocation(Rel))); in getRelocationSection()
2153 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const { in getRelocationType()
2154 MachO::any_relocation_info RE = getRelocation(Rel); in getRelocationType()
2158 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const getRelocationTypeName() argument
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
H A DCOFFYAML.cpp410 COFFYAML::Relocation &Rel) { in mapping()
411 IO.mapRequired("VirtualAddress", Rel.VirtualAddress); in mapping()
412 IO.mapOptional("SymbolName", Rel.SymbolName, StringRef()); in mapping()
413 IO.mapOptional("SymbolTableIndex", Rel.SymbolTableIndex); in mapping()
418 IO, Rel.Type); in mapping()
422 IO, Rel.Type); in mapping()
426 IO, Rel.Type); in mapping()
430 IO, Rel.Type); in mapping()
433 IO.mapRequired("Type", Rel.Type); in mapping()
409 mapping(IO &IO, COFFYAML::Relocation &Rel) mapping() argument
H A DELFEmitter.cpp109 typedef typename ELFT::Rel Elf_Rel;
811 for (const auto &Rel : Section.Relocations) { in writeSectionContent()
812 unsigned SymIdx = Rel.Symbol ? toSymbolIndex(*Rel.Symbol, Section.Name, in writeSectionContent()
818 REntry.r_offset = Rel.Offset; in writeSectionContent()
819 REntry.r_addend = Rel.Addend; in writeSectionContent()
820 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc)); in writeSectionContent()
825 REntry.r_offset = Rel.Offset; in writeSectionContent()
826 REntry.setSymbolAndType(SymIdx, Rel.Type, isMips64EL(Doc)); in writeSectionContent()
H A DELFYAML.cpp1506 ELFYAML::DynamicEntry &Rel) { in mapping()
1509 IO.mapRequired("Tag", Rel.Tag); in mapping()
1510 IO.mapRequired("Value", Rel.Val); in mapping()
1552 ELFYAML::Relocation &Rel) { in mapping()
1556 IO.mapRequired("Offset", Rel.Offset); in mapping()
1557 IO.mapOptional("Symbol", Rel.Symbol); in mapping()
1562 IO, Rel.Type); in mapping()
1568 IO.mapRequired("Type", Rel.Type); in mapping()
1570 IO.mapOptional("Addend", Rel.Addend, (int64_t)0); in mapping()
1505 mapping(IO &IO, ELFYAML::DynamicEntry &Rel) mapping() argument
1551 mapping(IO &IO, ELFYAML::Relocation &Rel) mapping() argument
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
H A DIceELFSection.h381 Elf32_Rel Rel; in writeData() local
382 Rel.r_offset = Fixup.position(); in writeData()
383 Rel.setSymbolAndType(Symbol->getNumber(), Fixup.kind()); in writeData()
384 Str.writeAddrOrOffset<IsELF64>(Rel.r_offset); in writeData()
385 Str.writeELFWord<IsELF64>(Rel.r_info); in writeData()
/third_party/elfutils/libelf/
H A Dabstract.h137 START (32, Rel, Ext##Rel) \
140 END (32, Ext##Rel)
142 START (64, Rel, Ext##Rel) \
145 END (64, Ext##Rel)
H A Dgelf_xlate.h45 TYPE (Rel, LIBELFBITS)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DMachObjectWriter.cpp627 for (RelAndSymbol &Rel : Relocations[&Section]) { in computeSymbolTable()
628 if (!Rel.Sym) in computeSymbolTable()
632 unsigned Index = Rel.Sym->getIndex(); in computeSymbolTable()
635 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & (~0U << 24)) | Index | (1 << 27); in computeSymbolTable()
637 Rel.MRE.r_word1 = (Rel.MRE.r_word1 & 0xff) | Index << 8 | (1 << 4); in computeSymbolTable()
968 for (const RelAndSymbol &Rel : make_range(Relocs.rbegin(), Relocs.rend())) { in writeObject()
969 W.write<uint32_t>(Rel.MRE.r_word0); in writeObject()
970 W.write<uint32_t>(Rel in writeObject()
[all...]
H A DWasmObjectWriter.cpp179 raw_ostream &operator<<(raw_ostream &OS, const WasmRelocationEntry &Rel) { in operator <<() argument
180 Rel.print(OS); in operator <<()
1484 auto HandleReloc = [&](const WasmRelocationEntry &Rel) { in writeObject()
1488 if (Rel.Type != wasm::R_WASM_TABLE_INDEX_I32 && in writeObject()
1489 Rel.Type != wasm::R_WASM_TABLE_INDEX_SLEB) in writeObject()
1491 assert(Rel.Symbol->isFunction()); in writeObject()
1492 const MCSymbolWasm &WS = *resolveSymbol(*Rel.Symbol); in writeObject()
/third_party/skia/third_party/externals/swiftshader/tests/regres/cov/
H A Dimport.go79 rel, err := filepath.Rel(e.RootDir, path)
180 relpath, err := filepath.Rel(e.RootDir, f.Name)
227 relpath, err := filepath.Rel(e.RootDir, path)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.h93 RelocationValueRef &Rel);
96 RelocationValueRef &Rel);
H A DRuntimeDyldELF.cpp563 RelocationValueRef &Rel) { in findPPC64TOCSection()
569 Rel.SymbolName = nullptr; in findPPC64TOCSection()
570 Rel.SectionID = 0; in findPPC64TOCSection()
586 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection()
595 Rel.Addend = 0x8000; in findPPC64TOCSection()
604 RelocationValueRef &Rel) { in findOPDEntrySection()
657 if (Rel.Addend != (int64_t)TargetSymbolOffset) in findOPDEntrySection()
670 Rel.SectionID = *SectionIDOrErr; in findOPDEntrySection()
673 Rel.Addend = (intptr_t)Addend; in findOPDEntrySection()
561 findPPC64TOCSection(const ELFObjectFileBase &Obj, ObjSectionToIDMap &LocalSections, RelocationValueRef &Rel) findPPC64TOCSection() argument
602 findOPDEntrySection(const ELFObjectFileBase &Obj, ObjSectionToIDMap &LocalSections, RelocationValueRef &Rel) findOPDEntrySection() argument
/third_party/skia/third_party/externals/tint/tools/src/glob/
H A Dglob.go35 rel, err := filepath.Rel(root, path)
191 relPath, err := filepath.Rel(root, absPath)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h653 static void mapping(IO &IO, ELFYAML::StackSizeEntry &Rel);
657 static void mapping(IO &IO, ELFYAML::GnuHashHeader &Rel);
661 static void mapping(IO &IO, ELFYAML::DynamicEntry &Rel);
689 static void mapping(IO &IO, ELFYAML::Relocation &Rel);

Completed in 40 milliseconds

12