[PM] Sink the specific analyses preserved by SplitBlock into its
authorChandler Carruth <chandlerc@gmail.com>
Sun, 18 Jan 2015 02:39:37 +0000 (02:39 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 18 Jan 2015 02:39:37 +0000 (02:39 +0000)
commit32c52c7e042de55dd6476a0bb6ee3e914c3ead3a
treebb447aa31a7587bfc6fbf877cec0f1d89ab53903
parent4da5edbebededc48d9c523a869982f1ebba3e57b
[PM] Sink the specific analyses preserved by SplitBlock into its
interface, removing Pass from its interface.

This also makes those analyses optional so that passes which don't even
preserve these (or use them) can skip the logic entirely.

llvm-svn: 226394
llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp