LLVM
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
lib
Target
PowerPC
TargetInfo
PowerPCTargetInfo.cpp
Go to the documentation of this file.
1
//===-- PowerPCTargetInfo.cpp - PowerPC 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 "
PPC.h
"
11
#include "
llvm/IR/Module.h
"
12
#include "
llvm/Support/TargetRegistry.h
"
13
using namespace
llvm;
14
15
Target
llvm::ThePPC32Target
,
llvm::ThePPC64Target
,
llvm::ThePPC64LETarget
;
16
17
extern
"C"
void
LLVMInitializePowerPCTargetInfo
() {
18
RegisterTarget
<
Triple::ppc
,
/*HasJIT=*/
true
>
19
X
(
ThePPC32Target
,
"ppc32"
,
"PowerPC 32"
);
20
21
RegisterTarget
<
Triple::ppc64
,
/*HasJIT=*/
true
>
22
Y
(
ThePPC64Target
,
"ppc64"
,
"PowerPC 64"
);
23
24
RegisterTarget
<
Triple::ppc64le
,
/*HasJIT=*/
true
>
25
Z(
ThePPC64LETarget
,
"ppc64le"
,
"PowerPC 64 LE"
);
26
}
llvm::RegisterTarget
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
Definition:
TargetRegistry.h:870
llvm::Triple::ppc
Definition:
Triple.h:61
LLVMInitializePowerPCTargetInfo
void LLVMInitializePowerPCTargetInfo()
Definition:
PowerPCTargetInfo.cpp:17
llvm::Triple::ppc64
Definition:
Triple.h:62
PPC.h
llvm::Triple::ppc64le
Definition:
Triple.h:63
X
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
Module.h
Module.h This file contains the declarations for the Module class.
llvm::ThePPC32Target
Target ThePPC32Target
Definition:
PowerPCTargetInfo.cpp:15
llvm::ThePPC64LETarget
Target ThePPC64LETarget
Definition:
PowerPCTargetInfo.cpp:15
llvm::Target
Target - Wrapper for Target specific information.
Definition:
TargetRegistry.h:87
llvm::ThePPC64Target
Target ThePPC64Target
Definition:
PowerPCTargetInfo.cpp:15
TargetRegistry.h
Y
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")
Generated on Mon Aug 31 2015 11:05:29 for LLVM by
1.8.6