[PM] Pull the analyses used for another utility routine into its API
authorChandler Carruth <chandlerc@gmail.com>
Sun, 18 Jan 2015 09:21:15 +0000 (09:21 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 18 Jan 2015 09:21:15 +0000 (09:21 +0000)
commitb5797b659f879474b4081c4e1a00e955c38a4dcb
tree4c93b94e979e68942369e697d83c8bc0574bd966
parenta0a1a8726f92e4032a8ecafe807f6976d4282cb5
[PM] Pull the analyses used for another utility routine into its API
rather than relying on the pass object.

This one is a bit annoying, but will pay off. First, supporting this one
will make the next one much easier, and for utilities like LoopSimplify,
this is moving them (slowly) closer to not having to pass the pass
object around throughout their APIs.

llvm-svn: 226396
llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
llvm/lib/Transforms/Scalar/JumpThreading.cpp
llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp
llvm/lib/Transforms/Utils/LoopSimplify.cpp
llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp