[WebAssembly] Initial varargs support.
[oota-llvm.git] / lib / Target / Mips / Mips.h
index 48b08eaf802a38bfe4c434a33e30a8bbfff1cd94..671d7a87cc3d9477b437cbe32cf8bd634943be7f 100644 (file)
@@ -2,37 +2,35 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by Bruno Cardoso Lopes and is distributed under the 
-// University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
-// This file contains the entry points for global functions defined in 
+// This file contains the entry points for global functions defined in
 // the LLVM Mips back-end.
 //
 //===----------------------------------------------------------------------===//
 
-#ifndef TARGET_MIPS_H
-#define TARGET_MIPS_H
+#ifndef LLVM_LIB_TARGET_MIPS_MIPS_H
+#define LLVM_LIB_TARGET_MIPS_MIPS_H
 
-#include <iosfwd>
+#include "MCTargetDesc/MipsMCTargetDesc.h"
+#include "llvm/Target/TargetMachine.h"
 
 namespace llvm {
   class MipsTargetMachine;
-  class FunctionPassManager;
+  class ModulePass;
   class FunctionPass;
-  class MachineCodeEmitter;
 
-  FunctionPass *createMipsCodePrinterPass(std::ostream &OS, 
-                                          MipsTargetMachine &TM);
-  FunctionPass *createMipsISelDag(MipsTargetMachine &TM);
-} // end namespace llvm;
-
-// Defines symbolic names for Mips registers.  This defines a mapping from
-// register name to register number.
-#include "MipsGenRegisterNames.inc"
+  ModulePass *createMipsOs16Pass(MipsTargetMachine &TM);
+  ModulePass *createMips16HardFloatPass(MipsTargetMachine &TM);
 
-// Defines symbolic names for the Mips instructions.
-#include "MipsGenInstrNames.inc"
+  FunctionPass *createMipsModuleISelDagPass(MipsTargetMachine &TM);
+  FunctionPass *createMipsOptimizePICCallPass(MipsTargetMachine &TM);
+  FunctionPass *createMipsDelaySlotFillerPass(MipsTargetMachine &TM);
+  FunctionPass *createMipsLongBranchPass(MipsTargetMachine &TM);
+  FunctionPass *createMipsConstantIslandPass(MipsTargetMachine &tm);
+} // end namespace llvm;
 
 #endif