1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 4
2 ; RUN: opt < %s -passes=newgvn | llvm-dis
4 %"struct.Block::$_16" = type { i32 }
5 %struct.Exp = type { ptr, i32, i32, i32, ptr, ptr, %"struct.Exp::$_10", %"struct.Block::$_16", %"struct.Exp::$_12" }
6 %"struct.Exp::$_10" = type { ptr }
7 %"struct.Exp::$_12" = type { ptr }
8 %struct.Exp_ = type { i32, i32, i32, i32, ptr }
9 %struct.Id = type { ptr, i32, i32, i32, %"struct.Id::$_13" }
10 %"struct.Id::$_13" = type { double }
12 define ptr @_ZN3Exp8toStringEj(ptr %this, i32 %nextpc) {
14 switch i32 0, label %bb970 [
27 store ptr null, ptr null
30 bb39: ; preds = %entry
31 br i1 false, label %cond_true, label %cond_false132
33 cond_true: ; preds = %bb39
34 br i1 false, label %cond_true73, label %cond_false
36 cond_true73: ; preds = %cond_true
37 br i1 false, label %cond_true108, label %cond_next
39 cond_true108: ; preds = %cond_true73
42 cond_next: ; preds = %cond_true108, %cond_true73
43 br label %cond_next131
45 cond_false: ; preds = %cond_true
46 br label %cond_next131
48 cond_next131: ; preds = %cond_false, %cond_next
49 br label %cond_next141
51 cond_false132: ; preds = %bb39
52 br label %cond_next141
54 cond_next141: ; preds = %cond_false132, %cond_next131
55 br i1 false, label %cond_true169, label %cond_false175
57 cond_true169: ; preds = %cond_next141
58 br label %cond_next181
60 cond_false175: ; preds = %cond_next141
61 br label %cond_next181
63 cond_next181: ; preds = %cond_false175, %cond_true169
64 br i1 false, label %cond_true189, label %cond_next191
66 cond_true189: ; preds = %cond_next181
67 br label %cond_next191
69 cond_next191: ; preds = %cond_true189, %cond_next181
70 store ptr null, ptr null
73 bb195: ; preds = %entry
74 br i1 false, label %cond_true248, label %cond_false250
76 cond_true248: ; preds = %bb195
77 br label %cond_next252
79 cond_false250: ; preds = %bb195
80 br label %cond_next252
82 cond_next252: ; preds = %cond_false250, %cond_true248
83 br i1 false, label %cond_true265, label %cond_next267
85 cond_true265: ; preds = %cond_next252
86 br label %cond_next267
88 cond_next267: ; preds = %cond_true265, %cond_next252
89 store ptr null, ptr null
92 bb270: ; preds = %entry
93 br i1 false, label %cond_true338, label %cond_false340
95 cond_true338: ; preds = %bb270
96 br label %cond_next342
98 cond_false340: ; preds = %bb270
99 br label %cond_next342
101 cond_next342: ; preds = %cond_false340, %cond_true338
102 br i1 false, label %cond_true362, label %cond_false364
104 cond_true362: ; preds = %cond_next342
105 br label %cond_next366
107 cond_false364: ; preds = %cond_next342
108 br label %cond_next366
110 cond_next366: ; preds = %cond_false364, %cond_true362
111 br i1 false, label %cond_true393, label %cond_next395
113 cond_true393: ; preds = %cond_next366
114 br label %cond_next395
116 cond_next395: ; preds = %cond_true393, %cond_next366
117 br i1 false, label %cond_true406, label %cond_next408
119 cond_true406: ; preds = %cond_next395
120 br label %cond_next408
122 cond_next408: ; preds = %cond_true406, %cond_next395
123 br i1 false, label %cond_true413, label %cond_next415
125 cond_true413: ; preds = %cond_next408
126 br label %cond_next415
128 cond_next415: ; preds = %cond_true413, %cond_next408
129 store ptr null, ptr null
132 bb418: ; preds = %entry
133 br i1 false, label %cond_true512, label %cond_false514
135 cond_true512: ; preds = %bb418
136 br label %cond_next516
138 cond_false514: ; preds = %bb418
139 br label %cond_next516
141 cond_next516: ; preds = %cond_false514, %cond_true512
142 br i1 false, label %cond_true536, label %cond_false538
144 cond_true536: ; preds = %cond_next516
145 br label %cond_next540
147 cond_false538: ; preds = %cond_next516
148 br label %cond_next540
150 cond_next540: ; preds = %cond_false538, %cond_true536
151 br i1 false, label %cond_true560, label %cond_false562
153 cond_true560: ; preds = %cond_next540
154 br label %cond_next564
156 cond_false562: ; preds = %cond_next540
157 br label %cond_next564
159 cond_next564: ; preds = %cond_false562, %cond_true560
160 br i1 false, label %cond_true597, label %cond_next599
162 cond_true597: ; preds = %cond_next564
163 br label %cond_next599
165 cond_next599: ; preds = %cond_true597, %cond_next564
166 br i1 false, label %cond_true614, label %cond_next616
168 cond_true614: ; preds = %cond_next599
169 br label %cond_next616
171 cond_next616: ; preds = %cond_true614, %cond_next599
172 br i1 false, label %cond_true621, label %cond_next623
174 cond_true621: ; preds = %cond_next616
175 br label %cond_next623
177 cond_next623: ; preds = %cond_true621, %cond_next616
178 br i1 false, label %cond_true628, label %cond_next630
180 cond_true628: ; preds = %cond_next623
181 br label %cond_next630
183 cond_next630: ; preds = %cond_true628, %cond_next623
184 store ptr null, ptr null
187 bb633: ; preds = %entry
188 br i1 false, label %cond_true667, label %cond_next669
190 cond_true667: ; preds = %bb633
191 br label %cond_next669
193 cond_next669: ; preds = %cond_true667, %bb633
194 br i1 false, label %cond_true678, label %cond_next791
196 cond_true678: ; preds = %cond_next669
199 bb679: ; preds = %bb735
200 br i1 false, label %cond_true729, label %cond_next731
202 cond_true729: ; preds = %bb679
203 br label %cond_next731
205 cond_next731: ; preds = %cond_true729, %bb679
208 bb735: ; preds = %cond_next731, %cond_true678
209 br i1 false, label %bb679, label %bb743
211 bb743: ; preds = %bb735
212 br i1 false, label %cond_true788, label %cond_next790
214 cond_true788: ; preds = %bb743
215 br label %cond_next790
217 cond_next790: ; preds = %cond_true788, %bb743
218 br label %cond_next791
220 cond_next791: ; preds = %cond_next790, %cond_next669
221 br i1 false, label %cond_true805, label %cond_next807
223 cond_true805: ; preds = %cond_next791
224 br label %cond_next807
226 cond_next807: ; preds = %cond_true805, %cond_next791
227 store ptr null, ptr null
230 bb810: ; preds = %entry
231 br i1 false, label %cond_true870, label %cond_next872
233 cond_true870: ; preds = %bb810
234 br label %cond_next872
236 cond_next872: ; preds = %cond_true870, %bb810
237 br i1 false, label %cond_true877, label %cond_next879
239 cond_true877: ; preds = %cond_next872
240 br label %cond_next879
242 cond_next879: ; preds = %cond_true877, %cond_next872
243 store ptr null, ptr null
246 bb882: ; preds = %entry
247 br i1 false, label %cond_true920, label %cond_next922
249 cond_true920: ; preds = %bb882
250 br label %cond_next922
252 cond_next922: ; preds = %cond_true920, %bb882
253 store ptr null, ptr null
256 bb925: ; preds = %entry
257 br i1 false, label %cond_true965, label %cond_next967
259 cond_true965: ; preds = %bb925
260 br label %cond_next967
262 cond_next967: ; preds = %cond_true965, %bb925
263 store ptr null, ptr null
266 bb970: ; preds = %entry
269 store ptr null, ptr null
272 return: ; preds = %0, %cond_next967, %cond_next922, %cond_next879, %cond_next807, %cond_next630, %cond_next415, %cond_next267, %cond_next191, %bb
273 %retval980 = load ptr, ptr null ; <ptr> [#uses=1]