[PM] Lift the actual analyses used into the inferface rather than
authorChandler Carruth <chandlerc@gmail.com>
Sun, 18 Jan 2015 01:45:07 +0000 (01:45 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 18 Jan 2015 01:45:07 +0000 (01:45 +0000)
commit5eee895ccf9bea773e3c01f8915a9fba106e4f3f
treeb20de8eec7951800f5cbee9c17a11bd1600ae664
parent691addc25f9ad25da4c679e447b325efce613308
[PM] Lift the actual analyses used into the inferface rather than
accepting a Pass and querying it for analyses.

This is necessary to allow the utilities to work both with the old and
new pass managers, and I also think this makes the interface much more
clear and helps the reader know what analyses the utility can actually
handle. I plan to repeat this process iteratively to clean up all the
pass utilities.

llvm-svn: 226386
llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp