LLVM  10.0.0svn
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
This class represents lattice values for constants.
Definition: AllocatorList.h:23