xref: /aosp_15_r20/external/llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker //===-- SystemZTargetInfo.cpp - SystemZ target implementation -------------===//
2*9880d681SAndroid Build Coastguard Worker //
3*9880d681SAndroid Build Coastguard Worker //                     The LLVM Compiler Infrastructure
4*9880d681SAndroid Build Coastguard Worker //
5*9880d681SAndroid Build Coastguard Worker // This file is distributed under the University of Illinois Open Source
6*9880d681SAndroid Build Coastguard Worker // License. See LICENSE.TXT for details.
7*9880d681SAndroid Build Coastguard Worker //
8*9880d681SAndroid Build Coastguard Worker //===----------------------------------------------------------------------===//
9*9880d681SAndroid Build Coastguard Worker 
10*9880d681SAndroid Build Coastguard Worker #include "SystemZ.h"
11*9880d681SAndroid Build Coastguard Worker #include "llvm/Support/TargetRegistry.h"
12*9880d681SAndroid Build Coastguard Worker 
13*9880d681SAndroid Build Coastguard Worker using namespace llvm;
14*9880d681SAndroid Build Coastguard Worker 
15*9880d681SAndroid Build Coastguard Worker Target llvm::TheSystemZTarget;
16*9880d681SAndroid Build Coastguard Worker 
LLVMInitializeSystemZTargetInfo()17*9880d681SAndroid Build Coastguard Worker extern "C" void LLVMInitializeSystemZTargetInfo() {
18*9880d681SAndroid Build Coastguard Worker   RegisterTarget<Triple::systemz, /*HasJIT=*/true>
19*9880d681SAndroid Build Coastguard Worker     X(TheSystemZTarget, "systemz", "SystemZ");
20*9880d681SAndroid Build Coastguard Worker }
21