xref: /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/CSKYFixupKinds.h (revision 13ec1e3155c7e9bf037b12af186351b7fa9b9450)
1 //===-- CSKYFixupKinds.h - CSKY 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_CSKY_MCTARGETDESC_CSKYFIXUPKINDS_H
10 #define LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYFIXUPKINDS_H
11 
12 #include "llvm/MC/MCFixup.h"
13 
14 namespace llvm {
15 namespace CSKY {
16 enum Fixups {
17   fixup_csky_addr32 = FirstTargetFixupKind,
18 
19   fixup_csky_pcrel_imm16_scale2,
20 
21   fixup_csky_pcrel_uimm16_scale4,
22 
23   fixup_csky_pcrel_imm26_scale2,
24 
25   fixup_csky_pcrel_imm18_scale2,
26 
27   // Marker
28   fixup_csky_invalid,
29   NumTargetFixupKinds = fixup_csky_invalid - FirstTargetFixupKind
30 };
31 } // end namespace CSKY
32 } // end namespace llvm
33 
34 #endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYFIXUPKINDS_H
35