blob: 64c51f70b8268cb52dbb02d849578d4ea165f8f7 [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
18#include <iosfwd>
19
20namespace llvm {
21 class MipsTargetMachine;
22 class FunctionPassManager;
23 class FunctionPass;
24 class MachineCodeEmitter;
25
Bruno Cardoso Lopesc4af4f12007-08-18 02:05:24 +000026 FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
27 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
Dan Gohmanf17a25c2007-07-18 16:29:46 +000028 FunctionPass *createMipsCodePrinterPass(std::ostream &OS,
29 MipsTargetMachine &TM);
Dan Gohmanf17a25c2007-07-18 16:29:46 +000030} // end namespace llvm;
31
32// Defines symbolic names for Mips registers. This defines a mapping from
33// register name to register number.
34#include "MipsGenRegisterNames.inc"
35
36// Defines symbolic names for the Mips instructions.
37#include "MipsGenInstrNames.inc"
38
39#endif