2012-02-18 20:03:15 +08:00
|
|
|
//===-- XCoreSubtarget.cpp - XCore Subtarget Information ------------------===//
|
2008-11-07 18:59:00 +08:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2011-07-02 05:01:15 +08:00
|
|
|
// This file implements the XCore specific subclass of TargetSubtargetInfo.
|
2008-11-07 18:59:00 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "XCoreSubtarget.h"
|
|
|
|
#include "XCore.h"
|
2011-08-25 02:08:43 +08:00
|
|
|
#include "llvm/Support/TargetRegistry.h"
|
2011-07-02 04:45:01 +08:00
|
|
|
|
2014-04-22 06:55:11 +08:00
|
|
|
#define DEBUG_TYPE "xcore-subtarget"
|
|
|
|
|
2011-07-02 04:45:01 +08:00
|
|
|
#define GET_SUBTARGETINFO_TARGET_DESC
|
2011-07-08 09:53:10 +08:00
|
|
|
#define GET_SUBTARGETINFO_CTOR
|
2011-07-02 06:36:09 +08:00
|
|
|
#include "XCoreGenSubtargetInfo.inc"
|
2011-07-02 04:45:01 +08:00
|
|
|
|
2008-11-07 18:59:00 +08:00
|
|
|
using namespace llvm;
|
|
|
|
|
2011-12-20 10:50:00 +08:00
|
|
|
void XCoreSubtarget::anchor() { }
|
|
|
|
|
2011-06-30 09:53:36 +08:00
|
|
|
XCoreSubtarget::XCoreSubtarget(const std::string &TT,
|
|
|
|
const std::string &CPU, const std::string &FS)
|
2011-07-07 15:07:08 +08:00
|
|
|
: XCoreGenSubtargetInfo(TT, CPU, FS)
|
2008-11-07 18:59:00 +08:00
|
|
|
{
|
|
|
|
}
|