rename DenseMap to IndexedMap.
[oota-llvm.git] / include / llvm / CodeGen / InstrScheduling.h
index c05084a1b2ae9f150814f6de6f3a2fa24fe69468..c9aee2244a6b89b02d217d9bb9e858045c0c7796 100644 (file)
@@ -1,4 +1,11 @@
-//===-- InstrScheduling.h - Interface To Instruction Scheduling --*- C++ -*-==//
+//===-- InstrScheduling.h - Interface To Instruction Scheduling -*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
 //
 // This file defines a minimal, but complete, interface to instruction
 // scheduling.
 #ifndef LLVM_CODEGEN_INSTR_SCHEDULING_H
 #define LLVM_CODEGEN_INSTR_SCHEDULING_H
 
-class Method;
+namespace llvm {
+
+class FunctionPass;
 class TargetMachine;
 
 //---------------------------------------------------------------------------
-// Function: ScheduleInstructionsWithSSA
-// 
+// Function: createScheduleInstructionsWithSSAPass(..)
+//
 // Purpose:
 //   Entry point for instruction scheduling on SSA form.
 //   Schedules the machine instructions generated by instruction selection.
@@ -21,19 +30,8 @@ class TargetMachine;
 //   are still in SSA form.
 //---------------------------------------------------------------------------
 
-bool ScheduleInstructionsWithSSA(Method *M, const TargetMachine &Target);
-
-
-//---------------------------------------------------------------------------
-// Function: ScheduleInstructions
-// 
-// Purpose:
-//   Entry point for instruction scheduling on machine code.
-//   Schedules the machine instructions generated by instruction selection.
-//   Assumes that register allocation has been done.
-//---------------------------------------------------------------------------
+FunctionPass *createInstructionSchedulingWithSSAPass(const TargetMachine &TM);
 
-// Not implemented yet.
-bool ScheduleInstructions(Method *M, const TargetMachine &Target);
+} // End llvm namespace
 
 #endif