Instruction scheduling is a real pass now.
authorChris Lattner <sabre@nondot.org>
Mon, 4 Feb 2002 19:59:22 +0000 (19:59 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 4 Feb 2002 19:59:22 +0000 (19:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1698 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/InstrScheduling.h

index c05084a1b2ae9f150814f6de6f3a2fa24fe69468..4ca4086b60767bc7300206c1e5bbb412dd32399d 100644 (file)
@@ -8,11 +8,11 @@
 #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.
@@ -21,7 +21,7 @@ class TargetMachine;
 //   are still in SSA form.
 //---------------------------------------------------------------------------
 
-bool ScheduleInstructionsWithSSA(Method *M, const TargetMachine &Target);
+MethodPass *createInstructionSchedulingWithSSAPass(const TargetMachine &Target);
 
 
 //---------------------------------------------------------------------------
@@ -34,6 +34,6 @@ bool ScheduleInstructionsWithSSA(Method *M, const TargetMachine &Target);
 //---------------------------------------------------------------------------
 
 // Not implemented yet.
-bool ScheduleInstructions(Method *M, const TargetMachine &Target);
+//bool ScheduleInstructions(Method *M, const TargetMachine &Target);
 
 #endif