]> granicus.if.org Git - llvm/commit
[MachinePipeliner] Separate schedule emission, NFC
authorJames Molloy <jmolloy@google.com>
Fri, 30 Aug 2019 18:49:50 +0000 (18:49 +0000)
committerJames Molloy <jmolloy@google.com>
Fri, 30 Aug 2019 18:49:50 +0000 (18:49 +0000)
commit9609ba9d384489f851a29414d5e83ba7647d342e
tree8922f4a4a83c136b0f01097b30852fb3b2397024
parentacdc608bee5ef602ea7a39d634b102733184ad92
[MachinePipeliner] Separate schedule emission, NFC

This is the first stage in refactoring the pipeliner and making it more
accessible for backends to override and control. This separates the logic and
state required to *emit* a scheudule from the logic that *computes* and
validates a schedule.

This will enable (a) new schedule emitters and (b) new modulo scheduling
implementations to coexist.

NFC.

Differential Revision: https://reviews.llvm.org/D67006

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370500 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachinePipeliner.h
include/llvm/CodeGen/ModuloSchedule.h [new file with mode: 0644]
lib/CodeGen/CMakeLists.txt
lib/CodeGen/MachinePipeliner.cpp
lib/CodeGen/ModuloSchedule.cpp [new file with mode: 0644]