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 Sambucextern "C" void LLVMInitializeMSP430TargetInfo() { 18*f4a2713aSLionel Sambuc RegisterTarget<Triple::msp430> 19*f4a2713aSLionel Sambuc X(TheMSP430Target, "msp430", "MSP430 [experimental]"); 20*f4a2713aSLionel Sambuc } 21