2008-05-13 09:02:57 +00: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
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
include "../Target.td"
|
|
|
|
|
|
|
|
include "PIC16RegisterInfo.td"
|
|
|
|
include "PIC16InstrInfo.td"
|
|
|
|
|
2008-11-19 11:00:54 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// Subtarget Features.
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
def FeatureCooper : SubtargetFeature<"cooper", "IsCooper", "true",
|
|
|
|
"PIC16 Cooper ISA Support">;
|
2008-05-13 09:02:57 +00:00
|
|
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
2008-11-19 11:00:54 +00:00
|
|
|
// PIC16 supported processors.
|
2008-05-13 09:02:57 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
def : Processor<"generic", NoItineraries, []>;
|
2008-11-19 11:00:54 +00:00
|
|
|
def : Processor<"cooper", NoItineraries, [FeatureCooper]>;
|
|
|
|
|
|
|
|
|
|
|
|
def PIC16InstrInfo : InstrInfo {}
|
2008-05-13 09:02:57 +00:00
|
|
|
|
|
|
|
def PIC16 : Target {
|
|
|
|
let InstructionSet = PIC16InstrInfo;
|
|
|
|
}
|
|
|
|
|