1 //===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file implements the Alpha specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #include "AlphaSubtarget.h"
16 #include "AlphaGenSubtarget.inc"
19 AlphaSubtarget::AlphaSubtarget(const std::string &TT, const std::string &CPU,
20 const std::string &FS)
22 std::string CPUName = CPU;
26 // Parse features string.
27 ParseSubtargetFeatures(FS, CPUName);