LLVM  14.0.0git
HexagonFixupKinds.h
Go to the documentation of this file.
1 //===-- HexagonFixupKinds.h - Hexagon Specific Fixup Entries --------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLVM_HEXAGON_HEXAGONFIXUPKINDS_H
10 #define LLVM_HEXAGON_HEXAGONFIXUPKINDS_H
11 
12 #include "llvm/MC/MCFixup.h"
13 
14 namespace llvm {
15 namespace Hexagon {
16 enum Fixups {
17  // Branch fixups for R_HEX_B{22,15,7}_PCREL.
118 
121 };
122 enum FixupBitmaps : unsigned {
123  Word8 = 0xff,
124  Word16 = 0xffff,
125  Word32 = 0xffffffff,
126  Word32_LO = 0x00c03fff,
127  Word32_HL = 0x0, // Not Implemented
128  Word32_GP = 0x0, // Not Implemented
129  Word32_B7 = 0x00001f18,
130  Word32_B9 = 0x003000fe,
131  Word32_B13 = 0x00202ffe,
132  Word32_B15 = 0x00df20fe,
133  Word32_B22 = 0x01ff3ffe,
134  Word32_R6 = 0x000007e0,
135  Word32_U6 = 0x0, // Not Implemented
136  Word32_U16 = 0x0, // Not Implemented
137  Word32_X26 = 0x0fff3fff
138 };
139 } // namespace Hexagon
140 } // namespace llvm
141 
142 #endif // LLVM_HEXAGON_HEXAGONFIXUPKINDS_H
llvm::Hexagon::fixup_Hexagon_GOTREL_16_X
@ fixup_Hexagon_GOTREL_16_X
Definition: HexagonFixupKinds.h:90
llvm::Hexagon::fixup_Hexagon_DTPREL_LO16
@ fixup_Hexagon_DTPREL_LO16
Definition: HexagonFixupKinds.h:62
llvm::Hexagon::fixup_Hexagon_TPREL_HI16
@ fixup_Hexagon_TPREL_HI16
Definition: HexagonFixupKinds.h:85
llvm::Hexagon::fixup_Hexagon_B22_PCREL
@ fixup_Hexagon_B22_PCREL
Definition: HexagonFixupKinds.h:18
llvm::Hexagon::Word32_LO
@ Word32_LO
Definition: HexagonFixupKinds.h:126
llvm::Hexagon::Word16
@ Word16
Definition: HexagonFixupKinds.h:124
llvm::Hexagon::fixup_Hexagon_6_PCREL_X
@ fixup_Hexagon_6_PCREL_X
Definition: HexagonFixupKinds.h:88
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AllocatorList.h:23
llvm::Hexagon::fixup_Hexagon_9_X
@ fixup_Hexagon_9_X
Definition: HexagonFixupKinds.h:44
llvm::Hexagon::fixup_Hexagon_TPREL_32
@ fixup_Hexagon_TPREL_32
Definition: HexagonFixupKinds.h:86
llvm::Hexagon::fixup_Hexagon_LD_PLT_B22_PCREL_X
@ fixup_Hexagon_LD_PLT_B22_PCREL_X
Definition: HexagonFixupKinds.h:116
llvm::Hexagon::fixup_Hexagon_23_REG
@ fixup_Hexagon_23_REG
Definition: HexagonFixupKinds.h:112
llvm::Hexagon::fixup_Hexagon_B32_PCREL_X
@ fixup_Hexagon_B32_PCREL_X
Definition: HexagonFixupKinds.h:33
llvm::Hexagon::fixup_Hexagon_GD_GOT_LO16
@ fixup_Hexagon_GD_GOT_LO16
Definition: HexagonFixupKinds.h:68
llvm::Hexagon::Word32_HL
@ Word32_HL
Definition: HexagonFixupKinds.h:127
llvm::Hexagon::fixup_Hexagon_GD_GOT_32_6_X
@ fixup_Hexagon_GD_GOT_32_6_X
Definition: HexagonFixupKinds.h:98
llvm::Hexagon::fixup_Hexagon_IE_GOT_11_X
@ fixup_Hexagon_IE_GOT_11_X
Definition: HexagonFixupKinds.h:108
llvm::Hexagon::fixup_Hexagon_DTPREL_32_6_X
@ fixup_Hexagon_DTPREL_32_6_X
Definition: HexagonFixupKinds.h:95
llvm::Hexagon::fixup_Hexagon_GD_GOT_32
@ fixup_Hexagon_GD_GOT_32
Definition: HexagonFixupKinds.h:70
llvm::Hexagon::Word32_GP
@ Word32_GP
Definition: HexagonFixupKinds.h:128
llvm::Hexagon::fixup_Hexagon_IE_GOT_HI16
@ fixup_Hexagon_IE_GOT_HI16
Definition: HexagonFixupKinds.h:81
llvm::FirstTargetFixupKind
@ FirstTargetFixupKind
Definition: MCFixup.h:45
llvm::Hexagon::Word32_B7
@ Word32_B7
Definition: HexagonFixupKinds.h:129
llvm::Hexagon::fixup_Hexagon_B9_PCREL_X
@ fixup_Hexagon_B9_PCREL_X
Definition: HexagonFixupKinds.h:38
llvm::Hexagon::fixup_Hexagon_GPREL16_0
@ fixup_Hexagon_GPREL16_0
Definition: HexagonFixupKinds.h:26
llvm::Hexagon::fixup_Hexagon_LO16
@ fixup_Hexagon_LO16
Definition: HexagonFixupKinds.h:21
llvm::Hexagon::fixup_Hexagon_GLOB_DAT
@ fixup_Hexagon_GLOB_DAT
Definition: HexagonFixupKinds.h:50
llvm::Hexagon::fixup_Hexagon_B13_PCREL_X
@ fixup_Hexagon_B13_PCREL_X
Definition: HexagonFixupKinds.h:37
llvm::Hexagon::fixup_Hexagon_6_X
@ fixup_Hexagon_6_X
Definition: HexagonFixupKinds.h:47
llvm::Hexagon::fixup_Hexagon_LD_GOT_11_X
@ fixup_Hexagon_LD_GOT_11_X
Definition: HexagonFixupKinds.h:103
llvm::Hexagon::fixup_Hexagon_32
@ fixup_Hexagon_32
Definition: HexagonFixupKinds.h:23
llvm::Hexagon::fixup_Hexagon_HL16
@ fixup_Hexagon_HL16
Definition: HexagonFixupKinds.h:30
llvm::Hexagon::fixup_Hexagon_GOT_32
@ fixup_Hexagon_GOT_32
Definition: HexagonFixupKinds.h:59
llvm::Hexagon::fixup_Hexagon_GOTREL_32
@ fixup_Hexagon_GOTREL_32
Definition: HexagonFixupKinds.h:56
llvm::Hexagon::fixup_Hexagon_LD_GOT_LO16
@ fixup_Hexagon_LD_GOT_LO16
Definition: HexagonFixupKinds.h:72
llvm::Hexagon::fixup_Hexagon_GOTREL_32_6_X
@ fixup_Hexagon_GOTREL_32_6_X
Definition: HexagonFixupKinds.h:89
llvm::Hexagon::Fixups
Fixups
Definition: HexagonFixupKinds.h:16
llvm::Hexagon::fixup_Hexagon_DTPREL_HI16
@ fixup_Hexagon_DTPREL_HI16
Definition: HexagonFixupKinds.h:63
llvm::Hexagon::Word32
@ Word32
Definition: HexagonFixupKinds.h:125
llvm::Hexagon::fixup_Hexagon_DTPREL_16
@ fixup_Hexagon_DTPREL_16
Definition: HexagonFixupKinds.h:65
llvm::Hexagon::fixup_Hexagon_16
@ fixup_Hexagon_16
Definition: HexagonFixupKinds.h:24
llvm::Hexagon::Word32_U6
@ Word32_U6
Definition: HexagonFixupKinds.h:135
llvm::Hexagon::fixup_Hexagon_GPREL16_3
@ fixup_Hexagon_GPREL16_3
Definition: HexagonFixupKinds.h:29
llvm::Hexagon::fixup_Hexagon_GD_GOT_16_X
@ fixup_Hexagon_GD_GOT_16_X
Definition: HexagonFixupKinds.h:99
llvm::Hexagon::fixup_Hexagon_IE_GOT_32_6_X
@ fixup_Hexagon_IE_GOT_32_6_X
Definition: HexagonFixupKinds.h:106
llvm::Hexagon::fixup_Hexagon_8_X
@ fixup_Hexagon_8_X
Definition: HexagonFixupKinds.h:45
llvm::Hexagon::fixup_Hexagon_TPREL_11_X
@ fixup_Hexagon_TPREL_11_X
Definition: HexagonFixupKinds.h:111
llvm::Hexagon::fixup_Hexagon_TPREL_16
@ fixup_Hexagon_TPREL_16
Definition: HexagonFixupKinds.h:87
llvm::Hexagon::fixup_Hexagon_TPREL_LO16
@ fixup_Hexagon_TPREL_LO16
Definition: HexagonFixupKinds.h:84
llvm::Hexagon::fixup_Hexagon_LD_GOT_16_X
@ fixup_Hexagon_LD_GOT_16_X
Definition: HexagonFixupKinds.h:102
llvm::Hexagon::fixup_Hexagon_GD_PLT_B22_PCREL
@ fixup_Hexagon_GD_PLT_B22_PCREL
Definition: HexagonFixupKinds.h:66
llvm::Hexagon::fixup_Hexagon_IE_HI16
@ fixup_Hexagon_IE_HI16
Definition: HexagonFixupKinds.h:77
llvm::Hexagon::fixup_Hexagon_LD_PLT_B32_PCREL_X
@ fixup_Hexagon_LD_PLT_B32_PCREL_X
Definition: HexagonFixupKinds.h:117
llvm::Hexagon::fixup_Hexagon_7_X
@ fixup_Hexagon_7_X
Definition: HexagonFixupKinds.h:46
llvm::Hexagon::fixup_Hexagon_DTPREL_11_X
@ fixup_Hexagon_DTPREL_11_X
Definition: HexagonFixupKinds.h:97
llvm::Hexagon::fixup_Hexagon_DTPREL_32
@ fixup_Hexagon_DTPREL_32
Definition: HexagonFixupKinds.h:64
llvm::Hexagon::NumTargetFixupKinds
@ NumTargetFixupKinds
Definition: HexagonFixupKinds.h:120
llvm::Hexagon::fixup_Hexagon_GOT_HI16
@ fixup_Hexagon_GOT_HI16
Definition: HexagonFixupKinds.h:58
llvm::Hexagon::fixup_Hexagon_GD_PLT_B22_PCREL_X
@ fixup_Hexagon_GD_PLT_B22_PCREL_X
Definition: HexagonFixupKinds.h:114
llvm::Hexagon::fixup_Hexagon_GPREL16_1
@ fixup_Hexagon_GPREL16_1
Definition: HexagonFixupKinds.h:27
llvm::Hexagon::fixup_Hexagon_B15_PCREL_X
@ fixup_Hexagon_B15_PCREL_X
Definition: HexagonFixupKinds.h:36
llvm::Hexagon::fixup_Hexagon_LD_GOT_HI16
@ fixup_Hexagon_LD_GOT_HI16
Definition: HexagonFixupKinds.h:73
llvm::Hexagon::Word32_X26
@ Word32_X26
Definition: HexagonFixupKinds.h:137
llvm::Hexagon::fixup_Hexagon_10_X
@ fixup_Hexagon_10_X
Definition: HexagonFixupKinds.h:43
llvm::Hexagon::Word32_B22
@ Word32_B22
Definition: HexagonFixupKinds.h:133
llvm::Hexagon::fixup_Hexagon_IE_32_6_X
@ fixup_Hexagon_IE_32_6_X
Definition: HexagonFixupKinds.h:104
llvm::Hexagon::fixup_Hexagon_TPREL_32_6_X
@ fixup_Hexagon_TPREL_32_6_X
Definition: HexagonFixupKinds.h:109
llvm::Hexagon::fixup_Hexagon_GOT_LO16
@ fixup_Hexagon_GOT_LO16
Definition: HexagonFixupKinds.h:57
llvm::Hexagon::Word32_B13
@ Word32_B13
Definition: HexagonFixupKinds.h:131
llvm::Hexagon::fixup_Hexagon_GOTREL_HI16
@ fixup_Hexagon_GOTREL_HI16
Definition: HexagonFixupKinds.h:55
llvm::Hexagon::Word32_B15
@ Word32_B15
Definition: HexagonFixupKinds.h:132
llvm::Hexagon::LastTargetFixupKind
@ LastTargetFixupKind
Definition: HexagonFixupKinds.h:119
llvm::Hexagon::fixup_Hexagon_GOT_32_6_X
@ fixup_Hexagon_GOT_32_6_X
Definition: HexagonFixupKinds.h:92
llvm::Hexagon::fixup_Hexagon_GOTREL_LO16
@ fixup_Hexagon_GOTREL_LO16
Definition: HexagonFixupKinds.h:54
llvm::Hexagon::fixup_Hexagon_B9_PCREL
@ fixup_Hexagon_B9_PCREL
Definition: HexagonFixupKinds.h:32
llvm::Hexagon::fixup_Hexagon_GD_GOT_HI16
@ fixup_Hexagon_GD_GOT_HI16
Definition: HexagonFixupKinds.h:69
llvm::Hexagon::fixup_Hexagon_B7_PCREL
@ fixup_Hexagon_B7_PCREL
Definition: HexagonFixupKinds.h:20
llvm::Hexagon::fixup_Hexagon_IE_32
@ fixup_Hexagon_IE_32
Definition: HexagonFixupKinds.h:78
llvm::Hexagon::Word32_B9
@ Word32_B9
Definition: HexagonFixupKinds.h:130
llvm::Hexagon::fixup_Hexagon_LD_PLT_B22_PCREL
@ fixup_Hexagon_LD_PLT_B22_PCREL
Definition: HexagonFixupKinds.h:67
llvm::Hexagon::Word32_R6
@ Word32_R6
Definition: HexagonFixupKinds.h:134
MCFixup.h
llvm::Hexagon::fixup_Hexagon_IE_LO16
@ fixup_Hexagon_IE_LO16
Definition: HexagonFixupKinds.h:76
llvm::Hexagon::fixup_Hexagon_8
@ fixup_Hexagon_8
Definition: HexagonFixupKinds.h:25
llvm::Hexagon::fixup_Hexagon_32_6_X
@ fixup_Hexagon_32_6_X
Definition: HexagonFixupKinds.h:34
llvm::Hexagon::fixup_Hexagon_GPREL16_2
@ fixup_Hexagon_GPREL16_2
Definition: HexagonFixupKinds.h:28
llvm::Hexagon::fixup_Hexagon_LD_GOT_32
@ fixup_Hexagon_LD_GOT_32
Definition: HexagonFixupKinds.h:74
llvm::Hexagon::fixup_Hexagon_DTPMOD_32
@ fixup_Hexagon_DTPMOD_32
Definition: HexagonFixupKinds.h:61
llvm::Hexagon::fixup_Hexagon_GD_PLT_B32_PCREL_X
@ fixup_Hexagon_GD_PLT_B32_PCREL_X
Definition: HexagonFixupKinds.h:115
llvm::Hexagon::fixup_Hexagon_JMP_SLOT
@ fixup_Hexagon_JMP_SLOT
Definition: HexagonFixupKinds.h:51
llvm::Hexagon::FixupBitmaps
FixupBitmaps
Definition: HexagonFixupKinds.h:122
llvm::Hexagon::fixup_Hexagon_GD_GOT_16
@ fixup_Hexagon_GD_GOT_16
Definition: HexagonFixupKinds.h:71
llvm::Hexagon::fixup_Hexagon_B22_PCREL_X
@ fixup_Hexagon_B22_PCREL_X
Definition: HexagonFixupKinds.h:35
llvm::Hexagon::fixup_Hexagon_B7_PCREL_X
@ fixup_Hexagon_B7_PCREL_X
Definition: HexagonFixupKinds.h:39
llvm::Hexagon::fixup_Hexagon_32_PCREL
@ fixup_Hexagon_32_PCREL
Definition: HexagonFixupKinds.h:48
llvm::Hexagon::fixup_Hexagon_IE_16
@ fixup_Hexagon_IE_16
Definition: HexagonFixupKinds.h:79
llvm::Hexagon::fixup_Hexagon_GOT_16_X
@ fixup_Hexagon_GOT_16_X
Definition: HexagonFixupKinds.h:93
llvm::Hexagon::fixup_Hexagon_IE_16_X
@ fixup_Hexagon_IE_16_X
Definition: HexagonFixupKinds.h:105
llvm::Hexagon::fixup_Hexagon_IE_GOT_32
@ fixup_Hexagon_IE_GOT_32
Definition: HexagonFixupKinds.h:82
llvm::Hexagon::fixup_Hexagon_PLT_B22_PCREL
@ fixup_Hexagon_PLT_B22_PCREL
Definition: HexagonFixupKinds.h:53
llvm::Hexagon::fixup_Hexagon_LD_GOT_16
@ fixup_Hexagon_LD_GOT_16
Definition: HexagonFixupKinds.h:75
llvm::Hexagon::fixup_Hexagon_LD_GOT_32_6_X
@ fixup_Hexagon_LD_GOT_32_6_X
Definition: HexagonFixupKinds.h:101
llvm::Hexagon::fixup_Hexagon_HI16
@ fixup_Hexagon_HI16
Definition: HexagonFixupKinds.h:22
llvm::Hexagon::fixup_Hexagon_GOT_11_X
@ fixup_Hexagon_GOT_11_X
Definition: HexagonFixupKinds.h:94
llvm::Hexagon::fixup_Hexagon_GOT_16
@ fixup_Hexagon_GOT_16
Definition: HexagonFixupKinds.h:60
llvm::Hexagon::fixup_Hexagon_GD_GOT_11_X
@ fixup_Hexagon_GD_GOT_11_X
Definition: HexagonFixupKinds.h:100
llvm::Hexagon::fixup_Hexagon_11_X
@ fixup_Hexagon_11_X
Definition: HexagonFixupKinds.h:42
llvm::Hexagon::fixup_Hexagon_B15_PCREL
@ fixup_Hexagon_B15_PCREL
Definition: HexagonFixupKinds.h:19
llvm::Hexagon::fixup_Hexagon_IE_GOT_LO16
@ fixup_Hexagon_IE_GOT_LO16
Definition: HexagonFixupKinds.h:80
llvm::Hexagon::fixup_Hexagon_TPREL_16_X
@ fixup_Hexagon_TPREL_16_X
Definition: HexagonFixupKinds.h:110
llvm::Hexagon::fixup_Hexagon_12_X
@ fixup_Hexagon_12_X
Definition: HexagonFixupKinds.h:41
llvm::Hexagon::fixup_Hexagon_B13_PCREL
@ fixup_Hexagon_B13_PCREL
Definition: HexagonFixupKinds.h:31
llvm::Hexagon::fixup_Hexagon_27_REG
@ fixup_Hexagon_27_REG
Definition: HexagonFixupKinds.h:113
llvm::Hexagon::fixup_Hexagon_IE_GOT_16_X
@ fixup_Hexagon_IE_GOT_16_X
Definition: HexagonFixupKinds.h:107
llvm::Hexagon::fixup_Hexagon_RELATIVE
@ fixup_Hexagon_RELATIVE
Definition: HexagonFixupKinds.h:52
llvm::Hexagon::fixup_Hexagon_GOTREL_11_X
@ fixup_Hexagon_GOTREL_11_X
Definition: HexagonFixupKinds.h:91
llvm::Hexagon::Word32_U16
@ Word32_U16
Definition: HexagonFixupKinds.h:136
llvm::Hexagon::fixup_Hexagon_16_X
@ fixup_Hexagon_16_X
Definition: HexagonFixupKinds.h:40
llvm::Hexagon::fixup_Hexagon_IE_GOT_16
@ fixup_Hexagon_IE_GOT_16
Definition: HexagonFixupKinds.h:83
llvm::Hexagon::fixup_Hexagon_COPY
@ fixup_Hexagon_COPY
Definition: HexagonFixupKinds.h:49
llvm::Hexagon::fixup_Hexagon_DTPREL_16_X
@ fixup_Hexagon_DTPREL_16_X
Definition: HexagonFixupKinds.h:96
llvm::Hexagon::Word8
@ Word8
Definition: HexagonFixupKinds.h:123