diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-01-22 03:36:51 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-01-22 03:36:51 +0000 |
commit | c589e03865bb31da70e0037d5c32fdaaa5f79f24 (patch) | |
tree | 31b24a366eb137081e9646a0a5fd7d4befcc8441 /lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h | |
parent | 96dc115ef3ee019cb91d7c112358a77536c38a53 (diff) |
Teach pre-regalloc scheduler to schedule loads from nearby addresses. It may improve cache locality. This is controlled by -cluster-loads for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94148 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h index ebb31ac475..6b829b6106 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h @@ -108,6 +108,10 @@ namespace llvm { virtual void getCustomGraphFeatures(GraphWriter<ScheduleDAG*> &GW) const; private: + /// ClusterNeighboringLoads - Cluster loads from "near" addresses into + /// combined SUnits. + void ClusterNeighboringLoads(); + /// BuildSchedUnits, AddSchedEdges - Helper functions for BuildSchedGraph. void BuildSchedUnits(); void AddSchedEdges(); |