xref: /freebsd/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/VEFixupKinds.h (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
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_hi32 - 32-bit fixup corresponding to foo@hi
21   fixup_ve_hi32,
22 
23   /// fixup_ve_lo32 - 32-bit fixup corresponding to foo@lo
24   fixup_ve_lo32,
25 
26   /// fixup_ve_pc_hi32 - 32-bit fixup corresponding to foo@pc_hi
27   fixup_ve_pc_hi32,
28 
29   /// fixup_ve_pc_lo32 - 32-bit fixup corresponding to foo@pc_lo
30   fixup_ve_pc_lo32,
31 
32   /// fixup_ve_got_hi32 - 32-bit fixup corresponding to foo@got_hi
33   fixup_ve_got_hi32,
34 
35   /// fixup_ve_got_lo32 - 32-bit fixup corresponding to foo@got_lo
36   fixup_ve_got_lo32,
37 
38   /// fixup_ve_gotoff_hi32 - 32-bit fixup corresponding to foo@gotoff_hi
39   fixup_ve_gotoff_hi32,
40 
41   /// fixup_ve_gotoff_lo32 - 32-bit fixup corresponding to foo@gotoff_lo
42   fixup_ve_gotoff_lo32,
43 
44   /// fixup_ve_plt_hi32/lo32
45   fixup_ve_plt_hi32,
46   fixup_ve_plt_lo32,
47 
48   /// fixups for Thread Local Storage
49   fixup_ve_tls_gd_hi32,
50   fixup_ve_tls_gd_lo32,
51   fixup_ve_tpoff_hi32,
52   fixup_ve_tpoff_lo32,
53 
54   // Marker
55   LastTargetFixupKind,
56   NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
57 };
58 } // namespace VE
59 } // namespace llvm
60 
61 #endif
62