LLVM 20.0.0git
SparcFixupKinds.h
Go to the documentation of this file.
1//===-- SparcFixupKinds.h - Sparc Specific Fixup Entries --------*- C++ -*-===//
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_LIB_TARGET_SPARC_MCTARGETDESC_SPARCFIXUPKINDS_H
10#define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCFIXUPKINDS_H
11
12#include "llvm/MC/MCFixup.h"
13
14namespace llvm {
15 namespace Sparc {
16 enum Fixups {
17 // fixup_sparc_call30 - 30-bit PC relative relocation for call
19
20 /// fixup_sparc_br22 - 22-bit PC relative relocation for
21 /// branches
23
24 /// fixup_sparc_br19 - 19-bit PC relative relocation for
25 /// branches on icc/xcc
27
28 /// fixup_sparc_bpr - 16-bit fixup for bpr
30
31 /// fixup_sparc_13 - 13-bit fixup
33
34 /// fixup_sparc_hi22 - 22-bit fixup corresponding to %hi(foo)
35 /// for sethi
37
38 /// fixup_sparc_lo10 - 10-bit fixup corresponding to %lo(foo)
40
41 /// fixup_sparc_h44 - 22-bit fixup corresponding to %h44(foo)
43
44 /// fixup_sparc_m44 - 10-bit fixup corresponding to %m44(foo)
46
47 /// fixup_sparc_l44 - 12-bit fixup corresponding to %l44(foo)
49
50 /// fixup_sparc_hh - 22-bit fixup corresponding to %hh(foo)
52
53 /// fixup_sparc_hm - 10-bit fixup corresponding to %hm(foo)
55
56 /// fixup_sparc_lm - 22-bit fixup corresponding to %lm(foo)
58
59 /// fixup_sparc_pc22 - 22-bit fixup corresponding to %pc22(foo)
61
62 /// fixup_sparc_pc10 - 10-bit fixup corresponding to %pc10(foo)
64
65 /// fixup_sparc_got22 - 22-bit fixup corresponding to %got22(foo)
67
68 /// fixup_sparc_got10 - 10-bit fixup corresponding to %got10(foo)
70
71 /// fixup_sparc_got13 - 13-bit fixup corresponding to %got13(foo)
73
74 /// fixup_sparc_wplt30
76
77 /// fixups for Thread Local Storage
96
97 /// 22-bit fixup corresponding to %hix(foo)
99 /// 13-bit fixup corresponding to %lox(foo)
101
102 /// 22-bit fixup corresponding to %gdop_hix22(foo)
104 /// 13-bit fixup corresponding to %gdop_lox10(foo)
106 /// 32-bit fixup corresponding to %gdop(foo)
108
109 // Marker
112 };
113 }
114}
115
116#endif
@ fixup_sparc_lo10
fixup_sparc_lo10 - 10-bit fixup corresponding to lo(foo)
@ fixup_sparc_br16
fixup_sparc_bpr - 16-bit fixup for bpr
@ fixup_sparc_lm
fixup_sparc_lm - 22-bit fixup corresponding to lm(foo)
@ fixup_sparc_lox10
13-bit fixup corresponding to lox(foo)
@ fixup_sparc_hi22
fixup_sparc_hi22 - 22-bit fixup corresponding to hi(foo) for sethi
@ fixup_sparc_tls_ldo_lox10
@ fixup_sparc_tls_le_hix22
@ fixup_sparc_m44
fixup_sparc_m44 - 10-bit fixup corresponding to m44(foo)
@ fixup_sparc_gotdata_hix22
22-bit fixup corresponding to gdop_hix22(foo)
@ fixup_sparc_hh
fixup_sparc_hh - 22-bit fixup corresponding to hh(foo)
@ fixup_sparc_got10
fixup_sparc_got10 - 10-bit fixup corresponding to got10(foo)
@ fixup_sparc_tls_le_lox10
@ fixup_sparc_got13
fixup_sparc_got13 - 13-bit fixup corresponding to got13(foo)
@ fixup_sparc_tls_ldo_hix22
@ fixup_sparc_gotdata_op
32-bit fixup corresponding to gdop(foo)
@ fixup_sparc_tls_gd_hi22
fixups for Thread Local Storage
@ fixup_sparc_br19
fixup_sparc_br19 - 19-bit PC relative relocation for branches on icc/xcc
@ fixup_sparc_13
fixup_sparc_13 - 13-bit fixup
@ fixup_sparc_hix22
22-bit fixup corresponding to hix(foo)
@ fixup_sparc_got22
fixup_sparc_got22 - 22-bit fixup corresponding to got22(foo)
@ fixup_sparc_h44
fixup_sparc_h44 - 22-bit fixup corresponding to h44(foo)
@ fixup_sparc_tls_ldm_lo10
@ fixup_sparc_tls_ldm_call
@ fixup_sparc_pc22
fixup_sparc_pc22 - 22-bit fixup corresponding to pc22(foo)
@ fixup_sparc_tls_ldm_hi22
@ fixup_sparc_br22
fixup_sparc_br22 - 22-bit PC relative relocation for branches
@ fixup_sparc_l44
fixup_sparc_l44 - 12-bit fixup corresponding to l44(foo)
@ fixup_sparc_gotdata_lox10
13-bit fixup corresponding to gdop_lox10(foo)
@ fixup_sparc_pc10
fixup_sparc_pc10 - 10-bit fixup corresponding to pc10(foo)
@ fixup_sparc_hm
fixup_sparc_hm - 10-bit fixup corresponding to hm(foo)
@ fixup_sparc_wplt30
fixup_sparc_wplt30
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
@ FirstTargetFixupKind
Definition: MCFixup.h:45