LLVM  14.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 //===----------------------------------------------------------------------===//
13 #include "llvm/MC/TargetRegistry.h"
14 
15 using namespace llvm;
16 
17 namespace 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 }
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::Target
Target - Wrapper for Target specific information.
Definition: TargetRegistry.h:137
llvm::getTheM68kTarget
Target & getTheM68kTarget()
Definition: M68kTargetInfo.cpp:18
LLVMInitializeM68kTargetInfo
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetInfo()
Definition: M68kTargetInfo.cpp:24
llvm::Triple::m68k
@ m68k
Definition: Triple.h:61
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang", "erlang-compatible garbage collector")
LLVM_EXTERNAL_VISIBILITY
#define LLVM_EXTERNAL_VISIBILITY
Definition: Compiler.h:132
llvm::RegisterTarget
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
Definition: TargetRegistry.h:1057
TargetRegistry.h