zpu: wip eke out some simple instructions for load/store/add
[llvm/zpu.git] / lib / Target / Alpha / AlphaSubtarget.cpp
blobbda7104ab926802fe719d99a9e8ea4b09b7ddbb0
1 //===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file implements the Alpha specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #include "AlphaSubtarget.h"
15 #include "Alpha.h"
16 #include "AlphaGenSubtarget.inc"
17 using namespace llvm;
19 AlphaSubtarget::AlphaSubtarget(const std::string &TT, const std::string &FS)
20 : HasCT(false) {
21 std::string CPU = "generic";
23 // Parse features string.
24 ParseSubtargetFeatures(FS, CPU);