Merge branch 'master' into msp430
[llvm/msp430.git] / lib / Target / Mips / Mips.h
blob0accb4e347ee9f9b2d045f1915176c83a03e246a
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.
13 //===----------------------------------------------------------------------===//
15 #ifndef TARGET_MIPS_H
16 #define TARGET_MIPS_H
18 #include "llvm/Target/TargetMachine.h"
20 namespace llvm {
21 class MipsTargetMachine;
22 class FunctionPass;
23 class MachineCodeEmitter;
24 class raw_ostream;
26 FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
27 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
28 FunctionPass *createMipsCodePrinterPass(raw_ostream &OS,
29 MipsTargetMachine &TM,
30 CodeGenOpt::Level OptLevel,
31 bool Verbose);
32 } // end namespace llvm;
34 // Defines symbolic names for Mips registers. This defines a mapping from
35 // register name to register number.
36 #include "MipsGenRegisterNames.inc"
38 // Defines symbolic names for the Mips instructions.
39 #include "MipsGenInstrNames.inc"
41 #endif