xref: /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCFixups.h (revision 9f44a47fd07924afc035991af15d84e6585dea4f)
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