2008-11-07 11:59:00 +01: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 23:01:15 +02:00
|
|
|
// This file implements the XCore specific subclass of TargetSubtargetInfo.
|
2008-11-07 11:59:00 +01:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "XCoreSubtarget.h"
|
|
|
|
#include "XCore.h"
|
2011-07-09 07:47:46 +02:00
|
|
|
#include "llvm/Target/TargetRegistry.h"
|
2011-07-01 22:45:01 +02:00
|
|
|
|
|
|
|
#define GET_SUBTARGETINFO_TARGET_DESC
|
2011-07-08 03:53:10 +02:00
|
|
|
#define GET_SUBTARGETINFO_CTOR
|
2011-07-02 00:36:09 +02:00
|
|
|
#include "XCoreGenSubtargetInfo.inc"
|
2011-07-01 22:45:01 +02:00
|
|
|
|
2008-11-07 11:59:00 +01:00
|
|
|
using namespace llvm;
|
|
|
|
|
2011-06-30 03:53:36 +02:00
|
|
|
XCoreSubtarget::XCoreSubtarget(const std::string &TT,
|
|
|
|
const std::string &CPU, const std::string &FS)
|
2011-07-07 09:07:08 +02:00
|
|
|
: XCoreGenSubtargetInfo(TT, CPU, FS)
|
2008-11-07 11:59:00 +01:00
|
|
|
{
|
|
|
|
}
|