Home | History | Annotate | Download | only in TargetInfo
      1 //===-- 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 
     13 using namespace llvm;
     14 
     15 Target &llvm::getTheSystemZTarget() {
     16   static Target TheSystemZTarget;
     17   return TheSystemZTarget;
     18 }
     19 
     20 extern "C" void LLVMInitializeSystemZTargetInfo() {
     21   RegisterTarget<Triple::systemz, /*HasJIT=*/true> X(
     22       getTheSystemZTarget(), "systemz", "SystemZ", "SystemZ");
     23 }
     24