#ifndef LLVM_CODEGEN_INSTR_SCHEDULING_H
#define LLVM_CODEGEN_INSTR_SCHEDULING_H
-class Method;
+class MethodPass;
class TargetMachine;
//---------------------------------------------------------------------------
-// Function: ScheduleInstructionsWithSSA
+// Function: createScheduleInstructionsWithSSAPass(..)
//
// Purpose:
// Entry point for instruction scheduling on SSA form.
// are still in SSA form.
//---------------------------------------------------------------------------
-bool ScheduleInstructionsWithSSA(Method *M, const TargetMachine &Target);
+MethodPass *createInstructionSchedulingWithSSAPass(const TargetMachine &Target);
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
// Not implemented yet.
-bool ScheduleInstructions(Method *M, const TargetMachine &Target);
+//bool ScheduleInstructions(Method *M, const TargetMachine &Target);
#endif