LLVM
4.0.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
llvm.src
lib
Target
SystemZ
TargetInfo
SystemZTargetInfo.cpp
Go to the documentation of this file.
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
(
getTheSystemZTarget
(),
22
"systemz"
,
"SystemZ"
);
23
}
llvm::RegisterTarget
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
Definition:
TargetRegistry.h:865
SystemZ.h
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
llvm::Target
Target - Wrapper for Target specific information.
Definition:
TargetRegistry.h:87
LLVMInitializeSystemZTargetInfo
void LLVMInitializeSystemZTargetInfo()
Definition:
SystemZTargetInfo.cpp:20
llvm::getTheSystemZTarget
Target & getTheSystemZTarget()
Definition:
SystemZTargetInfo.cpp:15
llvm::Triple::systemz
Definition:
Triple.h:72
TargetRegistry.h
Generated on Wed Mar 8 2017 17:29:17 for LLVM by
1.8.6