diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-08-19 16:08:58 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-08-19 16:08:58 +0000 |
commit | dc4bdcdef1c8dd1a28b82deb08df039e5c0ffc5a (patch) | |
tree | 04180f2fa8fa18847ed96566e292e20b73099084 /lib/CodeGen/ScheduleDAGInstrs.h | |
parent | 774350a60694fee45403d87b5edfeff27ac54d58 (diff) | |
download | llvm-dc4bdcdef1c8dd1a28b82deb08df039e5c0ffc5a.tar.gz llvm-dc4bdcdef1c8dd1a28b82deb08df039e5c0ffc5a.tar.bz2 llvm-dc4bdcdef1c8dd1a28b82deb08df039e5c0ffc5a.tar.xz |
Use the schedule itinerary operand use/def cycle information to adjust dependence edge latency for post-RA scheduling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79425 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ScheduleDAGInstrs.h')
-rw-r--r-- | lib/CodeGen/ScheduleDAGInstrs.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/ScheduleDAGInstrs.h b/lib/CodeGen/ScheduleDAGInstrs.h index 00d6268d1a..929bdaa4b1 100644 --- a/lib/CodeGen/ScheduleDAGInstrs.h +++ b/lib/CodeGen/ScheduleDAGInstrs.h @@ -160,6 +160,12 @@ namespace llvm { /// virtual void ComputeLatency(SUnit *SU); + /// ComputeOperandLatency - Override dependence edge latency using + /// operand use/def information + /// + virtual void ComputeOperandLatency(SUnit *Def, SUnit *Use, + SDep& dep) const; + virtual MachineBasicBlock *EmitSchedule(); /// StartBlock - Prepare to perform scheduling in the given block. |