Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 1 | //===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===// |
| 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 | // |
| 8 | //===----------------------------------------------------------------------===// |
| 9 | // |
| 10 | // This file contains the entry points for global functions defined in |
| 11 | // the LLVM Mips back-end. |
| 12 | // |
| 13 | //===----------------------------------------------------------------------===// |
| 14 | |
| 15 | #ifndef TARGET_MIPS_H |
| 16 | #define TARGET_MIPS_H |
| 17 | |
| 18 | #include <iosfwd> |
| 19 | |
| 20 | namespace llvm { |
| 21 | class MipsTargetMachine; |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 22 | class FunctionPass; |
| 23 | class MachineCodeEmitter; |
| 24 | |
Bruno Cardoso Lopes | 250a171 | 2007-08-18 02:05:24 +0000 | [diff] [blame] | 25 | FunctionPass *createMipsISelDag(MipsTargetMachine &TM); |
| 26 | FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM); |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 27 | FunctionPass *createMipsCodePrinterPass(std::ostream &OS, |
| 28 | MipsTargetMachine &TM); |
Bruno Cardoso Lopes | 972f589 | 2007-06-06 07:42:06 +0000 | [diff] [blame] | 29 | } // end namespace llvm; |
| 30 | |
| 31 | // Defines symbolic names for Mips registers. This defines a mapping from |
| 32 | // register name to register number. |
| 33 | #include "MipsGenRegisterNames.inc" |
| 34 | |
| 35 | // Defines symbolic names for the Mips instructions. |
| 36 | #include "MipsGenInstrNames.inc" |
| 37 | |
| 38 | #endif |