/external/llvm/include/llvm/Object/ |
D | RelocVisitor.h | 51 RelocToApply visit(uint32_t RelocType, RelocationRef R, uint64_t Value = 0) { 53 return visitELF(RelocType, R, Value); 55 return visitCOFF(RelocType, R, Value); 57 return visitMachO(RelocType, R, Value); 69 RelocToApply visitELF(uint32_t RelocType, RelocationRef R, uint64_t Value) { in visitELF() argument 73 switch (RelocType) { in visitELF() 89 switch (RelocType) { in visitELF() 100 switch (RelocType) { in visitELF() 111 switch (RelocType) { in visitELF() 121 switch (RelocType) { in visitELF() [all …]
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 47 const MCFragment &Fragment, unsigned RelocType, 61 static bool getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType, in getARMFixupKindMachOInfo() argument 63 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); in getARMFixupKindMachOInfo() 97 RelocType = unsigned(MachO::ARM_RELOC_BR24); in getARMFixupKindMachOInfo() 105 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); in getARMFixupKindMachOInfo() 119 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 123 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 128 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 132 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo() 313 unsigned RelocType, in requiresExternRelocation() argument [all …]
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
D | ARMMachObjectWriter.cpp | 55 static bool getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType, in getARMFixupKindMachOInfo() argument 57 RelocType = unsigned(macho::RIT_Vanilla); in getARMFixupKindMachOInfo() 83 RelocType = unsigned(macho::RIT_ARM_Branch24Bit); in getARMFixupKindMachOInfo() 90 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit); in getARMFixupKindMachOInfo() 97 RelocType = unsigned(macho::RIT_ARM_ThumbBranch22Bit); in getARMFixupKindMachOInfo() 105 RelocType = unsigned(macho::RIT_ARM_HalfDifference); in getARMFixupKindMachOInfo() 114 RelocType = unsigned(macho::RIT_ARM_Half); in getARMFixupKindMachOInfo() 289 unsigned RelocType = macho::RIT_Vanilla; in RecordRelocation() local 290 if (!getARMFixupKindMachOInfo(Fixup.getKind(), RelocType, Log2Size)) { in RecordRelocation() 299 if (RelocType == macho::RIT_ARM_Half || in RecordRelocation() [all …]
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MachObjectWriter.cpp | 28 bool getAArch64FixupKindMachOInfo(const MCFixup &Fixup, unsigned &RelocType, 44 const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym, in getAArch64FixupKindMachOInfo() argument 46 RelocType = unsigned(MachO::ARM64_RELOC_UNSIGNED); in getAArch64FixupKindMachOInfo() 62 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo() 67 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo() 80 RelocType = unsigned(MachO::ARM64_RELOC_PAGEOFF12); in getAArch64FixupKindMachOInfo() 83 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo() 86 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo() 99 RelocType = unsigned(MachO::ARM64_RELOC_PAGE21); in getAArch64FixupKindMachOInfo() 102 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGE21); in getAArch64FixupKindMachOInfo() [all …]
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMachObjectWriter.cpp | 308 const unsigned RelocType = getRelocType(Target, FK, IsPCRel); in RecordPPCRelocation() local 315 RelocType != MachO::PPC_RELOC_BR24 && in RecordPPCRelocation() 316 RelocType != MachO::PPC_RELOC_BR14) { in RecordPPCRelocation() 331 unsigned Type = RelocType; in RecordPPCRelocation()
|
/external/llvm/lib/ObjectYAML/ |
D | COFFYAML.cpp | 315 template <typename RelocType> 317 NType(IO &) : Type(RelocType(0)) {} in NType() 318 NType(IO &, uint16_t T) : Type(RelocType(T)) {} in NType() 320 RelocType Type;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOI386.h | 153 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processSECTDIFFRelocation() local 200 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processSECTDIFFRelocation()
|
D | RuntimeDyldMachOARM.h | 236 uint32_t RelocType = MachO.getAnyRelocationType(RE); in processHALFSECTDIFFRelocation() local 286 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processHALFSECTDIFFRelocation()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86CodeEmitter.cpp | 414 unsigned RelocType = Is64BitMode ? in emitDisplacementField() local 424 emitGlobalAddress(RelocOp->getGlobal(), RelocType, RelocOp->getOffset(), in emitDisplacementField() 427 emitExternalSymbolAddress(RelocOp->getSymbolName(), RelocType); in emitDisplacementField() 429 emitConstPoolAddress(RelocOp->getIndex(), RelocType, in emitDisplacementField() 433 emitJumpTableAddress(RelocOp->getIndex(), RelocType, Adj); in emitDisplacementField()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldMachO.cpp | 64 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA() local 86 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA()
|
/external/llvm/tools/dsymutil/ |
D | DwarfLinker.cpp | 1882 static bool isMachOPairedReloc(uint64_t RelocType, uint64_t Arch) { in isMachOPairedReloc() argument 1885 return RelocType == MachO::GENERIC_RELOC_SECTDIFF || in isMachOPairedReloc() 1886 RelocType == MachO::GENERIC_RELOC_LOCAL_SECTDIFF; in isMachOPairedReloc() 1888 return RelocType == MachO::X86_64_RELOC_SUBTRACTOR; in isMachOPairedReloc() 1891 return RelocType == MachO::ARM_RELOC_SECTDIFF || in isMachOPairedReloc() 1892 RelocType == MachO::ARM_RELOC_LOCAL_SECTDIFF || in isMachOPairedReloc() 1893 RelocType == MachO::ARM_RELOC_HALF || in isMachOPairedReloc() 1894 RelocType == MachO::ARM_RELOC_HALF_SECTDIFF; in isMachOPairedReloc() 1896 return RelocType == MachO::ARM64_RELOC_SUBTRACTOR; in isMachOPairedReloc()
|
/external/swiftshader/third_party/LLVM/lib/MC/ |
D | ELFObjectWriter.cpp | 1312 unsigned RelocType = 0; in ExplicitRelSym() local 1313 RelocType = GetRelocTypeInner(Target, Fixup, IsPCRel); in ExplicitRelSym() 1323 << " Rel:" << (unsigned)RelocType in ExplicitRelSym() 1331 switch (RelocType) { in ExplicitRelSym() 1366 switch (RelocType) { in ExplicitRelSym()
|
/external/llvm/tools/llvm-readobj/ |
D | COFFDumper.cpp | 1182 uint64_t RelocType = Reloc.getType(); in printRelocation() local 1196 W.printNumber("Type", RelocName, RelocType); in printRelocation()
|