1 //===-- PPCMCTargetDesc.h - PowerPC Target Descriptions ---------*- C++ -*-===//
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 //===----------------------------------------------------------------------===//
10 // This file provides PowerPC specific target descriptions.
12 //===----------------------------------------------------------------------===//
14 #ifndef PPCMCTARGETDESC_H
15 #define PPCMCTARGETDESC_H
22 class MCSubtargetInfo;
26 extern Target ThePPC32Target;
27 extern Target ThePPC64Target;
29 MCCodeEmitter *createPPCMCCodeEmitter(const MCInstrInfo &MCII,
30 const MCSubtargetInfo &STI,
33 MCAsmBackend *createPPCAsmBackend(const Target &T, StringRef TT);
35 } // End llvm namespace
37 // Defines symbolic names for PowerPC registers. This defines a mapping from
38 // register name to register number.
40 #define GET_REGINFO_ENUM
41 #include "PPCGenRegisterInfo.inc"
43 // Defines symbolic names for the PowerPC instructions.
45 #define GET_INSTRINFO_ENUM
46 #include "PPCGenInstrInfo.inc"
48 #define GET_SUBTARGETINFO_ENUM
49 #include "PPCGenSubtargetInfo.inc"