LLVM  13.0.0git
MSP430FixupKinds.h
Go to the documentation of this file.
1 //===-- MSP430FixupKinds.h - MSP430 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_MSP430_MCTARGETDESC_MSP430FIXUPKINDS_H
10 #define LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430FIXUPKINDS_H
11 
12 #include "llvm/MC/MCFixup.h"
13 
14 #undef MSP430
15 
16 namespace llvm {
17 namespace MSP430 {
18 
19 // This table must be in the same order of
20 // MCFixupKindInfo Infos[MSP430::NumTargetFixupKinds]
21 // in MSP430AsmBackend.cpp.
22 //
23 enum Fixups {
24  // A 32 bit absolute fixup.
26  // A 10 bit PC relative fixup.
28  // A 16 bit absolute fixup.
30  // A 16 bit PC relative fixup.
32  // A 16 bit absolute fixup for byte operations.
34  // A 16 bit PC relative fixup for command address.
36  // A 10 bit PC relative fixup for complicated polymorphs.
38  // A 16 bit relaxable fixup.
40  // A 8 bit absolute fixup.
42  // A 32 bit symbol difference fixup.
44 
45  // Marker
48 };
49 } // end namespace MSP430
50 } // end namespace llvm
51 
52 #endif
llvm::MSP430::fixup_16_pcrel_byte
@ fixup_16_pcrel_byte
Definition: MSP430FixupKinds.h:35
llvm
Definition: AllocatorList.h:23
llvm::FirstTargetFixupKind
@ FirstTargetFixupKind
Definition: MCFixup.h:55
llvm::MSP430::fixup_16_byte
@ fixup_16_byte
Definition: MSP430FixupKinds.h:33
llvm::MSP430::fixup_16
@ fixup_16
Definition: MSP430FixupKinds.h:29
llvm::MSP430::LastTargetFixupKind
@ LastTargetFixupKind
Definition: MSP430FixupKinds.h:46
llvm::MSP430::fixup_10_pcrel
@ fixup_10_pcrel
Definition: MSP430FixupKinds.h:27
llvm::MSP430::fixup_rl_pcrel
@ fixup_rl_pcrel
Definition: MSP430FixupKinds.h:39
llvm::MSP430::fixup_32
@ fixup_32
Definition: MSP430FixupKinds.h:25
llvm::MSP430::Fixups
Fixups
Definition: MSP430FixupKinds.h:23
MCFixup.h
llvm::MSP430::fixup_2x_pcrel
@ fixup_2x_pcrel
Definition: MSP430FixupKinds.h:37
llvm::MSP430::fixup_sym_diff
@ fixup_sym_diff
Definition: MSP430FixupKinds.h:43
llvm::MSP430::fixup_16_pcrel
@ fixup_16_pcrel
Definition: MSP430FixupKinds.h:31
llvm::MSP430::fixup_8
@ fixup_8
Definition: MSP430FixupKinds.h:41
llvm::MSP430::NumTargetFixupKinds
@ NumTargetFixupKinds
Definition: MSP430FixupKinds.h:47