blob: bda7104ab926802fe719d99a9e8ea4b09b7ddbb0 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007//
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
Daniel Dunbarb711cf02009-08-02 22:11:08 +000019AlphaSubtarget::AlphaSubtarget(const std::string &TT, const std::string &FS)
Dan Gohmanf17a25c2007-07-18 16:29:46 +000020 : HasCT(false) {
21 std::string CPU = "generic";
22
23 // Parse features string.
24 ParseSubtargetFeatures(FS, CPU);
25}