Path: blob/main/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/MSP430FixupKinds.h
35294 views
//===-- MSP430FixupKinds.h - MSP430 Specific Fixup Entries ------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#ifndef LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430FIXUPKINDS_H9#define LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430FIXUPKINDS_H1011#include "llvm/MC/MCFixup.h"1213#undef MSP4301415namespace llvm {16namespace MSP430 {1718// This table must be in the same order of19// MCFixupKindInfo Infos[MSP430::NumTargetFixupKinds]20// in MSP430AsmBackend.cpp.21//22enum Fixups {23// A 32 bit absolute fixup.24fixup_32 = FirstTargetFixupKind,25// A 10 bit PC relative fixup.26fixup_10_pcrel,27// A 16 bit absolute fixup.28fixup_16,29// A 16 bit PC relative fixup.30fixup_16_pcrel,31// A 16 bit absolute fixup for byte operations.32fixup_16_byte,33// A 16 bit PC relative fixup for command address.34fixup_16_pcrel_byte,35// A 10 bit PC relative fixup for complicated polymorphs.36fixup_2x_pcrel,37// A 16 bit relaxable fixup.38fixup_rl_pcrel,39// A 8 bit absolute fixup.40fixup_8,41// A 32 bit symbol difference fixup.42fixup_sym_diff,4344// Marker45LastTargetFixupKind,46NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind47};48} // end namespace MSP43049} // end namespace llvm5051#endif525354