Home
last modified time | relevance | path

Searched refs:RelocType (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm/include/llvm/Object/
DRelocVisitor.h51 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-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp48 const MCFragment &Fragment, unsigned RelocType,
62 static bool getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType, in getARMFixupKindMachOInfo() argument
64 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); in getARMFixupKindMachOInfo()
98 RelocType = unsigned(MachO::ARM_RELOC_BR24); in getARMFixupKindMachOInfo()
106 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); in getARMFixupKindMachOInfo()
120 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
124 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
129 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
133 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
332 unsigned RelocType, in requiresExternRelocation() argument
[all …]
/external/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp47 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-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMachObjectWriter.cpp48 const MCFragment &Fragment, unsigned RelocType,
62 static bool getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType, in getARMFixupKindMachOInfo() argument
64 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); in getARMFixupKindMachOInfo()
98 RelocType = unsigned(MachO::ARM_RELOC_BR24); in getARMFixupKindMachOInfo()
106 RelocType = unsigned(MachO::ARM_THUMB_RELOC_BR22); in getARMFixupKindMachOInfo()
120 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
124 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
129 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
133 RelocType = unsigned(MachO::ARM_RELOC_HALF); in getARMFixupKindMachOInfo()
332 unsigned RelocType, in requiresExternRelocation() argument
[all …]
/external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp35 bool getAArch64FixupKindMachOInfo(const MCFixup &Fixup, unsigned &RelocType,
52 const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym, in getAArch64FixupKindMachOInfo() argument
54 RelocType = unsigned(MachO::ARM64_RELOC_UNSIGNED); in getAArch64FixupKindMachOInfo()
70 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo()
75 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo()
88 RelocType = unsigned(MachO::ARM64_RELOC_PAGEOFF12); in getAArch64FixupKindMachOInfo()
91 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo()
94 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo()
106 RelocType = unsigned(MachO::ARM64_RELOC_PAGE21); in getAArch64FixupKindMachOInfo()
109 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGE21); in getAArch64FixupKindMachOInfo()
[all …]
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp28 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MachObjectWriter.cpp35 bool getAArch64FixupKindMachOInfo(const MCFixup &Fixup, unsigned &RelocType,
52 const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym, in getAArch64FixupKindMachOInfo() argument
54 RelocType = unsigned(MachO::ARM64_RELOC_UNSIGNED); in getAArch64FixupKindMachOInfo()
70 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo()
75 RelocType = unsigned(MachO::ARM64_RELOC_POINTER_TO_GOT); in getAArch64FixupKindMachOInfo()
88 RelocType = unsigned(MachO::ARM64_RELOC_PAGEOFF12); in getAArch64FixupKindMachOInfo()
91 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo()
94 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGEOFF12); in getAArch64FixupKindMachOInfo()
106 RelocType = unsigned(MachO::ARM64_RELOC_PAGE21); in getAArch64FixupKindMachOInfo()
109 RelocType = unsigned(MachO::ARM64_RELOC_GOT_LOAD_PAGE21); in getAArch64FixupKindMachOInfo()
[all …]
/external/llvm-project/llvm/tools/dsymutil/
DDwarfLinkerForBinary.cpp466 static bool isMachOPairedReloc(uint64_t RelocType, uint64_t Arch) { in isMachOPairedReloc() argument
469 return RelocType == MachO::GENERIC_RELOC_SECTDIFF || in isMachOPairedReloc()
470 RelocType == MachO::GENERIC_RELOC_LOCAL_SECTDIFF; in isMachOPairedReloc()
472 return RelocType == MachO::X86_64_RELOC_SUBTRACTOR; in isMachOPairedReloc()
475 return RelocType == MachO::ARM_RELOC_SECTDIFF || in isMachOPairedReloc()
476 RelocType == MachO::ARM_RELOC_LOCAL_SECTDIFF || in isMachOPairedReloc()
477 RelocType == MachO::ARM_RELOC_HALF || in isMachOPairedReloc()
478 RelocType == MachO::ARM_RELOC_HALF_SECTDIFF; in isMachOPairedReloc()
480 return RelocType == MachO::ARM64_RELOC_SUBTRACTOR; in isMachOPairedReloc()
/external/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp308 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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp307 const unsigned RelocType = getRelocType(Target, FK, IsPCRel); in RecordPPCRelocation() local
314 RelocType != MachO::PPC_RELOC_BR24 && in RecordPPCRelocation()
315 RelocType != MachO::PPC_RELOC_BR14) { in RecordPPCRelocation()
330 unsigned Type = RelocType; in RecordPPCRelocation()
/external/llvm-project/llvm/tools/llvm-readobj/
DWasmDumper.cpp86 uint64_t RelocType = Reloc.getType(); in printRelocation() local
95 bool HasAddend = wasm::relocTypeHasAddend(static_cast<uint32_t>(RelocType)); in printRelocation()
99 W.printNumber("Type", RelocTypeName, RelocType); in printRelocation()
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DWasmYAML.h35 LLVM_YAML_STRONG_TYPEDEF(uint32_t, RelocType)
109 RelocType Type;
566 template <> struct ScalarEnumerationTraits<WasmYAML::RelocType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
567 static void enumeration(IO &IO, WasmYAML::RelocType &Kind); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DWasmYAML.h35 LLVM_YAML_STRONG_TYPEDEF(uint32_t, RelocType)
108 RelocType Type;
562 template <> struct ScalarEnumerationTraits<WasmYAML::RelocType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
563 static void enumeration(IO &IO, WasmYAML::RelocType &Kind); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm/lib/ObjectYAML/
DCOFFYAML.cpp315 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/
DRuntimeDyldMachOI386.h153 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processSECTDIFFRelocation() local
200 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processSECTDIFFRelocation()
DRuntimeDyldMachOARM.h236 uint32_t RelocType = MachO.getAnyRelocationType(RE); in processHALFSECTDIFFRelocation() local
286 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processHALFSECTDIFFRelocation()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h155 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processSECTDIFFRelocation() local
202 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processSECTDIFFRelocation()
DRuntimeDyldMachOARM.h361 uint32_t RelocType = MachO.getAnyRelocationType(RE); in processHALFSECTDIFFRelocation() local
418 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processHALFSECTDIFFRelocation()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
DRuntimeDyldMachOI386.h155 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processSECTDIFFRelocation() local
202 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processSECTDIFFRelocation()
/external/llvm-project/llvm/lib/ObjectYAML/
DCOFFYAML.cpp378 template <typename RelocType>
380 NType(IO &) : Type(RelocType(0)) {} in NType()
381 NType(IO &, uint16_t T) : Type(RelocType(T)) {} in NType()
385 RelocType Type;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCOFFYAML.cpp378 template <typename RelocType>
380 NType(IO &) : Type(RelocType(0)) {} in NType()
381 NType(IO &, uint16_t T) : Type(RelocType(T)) {} in NType()
385 RelocType Type;
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp64 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA() local
86 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA()
/external/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA() local
87 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldMachO.cpp65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA() local
87 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA()
/external/llvm-project/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h97 enum RelocType { enum

12