blob: 4b7d612788a30f5affb213d51131990c027e861a [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file was developed by Andrew Lenharth and is distributed under the
6// University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
10// This file implements the Alpha specific subclass of TargetSubtarget.
11//
12//===----------------------------------------------------------------------===//
13
14#include "AlphaSubtarget.h"
15#include "Alpha.h"
16#include "AlphaGenSubtarget.inc"
17using namespace llvm;
18
19AlphaSubtarget::AlphaSubtarget(const Module &M, const std::string &FS)
20 : HasCT(false) {
21 std::string CPU = "generic";
22
23 // Parse features string.
24 ParseSubtargetFeatures(FS, CPU);
25}