1 | //===-- VEFixupKinds.h - VE 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_VE_MCTARGETDESC_VEFIXUPKINDS_H |
10 | #define LLVM_LIB_TARGET_VE_MCTARGETDESC_VEFIXUPKINDS_H |
11 | |
12 | #include "llvm/MC/MCFixup.h" |
13 | |
14 | namespace llvm { |
15 | namespace VE { |
16 | enum Fixups { |
17 | /// fixup_ve_reflong - 32-bit fixup corresponding to foo |
18 | fixup_ve_reflong = FirstTargetFixupKind, |
19 | |
20 | /// fixup_ve_srel32 - 32-bit fixup corresponding to foo for relative branch |
21 | fixup_ve_srel32, |
22 | |
23 | /// fixup_ve_hi32 - 32-bit fixup corresponding to foo\@hi |
24 | fixup_ve_hi32, |
25 | |
26 | /// fixup_ve_lo32 - 32-bit fixup corresponding to foo\@lo |
27 | fixup_ve_lo32, |
28 | |
29 | /// fixup_ve_pc_hi32 - 32-bit fixup corresponding to foo\@pc_hi |
30 | fixup_ve_pc_hi32, |
31 | |
32 | /// fixup_ve_pc_lo32 - 32-bit fixup corresponding to foo\@pc_lo |
33 | fixup_ve_pc_lo32, |
34 | |
35 | /// fixup_ve_got_hi32 - 32-bit fixup corresponding to foo\@got_hi |
36 | fixup_ve_got_hi32, |
37 | |
38 | /// fixup_ve_got_lo32 - 32-bit fixup corresponding to foo\@got_lo |
39 | fixup_ve_got_lo32, |
40 | |
41 | /// fixup_ve_gotoff_hi32 - 32-bit fixup corresponding to foo\@gotoff_hi |
42 | fixup_ve_gotoff_hi32, |
43 | |
44 | /// fixup_ve_gotoff_lo32 - 32-bit fixup corresponding to foo\@gotoff_lo |
45 | fixup_ve_gotoff_lo32, |
46 | |
47 | /// fixup_ve_plt_hi32/lo32 |
48 | fixup_ve_plt_hi32, |
49 | fixup_ve_plt_lo32, |
50 | |
51 | /// fixups for Thread Local Storage |
52 | fixup_ve_tls_gd_hi32, |
53 | fixup_ve_tls_gd_lo32, |
54 | fixup_ve_tpoff_hi32, |
55 | fixup_ve_tpoff_lo32, |
56 | |
57 | // Marker |
58 | LastTargetFixupKind, |
59 | NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind |
60 | }; |
61 | } // namespace VE |
62 | } // namespace llvm |
63 | |
64 | #endif |
65 | |