Searched defs:Rel (Results 1 - 18 of 18) sorted by relevance

/external/llvm/lib/ObjectYAML/
H A DELFYAML.cpp799 ELFYAML::Relocation &Rel) {
803 IO.mapRequired("Offset", Rel.Offset);
804 IO.mapRequired("Symbol", Rel.Symbol);
809 IO, Rel.Type);
815 IO.mapRequired("Type", Rel.Type);
817 IO.mapOptional("Addend", Rel.Addend, (int64_t)0);
798 mapping(IO &IO, ELFYAML::Relocation &Rel) argument
H A DCOFFYAML.cpp343 COFFYAML::Relocation &Rel) {
344 IO.mapRequired("VirtualAddress", Rel.VirtualAddress);
345 IO.mapRequired("SymbolName", Rel.SymbolName);
350 IO, Rel.Type);
354 IO, Rel.Type);
357 IO.mapRequired("Type", Rel.Type);
342 mapping(IO &IO, COFFYAML::Relocation &Rel) argument
/external/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp122 COFFYAML::Relocation Rel; local
132 Rel.SymbolName = *SymbolNameOrErr;
133 Rel.VirtualAddress = reloc->VirtualAddress;
134 Rel.Type = reloc->Type;
135 Relocations.push_back(Rel);
H A Delf2yaml.cpp37 std::error_code dumpRelocation(const RelT *Rel, const Elf_Shdr *SymTab,
204 std::error_code ELFDumper<ELFT>::dumpRelocation(const RelT *Rel, argument
207 R.Type = Rel->getType(Obj.isMips64EL());
208 R.Offset = Rel->r_offset;
211 const Elf_Sym *Sym = Obj.getRelocationSymbol(Rel, SymTab);
/external/swiftshader/third_party/LLVM/lib/Object/
H A DCOFFObjectFile.cpp563 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const {
564 return reinterpret_cast<const coff_relocation*>(Rel.p);
566 error_code COFFObjectFile::getRelocationNext(DataRefImpl Rel, argument
568 Rel.p = reinterpret_cast<uintptr_t>(
569 reinterpret_cast<const coff_relocation*>(Rel.p) + 1);
570 Res = RelocationRef(Rel, this);
573 error_code COFFObjectFile::getRelocationAddress(DataRefImpl Rel, argument
575 Res = toRel(Rel)->VirtualAddress;
578 error_code COFFObjectFile::getRelocationSymbol(DataRefImpl Rel, argument
580 const coff_relocation* R = toRel(Rel);
586 getRelocationType(DataRefImpl Rel, uint32_t &Res) const argument
596 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
650 getRelocationAdditionalInfo(DataRefImpl Rel, int64_t &Res) const argument
655 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DMachOObjectFile.cpp524 getRelocation(DataRefImpl Rel, argument
529 getSection64(Sections[Rel.d.b], Sect);
533 getSection(Sections[Rel.d.b], Sect);
536 MachOObj->ReadRelocationEntry(relOffset, Rel.d.a, Res);
538 error_code MachOObjectFile::getRelocationNext(DataRefImpl Rel, argument
540 ++Rel.d.a;
541 Res = RelocationRef(Rel, this);
544 error_code MachOObjectFile::getRelocationAddress(DataRefImpl Rel, argument
549 getSection64(Sections[Rel.d.b], Sect);
553 getSection(Sections[Rel
561 getRelocationSymbol(DataRefImpl Rel, SymbolRef &Res) const argument
582 getRelocationType(DataRefImpl Rel, uint32_t &Res) const argument
589 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
593 getRelocationAdditionalInfo(DataRefImpl Rel, int64_t &Res) const argument
614 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DELFObjectFile.cpp305 /// @brief Get the relocation section that contains \a Rel.
306 const Elf_Shdr *getRelSection(DataRefImpl Rel) const {
307 return getSection(Rel.w.b);
311 bool isRelocationHasAddend(DataRefImpl Rel) const;
319 const Elf_Rel *getRel(DataRefImpl Rel) const;
350 virtual error_code getRelocationNext(DataRefImpl Rel,
352 virtual error_code getRelocationAddress(DataRefImpl Rel,
354 virtual error_code getRelocationSymbol(DataRefImpl Rel,
356 virtual error_code getRelocationType(DataRefImpl Rel,
358 virtual error_code getRelocationTypeName(DataRefImpl Rel,
793 getRelocationNext(DataRefImpl Rel, RelocationRef &Result) const argument
822 getRelocationSymbol(DataRefImpl Rel, SymbolRef &Result) const argument
850 getRelocationAddress(DataRefImpl Rel, uint64_t &Result) const argument
873 getRelocationType(DataRefImpl Rel, uint32_t &Result) const argument
896 getRelocationTypeName(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
1009 getRelocationAdditionalInfo(DataRefImpl Rel, int64_t &Result) const argument
1028 getRelocationValueString(DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
/external/llvm/include/llvm/Object/
H A DELF.h96 const Elf_Sym *getRelocationSymbol(const Elf_Rel *Rel,
306 ELFFile<ELFT>::getRelocationSymbol(const Elf_Rel *Rel, argument
308 uint32_t Index = Rel->getSymbol(isMips64EL());
H A DELFTypes.h54 typedef Elf_Rel_Impl<ELFType<E, Is64>, false> Rel; typedef in struct:llvm::object::ELFType
67 typedef ArrayRef<Rel> RelRange;
H A DELFObjectFile.h63 virtual ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
239 void moveRelocationNext(DataRefImpl &Rel) const override;
240 uint64_t getRelocationOffset(DataRefImpl Rel) const override;
241 symbol_iterator getRelocationSymbol(DataRefImpl Rel) const override;
242 uint64_t getRelocationType(DataRefImpl Rel) const override;
243 void getRelocationTypeName(DataRefImpl Rel,
250 /// \brief Get the relocation section that contains \a Rel.
251 const Elf_Shdr *getRelSection(DataRefImpl Rel) const {
252 return *EF.getSection(Rel.d.a);
310 const Elf_Rel *getRel(DataRefImpl Rel) cons
723 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DELFWriter.cpp832 ELFRelocation Rel(RelOffset, SymIdx, RelType, HasRelA, Addend);
833 EmitRelocation(RelSec, Rel, HasRelA);
838 /// EmitRelocation - Write relocation 'Rel' to the relocation section 'Rel'
839 void ELFWriter::EmitRelocation(BinaryObject &RelSec, ELFRelocation &Rel, argument
841 RelSec.emitWord(Rel.getOffset());
842 RelSec.emitWord(Rel.getInfo(is64Bit));
844 RelSec.emitWord(Rel.getAddend());
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp786 RelocationValueRef &Rel) {
792 Rel.SymbolName = nullptr;
793 Rel.SectionID = 0;
808 Rel.SectionID = *SectionIDOrErr;
817 Rel.Addend = 0x8000;
826 RelocationValueRef &Rel) {
873 if (Rel.Addend != (int64_t)TargetSymbolOffset)
886 Rel.SectionID = *SectionIDOrErr;
889 Rel.Addend = (intptr_t)Addend;
784 findPPC64TOCSection(const ELFObjectFileBase &Obj, ObjSectionToIDMap &LocalSections, RelocationValueRef &Rel) argument
824 findOPDEntrySection(const ELFObjectFileBase &Obj, ObjSectionToIDMap &LocalSections, RelocationValueRef &Rel) argument
/external/llvm/lib/Object/
H A DCOFFObjectFile.cpp1050 const coff_relocation *COFFObjectFile::toRel(DataRefImpl Rel) const {
1051 return reinterpret_cast<const coff_relocation*>(Rel.p);
1054 void COFFObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
1055 Rel.p = reinterpret_cast<uintptr_t>(
1056 reinterpret_cast<const coff_relocation*>(Rel.p) + 1);
1059 uint64_t COFFObjectFile::getRelocationOffset(DataRefImpl Rel) const {
1060 const coff_relocation *R = toRel(Rel);
1064 symbol_iterator COFFObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
1065 const coff_relocation *R = toRel(Rel);
1078 uint64_t COFFObjectFile::getRelocationType(DataRefImpl Rel) cons
1119 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
H A DMachOObjectFile.cpp741 void MachOObjectFile::moveRelocationNext(DataRefImpl &Rel) const {
742 ++Rel.d.b;
745 uint64_t MachOObjectFile::getRelocationOffset(DataRefImpl Rel) const {
748 MachO::any_relocation_info RE = getRelocation(Rel);
753 MachOObjectFile::getRelocationSymbol(DataRefImpl Rel) const {
754 MachO::any_relocation_info RE = getRelocation(Rel);
774 MachOObjectFile::getRelocationSection(DataRefImpl Rel) const {
775 return section_iterator(getAnyRelocationSection(getRelocation(Rel)));
778 uint64_t MachOObjectFile::getRelocationType(DataRefImpl Rel) const {
779 MachO::any_relocation_info RE = getRelocation(Rel);
783 getRelocationTypeName( DataRefImpl Rel, SmallVectorImpl<char> &Result) const argument
[all...]
/external/llvm/lib/Target/Hexagon/
H A DHexagonCommonGEP.cpp451 const NodeSet *node_class(GepNode *N, NodeSymRel &Rel) { argument
452 for (NodeSymRel::iterator I = Rel.begin(), E = Rel.end(); I != E; ++I)
H A DRDFGraph.cpp1027 NodeList Rel = getRelatedRefs(IA, DA); local
1028 NodeAddr<DefNode*> PDA = Rel.front();
1048 for (auto T : Rel)
/external/llvm/tools/llvm-readobj/
H A DELFDumper.cpp372 void printRelocation(const ELFO *Obj, Elf_Rela Rel, const Elf_Shdr *SymTab);
373 void printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel);
3028 for (const Elf_Rel &Rel : this->dumper()->dyn_rels()) {
3030 Rela.r_offset = Rel.r_offset;
3031 Rela.r_info = Rel.r_info;
3048 for (const Elf_Rel &Rel : DynPLTRelRegion.getAsArrayRef<Elf_Rel>()) {
3050 Rela.r_offset = Rel.r_offset;
3051 Rela.r_info = Rel.r_info;
3286 void LLVMStyle<ELFT>::printRelocation(const ELFO *Obj, Elf_Rela Rel, argument
3289 Obj->getRelocationTypeName(Rel
3488 printDynamicRelocation(const ELFO *Obj, Elf_Rela Rel) argument
[all...]
/external/llvm/tools/llvm-objdump/
H A DMachODump.cpp829 DataRefImpl Rel; local
832 Rel = Reloc.getRawDataRefImpl();
833 RE = O->getRelocation(Rel);
1843 DataRefImpl Rel; local
1852 Rel = Reloc.getRawDataRefImpl();
1853 RE = info->O->getRelocation(Rel);
1860 DataRefImpl RelNext = Rel;
1931 DataRefImpl Rel; local
1938 Rel = Reloc.getRawDataRefImpl();
1939 RE = info->O->getRelocation(Rel);
2011 DataRefImpl Rel; local
2564 DataRefImpl Rel; local
6106 DataRefImpl Rel; local
[all...]

Completed in 499 milliseconds