1dff0c46cSDimitry Andric //===-- XCoreSubtarget.cpp - XCore Subtarget Information ------------------===//
2f22ef01cSRoman Divacky //
3f22ef01cSRoman Divacky // The LLVM Compiler Infrastructure
4f22ef01cSRoman Divacky //
5f22ef01cSRoman Divacky // This file is distributed under the University of Illinois Open Source
6f22ef01cSRoman Divacky // License. See LICENSE.TXT for details.
7f22ef01cSRoman Divacky //
8f22ef01cSRoman Divacky //===----------------------------------------------------------------------===//
9f22ef01cSRoman Divacky //
1017a519f9SDimitry Andric // This file implements the XCore specific subclass of TargetSubtargetInfo.
11f22ef01cSRoman Divacky //
12f22ef01cSRoman Divacky //===----------------------------------------------------------------------===//
13f22ef01cSRoman Divacky
14f22ef01cSRoman Divacky #include "XCoreSubtarget.h"
15f22ef01cSRoman Divacky #include "XCore.h"
166122f3e6SDimitry Andric #include "llvm/Support/TargetRegistry.h"
1717a519f9SDimitry Andric
1891bc56edSDimitry Andric using namespace llvm;
1991bc56edSDimitry Andric
2091bc56edSDimitry Andric #define DEBUG_TYPE "xcore-subtarget"
2191bc56edSDimitry Andric
2217a519f9SDimitry Andric #define GET_SUBTARGETINFO_TARGET_DESC
2317a519f9SDimitry Andric #define GET_SUBTARGETINFO_CTOR
2417a519f9SDimitry Andric #include "XCoreGenSubtargetInfo.inc"
2517a519f9SDimitry Andric
anchor()26dff0c46cSDimitry Andric void XCoreSubtarget::anchor() { }
27dff0c46cSDimitry Andric
XCoreSubtarget(const Triple & TT,const std::string & CPU,const std::string & FS,const TargetMachine & TM)288f0fd8f6SDimitry Andric XCoreSubtarget::XCoreSubtarget(const Triple &TT, const std::string &CPU,
2991bc56edSDimitry Andric const std::string &FS, const TargetMachine &TM)
30ff0cc061SDimitry Andric : XCoreGenSubtargetInfo(TT, CPU, FS), InstrInfo(), FrameLowering(*this),
31*875ed548SDimitry Andric TLInfo(TM, *this), TSInfo() {}
32