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