-//===-- 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 MethodPass;
+namespace llvm {
+
+class FunctionPass;
class TargetMachine;
//---------------------------------------------------------------------------
// Function: createScheduleInstructionsWithSSAPass(..)
-//
+//
// Purpose:
// Entry point for instruction scheduling on SSA form.
// Schedules the machine instructions generated by instruction selection.
// are still in SSA form.
//---------------------------------------------------------------------------
-MethodPass *createInstructionSchedulingWithSSAPass(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