blob: e2b9efd35d3e5ae142f75e530467d788aabd98f0 [file] [log] [blame]
Ulrich Weigand5f613df2013-05-06 16:15:19 +00001//===-- SystemZTargetInfo.cpp - SystemZ target implementation -------------===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#include "SystemZ.h"
11#include "llvm/Support/TargetRegistry.h"
12
13using namespace llvm;
14
Mehdi Aminif42454b2016-10-09 23:00:34 +000015Target &llvm::getTheSystemZTarget() {
16 static Target TheSystemZTarget;
17 return TheSystemZTarget;
18}
Ulrich Weigand5f613df2013-05-06 16:15:19 +000019
20extern "C" void LLVMInitializeSystemZTargetInfo() {
Daniel Sanders725584e2017-11-15 23:55:44 +000021 RegisterTarget<Triple::systemz, /*HasJIT=*/true> X(
22 getTheSystemZTarget(), "systemz", "SystemZ", "SystemZ");
Ulrich Weigand5f613df2013-05-06 16:15:19 +000023}