• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===-- SPUMCTargetDesc.h - CellSPU 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 CellSPU specific target descriptions.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef SPUMCTARGETDESC_H
15 #define SPUMCTARGETDESC_H
16 
17 namespace llvm {
18 class MCSubtargetInfo;
19 class Target;
20 class StringRef;
21 
22 extern Target TheCellSPUTarget;
23 
24 } // End llvm namespace
25 
26 // Define symbolic names for Cell registers.  This defines a mapping from
27 // register name to register number.
28 //
29 #define GET_REGINFO_ENUM
30 #include "SPUGenRegisterInfo.inc"
31 
32 // Defines symbolic names for the SPU instructions.
33 //
34 #define GET_INSTRINFO_ENUM
35 #include "SPUGenInstrInfo.inc"
36 
37 #define GET_SUBTARGETINFO_ENUM
38 #include "SPUGenSubtargetInfo.inc"
39 
40 #endif
41