LLVM API Documentation
00001 //===- MSP430Subtarget.cpp - MSP430 Subtarget Information ---------*- C++ -*-=// 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 // This file implements the MSP430 specific subclass of TargetSubtarget. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #include "MSP430Subtarget.h" 00015 #include "MSP430.h" 00016 #include "MSP430GenSubtarget.inc" 00017 00018 using namespace llvm; 00019 00020 MSP430Subtarget::MSP430Subtarget(const std::string &TT, const std::string &FS) { 00021 std::string CPU = "generic"; 00022 00023 // Parse features string. 00024 ParseSubtargetFeatures(FS, CPU); 00025 }