summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/LoopExtractor.cpp
Commit message (Collapse)AuthorAge
* Change the ExitBlocks list from being explicitly contained in the LoopChris Lattner2004-04-18
| | | | | | | | structure to being dynamically computed on demand. This makes updating loop information MUCH easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13045 91177308-0d34-0410-b5e6-96231b3b80d8
* Add statistics to the loop extractor. The loop extractor has successfullyChris Lattner2004-03-18
| | | | | | | | extracted all 63 loops for Olden/bh without crashing and without miscompiling the program!!! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12491 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problem with PHI nodes having multiple predecessors from differentChris Lattner2004-03-18
| | | | | | | exit nodes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12490 91177308-0d34-0410-b5e6-96231b3b80d8
* The code extractor needs dominator info. Provide itChris Lattner2004-03-18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12483 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix several bugs in the loop extractor. In particular, subloops were neverChris Lattner2004-03-15
| | | | | | | | extracted, and a function that contained a single top-level loop never had the loop extracted, regardless of how much non-loop code there was. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12403 91177308-0d34-0410-b5e6-96231b3b80d8
* Split into two passes. Now there is the general loop extractor, usable onChris Lattner2004-03-14
| | | | | | | the command line, and the single loop extractor, usable by bugpoint git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12390 91177308-0d34-0410-b5e6-96231b3b80d8
* Passes don't print stuff!Chris Lattner2004-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12385 91177308-0d34-0410-b5e6-96231b3b80d8
* FunctionPass's should not define their own 'run' method.Chris Lattner2004-03-14
| | | | | | | | Require 'simplified' loops, not just raw natural loops. This fixes CodeExtractor/2004-03-13-LoopExtractorCrash.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12381 91177308-0d34-0410-b5e6-96231b3b80d8
* Move prototype to IPO.h instead of Scalar.hChris Lattner2004-03-14
| | | | | | | | Make sure that the file interface header (IPO.h) is included first remove dead #incldue git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12375 91177308-0d34-0410-b5e6-96231b3b80d8
* Indent anon namespace properly, add copyright blockChris Lattner2004-03-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12373 91177308-0d34-0410-b5e6-96231b3b80d8
* Move to the IPO library. Utils shouldn't contain passes.Chris Lattner2004-03-14
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12372 91177308-0d34-0410-b5e6-96231b3b80d8