xref: /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCFixups.h (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1 //===-- SystemZMCFixups.h - SystemZ-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_SYSTEMZ_MCTARGETDESC_SYSTEMZMCFIXUPS_H
10 #define LLVM_LIB_TARGET_SYSTEMZ_MCTARGETDESC_SYSTEMZMCFIXUPS_H
11 
12 #include "llvm/MC/MCFixup.h"
13 
14 namespace llvm {
15 namespace SystemZ {
16 enum FixupKind {
17   // These correspond directly to R_390_* relocations.
18   FK_390_PC12DBL = FirstTargetFixupKind,
19   FK_390_PC16DBL,
20   FK_390_PC24DBL,
21   FK_390_PC32DBL,
22   FK_390_TLS_CALL,
23   FK_390_12,
24   FK_390_20,
25 
26   // Marker
27   LastTargetFixupKind,
28   NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
29 };
30 } // end namespace SystemZ
31 } // end namespace llvm
32 
33 #endif
34