LLVM 20.0.0git
M68kTargetInfo.cpp
Go to the documentation of this file.
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//===----------------------------------------------------------------------===//
14
15using namespace llvm;
16
17namespace llvm {
19 static Target TheM68kTarget;
20 return TheM68kTarget;
21}
22} // namespace llvm
23
25 RegisterTarget<Triple::m68k, /*HasJIT=*/true> X(
26 getTheM68kTarget(), "m68k", "Motorola 68000 family", "M68k");
27}
#define LLVM_EXTERNAL_VISIBILITY
Definition: Compiler.h:131
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetInfo()
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
Target & getTheM68kTarget()
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...