From: Chris Lattner Date: Mon, 4 Feb 2002 19:59:22 +0000 (+0000) Subject: Instruction scheduling is a real pass now. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=017e4cca8c953dc01cc6d1378f117a012a5c0d04;p=oota-llvm.git Instruction scheduling is a real pass now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1698 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/CodeGen/InstrScheduling.h b/include/llvm/CodeGen/InstrScheduling.h index c05084a1b2a..4ca4086b607 100644 --- a/include/llvm/CodeGen/InstrScheduling.h +++ b/include/llvm/CodeGen/InstrScheduling.h @@ -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