2007-12-04 07:14:43 +08:00
|
|
|
//===-- SPU.h - Top-level interface for Cell SPU Target ----------*- C++ -*-==//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-30 04:36:04 +08:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2007-12-04 07:14:43 +08:00
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// This file contains the entry points for global functions defined in the LLVM
|
|
|
|
// Cell SPU back-end.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#ifndef LLVM_TARGET_IBMCELLSPU_H
|
|
|
|
#define LLVM_TARGET_IBMCELLSPU_H
|
|
|
|
|
2009-04-30 07:29:43 +08:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
2007-12-04 07:14:43 +08:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class SPUTargetMachine;
|
|
|
|
class FunctionPass;
|
2009-07-15 04:18:05 +08:00
|
|
|
class formatted_raw_ostream;
|
2007-12-04 07:14:43 +08:00
|
|
|
|
|
|
|
FunctionPass *createSPUISelDag(SPUTargetMachine &TM);
|
|
|
|
|
2009-07-19 07:03:22 +08:00
|
|
|
extern Target TheCellSPUTarget;
|
2007-12-04 07:14:43 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Defines symbolic names for the SPU instructions.
|
|
|
|
//
|
|
|
|
#include "SPUGenInstrNames.inc"
|
|
|
|
|
|
|
|
#endif /* LLVM_TARGET_IBMCELLSPU_H */
|