OSDN Git Service

[PM] Add module and function printing passes for the new pass manager.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 12 Jan 2014 12:15:39 +0000 (12:15 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 12 Jan 2014 12:15:39 +0000 (12:15 +0000)
commita59525786d39de4af8d7ee65531c220348ec48b6
treec31cf0ba4e85bc2dd06c56b8687489dd24a17750
parent895ada05e91c427afc8c19d1c4267434325948f6
[PM] Add module and function printing passes for the new pass manager.

This implements the legacy passes in terms of the new ones. It adds
basic testing using explicit runs of the passes. Next up will be wiring
the basic output mechanism of opt up when the new pass manager is
engaged unless bitcode writing is requested.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199049 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IRPrintingPasses.h
include/llvm/InitializePasses.h
lib/IR/Core.cpp
lib/IR/IRPrintingPasses.cpp
test/Other/new-pass-manager.ll [new file with mode: 0644]
tools/opt/Passes.cpp