[Modules] Move the PassNameParser to the IR library as it deals in the
authorChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 12:32:42 +0000 (12:32 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 4 Mar 2014 12:32:42 +0000 (12:32 +0000)
commitf7591dd31f9a03df907554053067c7c5b7c4b3dc
tree5558f8f62ba24d634cbd652929791ef4d8d6ccb5
parent19d764fb05662ff6b423cf6dc97d300276e4b586
[Modules] Move the PassNameParser to the IR library as it deals in the
PassInfo structures of the legacy pass manager. Also give it the Legacy
prefix as it is not a particularly widely used header.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202839 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/LegacyPassNameParser.h [new file with mode: 0644]
include/llvm/Support/PassNameParser.h [deleted file]
lib/IR/LegacyPassManager.cpp
lib/IR/Pass.cpp
tools/bugpoint/bugpoint.cpp
tools/llvm-stress/llvm-stress.cpp
tools/opt/opt.cpp