mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 17:32:49 +00:00
dca6cdd6a1
Stefanovic. I removed the part that actually emits the instructions cause I want that to get in better shape first and in incremental steps. This also makes it easier to review the upcoming parts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135678 91177308-0d34-0410-b5e6-96231b3b80d8
24 lines
740 B
C++
24 lines
740 B
C++
//===-- MipsTargetInfo.cpp - Mips Target Implementation -------------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "Mips.h"
|
|
#include "llvm/Module.h"
|
|
#include "llvm/Target/TargetRegistry.h"
|
|
using namespace llvm;
|
|
|
|
Target llvm::TheMipsTarget, llvm::TheMipselTarget;
|
|
|
|
extern "C" void LLVMInitializeMipsTargetInfo() {
|
|
RegisterTarget<Triple::mips,
|
|
/*HasJIT=*/true> X(TheMipsTarget, "mips", "Mips");
|
|
|
|
RegisterTarget<Triple::mipsel,
|
|
/*HasJIT=*/true> Y(TheMipselTarget, "mipsel", "Mipsel");
|
|
}
|