Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / opt-viewer / Outputs / unicode-function-name / s.swift.html
blob744c5b7579e886304bb7ac210c7e6e83542dda7d
2 <html>
3 <title>s.swift</title>
4 <meta charset="utf-8" />
5 <head>
6 <link rel='stylesheet' type='text/css' href='style.css'>
7 <script type="text/javascript">
8 /* Simple helper to show/hide the expanded message of a remark. */
9 function toggleExpandedMessage(e) {
10 var FullTextElems = e.parentElement.parentElement.getElementsByClassName("full-info");
11 if (!FullTextElems || FullTextElems.length < 1) {
12 return false;
14 var FullText = FullTextElems[0];
15 if (FullText.style.display == 'none') {
16 e.innerHTML = '-';
17 FullText.style.display = 'block';
18 } else {
19 e.innerHTML = '+';
20 FullText.style.display = 'none';
23 </script>
24 </head>
25 <body>
26 <div class="centered">
27 <table class="source">
28 <thead>
29 <tr>
30 <th style="width: 2%">Line</td>
31 <th style="width: 3%">Hotness</td>
32 <th style="width: 10%">Optimization</td>
33 <th style="width: 70%">Source</td>
34 <th style="width: 15%">Inline Context</td>
35 </tr>
36 </thead>
37 <tbody>
39 <tr>
40 <td><a name="L1">1</a></td>
41 <td></td>
42 <td></td>
43 <td><div class="highlight"><pre>infix operator •: AdditionPrecedence</pre></div></td>
44 </tr>
46 <tr>
47 <td><a name="L2">2</a></td>
48 <td></td>
49 <td></td>
50 <td><div class="highlight"><pre></pre></div></td>
51 </tr>
53 <tr>
54 <td><a name="L3">3</a></td>
55 <td></td>
56 <td></td>
57 <td><div class="highlight"><pre>func • (a: Int, b: Int) -> Int {</pre></div></td>
58 </tr>
60 <tr>
61 <td><a name="L4">4</a></td>
62 <td></td>
63 <td></td>
64 <td><div class="highlight"><pre> return a * b</pre></div></td>
65 </tr>
67 <tr>
68 <td><a name="L5">5</a></td>
69 <td></td>
70 <td></td>
71 <td><div class="highlight"><pre>}</pre></div></td>
72 </tr>
74 <tr>
75 <td><a name="L6">6</a></td>
76 <td></td>
77 <td></td>
78 <td><div class="highlight"><pre></pre></div></td>
79 </tr>
81 <tr>
82 <td><a name="L7">7</a></td>
83 <td></td>
84 <td></td>
85 <td><div class="highlight"><pre>@inline(never)</pre></div></td>
86 </tr>
88 <tr>
89 <td><a name="L8">8</a></td>
90 <td></td>
91 <td></td>
92 <td><div class="highlight"><pre>func g(a: Int) -> Int{</pre></div></td>
93 </tr>
95 <tr>
96 <td><a name="L9">9</a></td>
97 <td></td>
98 <td></td>
99 <td><div class="highlight"><pre> return a + 1</pre></div></td>
100 </tr>
102 <tr>
103 <td><a name="L10">10</a></td>
104 <td></td>
105 <td></td>
106 <td><div class="highlight"><pre>}</pre></div></td>
107 </tr>
109 <tr>
110 <td><a name="L11">11</a></td>
111 <td></td>
112 <td></td>
113 <td><div class="highlight"><pre></pre></div></td>
114 </tr>
116 <tr>
117 <td><a name="L12">12</a></td>
118 <td></td>
119 <td></td>
120 <td><div class="highlight"><pre>let i = g(a: 1 • 2)</pre></div></td>
121 </tr>
123 <tr>
124 <td></td>
125 <td></td>
126 <td class="column-entry-green">sil-inliner</td>
127 <td><pre style="display:inline"> </pre><span class="column-entry-yellow"> <a href="s.swift.html#L3">"s.• infix(_:_:)"</a> inlined into "main" (cost = 2, benefit = 40)&nbsp;</span></td>
128 <td class="column-entry-yellow">main</td>
129 </tr>
131 <tr>
132 <td><a name="L13">13</a></td>
133 <td></td>
134 <td></td>
135 <td><div class="highlight"><pre></pre></div></td>
136 </tr>
138 </tbody>
139 </table>
140 </body>
141 </html>