• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=armv6-apple-darwin
2
3  %struct.term = type { i32, i32, i32 }
4
5declare fastcc i8* @memory_Malloc(i32) nounwind
6
7define fastcc %struct.term* @t1() nounwind {
8entry:
9	br i1 undef, label %bb, label %bb1
10
11bb:		; preds = %entry
12	ret %struct.term* undef
13
14bb1:		; preds = %entry
15	%0 = tail call fastcc i8* @memory_Malloc(i32 12) nounwind		; <i8*> [#uses=0]
16	%1 = tail call fastcc i8* @memory_Malloc(i32 12) nounwind		; <i8*> [#uses=0]
17	ret %struct.term* undef
18}
19
20
21define i32 @t2(i32 %argc, i8** nocapture %argv) nounwind {
22entry:
23	br label %bb6.i8
24
25bb6.i8:		; preds = %memory_CalculateRealBlockSize1374.exit.i, %entry
26	br i1 undef, label %memory_CalculateRealBlockSize1374.exit.i, label %bb.i.i9
27
28bb.i.i9:		; preds = %bb6.i8
29	br label %memory_CalculateRealBlockSize1374.exit.i
30
31memory_CalculateRealBlockSize1374.exit.i:		; preds = %bb.i.i9, %bb6.i8
32	%0 = phi i32 [ undef, %bb.i.i9 ], [ undef, %bb6.i8 ]		; <i32> [#uses=2]
33	store i32 %0, i32* undef, align 4
34	%1 = urem i32 8184, %0		; <i32> [#uses=1]
35	%2 = sub i32 8188, %1		; <i32> [#uses=1]
36	store i32 %2, i32* undef, align 4
37	br i1 undef, label %memory_Init.exit, label %bb6.i8
38
39memory_Init.exit:		; preds = %memory_CalculateRealBlockSize1374.exit.i
40	br label %bb.i.i
41
42bb.i.i:		; preds = %bb.i.i, %memory_Init.exit
43	br i1 undef, label %symbol_Init.exit, label %bb.i.i
44
45symbol_Init.exit:		; preds = %bb.i.i
46	br label %bb.i.i67
47
48bb.i.i67:		; preds = %bb.i.i67, %symbol_Init.exit
49	br i1 undef, label %symbol_CreatePrecedence3522.exit, label %bb.i.i67
50
51symbol_CreatePrecedence3522.exit:		; preds = %bb.i.i67
52	br label %bb.i.i8.i
53
54bb.i.i8.i:		; preds = %bb.i.i8.i, %symbol_CreatePrecedence3522.exit
55	br i1 undef, label %cont_Create.exit9.i, label %bb.i.i8.i
56
57cont_Create.exit9.i:		; preds = %bb.i.i8.i
58	br label %bb.i.i.i72
59
60bb.i.i.i72:		; preds = %bb.i.i.i72, %cont_Create.exit9.i
61	br i1 undef, label %cont_Init.exit, label %bb.i.i.i72
62
63cont_Init.exit:		; preds = %bb.i.i.i72
64	br label %bb.i103
65
66bb.i103:		; preds = %bb.i103, %cont_Init.exit
67	br i1 undef, label %subs_Init.exit, label %bb.i103
68
69subs_Init.exit:		; preds = %bb.i103
70	br i1 undef, label %bb1.i.i.i80, label %cc_Init.exit
71
72bb1.i.i.i80:		; preds = %subs_Init.exit
73	unreachable
74
75cc_Init.exit:		; preds = %subs_Init.exit
76	br label %bb.i.i375
77
78bb.i.i375:		; preds = %bb.i.i375, %cc_Init.exit
79	br i1 undef, label %bb.i439, label %bb.i.i375
80
81bb.i439:		; preds = %bb.i439, %bb.i.i375
82	br i1 undef, label %opts_DeclareSPASSFlagsAsOptions.exit, label %bb.i439
83
84opts_DeclareSPASSFlagsAsOptions.exit:		; preds = %bb.i439
85	br i1 undef, label %opts_TranslateShortOptDeclarations.exit.i, label %bb.i.i82
86
87bb.i.i82:		; preds = %opts_DeclareSPASSFlagsAsOptions.exit
88	unreachable
89
90opts_TranslateShortOptDeclarations.exit.i:		; preds = %opts_DeclareSPASSFlagsAsOptions.exit
91	br i1 undef, label %list_Length.exit.i.thread.i, label %bb.i.i4.i
92
93list_Length.exit.i.thread.i:		; preds = %opts_TranslateShortOptDeclarations.exit.i
94	br i1 undef, label %bb18.i.i.i, label %bb26.i.i.i
95
96bb.i.i4.i:		; preds = %opts_TranslateShortOptDeclarations.exit.i
97	unreachable
98
99bb18.i.i.i:		; preds = %list_Length.exit.i.thread.i
100	unreachable
101
102bb26.i.i.i:		; preds = %list_Length.exit.i.thread.i
103	br i1 undef, label %bb27.i142, label %opts_GetOptLongOnly.exit.thread97.i
104
105opts_GetOptLongOnly.exit.thread97.i:		; preds = %bb26.i.i.i
106	br label %bb27.i142
107
108bb27.i142:		; preds = %opts_GetOptLongOnly.exit.thread97.i, %bb26.i.i.i
109	br label %bb1.i3.i
110
111bb1.i3.i:		; preds = %bb1.i3.i, %bb27.i142
112	br i1 undef, label %opts_FreeLongOptsArray.exit.i, label %bb1.i3.i
113
114opts_FreeLongOptsArray.exit.i:		; preds = %bb1.i3.i
115	br label %bb.i443
116
117bb.i443:		; preds = %bb.i443, %opts_FreeLongOptsArray.exit.i
118	br i1 undef, label %flag_InitStoreByDefaults3542.exit, label %bb.i443
119
120flag_InitStoreByDefaults3542.exit:		; preds = %bb.i443
121	br i1 undef, label %bb6.i449, label %bb.i503
122
123bb6.i449:		; preds = %flag_InitStoreByDefaults3542.exit
124	unreachable
125
126bb.i503:		; preds = %bb.i503, %flag_InitStoreByDefaults3542.exit
127	br i1 undef, label %flag_CleanStore3464.exit, label %bb.i503
128
129flag_CleanStore3464.exit:		; preds = %bb.i503
130	br i1 undef, label %bb1.i81.i.preheader, label %bb.i173
131
132bb.i173:		; preds = %flag_CleanStore3464.exit
133	unreachable
134
135bb1.i81.i.preheader:		; preds = %flag_CleanStore3464.exit
136	br i1 undef, label %bb1.i64.i.preheader, label %bb5.i179
137
138bb5.i179:		; preds = %bb1.i81.i.preheader
139	unreachable
140
141bb1.i64.i.preheader:		; preds = %bb1.i81.i.preheader
142	br i1 undef, label %dfg_DeleteProofList.exit.i, label %bb.i9.i
143
144bb.i9.i:		; preds = %bb1.i64.i.preheader
145	unreachable
146
147dfg_DeleteProofList.exit.i:		; preds = %bb1.i64.i.preheader
148	br i1 undef, label %term_DeleteTermList621.exit.i, label %bb.i.i62.i
149
150bb.i.i62.i:		; preds = %bb.i.i62.i, %dfg_DeleteProofList.exit.i
151	br i1 undef, label %term_DeleteTermList621.exit.i, label %bb.i.i62.i
152
153term_DeleteTermList621.exit.i:		; preds = %bb.i.i62.i, %dfg_DeleteProofList.exit.i
154	br i1 undef, label %dfg_DFGParser.exit, label %bb.i.i211
155
156bb.i.i211:		; preds = %term_DeleteTermList621.exit.i
157	unreachable
158
159dfg_DFGParser.exit:		; preds = %term_DeleteTermList621.exit.i
160	br label %bb.i513
161
162bb.i513:		; preds = %bb2.i516, %dfg_DFGParser.exit
163	br i1 undef, label %bb2.i516, label %bb1.i514
164
165bb1.i514:		; preds = %bb.i513
166	unreachable
167
168bb2.i516:		; preds = %bb.i513
169	br i1 undef, label %bb.i509, label %bb.i513
170
171bb.i509:		; preds = %bb.i509, %bb2.i516
172	br i1 undef, label %symbol_TransferPrecedence3468.exit511, label %bb.i509
173
174symbol_TransferPrecedence3468.exit511:		; preds = %bb.i509
175	br i1 undef, label %bb20, label %bb21
176
177bb20:		; preds = %symbol_TransferPrecedence3468.exit511
178	unreachable
179
180bb21:		; preds = %symbol_TransferPrecedence3468.exit511
181	br i1 undef, label %cnf_Init.exit, label %bb.i498
182
183bb.i498:		; preds = %bb21
184	unreachable
185
186cnf_Init.exit:		; preds = %bb21
187	br i1 undef, label %bb23, label %bb22
188
189bb22:		; preds = %cnf_Init.exit
190	br i1 undef, label %bb2.i.i496, label %bb.i.i494
191
192bb.i.i494:		; preds = %bb22
193	unreachable
194
195bb2.i.i496:		; preds = %bb22
196	unreachable
197
198bb23:		; preds = %cnf_Init.exit
199	br i1 undef, label %bb28, label %bb24
200
201bb24:		; preds = %bb23
202	unreachable
203
204bb28:		; preds = %bb23
205	br i1 undef, label %bb31, label %bb29
206
207bb29:		; preds = %bb28
208	unreachable
209
210bb31:		; preds = %bb28
211	br i1 undef, label %bb34, label %bb32
212
213bb32:		; preds = %bb31
214	unreachable
215
216bb34:		; preds = %bb31
217	br i1 undef, label %bb83, label %bb66
218
219bb66:		; preds = %bb34
220	unreachable
221
222bb83:		; preds = %bb34
223	br i1 undef, label %bb2.i1668, label %bb.i1667
224
225bb.i1667:		; preds = %bb83
226	unreachable
227
228bb2.i1668:		; preds = %bb83
229	br i1 undef, label %bb5.i205, label %bb3.i204
230
231bb3.i204:		; preds = %bb2.i1668
232	unreachable
233
234bb5.i205:		; preds = %bb2.i1668
235	br i1 undef, label %bb.i206.i, label %ana_AnalyzeSortStructure.exit.i
236
237bb.i206.i:		; preds = %bb5.i205
238	br i1 undef, label %bb1.i207.i, label %ana_AnalyzeSortStructure.exit.i
239
240bb1.i207.i:		; preds = %bb.i206.i
241	br i1 undef, label %bb25.i1801.thread, label %bb.i1688
242
243bb.i1688:		; preds = %bb1.i207.i
244	unreachable
245
246bb25.i1801.thread:		; preds = %bb1.i207.i
247	unreachable
248
249ana_AnalyzeSortStructure.exit.i:		; preds = %bb.i206.i, %bb5.i205
250	br i1 undef, label %bb7.i207, label %bb.i1806
251
252bb.i1806:		; preds = %ana_AnalyzeSortStructure.exit.i
253	br i1 undef, label %bb2.i.i.i1811, label %bb.i.i.i1809
254
255bb.i.i.i1809:		; preds = %bb.i1806
256	unreachable
257
258bb2.i.i.i1811:		; preds = %bb.i1806
259	unreachable
260
261bb7.i207:		; preds = %ana_AnalyzeSortStructure.exit.i
262	br i1 undef, label %bb9.i, label %bb8.i
263
264bb8.i:		; preds = %bb7.i207
265	unreachable
266
267bb9.i:		; preds = %bb7.i207
268	br i1 undef, label %bb23.i, label %bb26.i
269
270bb23.i:		; preds = %bb9.i
271	br i1 undef, label %bb25.i, label %bb24.i
272
273bb24.i:		; preds = %bb23.i
274	br i1 undef, label %sort_SortTheoryIsTrivial.exit.i, label %bb.i2093
275
276bb.i2093:		; preds = %bb.i2093, %bb24.i
277	br label %bb.i2093
278
279sort_SortTheoryIsTrivial.exit.i:		; preds = %bb24.i
280	br i1 undef, label %bb3.i2141, label %bb4.i2143
281
282bb3.i2141:		; preds = %sort_SortTheoryIsTrivial.exit.i
283	unreachable
284
285bb4.i2143:		; preds = %sort_SortTheoryIsTrivial.exit.i
286	br i1 undef, label %bb8.i2178, label %bb5.i2144
287
288bb5.i2144:		; preds = %bb4.i2143
289	br i1 undef, label %bb7.i2177, label %bb1.i28.i
290
291bb1.i28.i:		; preds = %bb5.i2144
292	br i1 undef, label %bb4.i43.i, label %bb2.i.i2153
293
294bb2.i.i2153:		; preds = %bb1.i28.i
295	br i1 undef, label %bb4.i.i33.i, label %bb.i.i30.i
296
297bb.i.i30.i:		; preds = %bb2.i.i2153
298	unreachable
299
300bb4.i.i33.i:		; preds = %bb2.i.i2153
301	br i1 undef, label %bb9.i.i36.i, label %bb5.i.i34.i
302
303bb5.i.i34.i:		; preds = %bb4.i.i33.i
304	unreachable
305
306bb9.i.i36.i:		; preds = %bb4.i.i33.i
307	br i1 undef, label %bb14.i.i.i2163, label %bb10.i.i37.i
308
309bb10.i.i37.i:		; preds = %bb9.i.i36.i
310	unreachable
311
312bb14.i.i.i2163:		; preds = %bb9.i.i36.i
313	br i1 undef, label %sort_LinkPrint.exit.i.i, label %bb15.i.i.i2164
314
315bb15.i.i.i2164:		; preds = %bb14.i.i.i2163
316	unreachable
317
318sort_LinkPrint.exit.i.i:		; preds = %bb14.i.i.i2163
319	unreachable
320
321bb4.i43.i:		; preds = %bb1.i28.i
322	unreachable
323
324bb7.i2177:		; preds = %bb5.i2144
325	unreachable
326
327bb8.i2178:		; preds = %bb4.i2143
328	br i1 undef, label %sort_ApproxStaticSortTheory.exit, label %bb.i5.i2185.preheader
329
330bb.i5.i2185.preheader:		; preds = %bb8.i2178
331	br label %bb.i5.i2185
332
333bb.i5.i2185:		; preds = %bb.i5.i2185, %bb.i5.i2185.preheader
334	br i1 undef, label %sort_ApproxStaticSortTheory.exit, label %bb.i5.i2185
335
336sort_ApproxStaticSortTheory.exit:		; preds = %bb.i5.i2185, %bb8.i2178
337	br label %bb25.i
338
339bb25.i:		; preds = %sort_ApproxStaticSortTheory.exit, %bb23.i
340	unreachable
341
342bb26.i:		; preds = %bb9.i
343	unreachable
344}
345