[PM] Simplify the IR printing passes significantly now that a narrower
authorChandler Carruth <chandlerc@gmail.com>
Sun, 12 Jan 2014 11:40:03 +0000 (11:40 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 12 Jan 2014 11:40:03 +0000 (11:40 +0000)
commit313e399b48a3929a3cfa908749599b0c8d2069d5
treec258b0f75727779f183cfc48658eb6a61d0b3d68
parentb6458b6bbd24439aab256bc1e2e271c0d334f8f2
[PM] Simplify the IR printing passes significantly now that a narrower
API is exposed.

This removes the support for deleting the ostream, switches the member
and constructor order arround to be consistent with the creation
routines, and switches to using references.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199047 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/IRPrintingPasses.cpp