]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / contrib / llvm / lib / Target / PowerPC / MCTargetDesc / PPCMCTargetDesc.h
1 //===-- PPCMCTargetDesc.h - PowerPC Target Descriptions ---------*- C++ -*-===//
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 // This file provides PowerPC specific target descriptions.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef PPCMCTARGETDESC_H
15 #define PPCMCTARGETDESC_H
16
17 namespace llvm {
18 class MCSubtargetInfo;
19 class Target;
20 class StringRef;
21
22 extern Target ThePPC32Target;
23 extern Target ThePPC64Target;
24   
25 } // End llvm namespace
26
27 // Defines symbolic names for PowerPC registers.  This defines a mapping from
28 // register name to register number.
29 //
30 #define GET_REGINFO_ENUM
31 #include "PPCGenRegisterInfo.inc"
32
33 // Defines symbolic names for the PowerPC instructions.
34 //
35 #define GET_INSTRINFO_ENUM
36 #include "PPCGenInstrInfo.inc"
37
38 #define GET_SUBTARGETINFO_ENUM
39 #include "PPCGenSubtargetInfo.inc"
40
41 #endif