2011-08-30 09:27:02 +02:00
|
|
|
//===-- SPUMCTargetDesc.h - CellSPU Target Descriptions ---------*- C++ -*-===//
|
2011-07-14 22:59:42 +02:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2011-08-30 09:27:02 +02:00
|
|
|
// This file provides CellSPU specific target descriptions.
|
2011-07-14 22:59:42 +02:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef SPUMCTARGETDESC_H
|
|
|
|
#define SPUMCTARGETDESC_H
|
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class Target;
|
|
|
|
|
|
|
|
extern Target TheCellSPUTarget;
|
|
|
|
|
|
|
|
} // End llvm namespace
|
|
|
|
|
|
|
|
// Define symbolic names for Cell registers. This defines a mapping from
|
|
|
|
// register name to register number.
|
|
|
|
//
|
|
|
|
#define GET_REGINFO_ENUM
|
|
|
|
#include "SPUGenRegisterInfo.inc"
|
|
|
|
|
|
|
|
// Defines symbolic names for the SPU instructions.
|
|
|
|
//
|
|
|
|
#define GET_INSTRINFO_ENUM
|
|
|
|
#include "SPUGenInstrInfo.inc"
|
|
|
|
|
|
|
|
#define GET_SUBTARGETINFO_ENUM
|
|
|
|
#include "SPUGenSubtargetInfo.inc"
|
|
|
|
|
|
|
|
#endif
|