1 //===-- Mips.h - Top-level interface for Mips representation ---*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===---------------------------------------------------------------------===//
10 // This file contains the entry points for global functions defined in
11 // the LLVM Mips back-end.
13 //===---------------------------------------------------------------------===//
18 #include "llvm/Target/TargetMachine.h"
21 class MipsTargetMachine;
23 class MachineCodeEmitter;
24 class formatted_raw_ostream;
26 FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
27 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
28 FunctionPass *createMipsExpandPseudoPass(MipsTargetMachine &TM);
30 extern Target TheMipsTarget;
31 extern Target TheMipselTarget;
33 } // end namespace llvm;
35 // Defines symbolic names for Mips registers. This defines a mapping from
36 // register name to register number.
37 #include "MipsGenRegisterNames.inc"
39 // Defines symbolic names for the Mips instructions.
40 #include "MipsGenInstrNames.inc"