blob: 0ab4a3444f632a6eb303cb90cd69b21c5f9f95c0 [file] [log] [blame]
Sanjiv Gupta09bb4202008-05-13 09:02:57 +00001//===- PIC16.td - Describe the PIC16 Target Machine -----------*- tblgen -*-==//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9// This is the top level entry point for the PIC16 target.
10//===----------------------------------------------------------------------===//
11
12//===----------------------------------------------------------------------===//
13// Target-independent interfaces
14//===----------------------------------------------------------------------===//
15
16include "../Target.td"
17
18//===----------------------------------------------------------------------===//
19// Descriptions
20//===----------------------------------------------------------------------===//
21
22include "PIC16RegisterInfo.td"
23include "PIC16CallingConv.td"
24include "PIC16InstrInfo.td"
25
26def PIC16InstrInfo : InstrInfo {
27 let TSFlagsFields = [];
28 let TSFlagsShifts = [];
29}
30
31
32
33// Not currently supported, but work as SubtargetFeature placeholder.
34def FeaturePIC16Old : SubtargetFeature<"pic16old", "IsPIC16Old", "true",
35 "PIC16 Old ISA Support">;
36
37//===----------------------------------------------------------------------===//
38// PIC16 processors supported.
39//===----------------------------------------------------------------------===//
40
41def : Processor<"generic", NoItineraries, []>;
42
43def PIC16 : Target {
44 let InstructionSet = PIC16InstrInfo;
45}
46