Akira Hatanaka | 4552c9a | 2011-04-15 21:51:11 +0000 | [diff] [blame] | 1 | //===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===// |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +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. |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 7 | // |
Akira Hatanaka | 4552c9a | 2011-04-15 21:51:11 +0000 | [diff] [blame] | 8 | //===----------------------------------------------------------------------===// |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 9 | // |
Bruno Cardoso Lopes | 81092dc | 2011-03-04 17:51:39 +0000 | [diff] [blame] | 10 | // This file contains the entry points for global functions defined in |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 11 | // the LLVM Mips back-end. |
| 12 | // |
Akira Hatanaka | 4552c9a | 2011-04-15 21:51:11 +0000 | [diff] [blame] | 13 | //===----------------------------------------------------------------------===// |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 14 | |
| 15 | #ifndef TARGET_MIPS_H |
| 16 | #define TARGET_MIPS_H |
| 17 | |
Evan Cheng | c60f9b7 | 2011-07-14 20:59:42 +0000 | [diff] [blame] | 18 | #include "MCTargetDesc/MipsMCTargetDesc.h" |
Bill Wendling | 98a366d | 2009-04-29 23:29:43 +0000 | [diff] [blame] | 19 | #include "llvm/Target/TargetMachine.h" |
| 20 | |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 21 | namespace llvm { |
| 22 | class MipsTargetMachine; |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 23 | class FunctionPass; |
| 24 | class MachineCodeEmitter; |
David Greene | 7184781 | 2009-07-14 20:18:05 +0000 | [diff] [blame] | 25 | class formatted_raw_ostream; |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 26 | |
Bruno Cardoso Lopes | 250a171 | 2007-08-18 02:05:24 +0000 | [diff] [blame] | 27 | FunctionPass *createMipsISelDag(MipsTargetMachine &TM); |
| 28 | FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM); |
Akira Hatanaka | 99a2e98 | 2011-04-15 19:52:08 +0000 | [diff] [blame] | 29 | FunctionPass *createMipsExpandPseudoPass(MipsTargetMachine &TM); |
Akira Hatanaka | 6b7588e | 2011-05-04 17:54:27 +0000 | [diff] [blame] | 30 | FunctionPass *createMipsEmitGPRestorePass(MipsTargetMachine &TM); |
Daniel Dunbar | 4cb1e13 | 2009-07-18 23:03:22 +0000 | [diff] [blame] | 31 | |
Bruno Cardoso Lopes | dca6cdd | 2011-07-21 16:28:51 +0000 | [diff] [blame] | 32 | FunctionPass *createMipsJITCodeEmitterPass(MipsTargetMachine &TM, |
| 33 | JITCodeEmitter &JCE); |
| 34 | |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 35 | } // end namespace llvm; |
| 36 | |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 37 | #endif |