blob: 2963f7e7fa4204b012bcf7244fa3cf9e66cd9957 [file] [log] [blame]
Akira Hatanaka4552c9a2011-04-15 21:51:11 +00001//===-- Mips.h - Top-level interface for Mips representation ----*- C++ -*-===//
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00002//
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//
Akira Hatanaka4552c9a2011-04-15 21:51:11 +00008//===----------------------------------------------------------------------===//
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +00009//
Bruno Cardoso Lopes81092dc2011-03-04 17:51:39 +000010// This file contains the entry points for global functions defined in
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000011// the LLVM Mips back-end.
12//
Akira Hatanaka4552c9a2011-04-15 21:51:11 +000013//===----------------------------------------------------------------------===//
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000014
15#ifndef TARGET_MIPS_H
16#define TARGET_MIPS_H
17
Evan Chengc60f9b72011-07-14 20:59:42 +000018#include "MCTargetDesc/MipsMCTargetDesc.h"
Bill Wendling98a366d2009-04-29 23:29:43 +000019#include "llvm/Target/TargetMachine.h"
20
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000021namespace llvm {
22 class MipsTargetMachine;
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000023 class FunctionPass;
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000024
Bruno Cardoso Lopes250a1712007-08-18 02:05:24 +000025 FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
26 FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
Akira Hatanaka9e975872012-06-14 01:19:35 +000027 FunctionPass *createMipsLongBranchPass(MipsTargetMachine &TM);
Bruno Cardoso Lopesdca6cdd2011-07-21 16:28:51 +000028 FunctionPass *createMipsJITCodeEmitterPass(MipsTargetMachine &TM,
29 JITCodeEmitter &JCE);
30
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000031} // end namespace llvm;
32
Bruno Cardoso Lopes972f5892007-06-06 07:42:06 +000033#endif