Add a form of addPreserved which takes a string argument, to allow passes
authorDan Gohman <gohman@apple.com>
Thu, 8 Oct 2009 17:00:02 +0000 (17:00 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 8 Oct 2009 17:00:02 +0000 (17:00 +0000)
commit8a261e44f71a433b7d9af373c3e3dfa6fea67146
tree0f0a78c5c187f1764a43d34439e7cbaecbb9323b
parentd4a537be0574460e9369152ca482456ccabac776
Add a form of addPreserved which takes a string argument, to allow passes
to declare that they preserve other passes without needing to pull in
additional header file or library dependencies. Convert MachineFunctionPass
and CodeGenLICM to make use of this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83555 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Pass.h
include/llvm/PassAnalysisSupport.h
lib/CodeGen/MachineFunctionPass.cpp
lib/Transforms/Scalar/CodeGenLICM.cpp
lib/VMCore/Pass.cpp