Put Target definitions inside Target specific header, and llvm namespace.
[oota-llvm.git] / lib / Target / Mips / Mips.h
1 //===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
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 "llvm/Target/TargetMachine.h"
19
20 namespace llvm {
21   class MipsTargetMachine;
22   class FunctionPass;
23   class MachineCodeEmitter;
24   class formatted_raw_ostream;
25
26   FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
27   FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
28   FunctionPass *createMipsCodePrinterPass(formatted_raw_ostream &OS, 
29                                           TargetMachine &TM,
30                                           bool Verbose);
31
32   extern Target TheMipsTarget;
33   extern Target TheMipselTarget;
34
35 } // end namespace llvm;
36
37 // Defines symbolic names for Mips registers.  This defines a mapping from
38 // register name to register number.
39 #include "MipsGenRegisterNames.inc"
40
41 // Defines symbolic names for the Mips instructions.
42 #include "MipsGenInstrNames.inc"
43
44 #endif