aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-02-06 18:26:51 +0000
committerDan Gohman <gohman@apple.com>2009-02-06 18:26:51 +0000
commit29800e286ab59a83bb621de09a94344e04e6f2a9 (patch)
treee30b19a66d6375f674fda6f466a98a607aafc1d5 /include
parentc8020307fad29c9d8608a79a46bf5e76e4c727b2 (diff)
downloadexternal_llvm-29800e286ab59a83bb621de09a94344e04e6f2a9.zip
external_llvm-29800e286ab59a83bb621de09a94344e04e6f2a9.tar.gz
external_llvm-29800e286ab59a83bb621de09a94344e04e6f2a9.tar.bz2
Rename SelectionDAGISel::Schedule to
SelectionDAGISel::CreateScheduler, and make it just create the scheduler. Leave running the scheduler to the higher-level code. This makes the higher-level code a little more explicit and easier to follow, and will help enable some future refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGISel.h b/include/llvm/CodeGen/SelectionDAGISel.h
index 1b680f7..468f1b7 100644
--- a/include/llvm/CodeGen/SelectionDAGISel.h
+++ b/include/llvm/CodeGen/SelectionDAGISel.h
@@ -129,9 +129,11 @@ private:
bool HandlePHINodesInSuccessorBlocksFast(BasicBlock *LLVMBB, FastISel *F);
- /// Pick a safe ordering for instructions for each target node in the
- /// graph.
- ScheduleDAG *Schedule();
+ /// Create the scheduler. If a specific scheduler was specified
+ /// via the SchedulerRegistry, use it, otherwise select the
+ /// one preferred by the target.
+ ///
+ ScheduleDAG *CreateScheduler();
};
}