Mips.h revision 972f5896e417d8e81cf400083fab15a37b6d4277
1//===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===//
2//
3//                     The LLVM Compiler Infrastructure
4//
5// This file was developed by Bruno Cardoso Lopes and is distributed under the
6// University of Illinois Open Source 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 <iosfwd>
19
20namespace llvm {
21  class MipsTargetMachine;
22  class FunctionPassManager;
23  class FunctionPass;
24  class MachineCodeEmitter;
25
26  FunctionPass *createMipsCodePrinterPass(std::ostream &OS,
27                                          MipsTargetMachine &TM);
28  FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
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
39