1 //===-- M68kTargetInfo.cpp - M68k Target Implementation ---------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 /// This file contains M68k target initializer.
12 //===----------------------------------------------------------------------===//
13 #include "llvm/MC/TargetRegistry.h"
18 Target
&getTheM68kTarget() {
19 static Target TheM68kTarget
;
24 extern "C" LLVM_EXTERNAL_VISIBILITY
void LLVMInitializeM68kTargetInfo() {
25 RegisterTarget
<Triple::m68k
, /*HasJIT=*/true> X(
26 getTheM68kTarget(), "m68k", "Motorola 68000 family", "M68k");