diff options
author | Andrew Trick <atrick@apple.com> | 2012-04-01 07:24:23 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-04-01 07:24:23 +0000 |
commit | 830da405fa32ab4f2a8378a658e1429a9ffd4d65 (patch) | |
tree | d08e0ef8dd33dace9a626b2422b8ac4ceca2c8fb /include/llvm/CodeGen/ScheduleDAGInstrs.h | |
parent | d9182d6caed782a290a1bc5b826976b3ba0baa2c (diff) | |
download | external_llvm-830da405fa32ab4f2a8378a658e1429a9ffd4d65.zip external_llvm-830da405fa32ab4f2a8378a658e1429a9ffd4d65.tar.gz external_llvm-830da405fa32ab4f2a8378a658e1429a9ffd4d65.tar.bz2 |
misched: Add finalizeScheduler to complete the target interface.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153827 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/ScheduleDAGInstrs.h')
-rw-r--r-- | include/llvm/CodeGen/ScheduleDAGInstrs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/ScheduleDAGInstrs.h b/include/llvm/CodeGen/ScheduleDAGInstrs.h index a08f6cc..c8de7bc 100644 --- a/include/llvm/CodeGen/ScheduleDAGInstrs.h +++ b/include/llvm/CodeGen/ScheduleDAGInstrs.h @@ -296,6 +296,10 @@ namespace llvm { /// overriding enterRegion() or exitRegion(). virtual void schedule() = 0; + /// finalizeSchedule - Allow targets to perform final scheduling actions at + /// the level of the whole MachineFunction. By default does nothing. + virtual void finalizeSchedule() {} + virtual void dumpNode(const SUnit *SU) const; /// Return a label for a DAG node that points to an instruction. |