]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/blob - contrib/llvm/lib/Target/Mips/Mips.h
Copy head to stable/9 as part of 9.0-RELEASE release cycle.
[FreeBSD/stable/9.git] / contrib / llvm / 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 "MCTargetDesc/MipsMCTargetDesc.h"
19 #include "llvm/Target/TargetMachine.h"
20
21 namespace llvm {
22   class MipsTargetMachine;
23   class FunctionPass;
24   class MachineCodeEmitter;
25   class formatted_raw_ostream;
26
27   FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
28   FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
29   FunctionPass *createMipsExpandPseudoPass(MipsTargetMachine &TM);
30   FunctionPass *createMipsEmitGPRestorePass(MipsTargetMachine &TM);
31
32 } // end namespace llvm;
33
34 #endif