| commit | 336734aca6a7da385d674d6122728ad1ef6e1e57 | [log] [tgz] |
|---|---|---|
| author | Tobias Grosser <grosser@fim.uni-passau.de> | Thu Jul 22 07:46:31 2010 +0000 |
| committer | Tobias Grosser <grosser@fim.uni-passau.de> | Thu Jul 22 07:46:31 2010 +0000 |
| tree | ff78916af8ab17944cccac336369efc2d2881b15 | |
| parent | 3c31aa3a4412eceb7818f3b63910c3e1396c50e4 [diff] |
Add new RegionInfo pass. The RegionInfo pass detects single entry single exit regions in a function, where a region is defined as any subgraph that is connected to the remaining graph at only two spots. Furthermore an hierarchical region tree is built. Use it by calling "opt -regions analyze" or "opt -view-regions". llvm-svn: 109089