Files
clang-p2996/llvm/lib/Target/MSP430/MCTargetDesc/MSP430FixupKinds.h
Chandler Carruth 2946cd7010 Update the file headers across all of the LLVM projects in the monorepo
to reflect the new license.

We understand that people may be surprised that we're moving the header
entirely to discuss the new license. We checked this carefully with the
Foundation's lawyer and we believe this is the correct approach.

Essentially, all code in the project is now made available by the LLVM
project under our new license, so you will see that the license headers
include that license only. Some of our contributors have contributed
code under our old license, and accordingly, we have retained a copy of
our old license notice in the top-level files in each project and
repository.

llvm-svn: 351636
2019-01-19 08:50:56 +00:00

53 lines
1.4 KiB
C++

//===-- MSP430FixupKinds.h - MSP430 Specific Fixup Entries ------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430FIXUPKINDS_H
#define LLVM_LIB_TARGET_MSP430_MCTARGETDESC_MSP430FIXUPKINDS_H
#include "llvm/MC/MCFixup.h"
#undef MSP430
namespace llvm {
namespace MSP430 {
// This table must be in the same order of
// MCFixupKindInfo Infos[MSP430::NumTargetFixupKinds]
// in MSP430AsmBackend.cpp.
//
enum Fixups {
// A 32 bit absolute fixup.
fixup_32 = FirstTargetFixupKind,
// A 10 bit PC relative fixup.
fixup_10_pcrel,
// A 16 bit absolute fixup.
fixup_16,
// A 16 bit PC relative fixup.
fixup_16_pcrel,
// A 16 bit absolute fixup for byte operations.
fixup_16_byte,
// A 16 bit PC relative fixup for command address.
fixup_16_pcrel_byte,
// A 10 bit PC relative fixup for complicated polymorphs.
fixup_2x_pcrel,
// A 16 bit relaxable fixup.
fixup_rl_pcrel,
// A 8 bit absolute fixup.
fixup_8,
// A 32 bit symbol difference fixup.
fixup_sym_diff,
// Marker
LastTargetFixupKind,
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
};
} // end namespace MSP430
} // end namespace llvm
#endif