blob: d5a9365d75c11f351a91612c2beaed761ef7ac57 [file] [log] [blame]
Andrew Lenharth120ab482005-09-29 22:54:56 +00001//===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Andrew Lenharth120ab482005-09-29 22:54:56 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file implements the Alpha specific subclass of TargetSubtarget.
11//
12//===----------------------------------------------------------------------===//
13
14#include "AlphaSubtarget.h"
15#include "Alpha.h"
Chris Lattnered465f52005-10-23 22:15:34 +000016#include "AlphaGenSubtarget.inc"
Andrew Lenharth120ab482005-09-29 22:54:56 +000017using namespace llvm;
18
Andrew Lenharth120ab482005-09-29 22:54:56 +000019AlphaSubtarget::AlphaSubtarget(const Module &M, const std::string &FS)
Andrew Lenharth3553d862007-01-24 21:09:16 +000020 : HasCT(false) {
Andrew Lenharthac35cd22005-09-30 20:24:38 +000021 std::string CPU = "generic";
Jim Laskey581a8f72005-10-26 17:30:34 +000022
23 // Parse features string.
24 ParseSubtargetFeatures(FS, CPU);
Andrew Lenharth120ab482005-09-29 22:54:56 +000025}