Commit e00fbfa
committed
[region-isolation] Refactor RegionAnalysis AST pattern matching onto a helper factory method on IsolationRegionInfo.
Long term I would like to get region analysis and transfer non sendable out of
the business of directly interpreting the AST... but if we have to do it now, I
would rather us do it through a helper struct. At least the helper struct can be
modified later to work with additional SIL concurrency support when it is added.1 parent d72f078 commit e00fbfa
File tree
3 files changed
+42
-28
lines changed- include/swift/SILOptimizer/Utils
- lib/SILOptimizer
- Analysis
- Utils
3 files changed
+42
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
260 | 263 | | |
261 | 264 | | |
262 | 265 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 51 | | |
71 | 52 | | |
72 | 53 | | |
| |||
1776 | 1757 | | |
1777 | 1758 | | |
1778 | 1759 | | |
1779 | | - | |
1780 | | - | |
1781 | 1760 | | |
1782 | 1761 | | |
1783 | 1762 | | |
| |||
1811 | 1790 | | |
1812 | 1791 | | |
1813 | 1792 | | |
1814 | | - | |
1815 | | - | |
1816 | | - | |
1817 | | - | |
1818 | | - | |
1819 | | - | |
| 1793 | + | |
| 1794 | + | |
1820 | 1795 | | |
1821 | 1796 | | |
1822 | 1797 | | |
| |||
1928 | 1903 | | |
1929 | 1904 | | |
1930 | 1905 | | |
| 1906 | + | |
| 1907 | + | |
1931 | 1908 | | |
1932 | 1909 | | |
1933 | | - | |
| 1910 | + | |
1934 | 1911 | | |
1935 | 1912 | | |
1936 | 1913 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
0 commit comments