mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
964a041a08
They were copied from SPARC V8 and V9.
22 lines
693 B
C++
22 lines
693 B
C++
//===-- Mos6502TargetInfo.cpp - Mos6502 Target Implementation -----------------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "Mos6502.h"
|
|
#include "llvm/IR/Module.h"
|
|
#include "llvm/Support/TargetRegistry.h"
|
|
|
|
using namespace llvm;
|
|
|
|
Target llvm::TheMos6502Target;
|
|
|
|
extern "C" void LLVMInitializeMos6502TargetInfo() {
|
|
RegisterTarget<Triple::mos6502, /*HasJIT=*/true> Z(TheMos6502Target,
|
|
"mos6502", "Mos6502");
|
|
}
|