blob: 28c11b0eb911115c9b11e7b02f2bc7471247d4eb [file] [log] [blame]
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00001//===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00007//
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
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000018namespace llvm {
19 class MipsTargetMachine;
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000020 class FunctionPass;
21 class MachineCodeEmitter;
Owen Andersoncb371882008-08-21 00:14:44 +000022 class raw_ostream;
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000023
Bruno Cardoso Lopes250a1712007-08-18 02:05:24 +000024 FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
25 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
Owen Andersoncb371882008-08-21 00:14:44 +000026 FunctionPass *createMipsCodePrinterPass(raw_ostream &OS,
Bill Wendling57f0db82009-02-24 08:30:20 +000027 MipsTargetMachine &TM,
28 bool Fast);
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000029} // 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