mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
24257cb9ea
registeration and creation code into XXXMCDesc libraries. llvm-svn: 135184
29 lines
898 B
C++
29 lines
898 B
C++
//===- 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.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This file implements the XCore specific subclass of TargetSubtargetInfo.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "XCoreSubtarget.h"
|
|
#include "XCore.h"
|
|
#include "llvm/Target/TargetRegistry.h"
|
|
|
|
#define GET_SUBTARGETINFO_TARGET_DESC
|
|
#define GET_SUBTARGETINFO_CTOR
|
|
#include "XCoreGenSubtargetInfo.inc"
|
|
|
|
using namespace llvm;
|
|
|
|
XCoreSubtarget::XCoreSubtarget(const std::string &TT,
|
|
const std::string &CPU, const std::string &FS)
|
|
: XCoreGenSubtargetInfo(TT, CPU, FS)
|
|
{
|
|
}
|