[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / lib / Target / XCore / XCore.td
bloba97b3dd1d0a2bcdc7636ef70e82271cf816099a2
1 //===-- XCore.td - Describe the XCore Target Machine -------*- tablegen -*-===//
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 // This is the top level entry point for the XCore target.
11 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
14 // Target-independent interfaces which we are implementing
15 //===----------------------------------------------------------------------===//
17 include "llvm/Target/Target.td"
19 //===----------------------------------------------------------------------===//
20 // Descriptions
21 //===----------------------------------------------------------------------===//
23 include "XCoreRegisterInfo.td"
24 include "XCoreInstrInfo.td"
25 include "XCoreCallingConv.td"
27 def XCoreInstrInfo : InstrInfo;
29 //===----------------------------------------------------------------------===//
30 // XCore processors supported.
31 //===----------------------------------------------------------------------===//
33 class Proc<string Name, list<SubtargetFeature> Features>
34  : Processor<Name, NoItineraries, Features>;
36 def : Proc<"generic",      []>;
37 def : Proc<"xs1b-generic", []>;
39 //===----------------------------------------------------------------------===//
40 // Declare the target which we are implementing
41 //===----------------------------------------------------------------------===//
43 def XCore : Target {
44   // Pull in Instruction Info:
45   let InstructionSet = XCoreInstrInfo;