xref: /freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/CSKY.td (revision 19261079b74319502c6ffa1249920079f0f69a72)
1//===-- CSKY.td - Describe the CSKY 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
9include "llvm/Target/Target.td"
10
11//===----------------------------------------------------------------------===//
12// Registers, calling conventions, instruction descriptions.
13//===----------------------------------------------------------------------===//
14
15include "CSKYRegisterInfo.td"
16include "CSKYInstrInfo.td"
17
18//===----------------------------------------------------------------------===//
19// CSKY processors supported.
20//===----------------------------------------------------------------------===//
21
22def : ProcessorModel<"generic-csky", NoSchedModel, []>;
23
24//===----------------------------------------------------------------------===//
25// Define the CSKY target.
26//===----------------------------------------------------------------------===//
27
28def CSKYInstrInfo : InstrInfo;
29
30def CSKY : Target {
31  let InstructionSet = CSKYInstrInfo;
32}
33