[RISCV] Add support for Smepmp 1.0 (#78489)
[llvm-project.git] / llvm / lib / Target / M68k / TargetInfo / M68kTargetInfo.cpp
blob4701f46b0298c18b7baff1b27046a026d7158f17
1 //===-- M68kTargetInfo.cpp - M68k Target Implementation ---------*- C++ -*-===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 ///
9 /// \file
10 /// This file contains M68k target initializer.
11 ///
12 //===----------------------------------------------------------------------===//
13 #include "llvm/MC/TargetRegistry.h"
15 using namespace llvm;
17 namespace llvm {
18 Target &getTheM68kTarget() {
19 static Target TheM68kTarget;
20 return TheM68kTarget;
22 } // namespace llvm
24 extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetInfo() {
25 RegisterTarget<Triple::m68k, /*HasJIT=*/true> X(
26 getTheM68kTarget(), "m68k", "Motorola 68000 family", "M68k");