[flang][cuda] Adding atomicadd as a cudadevice intrinsic and converting it LLVM diale...
[llvm-project.git] / llvm / lib / Target / VE / MCTargetDesc / VEFixupKinds.h
blob0e2d55c0182e0e6813d59843eafebe4c0ed4279a
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_LIB_TARGET_VE_MCTARGETDESC_VEFIXUPKINDS_H
10 #define LLVM_LIB_TARGET_VE_MCTARGETDESC_VEFIXUPKINDS_H
12 #include "llvm/MC/MCFixup.h"
14 namespace llvm {
15 namespace VE {
16 enum Fixups {
17 /// fixup_ve_reflong - 32-bit fixup corresponding to foo
18 fixup_ve_reflong = FirstTargetFixupKind,
20 /// fixup_ve_srel32 - 32-bit fixup corresponding to foo for relative branch
21 fixup_ve_srel32,
23 /// fixup_ve_hi32 - 32-bit fixup corresponding to foo\@hi
24 fixup_ve_hi32,
26 /// fixup_ve_lo32 - 32-bit fixup corresponding to foo\@lo
27 fixup_ve_lo32,
29 /// fixup_ve_pc_hi32 - 32-bit fixup corresponding to foo\@pc_hi
30 fixup_ve_pc_hi32,
32 /// fixup_ve_pc_lo32 - 32-bit fixup corresponding to foo\@pc_lo
33 fixup_ve_pc_lo32,
35 /// fixup_ve_got_hi32 - 32-bit fixup corresponding to foo\@got_hi
36 fixup_ve_got_hi32,
38 /// fixup_ve_got_lo32 - 32-bit fixup corresponding to foo\@got_lo
39 fixup_ve_got_lo32,
41 /// fixup_ve_gotoff_hi32 - 32-bit fixup corresponding to foo\@gotoff_hi
42 fixup_ve_gotoff_hi32,
44 /// fixup_ve_gotoff_lo32 - 32-bit fixup corresponding to foo\@gotoff_lo
45 fixup_ve_gotoff_lo32,
47 /// fixup_ve_plt_hi32/lo32
48 fixup_ve_plt_hi32,
49 fixup_ve_plt_lo32,
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,
57 // Marker
58 LastTargetFixupKind,
59 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
61 } // namespace VE
62 } // namespace llvm
64 #endif