LLVM API Documentation

PIC16TargetInfo.cpp

Go to the documentation of this file.
00001 //===-- PIC16TargetInfo.cpp - PIC16 Target Implementation -----------------===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 
00010 #include "PIC16.h"
00011 #include "llvm/Module.h"
00012 #include "llvm/Target/TargetRegistry.h"
00013 using namespace llvm;
00014 
00015 Target llvm::ThePIC16Target, llvm::TheCooperTarget;
00016 
00017 extern "C" void LLVMInitializePIC16TargetInfo() { 
00018   RegisterTarget<> X(ThePIC16Target, "pic16", "PIC16 14-bit [experimental]");
00019 
00020   RegisterTarget<> Y(TheCooperTarget, "cooper", "PIC16 Cooper [experimental]");
00021 }