| Scott Michel | d821fe7 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 1 | //===-- SPU.h - Top-level interface for Cell SPU Target ----------*- C++ -*-==// | 
|  | 2 | // | 
|  | 3 | //                     The LLVM Compiler Infrastructure | 
|  | 4 | // | 
| Chris Lattner | f3ebc3f | 2007-12-29 20:36:04 +0000 | [diff] [blame] | 5 | // This file is distributed under the University of Illinois Open Source | 
|  | 6 | // License. See LICENSE.TXT for details. | 
| Scott Michel | d821fe7 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 7 | // | 
|  | 8 | //===----------------------------------------------------------------------===// | 
|  | 9 | // | 
|  | 10 | // This file contains the entry points for global functions defined in the LLVM | 
|  | 11 | // Cell SPU back-end. | 
|  | 12 | // | 
|  | 13 | //===----------------------------------------------------------------------===// | 
|  | 14 |  | 
|  | 15 | #ifndef LLVM_TARGET_IBMCELLSPU_H | 
|  | 16 | #define LLVM_TARGET_IBMCELLSPU_H | 
|  | 17 |  | 
| Bill Wendling | 026e5d7 | 2009-04-29 23:29:43 +0000 | [diff] [blame] | 18 | #include "llvm/Target/TargetMachine.h" | 
| Scott Michel | d821fe7 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 19 |  | 
|  | 20 | namespace llvm { | 
|  | 21 | class SPUTargetMachine; | 
|  | 22 | class FunctionPass; | 
| David Greene | a31f96c | 2009-07-14 20:18:05 +0000 | [diff] [blame] | 23 | class formatted_raw_ostream; | 
| Scott Michel | d821fe7 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 24 |  | 
|  | 25 | FunctionPass *createSPUISelDag(SPUTargetMachine &TM); | 
| Scott Michel | d821fe7 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 26 |  | 
| Daniel Dunbar | 67038c1 | 2009-07-18 23:03:22 +0000 | [diff] [blame] | 27 | extern Target TheCellSPUTarget; | 
| Scott Michel | d821fe7 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 28 | } | 
|  | 29 |  | 
|  | 30 | // Defines symbolic names for the SPU instructions. | 
|  | 31 | // | 
|  | 32 | #include "SPUGenInstrNames.inc" | 
|  | 33 |  | 
|  | 34 | #endif /* LLVM_TARGET_IBMCELLSPU_H */ |