summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-04 19:59:22 +0000
committerChris Lattner <sabre@nondot.org>2002-02-04 19:59:22 +0000
commitee445a60a1a1d17f433a1c010b73ee44c341e50c (patch)
tree564c3f1579b281b92c488ee1b77151e548faf3a7
parent75b2283602ad5f38543ea3e5f1fdc178c1755f72 (diff)
downloadbcm5719-llvm-ee445a60a1a1d17f433a1c010b73ee44c341e50c.tar.gz
bcm5719-llvm-ee445a60a1a1d17f433a1c010b73ee44c341e50c.zip
Instruction scheduling is a real pass now.
llvm-svn: 1698
-rw-r--r--llvm/include/llvm/CodeGen/InstrScheduling.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/InstrScheduling.h b/llvm/include/llvm/CodeGen/InstrScheduling.h
index c05084a1b2a..4ca4086b607 100644
--- a/llvm/include/llvm/CodeGen/InstrScheduling.h
+++ b/llvm/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
OpenPOWER on IntegriCloud