Implement ComputeLatency for MachineInstr ScheduleDAGs. Factor
authorDan Gohman <gohman@apple.com>
Fri, 21 Nov 2008 00:12:10 +0000 (00:12 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 21 Nov 2008 00:12:10 +0000 (00:12 +0000)
commitc8c2827993204207ca70a93f62f233fbe81b97ef
tree785febe7022877237f005f6c8c6e7fa5e38dd855
parentea7b527aa56ad0fe547d3d99b21e845a49a031cb
Implement ComputeLatency for MachineInstr ScheduleDAGs. Factor
some of the latency computation logic out of the SDNode
ScheduleDAG code into a TargetInstrItineraries helper method
to help with this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59761 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAGInstrs.h
include/llvm/Target/TargetInstrItineraries.h
lib/CodeGen/ScheduleDAGInstrs.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp