Dan Gohman
d04a608a73
Teach SimplifyCFG how to simplify indirectbr instructions.
...
- Eliminate redundant successors.
- Convert an indirectbr with one successor into a direct branch.
Also, generalize SimplifyCFG to be able to be run on a function entry block.
It knows quite a few simplifications which are applicable to the entry
block, and it only needs a few checks to avoid trouble with the entry block.
llvm-svn: 111060
2010-08-14 00:29:42 +00:00
..
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-11-10 21:02:18 +00:00
2009-09-11 18:01:28 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 18:01:28 +00:00
2010-03-02 01:11:08 +00:00
2010-03-31 20:37:13 +00:00
2010-08-14 00:29:42 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-08 22:34:10 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-12-30 05:54:51 +00:00
2009-09-11 18:01:28 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 17:02:12 +00:00
2010-08-14 00:29:42 +00:00
2009-10-13 18:13:05 +00:00
2009-09-11 18:01:28 +00:00
2010-02-05 22:03:18 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-10-31 17:33:01 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 17:02:12 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 17:02:12 +00:00
2009-09-08 22:34:10 +00:00
2009-09-08 22:34:10 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00
2010-06-13 16:16:54 +00:00
2010-01-05 17:55:26 +00:00
2009-09-11 17:02:12 +00:00
2009-09-11 18:01:28 +00:00
2009-09-11 18:01:28 +00:00