blob: a3717b0bfc10e25e32c5d83e44e2697aa4db1bda [file] [log] [blame]
James Molloye7815c22011-08-30 07:27:02 +00001//===-- SPUMCTargetDesc.h - CellSPU Target Descriptions ---------*- C++ -*-===//
Evan Chengc60f9b72011-07-14 20:59:42 +00002//
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//
James Molloye7815c22011-08-30 07:27:02 +000010// This file provides CellSPU specific target descriptions.
Evan Chengc60f9b72011-07-14 20:59:42 +000011//
12//===----------------------------------------------------------------------===//
13
14#ifndef SPUMCTARGETDESC_H
15#define SPUMCTARGETDESC_H
16
17namespace llvm {
18class MCSubtargetInfo;
19class Target;
20class StringRef;
21
22extern 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