2005-09-30 00:54:56 +02:00
|
|
|
//===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 21:36:04 +01:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2005-09-30 00:54:56 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file implements the Alpha specific subclass of TargetSubtarget.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "AlphaSubtarget.h"
|
|
|
|
#include "Alpha.h"
|
2005-10-24 00:15:34 +02:00
|
|
|
#include "AlphaGenSubtarget.inc"
|
2005-09-30 00:54:56 +02:00
|
|
|
using namespace llvm;
|
|
|
|
|
2009-08-03 00:11:08 +02:00
|
|
|
AlphaSubtarget::AlphaSubtarget(const std::string &TT, const std::string &FS)
|
2007-01-24 22:09:16 +01:00
|
|
|
: HasCT(false) {
|
2005-09-30 22:24:38 +02:00
|
|
|
std::string CPU = "generic";
|
2005-10-26 19:30:34 +02:00
|
|
|
|
|
|
|
// Parse features string.
|
|
|
|
ParseSubtargetFeatures(FS, CPU);
|
2005-09-30 00:54:56 +02:00
|
|
|
}
|