2007-12-03 23:14:43 +00:00
|
|
|
//===-- SPU.h - Top-level interface for Cell SPU Target ----------*- C++ -*-==//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
2007-12-29 20:36:04 +00:00
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
2007-12-03 23:14:43 +00: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-29 23:29:43 +00:00
|
|
|
#include "llvm/Target/TargetMachine.h"
|
2007-12-03 23:14:43 +00:00
|
|
|
|
|
|
|
namespace llvm {
|
|
|
|
class SPUTargetMachine;
|
|
|
|
class FunctionPass;
|
2009-07-14 20:18:05 +00:00
|
|
|
class formatted_raw_ostream;
|
2007-12-03 23:14:43 +00:00
|
|
|
|
|
|
|
FunctionPass *createSPUISelDag(SPUTargetMachine &TM);
|
2011-01-11 09:07:54 +00:00
|
|
|
FunctionPass *createSPUNopFillerPass(SPUTargetMachine &tm);
|
2007-12-03 23:14:43 +00:00
|
|
|
|
2009-07-18 23:03:22 +00:00
|
|
|
extern Target TheCellSPUTarget;
|
2007-12-03 23:14:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Defines symbolic names for the SPU instructions.
|
|
|
|
//
|
|
|
|
#include "SPUGenInstrNames.inc"
|
|
|
|
|
|
|
|
#endif /* LLVM_TARGET_IBMCELLSPU_H */
|