1 //===-- PIC16TargetInfo.cpp - PIC16 Target Implementation -----------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
15 Target llvm::ThePIC16Target, llvm::TheCooperTarget;
17 extern "C" void LLVMInitializePIC16TargetInfo() {
18 RegisterTarget<Triple::pic16> X(ThePIC16Target, "pic16",
19 "PIC16 14-bit [experimental]");
21 RegisterTarget<> Y(TheCooperTarget, "cooper", "PIC16 Cooper [experimental]");