Path: blob/main/contrib/llvm-project/llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.cpp
35294 views
//===-- M68kTargetInfo.cpp - M68k Target Implementation ---------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7///8/// \file9/// This file contains M68k target initializer.10///11//===----------------------------------------------------------------------===//12#include "llvm/MC/TargetRegistry.h"1314using namespace llvm;1516namespace llvm {17Target &getTheM68kTarget() {18static Target TheM68kTarget;19return TheM68kTarget;20}21} // namespace llvm2223extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeM68kTargetInfo() {24RegisterTarget<Triple::m68k, /*HasJIT=*/true> X(25getTheM68kTarget(), "m68k", "Motorola 68000 family", "M68k");26}272829