1 //===-- PowerPCTargetInfo.cpp - PowerPC Target Implementation -------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
11 #include "llvm/Module.h"
12 #include "llvm/Target/TargetRegistry.h"
15 Target
llvm::ThePPC32Target
, llvm::ThePPC64Target
;
17 extern "C" void LLVMInitializePowerPCTargetInfo() {
18 RegisterTarget
<Triple::ppc
, /*HasJIT=*/true>
19 X(ThePPC32Target
, "ppc32", "PowerPC 32");
21 RegisterTarget
<Triple::ppc64
, /*HasJIT=*/true>
22 Y(ThePPC64Target
, "ppc64", "PowerPC 64");