Move the *PassPrinter into their own module.
authorEli Bendersky <eliben@google.com>
Mon, 10 Feb 2014 23:34:23 +0000 (23:34 +0000)
committerEli Bendersky <eliben@google.com>
Mon, 10 Feb 2014 23:34:23 +0000 (23:34 +0000)
commitb60f83878cd9aae1870efe0f36315d31b43033aa
tree24c23fc69fcb79f5ae0a4a8b838503f4e518fb68
parent73a7fcc6e1c256c5f7ca9733b8b1b8b2b93333bd
Move the *PassPrinter into their own module.

These are self-contained in functionality so it makes sense to separate them,
as opt.cpp has grown quite big already.

Following Eric's suggestions, if this code is ever deemed useful outside of
tools/opt, it will make sense to move it to one of the LLVM libraries like IR.

llvm-svn: 201116
llvm/tools/opt/CMakeLists.txt
llvm/tools/opt/PassPrinters.cpp [new file with mode: 0644]
llvm/tools/opt/PassPrinters.h [new file with mode: 0644]
llvm/tools/opt/opt.cpp