MIR Serialization: move the MIR printer out of the MIR printing pass.
authorAlex Lorenz <arphaman@gmail.com>
Mon, 15 Jun 2015 23:52:35 +0000 (23:52 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 15 Jun 2015 23:52:35 +0000 (23:52 +0000)
commitb3607cdd97007dfd7c481efa540f6fac89ecce60
treea69f245cc24ca7f72cb235cfb59c3c40a2ce389b
parent46446a56b884bf0a6c52ea4aef449c2e5b858214
MIR Serialization: move the MIR printer out of the MIR printing pass.

This commit decouples the MIR printer and the MIR printing pass so
that it will be possible to move the MIR printer into a separate
machine IR library later on.

Reviewers: Duncan P. N. Exon Smith

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