MSP430Subtarget.cpp revision 193323
1193323Sed//===- MSP430Subtarget.cpp - MSP430 Subtarget Information ---------*- C++ -*-=// 2193323Sed// 3193323Sed// The LLVM Compiler Infrastructure 4193323Sed// 5193323Sed// This file is distributed under the University of Illinois Open Source 6193323Sed// License. See LICENSE.TXT for details. 7193323Sed// 8193323Sed//===----------------------------------------------------------------------===// 9193323Sed// 10193323Sed// This file implements the MSP430 specific subclass of TargetSubtarget. 11193323Sed// 12193323Sed//===----------------------------------------------------------------------===// 13193323Sed 14193323Sed#include "MSP430Subtarget.h" 15193323Sed#include "MSP430.h" 16193323Sed#include "MSP430GenSubtarget.inc" 17193323Sed#include "llvm/Target/TargetMachine.h" 18193323Sed 19193323Sedusing namespace llvm; 20193323Sed 21193323SedMSP430Subtarget::MSP430Subtarget(const TargetMachine &TM, const Module &M, 22193323Sed const std::string &FS) { 23193323Sed std::string CPU = "generic"; 24193323Sed 25193323Sed // Parse features string. 26193323Sed ParseSubtargetFeatures(FS, CPU); 27193323Sed} 28