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