Jia Liu | 31d157a | 2012-02-18 12:03:15 +0000 | [diff] [blame] | 1 | //===-- SPU.h - Top-level interface for Cell SPU Target ---------*- C++ -*-===// |
Scott Michel | a589a08 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 2 | // |
| 3 | // The LLVM Compiler Infrastructure |
| 4 | // |
Chris Lattner | 4ee451d | 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 | a589a08 | 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 | |
Evan Cheng | c60f9b7 | 2011-07-14 20:59:42 +0000 | [diff] [blame] | 18 | #include "MCTargetDesc/SPUMCTargetDesc.h" |
Bill Wendling | 98a366d | 2009-04-29 23:29:43 +0000 | [diff] [blame] | 19 | #include "llvm/Target/TargetMachine.h" |
Scott Michel | a589a08 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 20 | |
| 21 | namespace llvm { |
| 22 | class SPUTargetMachine; |
| 23 | class FunctionPass; |
David Greene | 7184781 | 2009-07-14 20:18:05 +0000 | [diff] [blame] | 24 | class formatted_raw_ostream; |
Scott Michel | a589a08 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 25 | |
| 26 | FunctionPass *createSPUISelDag(SPUTargetMachine &TM); |
Kalle Raiskila | 76020ed | 2011-01-11 09:07:54 +0000 | [diff] [blame] | 27 | FunctionPass *createSPUNopFillerPass(SPUTargetMachine &tm); |
Scott Michel | a589a08 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 28 | |
Scott Michel | a589a08 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 29 | } |
| 30 | |
Scott Michel | a589a08 | 2007-12-03 23:14:43 +0000 | [diff] [blame] | 31 | #endif /* LLVM_TARGET_IBMCELLSPU_H */ |