blob: c1d6fdda5131bd25e3a2723dffab087be4f4ee21 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001//===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner081ce942007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +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
Bill Wendling5ed22ac2009-04-29 23:29:43 +000018#include "llvm/Target/TargetMachine.h"
19
Dan Gohmanf17a25c2007-07-18 16:29:46 +000020namespace llvm {
21 class MipsTargetMachine;
Dan Gohmanf17a25c2007-07-18 16:29:46 +000022 class FunctionPass;
23 class MachineCodeEmitter;
David Greene302008d2009-07-14 20:18:05 +000024 class formatted_raw_ostream;
Dan Gohmanf17a25c2007-07-18 16:29:46 +000025
Bruno Cardoso Lopesc4af4f12007-08-18 02:05:24 +000026 FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
27 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
David Greene302008d2009-07-14 20:18:05 +000028 FunctionPass *createMipsCodePrinterPass(formatted_raw_ostream &OS,
Stuart Hastings1721b8d2009-07-15 17:27:11 +000029 MipsTargetMachine &TM,
Bill Wendling5ed22ac2009-04-29 23:29:43 +000030 bool Verbose);
Dan Gohmanf17a25c2007-07-18 16:29:46 +000031} // end namespace llvm;
32
33// Defines symbolic names for Mips registers. This defines a mapping from
34// register name to register number.
35#include "MipsGenRegisterNames.inc"
36
37// Defines symbolic names for the Mips instructions.
38#include "MipsGenInstrNames.inc"
39
40#endif