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
23 class MCSubtargetInfo;
25 class TargetAsmBackend;
28 extern Target ThePPC32Target;
29 extern Target ThePPC64Target;
31 MCCodeEmitter *createPPCMCCodeEmitter(const MCInstrInfo &MCII,
32 const MCSubtargetInfo &STI,
35 TargetAsmBackend *createPPCAsmBackend(const Target &, const std::string &);
37 } // End llvm namespace
39 // Defines symbolic names for PowerPC registers. This defines a mapping from
40 // register name to register number.
42 #define GET_REGINFO_ENUM
43 #include "PPCGenRegisterInfo.inc"
45 // Defines symbolic names for the PowerPC instructions.
47 #define GET_INSTRINFO_ENUM
48 #include "PPCGenInstrInfo.inc"
50 #define GET_SUBTARGETINFO_ENUM
51 #include "PPCGenSubtargetInfo.inc"