2008-05-13 11:02:57 +02:00
|
|
|
//===- PIC16.td - Describe the PIC16 Target Machine -----------*- tblgen -*-==//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// This is the top level entry point for the PIC16 target.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Target-independent interfaces
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2008-11-24 08:34:46 +01:00
|
|
|
include "llvm/Target/Target.td"
|
2008-05-13 11:02:57 +02:00
|
|
|
|
|
|
|
include "PIC16RegisterInfo.td"
|
|
|
|
include "PIC16InstrInfo.td"
|
|
|
|
|
2008-11-19 12:00:54 +01:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Subtarget Features.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
def FeatureCooper : SubtargetFeature<"cooper", "IsCooper", "true",
|
|
|
|
"PIC16 Cooper ISA Support">;
|
2008-05-13 11:02:57 +02:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
2008-11-19 12:00:54 +01:00
|
|
|
// PIC16 supported processors.
|
2008-05-13 11:02:57 +02:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
def : Processor<"generic", NoItineraries, []>;
|
2008-11-19 12:00:54 +01:00
|
|
|
def : Processor<"cooper", NoItineraries, [FeatureCooper]>;
|
|
|
|
|
|
|
|
|
|
|
|
def PIC16InstrInfo : InstrInfo {}
|
2008-05-13 11:02:57 +02:00
|
|
|
|
|
|
|
def PIC16 : Target {
|
|
|
|
let InstructionSet = PIC16InstrInfo;
|
|
|
|
}
|
|
|
|
|