zpu: wip eke out some simple instructions for load/store/add
[llvm/zpu.git] / lib / Target / ZPU / ZPUSubtarget.cpp
blob4161da3ef7a7c085e237b18a0b36ea62b5eb18ce
1 //===- ZPUSubtarget.cpp - ZPU 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 ZPU specific subclass of TargetSubtarget.
12 //===----------------------------------------------------------------------===//
14 #include "ZPUSubtarget.h"
15 #include "ZPU.h"
16 #include "ZPUGenSubtarget.inc"
17 using namespace llvm;
19 ZPUSubtarget::ZPUSubtarget(const std::string &TT, const std::string &FS,
20 bool little) :
21 HasSwap(false),ZPUArchVersion(ZPU1)