Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp64 RelocType = unsigned(MachO::ARM_RELOC_VANILLA); in getARMFixupKindMachOInfo()
98 RelocType = unsigned(MachO::ARM_RELOC_BR24); 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()
340 switch (RelocType) { in requiresExternRelocation()
383 unsigned RelocType = MachO::ARM_RELOC_VANILLA; in recordRelocation() local
398 if (RelocType == MachO::ARM_RELOC_HALF) in recordRelocation()
420 RelocType != MachO::ARM_RELOC_HALF) in recordRelocation()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp52 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()
112 RelocType = unsigned(MachO::ARM64_RELOC_TLVP_LOAD_PAGE21); in getAArch64FixupKindMachOInfo()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A 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()
H A DCOFFDumper.cpp1440 uint64_t RelocType = Reloc.getType(); in printRelocation() local
1458 W.printNumber("Type", RelocName, RelocType); in printRelocation()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DWasmYAML.h35 LLVM_YAML_STRONG_TYPEDEF(uint32_t, RelocType)
115 RelocType Type;
587 template <> struct ScalarEnumerationTraits<WasmYAML::RelocType> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
588 static void enumeration(IO &IO, WasmYAML::RelocType &Kind); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h154 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processSECTDIFFRelocation() local
201 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processSECTDIFFRelocation()
H A DRuntimeDyldMachOARM.h360 uint32_t RelocType = MachO.getAnyRelocationType(RE); in processHALFSECTDIFFRelocation() local
417 RelocationEntry R(SectionID, Offset, RelocType, Addend, SectionAID, in processHALFSECTDIFFRelocation()
H A DRuntimeDyldMachOAArch64.h519 static const char *getRelocName(uint32_t RelocType) { in getRelocName() argument
520 switch (RelocType) { in getRelocName()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DCOFFYAML.cpp382 template <typename RelocType>
384 NType(IO &) : Type(RelocType(0)) {} in NType()
385 NType(IO &, uint16_t T) : Type(RelocType(T)) {} in NType()
389 RelocType Type;
H A DWasmYAML.cpp636 void ScalarEnumerationTraits<WasmYAML::RelocType>::enumeration( in enumeration()
637 IO &IO, WasmYAML::RelocType &Type) { in enumeration()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp65 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA() local
87 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h96 enum RelocType { enum
/llvm-project-15.0.7/llvm/lib/Object/
H A DMachOObjectFile.cpp4979 bool MachOObjectFile::isMachOPairedReloc(uint64_t RelocType, uint64_t Arch) { in isMachOPairedReloc() argument
4982 return RelocType == MachO::GENERIC_RELOC_SECTDIFF || in isMachOPairedReloc()
4983 RelocType == MachO::GENERIC_RELOC_LOCAL_SECTDIFF; in isMachOPairedReloc()
4985 return RelocType == MachO::X86_64_RELOC_SUBTRACTOR; in isMachOPairedReloc()
4988 return RelocType == MachO::ARM_RELOC_SECTDIFF || in isMachOPairedReloc()
4989 RelocType == MachO::ARM_RELOC_LOCAL_SECTDIFF || in isMachOPairedReloc()
4990 RelocType == MachO::ARM_RELOC_HALF || in isMachOPairedReloc()
4991 RelocType == MachO::ARM_RELOC_HALF_SECTDIFF; in isMachOPairedReloc()
4993 return RelocType == MachO::ARM64_RELOC_SUBTRACTOR; in isMachOPairedReloc()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DMachO.h394 static bool isMachOPairedReloc(uint64_t RelocType, uint64_t Arch);