PPCMCTargetDesc.h revision 224133
1224133Sdim//===-- PPCMCTargetDesc.h - PowerPC Target Descriptions ---------*- C++ -*-===//
2224133Sdim//
3224133Sdim//                     The LLVM Compiler Infrastructure
4224133Sdim//
5224133Sdim// This file is distributed under the University of Illinois Open Source
6224133Sdim// License. See LICENSE.TXT for details.
7224133Sdim//
8224133Sdim//===----------------------------------------------------------------------===//
9224133Sdim//
10224133Sdim// This file provides PowerPC specific target descriptions.
11224133Sdim//
12224133Sdim//===----------------------------------------------------------------------===//
13224133Sdim
14224133Sdim#ifndef PPCMCTARGETDESC_H
15224133Sdim#define PPCMCTARGETDESC_H
16224133Sdim
17224133Sdimnamespace llvm {
18224133Sdimclass MCSubtargetInfo;
19224133Sdimclass Target;
20224133Sdimclass StringRef;
21224133Sdim
22224133Sdimextern Target ThePPC32Target;
23224133Sdimextern Target ThePPC64Target;
24224133Sdim
25224133Sdim} // End llvm namespace
26224133Sdim
27224133Sdim// Defines symbolic names for PowerPC registers.  This defines a mapping from
28224133Sdim// register name to register number.
29224133Sdim//
30224133Sdim#define GET_REGINFO_ENUM
31224133Sdim#include "PPCGenRegisterInfo.inc"
32224133Sdim
33224133Sdim// Defines symbolic names for the PowerPC instructions.
34224133Sdim//
35224133Sdim#define GET_INSTRINFO_ENUM
36224133Sdim#include "PPCGenInstrInfo.inc"
37224133Sdim
38224133Sdim#define GET_SUBTARGETINFO_ENUM
39224133Sdim#include "PPCGenSubtargetInfo.inc"
40224133Sdim
41224133Sdim#endif
42