misched: TargetSchedule interface for machine resources.
authorAndrew Trick <atrick@apple.com>
Tue, 6 Nov 2012 07:10:38 +0000 (07:10 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 6 Nov 2012 07:10:38 +0000 (07:10 +0000)
commit8d4abb2446f80986ad5136bbec30c5da18cd6f4b
treea4337cf1caade4cd909ac3244330c83e838d7129
parent2276453e2be12badb07f84f8be9cf89626da48b6
misched: TargetSchedule interface for machine resources.

Expose the processor resources defined by the machine model to the
scheduler and other clients through the TargetSchedule interface.

Normalize each resource count with respect to other kinds of
resources. This allows scheduling heuristics to balance resources
against other kinds of resources and latency.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167444 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/ScheduleDAG.h
include/llvm/CodeGen/ScheduleDAGInstrs.h
include/llvm/CodeGen/TargetSchedule.h
include/llvm/MC/MCSchedule.h
lib/CodeGen/TargetSchedule.cpp