1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin10
3 %struct.ANY = type { ptr }
4 %struct.AV = type { ptr, i32, i32 }
5 %struct.CLONE_PARAMS = type { ptr, i64, ptr }
6 %struct.CV = type { ptr, i32, i32 }
7 %struct.DIR = type { i32, i64, i64, ptr, i32, i64, i64, i32, %struct.__darwin_pthread_mutex_t, ptr }
8 %struct.GP = type { ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, ptr }
9 %struct.GV = type { ptr, i32, i32 }
10 %struct.HE = type { ptr, ptr, ptr }
11 %struct.HEK = type { i32, i32, [1 x i8] }
12 %struct.HV = type { ptr, i32, i32 }
13 %struct.MAGIC = type { ptr, ptr, i16, i8, i8, ptr, ptr, i32 }
14 %struct.MGVTBL = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr }
15 %struct.OP = type { ptr, ptr, ptr, i64, i16, i16, i8, i8 }
16 %struct.PMOP = type { ptr, ptr, ptr, i64, i16, i16, i8, i8, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i8, ptr }
17 %struct.PerlIO_funcs = type { i64, ptr, i64, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
18 %struct.PerlIO_list_t = type { i64, i64, i64, ptr }
19 %struct.PerlIO_pair_t = type { ptr, ptr }
20 %struct.PerlIOl = type { ptr, ptr, i32 }
21 %struct.PerlInterpreter = type { i8 }
22 %struct.REGEXP = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, [1 x %struct.regnode] }
23 %struct.SV = type { ptr, i32, i32 }
24 %struct.XPVAV = type { ptr, i64, i64, i64, double, ptr, ptr, ptr, ptr, i8 }
25 %struct.XPVCV = type { ptr, i64, i64, i64, double, ptr, ptr, ptr, ptr, ptr, ptr, %struct.ANY, ptr, ptr, i64, ptr, ptr, i16, i32 }
26 %struct.XPVGV = type { ptr, i64, i64, i64, double, ptr, ptr, ptr, ptr, i64, ptr, i8 }
27 %struct.XPVHV = type { ptr, i64, i64, i64, double, ptr, ptr, i32, ptr, ptr, ptr }
28 %struct.XPVIO = type { ptr, i64, i64, i64, double, ptr, ptr, ptr, ptr, %struct.anon, i64, i64, i64, i64, ptr, ptr, ptr, ptr, ptr, ptr, i16, i8, i8 }
29 %struct.__darwin_pthread_mutex_t = type { i64, [56 x i8] }
30 %struct._telldir = type opaque
31 %struct.anon = type { ptr }
32 %struct.io = type { ptr, i32, i32 }
33 %struct.reg_data = type { i32, ptr, [1 x ptr] }
34 %struct.reg_substr_data = type { [3 x %struct.reg_substr_datum] }
35 %struct.reg_substr_datum = type { i32, i32, ptr, ptr }
36 %struct.regnode = type { i8, i8, i16 }
38 define i32 @Perl_yylex() nounwind ssp {
40 br i1 undef, label %bb21, label %bb
45 bb21: ; preds = %entry
46 switch i32 undef, label %bb103 [
61 br i1 undef, label %bb69, label %bb70
72 bb101: ; preds = %bb21
75 bb103: ; preds = %bb21
76 switch i32 undef, label %bb104 [
78 i32 4, label %fake_eof
79 i32 26, label %fake_eof
97 i32 65, label %keylookup
98 i32 66, label %keylookup
99 i32 67, label %keylookup
100 i32 68, label %keylookup
101 i32 69, label %keylookup
102 i32 70, label %keylookup
103 i32 71, label %keylookup
104 i32 72, label %keylookup
105 i32 73, label %keylookup
106 i32 74, label %keylookup
107 i32 75, label %keylookup
108 i32 76, label %keylookup
109 i32 77, label %keylookup
110 i32 78, label %keylookup
111 i32 79, label %keylookup
112 i32 80, label %keylookup
113 i32 81, label %keylookup
114 i32 82, label %keylookup
115 i32 83, label %keylookup
116 i32 84, label %keylookup
117 i32 85, label %keylookup
118 i32 86, label %keylookup
119 i32 87, label %keylookup
120 i32 88, label %keylookup
121 i32 89, label %keylookup
122 i32 90, label %keylookup
123 i32 92, label %bb1455
124 i32 95, label %keylookup
125 i32 96, label %bb1447
126 i32 97, label %keylookup
127 i32 98, label %keylookup
128 i32 99, label %keylookup
129 i32 100, label %keylookup
130 i32 101, label %keylookup
131 i32 102, label %keylookup
132 i32 103, label %keylookup
133 i32 104, label %keylookup
134 i32 105, label %keylookup
135 i32 106, label %keylookup
136 i32 107, label %keylookup
137 i32 108, label %keylookup
138 i32 109, label %keylookup
139 i32 110, label %keylookup
140 i32 111, label %keylookup
141 i32 112, label %keylookup
142 i32 113, label %keylookup
143 i32 114, label %keylookup
144 i32 115, label %keylookup
145 i32 116, label %keylookup
146 i32 117, label %keylookup
147 i32 118, label %keylookup
148 i32 119, label %keylookup
149 i32 120, label %keylookup
150 i32 121, label %keylookup
151 i32 122, label %keylookup
152 i32 126, label %bb544
155 bb104: ; preds = %bb103
158 bb126: ; preds = %bb103
161 fake_eof: ; preds = %bb1841, %bb103, %bb103
164 bb534: ; preds = %bb103
167 bb544: ; preds = %bb103, %bb103
170 bb639: ; preds = %bb103
173 bb643: ; preds = %bb103
176 bb1050: ; preds = %bb103
179 bb1406: ; preds = %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103
182 bb1412: ; preds = %bb103
185 bb1423: ; preds = %bb103
188 bb1447: ; preds = %bb103
191 bb1455: ; preds = %bb103
194 keylookup: ; preds = %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103, %bb103
195 br i1 undef, label %bb1498, label %bb1496
197 bb1496: ; preds = %keylookup
198 br i1 undef, label %bb1498, label %bb1510.preheader
200 bb1498: ; preds = %bb1496, %keylookup
203 bb1510.preheader: ; preds = %bb1496
204 br i1 undef, label %bb1511, label %bb1518
206 bb1511: ; preds = %bb1510.preheader
209 bb1518: ; preds = %bb1511, %bb1510.preheader
210 switch i32 undef, label %bb741.i4285 [
211 i32 95, label %bb744.i4287
212 i32 115, label %bb852.i4394
215 bb741.i4285: ; preds = %bb1518
216 br label %Perl_keyword.exit4735
218 bb744.i4287: ; preds = %bb1518
219 br label %Perl_keyword.exit4735
221 bb852.i4394: ; preds = %bb1518
222 br i1 undef, label %bb861.i4404, label %bb856.i4399
224 bb856.i4399: ; preds = %bb852.i4394
225 br label %Perl_keyword.exit4735
227 bb861.i4404: ; preds = %bb852.i4394
228 br label %Perl_keyword.exit4735
230 Perl_keyword.exit4735: ; preds = %bb861.i4404, %bb856.i4399, %bb744.i4287, %bb741.i4285
231 br i1 undef, label %bb1544, label %reserved_word
233 bb1544: ; preds = %Perl_keyword.exit4735
234 br i1 undef, label %bb1565, label %bb1545
236 bb1545: ; preds = %bb1544
237 br i1 undef, label %bb1563, label %bb1558
239 bb1558: ; preds = %bb1545
240 %0 = load ptr, ptr undef ; <ptr> [#uses=1]
241 br i1 undef, label %bb1563, label %bb1559
243 bb1559: ; preds = %bb1558
244 br i1 undef, label %bb1560, label %bb1563
246 bb1560: ; preds = %bb1559
247 br i1 undef, label %bb1563, label %bb1561
249 bb1561: ; preds = %bb1560
250 br i1 undef, label %bb1562, label %bb1563
252 bb1562: ; preds = %bb1561
255 bb1563: ; preds = %bb1562, %bb1561, %bb1560, %bb1559, %bb1558, %bb1545
256 %gv19.3 = phi ptr [ %0, %bb1562 ], [ undef, %bb1545 ], [ %0, %bb1558 ], [ %0, %bb1559 ], [ %0, %bb1560 ], [ %0, %bb1561 ] ; <ptr> [#uses=0]
257 br i1 undef, label %bb1565, label %reserved_word
259 bb1565: ; preds = %bb1563, %bb1544
260 br i1 undef, label %bb1573, label %bb1580
262 bb1573: ; preds = %bb1565
265 bb1580: ; preds = %bb1573, %bb1565
266 br i1 undef, label %bb1595, label %reserved_word
268 bb1595: ; preds = %bb1580
269 br i1 undef, label %reserved_word, label %bb1597
271 bb1597: ; preds = %bb1595
272 br i1 undef, label %reserved_word, label %bb1602
274 bb1602: ; preds = %bb1597
275 br label %reserved_word
277 reserved_word: ; preds = %bb1602, %bb1597, %bb1595, %bb1580, %bb1563, %Perl_keyword.exit4735
278 switch i32 undef, label %bb2012 [
284 i32 14, label %bb1894
285 i32 16, label %bb1895
286 i32 17, label %bb1896
287 i32 18, label %bb1897
288 i32 19, label %bb1898
289 i32 20, label %bb1899
290 i32 22, label %bb1906
291 i32 23, label %bb1928
292 i32 24, label %bb2555
293 i32 26, label %bb1929
294 i32 31, label %bb1921
295 i32 32, label %bb1930
296 i32 33, label %bb1905
297 i32 34, label %bb1936
298 i32 35, label %bb1927
299 i32 37, label %bb1962
300 i32 40, label %bb1951
301 i32 41, label %bb1946
302 i32 42, label %bb1968
303 i32 44, label %bb1969
304 i32 45, label %bb1970
305 i32 46, label %bb2011
306 i32 47, label %bb2006
307 i32 48, label %bb2007
308 i32 49, label %bb2009
309 i32 50, label %bb2010
310 i32 51, label %bb2008
311 i32 53, label %bb1971
312 i32 54, label %bb1982
313 i32 55, label %bb2005
314 i32 59, label %bb2081
315 i32 61, label %bb2087
316 i32 64, label %bb2080
317 i32 65, label %really_sub
318 i32 66, label %bb2079
319 i32 67, label %bb2089
320 i32 69, label %bb2155
321 i32 72, label %bb2137
322 i32 74, label %bb2138
323 i32 75, label %bb2166
324 i32 76, label %bb2144
325 i32 78, label %bb2145
326 i32 81, label %bb2102
327 i32 82, label %bb2108
328 i32 84, label %bb2114
329 i32 85, label %bb2115
330 i32 86, label %bb2116
331 i32 89, label %bb2146
332 i32 90, label %bb2147
333 i32 91, label %bb2148
334 i32 93, label %bb2154
335 i32 94, label %bb2167
336 i32 96, label %bb2091
337 i32 97, label %bb2090
338 i32 98, label %bb2088
339 i32 100, label %bb2173
340 i32 101, label %bb2174
341 i32 102, label %bb2175
342 i32 103, label %bb2180
343 i32 104, label %bb2181
344 i32 106, label %bb2187
345 i32 107, label %bb2188
346 i32 110, label %bb2206
347 i32 112, label %bb2217
348 i32 113, label %bb2218
349 i32 114, label %bb2199
350 i32 119, label %bb2205
351 i32 120, label %bb2229
352 i32 121, label %bb2233
353 i32 122, label %bb2234
354 i32 123, label %bb2235
355 i32 124, label %bb2236
356 i32 125, label %bb2237
357 i32 126, label %bb2238
358 i32 127, label %bb2239
359 i32 128, label %bb2268
360 i32 129, label %bb2267
361 i32 133, label %bb2276
362 i32 134, label %bb2348
363 i32 135, label %bb2337
364 i32 137, label %bb2239
365 i32 138, label %bb2367
366 i32 139, label %bb2368
367 i32 140, label %bb2369
368 i32 141, label %bb2357
369 i32 143, label %bb2349
370 i32 144, label %bb2350
371 i32 146, label %bb2356
372 i32 147, label %bb2370
373 i32 148, label %bb2445
374 i32 149, label %bb2453
375 i32 151, label %bb2381
376 i32 152, label %bb2457
377 i32 154, label %bb2516
378 i32 156, label %bb2522
379 i32 158, label %bb2527
380 i32 159, label %bb2537
381 i32 160, label %bb2503
382 i32 162, label %bb2504
383 i32 163, label %bb2464
384 i32 165, label %bb2463
385 i32 166, label %bb2538
386 i32 168, label %bb2515
387 i32 170, label %bb2549
388 i32 172, label %bb2566
389 i32 173, label %bb2595
390 i32 174, label %bb2565
391 i32 175, label %bb2567
392 i32 176, label %bb2568
393 i32 177, label %bb2569
394 i32 178, label %bb2570
395 i32 179, label %bb2594
396 i32 182, label %bb2571
397 i32 183, label %bb2572
398 i32 185, label %bb2593
399 i32 186, label %bb2583
400 i32 187, label %bb2596
401 i32 189, label %bb2602
402 i32 190, label %bb2603
403 i32 191, label %bb2604
404 i32 192, label %bb2605
405 i32 193, label %bb2606
406 i32 196, label %bb2617
407 i32 197, label %bb2618
408 i32 198, label %bb2619
409 i32 199, label %bb2627
410 i32 200, label %bb2625
411 i32 201, label %bb2626
412 i32 206, label %really_sub
413 i32 207, label %bb2648
414 i32 208, label %bb2738
415 i32 209, label %bb2739
416 i32 210, label %bb2740
417 i32 211, label %bb2742
418 i32 212, label %bb2741
419 i32 213, label %bb2737
420 i32 214, label %bb2743
421 i32 217, label %bb2758
422 i32 219, label %bb2764
423 i32 220, label %bb2765
424 i32 221, label %bb2744
425 i32 222, label %bb2766
426 i32 226, label %bb2785
427 i32 227, label %bb2783
428 i32 228, label %bb2784
429 i32 229, label %bb2790
430 i32 230, label %bb2797
431 i32 232, label %bb2782
432 i32 234, label %bb2791
433 i32 236, label %bb2815
434 i32 237, label %bb2818
435 i32 238, label %bb2819
436 i32 239, label %bb2820
437 i32 240, label %bb2817
438 i32 241, label %bb2816
439 i32 242, label %bb2821
440 i32 243, label %bb2826
441 i32 244, label %bb2829
442 i32 245, label %bb2830
445 bb1819: ; preds = %reserved_word
448 bb1830: ; preds = %reserved_word
451 bb1841: ; preds = %reserved_word, %reserved_word
452 br i1 undef, label %fake_eof, label %bb1842
454 bb1842: ; preds = %bb1841
457 bb1880: ; preds = %reserved_word
460 bb1894: ; preds = %reserved_word
463 bb1895: ; preds = %reserved_word
466 bb1896: ; preds = %reserved_word
469 bb1897: ; preds = %reserved_word
472 bb1898: ; preds = %reserved_word
475 bb1899: ; preds = %reserved_word
478 bb1905: ; preds = %reserved_word
481 bb1906: ; preds = %reserved_word
484 bb1921: ; preds = %reserved_word
487 bb1927: ; preds = %reserved_word
490 bb1928: ; preds = %reserved_word
493 bb1929: ; preds = %reserved_word
496 bb1930: ; preds = %reserved_word
499 bb1936: ; preds = %reserved_word
500 br i1 undef, label %bb2834, label %bb1937
502 bb1937: ; preds = %bb1936
505 bb1946: ; preds = %reserved_word
508 bb1951: ; preds = %reserved_word
511 bb1962: ; preds = %reserved_word
514 bb1968: ; preds = %reserved_word
517 bb1969: ; preds = %reserved_word
520 bb1970: ; preds = %reserved_word
523 bb1971: ; preds = %reserved_word
526 bb1982: ; preds = %reserved_word
527 br i1 undef, label %bb2834, label %bb1986
529 bb1986: ; preds = %bb1982
532 bb2005: ; preds = %reserved_word
535 bb2006: ; preds = %reserved_word
538 bb2007: ; preds = %reserved_word
541 bb2008: ; preds = %reserved_word
544 bb2009: ; preds = %reserved_word
547 bb2010: ; preds = %reserved_word
550 bb2011: ; preds = %reserved_word
553 bb2012: ; preds = %reserved_word
556 bb2079: ; preds = %reserved_word
559 bb2080: ; preds = %reserved_word
562 bb2081: ; preds = %reserved_word
565 bb2087: ; preds = %reserved_word
568 bb2088: ; preds = %reserved_word
571 bb2089: ; preds = %reserved_word
574 bb2090: ; preds = %reserved_word
577 bb2091: ; preds = %reserved_word
580 bb2102: ; preds = %reserved_word
583 bb2108: ; preds = %reserved_word
586 bb2114: ; preds = %reserved_word
589 bb2115: ; preds = %reserved_word
592 bb2116: ; preds = %reserved_word
595 bb2137: ; preds = %reserved_word
598 bb2138: ; preds = %reserved_word
601 bb2144: ; preds = %reserved_word
604 bb2145: ; preds = %reserved_word
607 bb2146: ; preds = %reserved_word
610 bb2147: ; preds = %reserved_word
613 bb2148: ; preds = %reserved_word
616 bb2154: ; preds = %reserved_word
619 bb2155: ; preds = %reserved_word
622 bb2166: ; preds = %reserved_word
625 bb2167: ; preds = %reserved_word
628 bb2173: ; preds = %reserved_word
631 bb2174: ; preds = %reserved_word
634 bb2175: ; preds = %reserved_word
635 br i1 undef, label %bb2834, label %bb2176
637 bb2176: ; preds = %bb2175
640 bb2180: ; preds = %reserved_word
643 bb2181: ; preds = %reserved_word
646 bb2187: ; preds = %reserved_word
649 bb2188: ; preds = %reserved_word
652 bb2199: ; preds = %reserved_word
655 bb2205: ; preds = %reserved_word
658 bb2206: ; preds = %reserved_word
661 bb2217: ; preds = %reserved_word
664 bb2218: ; preds = %reserved_word
667 bb2229: ; preds = %reserved_word
670 bb2233: ; preds = %reserved_word
673 bb2234: ; preds = %reserved_word
676 bb2235: ; preds = %reserved_word
679 bb2236: ; preds = %reserved_word
682 bb2237: ; preds = %reserved_word
685 bb2238: ; preds = %reserved_word
688 bb2239: ; preds = %reserved_word, %reserved_word
691 bb2267: ; preds = %reserved_word
694 bb2268: ; preds = %reserved_word
697 bb2276: ; preds = %reserved_word
700 bb2337: ; preds = %reserved_word
703 bb2348: ; preds = %reserved_word
706 bb2349: ; preds = %reserved_word
709 bb2350: ; preds = %reserved_word
712 bb2356: ; preds = %reserved_word
715 bb2357: ; preds = %reserved_word
716 br i1 undef, label %bb2834, label %bb2358
718 bb2358: ; preds = %bb2357
721 bb2367: ; preds = %reserved_word
724 bb2368: ; preds = %reserved_word
727 bb2369: ; preds = %reserved_word
730 bb2370: ; preds = %reserved_word
733 bb2381: ; preds = %reserved_word
736 bb2445: ; preds = %reserved_word
739 bb2453: ; preds = %reserved_word
742 bb2457: ; preds = %reserved_word
745 bb2463: ; preds = %reserved_word
748 bb2464: ; preds = %reserved_word
751 bb2503: ; preds = %reserved_word
754 bb2504: ; preds = %reserved_word
757 bb2515: ; preds = %reserved_word
760 bb2516: ; preds = %reserved_word
763 bb2522: ; preds = %reserved_word
766 bb2527: ; preds = %reserved_word
769 bb2537: ; preds = %reserved_word
772 bb2538: ; preds = %reserved_word
775 bb2549: ; preds = %reserved_word
778 bb2555: ; preds = %reserved_word
779 br i1 undef, label %bb2834, label %bb2556
781 bb2556: ; preds = %bb2555
784 bb2565: ; preds = %reserved_word
787 bb2566: ; preds = %reserved_word
790 bb2567: ; preds = %reserved_word
793 bb2568: ; preds = %reserved_word
796 bb2569: ; preds = %reserved_word
799 bb2570: ; preds = %reserved_word
802 bb2571: ; preds = %reserved_word
805 bb2572: ; preds = %reserved_word
808 bb2583: ; preds = %reserved_word
809 br i1 undef, label %bb2834, label %bb2584
811 bb2584: ; preds = %bb2583
814 bb2593: ; preds = %reserved_word
817 bb2594: ; preds = %reserved_word
820 bb2595: ; preds = %reserved_word
823 bb2596: ; preds = %reserved_word
826 bb2602: ; preds = %reserved_word
829 bb2603: ; preds = %reserved_word
832 bb2604: ; preds = %reserved_word
835 bb2605: ; preds = %reserved_word
838 bb2606: ; preds = %reserved_word
841 bb2617: ; preds = %reserved_word
844 bb2618: ; preds = %reserved_word
847 bb2619: ; preds = %reserved_word
850 bb2625: ; preds = %reserved_word
853 bb2626: ; preds = %reserved_word
856 bb2627: ; preds = %reserved_word
859 bb2648: ; preds = %reserved_word
862 really_sub: ; preds = %reserved_word, %reserved_word
865 bb2737: ; preds = %reserved_word
868 bb2738: ; preds = %reserved_word
871 bb2739: ; preds = %reserved_word
874 bb2740: ; preds = %reserved_word
877 bb2741: ; preds = %reserved_word
880 bb2742: ; preds = %reserved_word
883 bb2743: ; preds = %reserved_word
886 bb2744: ; preds = %reserved_word
889 bb2758: ; preds = %reserved_word
892 bb2764: ; preds = %reserved_word
895 bb2765: ; preds = %reserved_word
898 bb2766: ; preds = %reserved_word
901 bb2782: ; preds = %reserved_word
904 bb2783: ; preds = %reserved_word
907 bb2784: ; preds = %reserved_word
910 bb2785: ; preds = %reserved_word
911 br i1 undef, label %bb2834, label %bb2786
913 bb2786: ; preds = %bb2785
916 bb2790: ; preds = %reserved_word
919 bb2791: ; preds = %reserved_word
922 bb2797: ; preds = %reserved_word
925 bb2815: ; preds = %reserved_word
928 bb2816: ; preds = %reserved_word
931 bb2817: ; preds = %reserved_word
934 bb2818: ; preds = %reserved_word
937 bb2819: ; preds = %reserved_word
940 bb2820: ; preds = %reserved_word
943 bb2821: ; preds = %reserved_word
946 bb2826: ; preds = %reserved_word
949 bb2829: ; preds = %reserved_word
952 bb2830: ; preds = %reserved_word
955 bb2834: ; preds = %bb2785, %bb2583, %bb2555, %bb2357, %bb2175, %bb1982, %bb1936