[MLIR][NVVM] Add Op for TMA Store with reduction (#118853)
[llvm-project.git] / llvm / lib / Target / PowerPC / MCTargetDesc / PPCFixupKinds.h
blob9e8ee9f23107ba64bc73f1e102318025412e47ce
1 //===-- PPCFixupKinds.h - PPC 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_POWERPC_MCTARGETDESC_PPCFIXUPKINDS_H
10 #define LLVM_LIB_TARGET_POWERPC_MCTARGETDESC_PPCFIXUPKINDS_H
12 #include "llvm/MC/MCFixup.h"
14 #undef PPC
16 namespace llvm {
17 namespace PPC {
18 enum Fixups {
19 // 24-bit PC relative relocation for direct branches like 'b' and 'bl'.
20 fixup_ppc_br24 = FirstTargetFixupKind,
22 // 24-bit PC relative relocation for direct branches like 'b' and 'bl' where
23 // the caller does not use the TOC.
24 fixup_ppc_br24_notoc,
26 /// 14-bit PC relative relocation for conditional branches.
27 fixup_ppc_brcond14,
29 /// 24-bit absolute relocation for direct branches like 'ba' and 'bla'.
30 fixup_ppc_br24abs,
32 /// 14-bit absolute relocation for conditional branches.
33 fixup_ppc_brcond14abs,
35 /// A 16-bit fixup corresponding to lo16(_foo) or ha16(_foo) for instrs like
36 /// 'li' or 'addis'.
37 fixup_ppc_half16,
39 /// A 14-bit fixup corresponding to lo16(_foo) with implied 2 zero bits for
40 /// instrs like 'std'.
41 fixup_ppc_half16ds,
43 // A 34-bit fixup corresponding to PC-relative paddi.
44 fixup_ppc_pcrel34,
46 // A 34-bit fixup corresponding to Non-PC-relative paddi.
47 fixup_ppc_imm34,
49 /// Not a true fixup, but ties a symbol to a call to __tls_get_addr for the
50 /// TLS general and local dynamic models, or inserts the thread-pointer
51 /// register number. It can also be used to tie the ref symbol to prevent it
52 /// from being garbage collected on AIX.
53 fixup_ppc_nofixup,
55 /// A 16-bit fixup corresponding to lo16(_foo) with implied 3 zero bits for
56 /// instrs like 'lxv'. Produces the same relocation as fixup_ppc_half16ds.
57 fixup_ppc_half16dq,
59 // Marker
60 LastTargetFixupKind,
61 NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
66 #endif