Home
last modified time | relevance | path

Searched refs:RelocationType (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCXCOFFObjectWriter.cpp67 return {XCOFF::RelocationType::R_TOC, SignAndSizeForHalf16}; in getRelocTypeAndSignSize()
69 return {XCOFF::RelocationType::R_TOCU, SignAndSizeForHalf16}; in getRelocTypeAndSignSize()
71 return {XCOFF::RelocationType::R_TOCL, SignAndSizeForHalf16}; in getRelocTypeAndSignSize()
82 return {XCOFF::RelocationType::R_TOC, 15}; in getRelocTypeAndSignSize()
84 return {XCOFF::RelocationType::R_TOCL, 15}; in getRelocTypeAndSignSize()
90 return {XCOFF::RelocationType::R_RBR, EncodedSignednessIndicator | 25}; in getRelocTypeAndSignSize()
92 return {XCOFF::RelocationType::R_RBA, EncodedSignednessIndicator | 25}; in getRelocTypeAndSignSize()
102 return {XCOFF::RelocationType::R_TLS, SignAndSizeForFKData}; in getRelocTypeAndSignSize()
104 return {XCOFF::RelocationType::R_TLSM, SignAndSizeForFKData}; in getRelocTypeAndSignSize()
106 return {XCOFF::RelocationType::R_POS, SignAndSizeForFKData}; in getRelocTypeAndSignSize()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonMCInstLower.cpp48 MCSymbolRefExpr::VariantKind RelocationType; in GetSymbolRef() local
51 RelocationType = MCSymbolRefExpr::VK_None; in GetSymbolRef()
54 RelocationType = MCSymbolRefExpr::VK_PCREL; in GetSymbolRef()
57 RelocationType = MCSymbolRefExpr::VK_GOT; in GetSymbolRef()
60 RelocationType = MCSymbolRefExpr::VK_Hexagon_LO16; in GetSymbolRef()
63 RelocationType = MCSymbolRefExpr::VK_Hexagon_HI16; in GetSymbolRef()
66 RelocationType = MCSymbolRefExpr::VK_Hexagon_GPREL; in GetSymbolRef()
69 RelocationType = MCSymbolRefExpr::VK_Hexagon_GD_GOT; in GetSymbolRef()
72 RelocationType = MCSymbolRefExpr::VK_Hexagon_GD_PLT; in GetSymbolRef()
75 RelocationType = MCSymbolRefExpr::VK_Hexagon_IE; in GetSymbolRef()
[all …]
/llvm-project-15.0.7/llvm/lib/MC/
H A DXCOFFObjectWriter.cpp566 if (Type == XCOFF::RelocationType::R_POS || in recordRelocation()
567 Type == XCOFF::RelocationType::R_TLS) in recordRelocation()
571 else if (Type == XCOFF::RelocationType::R_TLSM) in recordRelocation()
575 else if (Type == XCOFF::RelocationType::R_TOC || in recordRelocation()
576 Type == XCOFF::RelocationType::R_TOCL) { in recordRelocation()
582 if (Type == XCOFF::RelocationType::R_TOC && !isInt<16>(TOCEntryOffset)) in recordRelocation()
614 assert(Type == XCOFF::RelocationType::R_POS && in recordRelocation()
620 const uint8_t TypeB = XCOFF::RelocationType::R_NEG; in recordRelocation()
/llvm-project-15.0.7/llvm/lib/BinaryFormat/
H A DXCOFF.cpp53 StringRef XCOFF::getRelocationTypeString(XCOFF::RelocationType Type) { in getRelocationTypeString()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DXCOFFObjectFile.h427 XCOFF::RelocationType Type;
/llvm-project-15.0.7/llvm/tools/llvm-readobj/
H A DXCOFFDumper.cpp139 const EnumEntry<XCOFF::RelocationType> RelocationTypeNameclass[] = {
/llvm-project-15.0.7/llvm/docs/
H A DWritingAnLLVMBackend.rst1930 is a ``RelocationType`` enum that may be used to relocate addresses (for
1931 example, a global address with a PIC base offset). The ``RelocationType`` enum
1933 file. The ``RelocationType`` is used by the ``relocate`` method defined in
1943 enum RelocationType {