commit | f96b0063674e6bf72da5429bd49097e33c2325c7 | [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 | 6122b17b693e49a1fb9de1cabf099bb67d82414a | |
parent | 8a89a6ae9c3fb524cda60768e094ba481ac17be1 [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". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109089 91177308-0d34-0410-b5e6-96231b3b80d8