]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / llvm / lib / Target / PowerPC / TargetInfo / PowerPCTargetInfo.cpp
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;
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 }