blob: d5a9365d75c11f351a91612c2beaed761ef7ac57 [file] [log] [blame]
Andrew Lenhartha7a83b92005-09-29 22:54:56 +00001//===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattnerf3ebc3f2007-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 Lenhartha7a83b92005-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 Lattner766361e2005-10-23 22:15:34 +000016#include "AlphaGenSubtarget.inc"
Andrew Lenhartha7a83b92005-09-29 22:54:56 +000017using namespace llvm;
18
Andrew Lenhartha7a83b92005-09-29 22:54:56 +000019AlphaSubtarget::AlphaSubtarget(const Module &M, const std::string &FS)
Andrew Lenharthc4bdea02007-01-24 21:09:16 +000020 : HasCT(false) {
Andrew Lenharth49e48f62005-09-30 20:24:38 +000021 std::string CPU = "generic";
Jim Laskeya2b52352005-10-26 17:30:34 +000022
23 // Parse features string.
24 ParseSubtargetFeatures(FS, CPU);
Andrew Lenhartha7a83b92005-09-29 22:54:56 +000025}