2008-11-07 10:59:00 +00:00
|
|
|
//===- XCoreSubtarget.cpp - XCore Subtarget Information -----------*- C++ -*-=//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2011-07-01 21:01:15 +00:00
|
|
|
// This file implements the XCore specific subclass of TargetSubtargetInfo.
|
2008-11-07 10:59:00 +00:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "XCoreSubtarget.h"
|
|
|
|
#include "XCore.h"
|
2011-07-01 20:45:01 +00:00
|
|
|
|
|
|
|
#define GET_SUBTARGETINFO_CTOR
|
|
|
|
#define GET_SUBTARGETINFO_MC_DESC
|
|
|
|
#define GET_SUBTARGETINFO_TARGET_DESC
|
|
|
|
#include "XCoreGenSubtarget.inc"
|
|
|
|
|
2008-11-07 10:59:00 +00:00
|
|
|
using namespace llvm;
|
|
|
|
|
2011-06-30 01:53:36 +00:00
|
|
|
XCoreSubtarget::XCoreSubtarget(const std::string &TT,
|
|
|
|
const std::string &CPU, const std::string &FS)
|
2011-07-01 20:45:01 +00:00
|
|
|
: XCoreGenSubtargetInfo()
|
2008-11-07 10:59:00 +00:00
|
|
|
{
|
|
|
|
}
|