LLVM  3.7.0
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"
13 using namespace llvm;
14 
16 
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 }
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
void LLVMInitializePowerPCTargetInfo()
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
Module.h This file contains the declarations for the Module class.
Target ThePPC32Target
Target ThePPC64LETarget
Target - Wrapper for Target specific information.
Target ThePPC64Target
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")