author | Chandler Carruth <chandlerc@gmail.com> | |
Sun, 18 Jan 2015 01:45:07 +0000 (01:45 +0000) | ||
committer | Chandler Carruth <chandlerc@gmail.com> | |
Sun, 18 Jan 2015 01:45:07 +0000 (01:45 +0000) | ||
commit | b7f66977be8f5248b1638b796d8abff4b24e7915 | |
tree | 4d074f5ba9fb29eaba92f32e6d654b230ee717fa | tree | snapshot (tar.xz tar.gz zip) |
parent | 5a2d01e5b8dda28e62035f69fe02a7675abe5177 | commit | diff |
[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
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 | diff | blob | history | |
lib/Transforms/Utils/BasicBlockUtils.cpp | diff | blob | history |