]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
[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)
commitb7f66977be8f5248b1638b796d8abff4b24e7915
tree4d074f5ba9fb29eaba92f32e6d654b230ee717fa
parent5a2d01e5b8dda28e62035f69fe02a7675abe5177
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226386 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/Utils/BasicBlockUtils.h
lib/Transforms/Utils/BasicBlockUtils.cpp