xref: /minix3/external/bsd/llvm/dist/llvm/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc //===-- MSP430TargetInfo.cpp - MSP430 Target Implementation ---------------===//
2*f4a2713aSLionel Sambuc //
3*f4a2713aSLionel Sambuc //                     The LLVM Compiler Infrastructure
4*f4a2713aSLionel Sambuc //
5*f4a2713aSLionel Sambuc // This file is distributed under the University of Illinois Open Source
6*f4a2713aSLionel Sambuc // License. See LICENSE.TXT for details.
7*f4a2713aSLionel Sambuc //
8*f4a2713aSLionel Sambuc //===----------------------------------------------------------------------===//
9*f4a2713aSLionel Sambuc 
10*f4a2713aSLionel Sambuc #include "MSP430.h"
11*f4a2713aSLionel Sambuc #include "llvm/IR/Module.h"
12*f4a2713aSLionel Sambuc #include "llvm/Support/TargetRegistry.h"
13*f4a2713aSLionel Sambuc using namespace llvm;
14*f4a2713aSLionel Sambuc 
15*f4a2713aSLionel Sambuc Target llvm::TheMSP430Target;
16*f4a2713aSLionel Sambuc 
LLVMInitializeMSP430TargetInfo()17*f4a2713aSLionel Sambuc extern "C" void LLVMInitializeMSP430TargetInfo() {
18*f4a2713aSLionel Sambuc   RegisterTarget<Triple::msp430>
19*f4a2713aSLionel Sambuc     X(TheMSP430Target, "msp430", "MSP430 [experimental]");
20*f4a2713aSLionel Sambuc }
21