xref: /freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/XtensaFixupKinds.h (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1 //===-- XtensaMCFixups.h - Xtensa-specific fixup entries --------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
6 // See https://llvm.org/LICENSE.txt for license information.
7 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //
9 //===----------------------------------------------------------------------===//
10 
11 #ifndef LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSAMCFIXUPS_H
12 #define LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSAMCFIXUPS_H
13 
14 #include "llvm/MC/MCFixup.h"
15 
16 namespace llvm {
17 namespace Xtensa {
18 enum FixupKind {
19   fixup_xtensa_branch_6 = FirstTargetFixupKind,
20   fixup_xtensa_branch_8,
21   fixup_xtensa_branch_12,
22   fixup_xtensa_jump_18,
23   fixup_xtensa_call_18,
24   fixup_xtensa_l32r_16,
25   fixup_xtensa_invalid,
26   LastTargetFixupKind,
27   NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
28 };
29 } // end namespace Xtensa
30 } // end namespace llvm
31 
32 #endif // LLVM_LIB_TARGET_XTENSA_MCTARGETDESC_XTENSAMCFIXUPS_H
33