Kill Target specific ModuleMatchQuality stuff.
[oota-llvm.git] / lib / Target / PIC16 / TargetInfo / PIC16TargetInfo.cpp
1 //===-- PIC16TargetInfo.cpp - PIC16 Target Implementation -----------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #include "PIC16.h"
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
13 using namespace llvm;
14
15 Target llvm::ThePIC16Target;
16
17 static unsigned PIC16_TripleMatchQuality(const std::string &TT) {
18   return 0;
19 }
20
21 Target llvm::TheCooperTarget;
22
23 static unsigned Cooper_TripleMatchQuality(const std::string &TT) {
24   return 0;
25 }
26
27 extern "C" void LLVMInitializePIC16TargetInfo() { 
28   TargetRegistry::RegisterTarget(ThePIC16Target, "pic16",
29                                   "PIC16 14-bit [experimental]",
30                                   &PIC16_TripleMatchQuality);
31
32   TargetRegistry::RegisterTarget(TheCooperTarget, "cooper",    
33                                   "PIC16 Cooper [experimental]",
34                                   &Cooper_TripleMatchQuality);
35 }