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_addr_hi16, 20 21 fixup_csky_addr_lo16, 22 23 fixup_csky_pcrel_imm16_scale2, 24 25 fixup_csky_pcrel_uimm16_scale4, 26 27 fixup_csky_pcrel_imm26_scale2, 28 29 fixup_csky_pcrel_imm18_scale2, 30 31 fixup_csky_gotpc, 32 33 fixup_csky_gotoff, 34 35 fixup_csky_got32, 36 37 fixup_csky_got_imm18_scale4, 38 39 fixup_csky_plt32, 40 41 fixup_csky_plt_imm18_scale4, 42 43 fixup_csky_pcrel_imm10_scale2, 44 45 fixup_csky_pcrel_uimm7_scale4, 46 47 fixup_csky_pcrel_uimm8_scale4, 48 49 fixup_csky_doffset_imm18, 50 51 fixup_csky_doffset_imm18_scale2, 52 53 fixup_csky_doffset_imm18_scale4, 54 // Marker 55 fixup_csky_invalid, 56 NumTargetFixupKinds = fixup_csky_invalid - FirstTargetFixupKind 57 }; 58 } // end namespace CSKY 59 } // end namespace llvm 60 61 #endif // LLVM_LIB_TARGET_CSKY_MCTARGETDESC_CSKYFIXUPKINDS_H 62