1 | //===-- SparcFixupKinds.h - Sparc 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_SPARC_MCTARGETDESC_SPARCFIXUPKINDS_H |
10 | #define LLVM_LIB_TARGET_SPARC_MCTARGETDESC_SPARCFIXUPKINDS_H |
11 | |
12 | #include "llvm/MC/MCFixup.h" |
13 | |
14 | // clang-format off |
15 | namespace llvm { |
16 | namespace Sparc { |
17 | // clang-format off |
18 | enum Fixups { |
19 | // fixup_sparc_call30 - 30-bit PC relative relocation for call |
20 | fixup_sparc_call30 = FirstTargetFixupKind, |
21 | |
22 | /// fixup_sparc_13 - 13-bit fixup |
23 | fixup_sparc_13, |
24 | |
25 | // Marker |
26 | LastTargetFixupKind, |
27 | NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind |
28 | }; |
29 | // clang-format on |
30 | } |
31 | } |
32 | // clang-format on |
33 | #endif |
34 | |