summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-14 21:47:58 +0000
committerDan Gohman <gohman@apple.com>2008-11-14 21:47:58 +0000
commit1472955eab0c25225aa17e55f5b3f797ca81a9fc (patch)
treebe112305a6ec0cbca37ac4a7766944cba7111002 /llvm/include
parentd800fd96af489b16b0e55dbfc17226dda948ea54 (diff)
downloadbcm5719-llvm-1472955eab0c25225aa17e55f5b3f797ca81a9fc.tar.gz
bcm5719-llvm-1472955eab0c25225aa17e55f5b3f797ca81a9fc.zip
Add support for building a ScheduleDAG from MachineInstrs. This is currently
fairly conservative; it doesn't do alias-analysis queries and it doesn't attempt to break anti-dependencies. llvm-svn: 59324
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/ScheduleDAG.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/ScheduleDAG.h b/llvm/include/llvm/CodeGen/ScheduleDAG.h
index 8445432e8eb..7c32205163a 100644
--- a/llvm/include/llvm/CodeGen/ScheduleDAG.h
+++ b/llvm/include/llvm/CodeGen/ScheduleDAG.h
@@ -439,6 +439,11 @@ namespace llvm {
/// and if it has live ins that need to be copied into vregs, emit the
/// copies into the top of the block.
void EmitLiveInCopies(MachineBasicBlock *MBB);
+
+ /// BuildSchedUnitsFromMBB - Build SUnits from the MachineBasicBlock.
+ /// This SUnit graph is similar to the pre-regalloc SUnit graph, but represents
+ /// MachineInstrs directly instead of SDNodes.
+ void BuildSchedUnitsFromMBB();
};
/// createBURRListDAGScheduler - This creates a bottom up register usage
OpenPOWER on IntegriCloud