Factor out the SchedRemainder/SchedBoundary from GenericScheduler strategy.
authorAndrew Trick <atrick@apple.com>
Sat, 7 Dec 2013 05:59:44 +0000 (05:59 +0000)
committerAndrew Trick <atrick@apple.com>
Sat, 7 Dec 2013 05:59:44 +0000 (05:59 +0000)
commitdcddd7146d9d990d4a551bc3192f8c585bbdc1af
tree7a77bf95086475e66319a7bc2a78e959260a9562
parenta49701db7d54967aea8a511743fedcfb9b056eea
Factor out the SchedRemainder/SchedBoundary from GenericScheduler strategy.

These helper classes take care of the book-keeping the drives the
GenericScheduler heuristics. It is likely that developers writing
target-specific schedulers that work similarly to GenericScheduler
will want to use these helpers too. The immediate goal is to develop a
GenericPostScheduler that can run in place of the old PostRAScheduler,
but will use the new machine model.

No functionality change intended.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196643 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineScheduler.h
include/llvm/CodeGen/TargetSchedule.h
lib/CodeGen/MachineScheduler.cpp