-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.ll
11810 lines (11006 loc) · 778 KB
/
test.ll
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
; ModuleID = 'coreutils-8.30/src/test.bc'
source_filename = "llvm-link"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
%struct._IO_FILE = type { i32, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, i8*, %struct._IO_marker*, %struct._IO_FILE*, i32, i32, i64, i16, i8, [1 x i8], i8*, i64, %struct._IO_codecvt*, %struct._IO_wide_data*, %struct._IO_FILE*, i8*, i64, i32, [20 x i8] }
%struct._IO_marker = type opaque
%struct._IO_codecvt = type opaque
%struct._IO_wide_data = type opaque
%struct.infomap = type { i8*, i8* }
%struct.quoting_options = type { i32, i32, [8 x i32], i8*, i8* }
%struct.slotvec = type { i64, i8* }
%struct.__va_list_tag = type { i32, i32, i8*, i8* }
%struct.stat = type { i64, i64, i64, i32, i32, i32, i32, i64, i64, i64, i64, %struct.timespec, %struct.timespec, %struct.timespec, [3 x i64] }
%struct.timespec = type { i64, i64 }
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
@stderr = external local_unnamed_addr global %struct._IO_FILE*, align 8
@.str = private unnamed_addr constant [39 x i8] c"Try '%s --help' for more information.\0A\00", align 1
@.str.1 = private unnamed_addr constant [85 x i8] c"Usage: test EXPRESSION\0A or: test\0A or: [ EXPRESSION ]\0A or: [ ]\0A or: [ OPTION\0A\00", align 1
@stdout = external local_unnamed_addr global %struct._IO_FILE*, align 8
@.str.2 = private unnamed_addr constant [49 x i8] c"Exit with the status determined by EXPRESSION.\0A\0A\00", align 1
@.str.3 = private unnamed_addr constant [45 x i8] c" --help display this help and exit\0A\00", align 1
@.str.4 = private unnamed_addr constant [54 x i8] c" --version output version information and exit\0A\00", align 1
@.str.5 = private unnamed_addr constant [120 x i8] c"\0AAn omitted EXPRESSION defaults to false. Otherwise,\0AEXPRESSION is true or false and sets exit status. It is one of:\0A\00", align 1
@.str.6 = private unnamed_addr constant [249 x i8] c"\0A ( EXPRESSION ) EXPRESSION is true\0A ! EXPRESSION EXPRESSION is false\0A EXPRESSION1 -a EXPRESSION2 both EXPRESSION1 and EXPRESSION2 are true\0A EXPRESSION1 -o EXPRESSION2 either EXPRESSION1 or EXPRESSION2 is true\0A\00", align 1
@.str.7 = private unnamed_addr constant [250 x i8] c"\0A -n STRING the length of STRING is nonzero\0A STRING equivalent to -n STRING\0A -z STRING the length of STRING is zero\0A STRING1 = STRING2 the strings are equal\0A STRING1 != STRING2 the strings are not equal\0A\00", align 1
@.str.8 = private unnamed_addr constant [376 x i8] c"\0A INTEGER1 -eq INTEGER2 INTEGER1 is equal to INTEGER2\0A INTEGER1 -ge INTEGER2 INTEGER1 is greater than or equal to INTEGER2\0A INTEGER1 -gt INTEGER2 INTEGER1 is greater than INTEGER2\0A INTEGER1 -le INTEGER2 INTEGER1 is less than or equal to INTEGER2\0A INTEGER1 -lt INTEGER2 INTEGER1 is less than INTEGER2\0A INTEGER1 -ne INTEGER2 INTEGER1 is not equal to INTEGER2\0A\00", align 1
@.str.9 = private unnamed_addr constant [189 x i8] c"\0A FILE1 -ef FILE2 FILE1 and FILE2 have the same device and inode numbers\0A FILE1 -nt FILE2 FILE1 is newer (modification date) than FILE2\0A FILE1 -ot FILE2 FILE1 is older than FILE2\0A\00", align 1
@.str.10 = private unnamed_addr constant [171 x i8] c"\0A -b FILE FILE exists and is block special\0A -c FILE FILE exists and is character special\0A -d FILE FILE exists and is a directory\0A -e FILE FILE exists\0A\00", align 1
@.str.11 = private unnamed_addr constant [275 x i8] c" -f FILE FILE exists and is a regular file\0A -g FILE FILE exists and is set-group-ID\0A -G FILE FILE exists and is owned by the effective group ID\0A -h FILE FILE exists and is a symbolic link (same as -L)\0A -k FILE FILE exists and has its sticky bit set\0A\00", align 1
@.str.12 = private unnamed_addr constant [289 x i8] c" -L FILE FILE exists and is a symbolic link (same as -h)\0A -O FILE FILE exists and is owned by the effective user ID\0A -p FILE FILE exists and is a named pipe\0A -r FILE FILE exists and read permission is granted\0A -s FILE FILE exists and has a size greater than zero\0A\00", align 1
@.str.13 = private unnamed_addr constant [287 x i8] c" -S FILE FILE exists and is a socket\0A -t FD file descriptor FD is opened on a terminal\0A -u FILE FILE exists and its set-user-ID bit is set\0A -w FILE FILE exists and write permission is granted\0A -x FILE FILE exists and execute (or search) permission is granted\0A\00", align 1
@.str.14 = private unnamed_addr constant [225 x i8] c"\0AExcept for -h and -L, all FILE-related tests dereference symbolic links.\0ABeware that parentheses need to be escaped (e.g., by backslashes) for shells.\0AINTEGER may also be -l STRING, which evaluates to the length of STRING.\0A\00", align 1
@.str.15 = private unnamed_addr constant [122 x i8] c"\0ANOTE: Binary -a and -o are inherently ambiguous. Use 'test EXPR1 && test\0AEXPR2' or 'test EXPR1 || test EXPR2' instead.\0A\00", align 1
@.str.16 = private unnamed_addr constant [136 x i8] c"\0ANOTE: [ honors the --help and --version options, but test does not.\0Atest treats each of those as it treats any other nonempty STRING.\0A\00", align 1
@.str.17 = private unnamed_addr constant [191 x i8] c"\0ANOTE: your shell may have its own version of %s, which usually supersedes\0Athe version described here. Please refer to your shell's documentation\0Afor details about the options it supports.\0A\00", align 1
@.str.18 = private unnamed_addr constant [14 x i8] c"test and/or [\00", align 1
@emit_ancillary_info.infomap = private unnamed_addr constant [7 x %struct.infomap] [%struct.infomap { i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.24, i32 0, i32 0), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @.str.25, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i32 0, i32 0), i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.26, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.27, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.28, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.29, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.28, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.30, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.28, i32 0, i32 0) }, %struct.infomap { i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.31, i32 0, i32 0), i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.28, i32 0, i32 0) }, %struct.infomap zeroinitializer], align 16
@.str.24 = private unnamed_addr constant [2 x i8] c"[\00", align 1
@.str.19 = private unnamed_addr constant [5 x i8] c"test\00", align 1
@.str.32 = private unnamed_addr constant [23 x i8] c"\0A%s online help: <%s>\0A\00", align 1
@.str.33 = private unnamed_addr constant [14 x i8] c"GNU coreutils\00", align 1
@.str.34 = private unnamed_addr constant [40 x i8] c"https://www.gnu.org/software/coreutils/\00", align 1
@.str.35 = private unnamed_addr constant [4 x i8] c"en_\00", align 1
@.str.36 = private unnamed_addr constant [70 x i8] c"Report %s translation bugs to <https://translationproject.org/team/>\0A\00", align 1
@.str.37 = private unnamed_addr constant [31 x i8] c"Full documentation at: <%s%s>\0A\00", align 1
@.str.38 = private unnamed_addr constant [51 x i8] c"or available locally via: info '(coreutils) %s%s'\0A\00", align 1
@.str.39 = private unnamed_addr constant [12 x i8] c" invocation\00", align 1
@.str.20 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.25 = private unnamed_addr constant [16 x i8] c"test invocation\00", align 1
@.str.21 = private unnamed_addr constant [10 x i8] c"coreutils\00", align 1
@.str.26 = private unnamed_addr constant [22 x i8] c"Multi-call invocation\00", align 1
@.str.27 = private unnamed_addr constant [10 x i8] c"sha224sum\00", align 1
@.str.28 = private unnamed_addr constant [15 x i8] c"sha2 utilities\00", align 1
@.str.29 = private unnamed_addr constant [10 x i8] c"sha256sum\00", align 1
@.str.30 = private unnamed_addr constant [10 x i8] c"sha384sum\00", align 1
@.str.31 = private unnamed_addr constant [10 x i8] c"sha512sum\00", align 1
@.str.22 = private unnamed_addr constant [24 x i8] c"/usr/local/share/locale\00", align 1
@argv = internal unnamed_addr global i8** null, align 8, !dbg !0
@argc = internal unnamed_addr global i32 0, align 4, !dbg !37
@pos = internal unnamed_addr global i32 0, align 4, !dbg !35
@.str.23 = private unnamed_addr constant [18 x i8] c"extra argument %s\00", align 1
@.str.40 = private unnamed_addr constant [2 x i8] c"!\00", align 1
@.str.41 = private unnamed_addr constant [2 x i8] c"(\00", align 1
@.str.42 = private unnamed_addr constant [2 x i8] c")\00", align 1
@.str.46 = private unnamed_addr constant [3 x i8] c"-a\00", align 1
@.str.47 = private unnamed_addr constant [3 x i8] c"-o\00", align 1
@.str.66 = private unnamed_addr constant [12 x i8] c"%s expected\00", align 1
@.str.67 = private unnamed_addr constant [22 x i8] c"%s expected, found %s\00", align 1
@.str.61 = private unnamed_addr constant [3 x i8] c"-l\00", align 1
@.str.43 = private unnamed_addr constant [28 x i8] c"%s: unary operator expected\00", align 1
@.str.44 = private unnamed_addr constant [19 x i8] c"invalid integer %s\00", align 1
@.str.62 = private unnamed_addr constant [23 x i8] c"-nt does not accept -l\00", align 1
@.str.63 = private unnamed_addr constant [23 x i8] c"-ef does not accept -l\00", align 1
@.str.64 = private unnamed_addr constant [23 x i8] c"-ot does not accept -l\00", align 1
@.str.65 = private unnamed_addr constant [28 x i8] c"%s: unknown binary operator\00", align 1
@.str.50 = private unnamed_addr constant [3 x i8] c"!=\00", align 1
@.str.49 = private unnamed_addr constant [2 x i8] c"=\00", align 1
@.str.51 = private unnamed_addr constant [3 x i8] c"==\00", align 1
@.str.52 = private unnamed_addr constant [4 x i8] c"-nt\00", align 1
@.str.53 = private unnamed_addr constant [4 x i8] c"-ot\00", align 1
@.str.54 = private unnamed_addr constant [4 x i8] c"-ef\00", align 1
@.str.55 = private unnamed_addr constant [4 x i8] c"-eq\00", align 1
@.str.56 = private unnamed_addr constant [4 x i8] c"-ne\00", align 1
@.str.57 = private unnamed_addr constant [4 x i8] c"-lt\00", align 1
@.str.58 = private unnamed_addr constant [4 x i8] c"-le\00", align 1
@.str.59 = private unnamed_addr constant [4 x i8] c"-gt\00", align 1
@.str.60 = private unnamed_addr constant [4 x i8] c"-ge\00", align 1
@.str.45 = private unnamed_addr constant [26 x i8] c"missing argument after %s\00", align 1
@.str.48 = private unnamed_addr constant [29 x i8] c"%s: binary operator expected\00", align 1
@file_name = internal unnamed_addr global i8* null, align 8, !dbg !42
@ignore_EPIPE = internal unnamed_addr global i8 0, align 1, !dbg !48
@.str.68 = private unnamed_addr constant [12 x i8] c"write error\00", align 1
@.str.1.69 = private unnamed_addr constant [7 x i8] c"%s: %s\00", align 1
@.str.2.70 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@exit_failure = dso_local global i32 1, align 4, !dbg !54
@program_name = dso_local local_unnamed_addr global i8* null, align 8, !dbg !61
@.str.79 = private unnamed_addr constant [56 x i8] c"A NULL argv[0] was passed through an exec system call.\0A\00", align 1
@.str.1.80 = private unnamed_addr constant [8 x i8] c"/.libs/\00", align 1
@.str.2.81 = private unnamed_addr constant [4 x i8] c"lt-\00", align 1
@program_invocation_short_name = external local_unnamed_addr global i8*, align 8
@program_invocation_name = external local_unnamed_addr global i8*, align 8
@quoting_style_args = dso_local local_unnamed_addr constant [11 x i8*] [i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.82, i32 0, i32 0), i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str.1.83, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.2.84, i32 0, i32 0), i8* getelementptr inbounds ([13 x i8], [13 x i8]* @.str.3.85, i32 0, i32 0), i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.4.86, i32 0, i32 0), i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.5.87, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.6.88, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.7.89, i32 0, i32 0), i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str.8.90, i32 0, i32 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.9.91, i32 0, i32 0), i8* null], align 16, !dbg !68
@.str.82 = private unnamed_addr constant [8 x i8] c"literal\00", align 1
@.str.1.83 = private unnamed_addr constant [6 x i8] c"shell\00", align 1
@.str.2.84 = private unnamed_addr constant [13 x i8] c"shell-always\00", align 1
@.str.3.85 = private unnamed_addr constant [13 x i8] c"shell-escape\00", align 1
@.str.4.86 = private unnamed_addr constant [20 x i8] c"shell-escape-always\00", align 1
@.str.5.87 = private unnamed_addr constant [2 x i8] c"c\00", align 1
@.str.6.88 = private unnamed_addr constant [8 x i8] c"c-maybe\00", align 1
@.str.7.89 = private unnamed_addr constant [7 x i8] c"escape\00", align 1
@.str.8.90 = private unnamed_addr constant [7 x i8] c"locale\00", align 1
@.str.9.91 = private unnamed_addr constant [8 x i8] c"clocale\00", align 1
@quoting_style_vals = dso_local local_unnamed_addr constant [10 x i32] [i32 0, i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9], align 16, !dbg !97
@quote_quoting_options = dso_local global %struct.quoting_options { i32 8, i32 0, [8 x i32] zeroinitializer, i8* null, i8* null }, align 8, !dbg !104
@default_quoting_options = internal global %struct.quoting_options zeroinitializer, align 8, !dbg !116
@.str.11.92 = private unnamed_addr constant [2 x i8] c"`\00", align 1
@.str.12.93 = private unnamed_addr constant [2 x i8] c"'\00", align 1
@.str.10.94 = private unnamed_addr constant [2 x i8] c"\22\00", align 1
@.str.14.95 = private unnamed_addr constant [4 x i8] c"\E2\80\98\00", align 1
@.str.15.96 = private unnamed_addr constant [4 x i8] c"\E2\80\99\00", align 1
@.str.17.97 = private unnamed_addr constant [4 x i8] c"\A1\07e\00", align 1
@.str.18.98 = private unnamed_addr constant [3 x i8] c"\A1\AF\00", align 1
@slotvec = internal unnamed_addr global %struct.slotvec* @slotvec0, align 8, !dbg !123
@nslots = internal unnamed_addr global i32 1, align 4, !dbg !130
@slot0 = internal global [256 x i8] zeroinitializer, align 16, !dbg !118
@slotvec0 = internal global %struct.slotvec { i64 256, i8* getelementptr inbounds ([256 x i8], [256 x i8]* @slot0, i32 0, i32 0) }, align 8, !dbg !132
@.str.109 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.1.110 = private unnamed_addr constant [32 x i8] c"unable to display error message\00", align 1
@.str.1.119 = private unnamed_addr constant [17 x i8] c"memory exhausted\00", align 1
@.str.120 = private unnamed_addr constant [3 x i8] c"%s\00", align 1
@.str.131 = private unnamed_addr constant [2 x i8] c"C\00", align 1
@.str.1.132 = private unnamed_addr constant [6 x i8] c"POSIX\00", align 1
@.str.135 = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
@.str.1.136 = private unnamed_addr constant [6 x i8] c"ASCII\00", align 1
; Function Attrs: noreturn nounwind sspstrong uwtable
define dso_local void @usage(i32) local_unnamed_addr #0 !dbg !583 {
%2 = alloca [7 x %struct.infomap], align 16
call void @llvm.dbg.declare(metadata [7 x %struct.infomap]* %2, metadata !588, metadata !DIExpression()), !dbg !607
call void @llvm.dbg.value(metadata i32 %0, metadata !587, metadata !DIExpression()), !dbg !611
%3 = icmp eq i32 %0, 0, !dbg !612
br i1 %3, label %9, label %4, !dbg !613
; <label>:4: ; preds = %1
%5 = load %struct._IO_FILE*, %struct._IO_FILE** @stderr, align 8, !dbg !614, !tbaa !616
%6 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str, i64 0, i64 0), i32 5) #8, !dbg !614
%7 = load i8*, i8** @program_name, align 8, !dbg !614, !tbaa !616
%8 = tail call i32 (%struct._IO_FILE*, i32, i8*, ...) @__fprintf_chk(%struct._IO_FILE* %5, i32 1, i8* %6, i8* %7) #8, !dbg !614
br label %96, !dbg !614
; <label>:9: ; preds = %1
%10 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([85 x i8], [85 x i8]* @.str.1, i64 0, i64 0), i32 5) #8, !dbg !620
%11 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !620, !tbaa !616
%12 = tail call i32 @fputs_unlocked(i8* %10, %struct._IO_FILE* %11), !dbg !620
%13 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([49 x i8], [49 x i8]* @.str.2, i64 0, i64 0), i32 5) #8, !dbg !621
%14 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !621, !tbaa !616
%15 = tail call i32 @fputs_unlocked(i8* %13, %struct._IO_FILE* %14), !dbg !621
%16 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([45 x i8], [45 x i8]* @.str.3, i64 0, i64 0), i32 5) #8, !dbg !622
%17 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !622, !tbaa !616
%18 = tail call i32 @fputs_unlocked(i8* %16, %struct._IO_FILE* %17), !dbg !622
%19 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([54 x i8], [54 x i8]* @.str.4, i64 0, i64 0), i32 5) #8, !dbg !623
%20 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !623, !tbaa !616
%21 = tail call i32 @fputs_unlocked(i8* %19, %struct._IO_FILE* %20), !dbg !623
%22 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([120 x i8], [120 x i8]* @.str.5, i64 0, i64 0), i32 5) #8, !dbg !624
%23 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !624, !tbaa !616
%24 = tail call i32 @fputs_unlocked(i8* %22, %struct._IO_FILE* %23), !dbg !624
%25 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([249 x i8], [249 x i8]* @.str.6, i64 0, i64 0), i32 5) #8, !dbg !625
%26 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !625, !tbaa !616
%27 = tail call i32 @fputs_unlocked(i8* %25, %struct._IO_FILE* %26), !dbg !625
%28 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([250 x i8], [250 x i8]* @.str.7, i64 0, i64 0), i32 5) #8, !dbg !626
%29 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !626, !tbaa !616
%30 = tail call i32 @fputs_unlocked(i8* %28, %struct._IO_FILE* %29), !dbg !626
%31 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([376 x i8], [376 x i8]* @.str.8, i64 0, i64 0), i32 5) #8, !dbg !627
%32 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !627, !tbaa !616
%33 = tail call i32 @fputs_unlocked(i8* %31, %struct._IO_FILE* %32), !dbg !627
%34 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([189 x i8], [189 x i8]* @.str.9, i64 0, i64 0), i32 5) #8, !dbg !628
%35 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !628, !tbaa !616
%36 = tail call i32 @fputs_unlocked(i8* %34, %struct._IO_FILE* %35), !dbg !628
%37 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([171 x i8], [171 x i8]* @.str.10, i64 0, i64 0), i32 5) #8, !dbg !629
%38 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !629, !tbaa !616
%39 = tail call i32 @fputs_unlocked(i8* %37, %struct._IO_FILE* %38), !dbg !629
%40 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([275 x i8], [275 x i8]* @.str.11, i64 0, i64 0), i32 5) #8, !dbg !630
%41 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !630, !tbaa !616
%42 = tail call i32 @fputs_unlocked(i8* %40, %struct._IO_FILE* %41), !dbg !630
%43 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([289 x i8], [289 x i8]* @.str.12, i64 0, i64 0), i32 5) #8, !dbg !631
%44 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !631, !tbaa !616
%45 = tail call i32 @fputs_unlocked(i8* %43, %struct._IO_FILE* %44), !dbg !631
%46 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([287 x i8], [287 x i8]* @.str.13, i64 0, i64 0), i32 5) #8, !dbg !632
%47 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !632, !tbaa !616
%48 = tail call i32 @fputs_unlocked(i8* %46, %struct._IO_FILE* %47), !dbg !632
%49 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([225 x i8], [225 x i8]* @.str.14, i64 0, i64 0), i32 5) #8, !dbg !633
%50 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !633, !tbaa !616
%51 = tail call i32 @fputs_unlocked(i8* %49, %struct._IO_FILE* %50), !dbg !633
%52 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([122 x i8], [122 x i8]* @.str.15, i64 0, i64 0), i32 5) #8, !dbg !634
%53 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !634, !tbaa !616
%54 = tail call i32 @fputs_unlocked(i8* %52, %struct._IO_FILE* %53), !dbg !634
%55 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([136 x i8], [136 x i8]* @.str.16, i64 0, i64 0), i32 5) #8, !dbg !635
%56 = load %struct._IO_FILE*, %struct._IO_FILE** @stdout, align 8, !dbg !635, !tbaa !616
%57 = tail call i32 @fputs_unlocked(i8* %55, %struct._IO_FILE* %56), !dbg !635
%58 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([191 x i8], [191 x i8]* @.str.17, i64 0, i64 0), i32 5) #8, !dbg !636
%59 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.18, i64 0, i64 0), i32 5) #8, !dbg !636
%60 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %58, i8* %59) #8, !dbg !636
%61 = bitcast [7 x %struct.infomap]* %2 to i8*, !dbg !637
call void @llvm.lifetime.start.p0i8(i64 112, i8* nonnull %61) #8, !dbg !637
call void @llvm.memcpy.p0i8.p0i8.i64(i8* nonnull align 16 %61, i8* align 16 bitcast ([7 x %struct.infomap]* @emit_ancillary_info.infomap to i8*), i64 112, i1 false) #8, !dbg !607
%62 = getelementptr inbounds [7 x %struct.infomap], [7 x %struct.infomap]* %2, i64 0, i64 0, !dbg !638
call void @llvm.dbg.value(metadata %struct.infomap* %62, metadata !596, metadata !DIExpression()) #8, !dbg !639
br label %63, !dbg !640
; <label>:63: ; preds = %68, %9
%64 = phi i8* [ %71, %68 ], [ getelementptr inbounds ([2 x i8], [2 x i8]* @.str.24, i64 0, i64 0), %9 ]
%65 = phi %struct.infomap* [ %69, %68 ], [ %62, %9 ]
call void @llvm.dbg.value(metadata %struct.infomap* %65, metadata !596, metadata !DIExpression()) #8, !dbg !639
%66 = tail call i32 @strcmp(i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* nonnull %64) #14, !dbg !640
%67 = icmp eq i32 %66, 0, !dbg !640
br i1 %67, label %73, label %68, !dbg !641
; <label>:68: ; preds = %63
%69 = getelementptr inbounds %struct.infomap, %struct.infomap* %65, i64 1, !dbg !642
call void @llvm.dbg.value(metadata %struct.infomap* %69, metadata !596, metadata !DIExpression()) #8, !dbg !639
%70 = getelementptr inbounds %struct.infomap, %struct.infomap* %69, i64 0, i32 0, !dbg !643
%71 = load i8*, i8** %70, align 8, !dbg !643, !tbaa !644
%72 = icmp eq i8* %71, null, !dbg !646
br i1 %72, label %73, label %63, !dbg !647, !llvm.loop !648
; <label>:73: ; preds = %68, %63
%74 = phi %struct.infomap* [ %69, %68 ], [ %65, %63 ]
call void @llvm.dbg.value(metadata %struct.infomap* %74, metadata !596, metadata !DIExpression()) #8, !dbg !639
call void @llvm.dbg.value(metadata %struct.infomap* %74, metadata !596, metadata !DIExpression()) #8, !dbg !639
%75 = getelementptr inbounds %struct.infomap, %struct.infomap* %74, i64 0, i32 1, !dbg !651
%76 = load i8*, i8** %75, align 8, !dbg !651, !tbaa !653
%77 = icmp eq i8* %76, null, !dbg !654
%78 = select i1 %77, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), i8* %76, !dbg !655
call void @llvm.dbg.value(metadata i8* %78, metadata !595, metadata !DIExpression()) #8, !dbg !656
%79 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([23 x i8], [23 x i8]* @.str.32, i64 0, i64 0), i32 5) #8, !dbg !657
%80 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %79, i8* getelementptr inbounds ([14 x i8], [14 x i8]* @.str.33, i64 0, i64 0), i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.34, i64 0, i64 0)) #8, !dbg !657
%81 = tail call i8* @setlocale(i32 5, i8* null) #8, !dbg !658
call void @llvm.dbg.value(metadata i8* %81, metadata !603, metadata !DIExpression()) #8, !dbg !659
%82 = icmp eq i8* %81, null, !dbg !660
br i1 %82, label %89, label %83, !dbg !662
; <label>:83: ; preds = %73
%84 = tail call i32 @strncmp(i8* nonnull %81, i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.35, i64 0, i64 0), i64 3) #14, !dbg !663
%85 = icmp eq i32 %84, 0, !dbg !663
br i1 %85, label %89, label %86, !dbg !664
; <label>:86: ; preds = %83
%87 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([70 x i8], [70 x i8]* @.str.36, i64 0, i64 0), i32 5) #8, !dbg !665
%88 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %87, i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0)) #8, !dbg !665
br label %89, !dbg !667
; <label>:89: ; preds = %73, %83, %86
%90 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([31 x i8], [31 x i8]* @.str.37, i64 0, i64 0), i32 5) #8, !dbg !668
%91 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %90, i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.34, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0)) #8, !dbg !668
%92 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([51 x i8], [51 x i8]* @.str.38, i64 0, i64 0), i32 5) #8, !dbg !669
%93 = icmp eq i8* %78, getelementptr inbounds ([5 x i8], [5 x i8]* @.str.19, i64 0, i64 0), !dbg !669
%94 = select i1 %93, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.39, i64 0, i64 0), i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.20, i64 0, i64 0), !dbg !669
%95 = tail call i32 (i32, i8*, ...) @__printf_chk(i32 1, i8* %92, i8* %78, i8* %94) #8, !dbg !669
call void @llvm.lifetime.end.p0i8(i64 112, i8* nonnull %61) #8, !dbg !670
br label %96
; <label>:96: ; preds = %89, %4
tail call void @exit(i32 %0) #15, !dbg !671
unreachable, !dbg !671
}
; Function Attrs: nounwind readnone speculatable
declare void @llvm.dbg.declare(metadata, metadata, metadata) #1
; Function Attrs: nounwind readnone speculatable
declare void @llvm.dbg.value(metadata, metadata, metadata) #1
; Function Attrs: nounwind
declare i8* @dcgettext(i8*, i8*, i32) local_unnamed_addr #2
declare i32 @__fprintf_chk(%struct._IO_FILE*, i32, i8*, ...) local_unnamed_addr #3
; Function Attrs: nounwind
declare i32 @fputs_unlocked(i8* nocapture readonly, %struct._IO_FILE* nocapture) local_unnamed_addr #2
declare i32 @__printf_chk(i32, i8*, ...) local_unnamed_addr #3
; Function Attrs: argmemonly nounwind
declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) #4
; Function Attrs: argmemonly nounwind
declare void @llvm.memcpy.p0i8.p0i8.i64(i8* nocapture writeonly, i8* nocapture readonly, i64, i1) #4
; Function Attrs: nounwind readonly
declare i32 @strcmp(i8* nocapture, i8* nocapture) local_unnamed_addr #5
; Function Attrs: nounwind
declare i8* @setlocale(i32, i8*) local_unnamed_addr #2
; Function Attrs: nounwind readonly
declare i32 @strncmp(i8* nocapture, i8* nocapture, i64) local_unnamed_addr #5
; Function Attrs: argmemonly nounwind
declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #4
; Function Attrs: noreturn nounwind
declare void @exit(i32) local_unnamed_addr #6
; Function Attrs: nounwind sspstrong uwtable
define dso_local i32 @main(i32, i8**) local_unnamed_addr #7 !dbg !672 {
call void @llvm.dbg.value(metadata i32 %0, metadata !676, metadata !DIExpression()), !dbg !679
call void @llvm.dbg.value(metadata i8** %1, metadata !677, metadata !DIExpression()), !dbg !680
%3 = load i8*, i8** %1, align 8, !dbg !681, !tbaa !616
tail call void @set_program_name(i8* %3) #8, !dbg !682
%4 = tail call i8* @setlocale(i32 6, i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str.20, i64 0, i64 0)) #8, !dbg !683
%5 = tail call i8* @bindtextdomain(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0), i8* getelementptr inbounds ([24 x i8], [24 x i8]* @.str.22, i64 0, i64 0)) #8, !dbg !684
%6 = tail call i8* @textdomain(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str.21, i64 0, i64 0)) #8, !dbg !685
call void @llvm.dbg.value(metadata i32 2, metadata !686, metadata !DIExpression()), !dbg !689
store volatile i32 2, i32* @exit_failure, align 4, !dbg !691, !tbaa !693
%7 = tail call i32 @atexit(void ()* nonnull @close_stdout) #8, !dbg !695
store i8** %1, i8*** @argv, align 8, !dbg !696, !tbaa !616
store i32 %0, i32* @argc, align 4, !dbg !697, !tbaa !693
store i32 1, i32* @pos, align 4, !dbg !698, !tbaa !693
%8 = icmp slt i32 %0, 2, !dbg !699
br i1 %8, label %26, label %9, !dbg !701
; <label>:9: ; preds = %2
%10 = add nsw i32 %0, -1, !dbg !702
%11 = tail call fastcc zeroext i1 @posixtest(i32 %10), !dbg !703
%12 = load i32, i32* @pos, align 4, !dbg !704, !tbaa !693
%13 = load i32, i32* @argc, align 4, !dbg !706, !tbaa !693
%14 = icmp eq i32 %12, %13, !dbg !707
br i1 %14, label %23, label %15, !dbg !708
; <label>:15: ; preds = %9
%16 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.23, i64 0, i64 0), i32 5) #8, !dbg !709
%17 = load i8**, i8*** @argv, align 8, !dbg !710, !tbaa !616
%18 = load i32, i32* @pos, align 4, !dbg !711, !tbaa !693
%19 = sext i32 %18 to i64, !dbg !710
%20 = getelementptr inbounds i8*, i8** %17, i64 %19, !dbg !710
%21 = load i8*, i8** %20, align 8, !dbg !710, !tbaa !616
%22 = tail call i8* @quote(i8* %21) #8, !dbg !712
tail call void (i8*, ...) @test_syntax_error(i8* %16, i8* %22) #16, !dbg !713
unreachable, !dbg !713
; <label>:23: ; preds = %9
%24 = xor i1 %11, true, !dbg !714
%25 = zext i1 %24 to i32, !dbg !714
br label %26, !dbg !714
; <label>:26: ; preds = %2, %23
%27 = phi i32 [ %25, %23 ], [ 1, %2 ], !dbg !715
ret i32 %27, !dbg !716
}
; Function Attrs: nounwind
declare i8* @bindtextdomain(i8*, i8*) local_unnamed_addr #2
; Function Attrs: nounwind
declare i8* @textdomain(i8*) local_unnamed_addr #2
; Function Attrs: nounwind
declare i32 @atexit(void ()*) local_unnamed_addr #2
; Function Attrs: nounwind sspstrong uwtable
define internal fastcc zeroext i1 @posixtest(i32) unnamed_addr #7 !dbg !717 {
call void @llvm.dbg.value(metadata i32 %0, metadata !721, metadata !DIExpression()), !dbg !723
switch i32 %0, label %46 [
i32 1, label %2
i32 2, label %11
i32 3, label %13
i32 4, label %15
], !dbg !724
; <label>:2: ; preds = %1
%3 = load i8**, i8*** @argv, align 8, !dbg !725, !tbaa !616
%4 = load i32, i32* @pos, align 4, !dbg !731, !tbaa !693
%5 = add nsw i32 %4, 1, !dbg !731
store i32 %5, i32* @pos, align 4, !dbg !731, !tbaa !693
%6 = sext i32 %4 to i64, !dbg !725
%7 = getelementptr inbounds i8*, i8** %3, i64 %6, !dbg !725
%8 = load i8*, i8** %7, align 8, !dbg !725, !tbaa !616
%9 = load i8, i8* %8, align 1, !dbg !725, !tbaa !732
%10 = icmp ne i8 %9, 0, !dbg !733
br label %95, !dbg !734
; <label>:11: ; preds = %1
%12 = tail call fastcc zeroext i1 @two_arguments(), !dbg !735
br label %95, !dbg !736
; <label>:13: ; preds = %1
%14 = tail call fastcc zeroext i1 @three_arguments(), !dbg !737
br label %95, !dbg !738
; <label>:15: ; preds = %1
%16 = load i8**, i8*** @argv, align 8, !dbg !739, !tbaa !616
%17 = load i32, i32* @pos, align 4, !dbg !739, !tbaa !693
%18 = sext i32 %17 to i64, !dbg !739
%19 = getelementptr inbounds i8*, i8** %16, i64 %18, !dbg !739
%20 = load i8*, i8** %19, align 8, !dbg !739, !tbaa !616
%21 = tail call i32 @strcmp(i8* %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.40, i64 0, i64 0)) #14, !dbg !739
%22 = icmp eq i32 %21, 0, !dbg !739
br i1 %22, label %23, label %31, !dbg !741
; <label>:23: ; preds = %15
call void @llvm.dbg.value(metadata i1 true, metadata !742, metadata !DIExpression()) #8, !dbg !747
%24 = add nsw i32 %17, 1, !dbg !750
store i32 %24, i32* @pos, align 4, !dbg !750, !tbaa !693
%25 = load i32, i32* @argc, align 4, !dbg !751
%26 = icmp slt i32 %24, %25, !dbg !753
br i1 %26, label %28, label %27, !dbg !754
; <label>:27: ; preds = %23
tail call fastcc void @beyond() #15, !dbg !755
unreachable, !dbg !755
; <label>:28: ; preds = %23
%29 = tail call fastcc zeroext i1 @three_arguments(), !dbg !756
%30 = xor i1 %29, true, !dbg !757
br label %95, !dbg !758
; <label>:31: ; preds = %15
%32 = tail call i32 @strcmp(i8* %20, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.41, i64 0, i64 0)) #14, !dbg !759
%33 = icmp eq i32 %32, 0, !dbg !759
br i1 %33, label %34, label %51, !dbg !761
; <label>:34: ; preds = %31
%35 = add nsw i32 %17, 3, !dbg !762
%36 = sext i32 %35 to i64, !dbg !762
%37 = getelementptr inbounds i8*, i8** %16, i64 %36, !dbg !762
%38 = load i8*, i8** %37, align 8, !dbg !762, !tbaa !616
%39 = tail call i32 @strcmp(i8* %38, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.42, i64 0, i64 0)) #14, !dbg !762
%40 = icmp eq i32 %39, 0, !dbg !762
br i1 %40, label %41, label %51, !dbg !763
; <label>:41: ; preds = %34
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()), !dbg !764
%42 = add nsw i32 %17, 1, !dbg !767
store i32 %42, i32* @pos, align 4, !dbg !767, !tbaa !693
%43 = tail call fastcc zeroext i1 @two_arguments(), !dbg !768
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()), !dbg !769
%44 = load i32, i32* @pos, align 4, !dbg !771, !tbaa !693
%45 = add nsw i32 %44, 1, !dbg !771
store i32 %45, i32* @pos, align 4, !dbg !771, !tbaa !693
br label %95, !dbg !772
; <label>:46: ; preds = %1
%47 = icmp slt i32 %0, 1, !dbg !773
br i1 %47, label %50, label %48, !dbg !775
; <label>:48: ; preds = %46
%49 = load i32, i32* @pos, align 4, !dbg !776, !tbaa !693
br label %51, !dbg !775
; <label>:50: ; preds = %46
tail call void @abort() #15, !dbg !780
unreachable, !dbg !780
; <label>:51: ; preds = %48, %31, %34
%52 = phi i32 [ %49, %48 ], [ %17, %31 ], [ %17, %34 ], !dbg !776
%53 = load i32, i32* @argc, align 4, !dbg !781, !tbaa !693
%54 = icmp slt i32 %52, %53, !dbg !782
br i1 %54, label %55, label %60, !dbg !783
; <label>:55: ; preds = %51
call void @llvm.dbg.value(metadata i8 1, metadata !784, metadata !DIExpression()) #8, !dbg !787
%56 = tail call fastcc zeroext i1 @term() #8, !dbg !794
%57 = load i32, i32* @pos, align 4, !dbg !796, !tbaa !693
%58 = load i32, i32* @argc, align 4, !dbg !798, !tbaa !693
%59 = icmp slt i32 %57, %58, !dbg !799
br i1 %59, label %61, label %81, !dbg !800
; <label>:60: ; preds = %51
tail call fastcc void @beyond() #15, !dbg !801
unreachable, !dbg !801
; <label>:61: ; preds = %55, %89
%62 = phi i32 [ %92, %89 ], [ %57, %55 ]
%63 = phi i1 [ %91, %89 ], [ %56, %55 ]
%64 = phi i1 [ %86, %89 ], [ false, %55 ]
br label %65, !dbg !800
; <label>:65: ; preds = %61, %74
%66 = phi i32 [ %62, %61 ], [ %78, %74 ]
%67 = phi i1 [ %63, %61 ], [ %77, %74 ]
%68 = load i8**, i8*** @argv, align 8, !dbg !802, !tbaa !616
%69 = sext i32 %66 to i64, !dbg !802
%70 = getelementptr inbounds i8*, i8** %68, i64 %69, !dbg !802
%71 = load i8*, i8** %70, align 8, !dbg !802, !tbaa !616
%72 = tail call i32 @strcmp(i8* %71, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.46, i64 0, i64 0)) #14, !dbg !802
%73 = icmp eq i32 %72, 0, !dbg !802
br i1 %73, label %74, label %85, !dbg !803
; <label>:74: ; preds = %65
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()) #8, !dbg !804
%75 = add nsw i32 %66, 1, !dbg !806
store i32 %75, i32* @pos, align 4, !dbg !806, !tbaa !693
%76 = tail call fastcc zeroext i1 @term() #8, !dbg !794
%77 = and i1 %67, %76, !dbg !807
%78 = load i32, i32* @pos, align 4, !dbg !796, !tbaa !693
%79 = load i32, i32* @argc, align 4, !dbg !798, !tbaa !693
%80 = icmp slt i32 %78, %79, !dbg !799
br i1 %80, label %65, label %81, !dbg !800, !llvm.loop !808
; <label>:81: ; preds = %89, %74, %55
%82 = phi i1 [ false, %55 ], [ %64, %74 ], [ %86, %89 ], !dbg !811
%83 = phi i1 [ %56, %55 ], [ %77, %74 ], [ %91, %89 ], !dbg !807
%84 = or i1 %82, %83, !dbg !812
br label %95
; <label>:85: ; preds = %65
%86 = or i1 %64, %67, !dbg !812
%87 = tail call i32 @strcmp(i8* %71, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.47, i64 0, i64 0)) #14, !dbg !813
%88 = icmp eq i32 %87, 0, !dbg !813
br i1 %88, label %89, label %95, !dbg !815
; <label>:89: ; preds = %85
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()) #8, !dbg !816
%90 = add nsw i32 %66, 1, !dbg !818
store i32 %90, i32* @pos, align 4, !dbg !818, !tbaa !693
call void @llvm.dbg.value(metadata i8 1, metadata !784, metadata !DIExpression()) #8, !dbg !787
%91 = tail call fastcc zeroext i1 @term() #8, !dbg !794
%92 = load i32, i32* @pos, align 4, !dbg !796, !tbaa !693
%93 = load i32, i32* @argc, align 4, !dbg !798, !tbaa !693
%94 = icmp slt i32 %92, %93, !dbg !799
br i1 %94, label %61, label %81, !dbg !800, !llvm.loop !819
; <label>:95: ; preds = %85, %81, %41, %28, %13, %11, %2
%96 = phi i1 [ %30, %28 ], [ %43, %41 ], [ %14, %13 ], [ %12, %11 ], [ %10, %2 ], [ %84, %81 ], [ %86, %85 ]
ret i1 %96, !dbg !822
}
; Function Attrs: noreturn nounwind sspstrong uwtable
define internal void @test_syntax_error(i8*, ...) unnamed_addr #0 !dbg !823 {
%2 = alloca [1 x %struct.__va_list_tag], align 16
call void @llvm.dbg.value(metadata i8* %0, metadata !827, metadata !DIExpression()), !dbg !843
%3 = bitcast [1 x %struct.__va_list_tag]* %2 to i8*, !dbg !844
call void @llvm.lifetime.start.p0i8(i64 24, i8* nonnull %3) #8, !dbg !844
call void @llvm.dbg.declare(metadata [1 x %struct.__va_list_tag]* %2, metadata !828, metadata !DIExpression()), !dbg !845
%4 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %2, i64 0, i64 0, !dbg !846
call void @llvm.va_start(i8* nonnull %3), !dbg !846
call void @verror(i32 0, i32 0, i8* %0, %struct.__va_list_tag* nonnull %4) #8, !dbg !847
call void @exit(i32 2) #15, !dbg !848
unreachable, !dbg !848
}
; Function Attrs: nounwind
declare void @llvm.va_start(i8*) #8
; Function Attrs: nounwind sspstrong uwtable
define internal fastcc zeroext i1 @two_arguments() unnamed_addr #7 !dbg !849 {
%1 = load i8**, i8*** @argv, align 8, !dbg !852, !tbaa !616
%2 = load i32, i32* @pos, align 4, !dbg !852, !tbaa !693
%3 = sext i32 %2 to i64, !dbg !852
%4 = getelementptr inbounds i8*, i8** %1, i64 %3, !dbg !852
%5 = load i8*, i8** %4, align 8, !dbg !852, !tbaa !616
%6 = tail call i32 @strcmp(i8* %5, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.40, i64 0, i64 0)) #14, !dbg !852
%7 = icmp eq i32 %6, 0, !dbg !852
br i1 %7, label %8, label %16, !dbg !854
; <label>:8: ; preds = %0
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()), !dbg !855
%9 = add nsw i32 %2, 1, !dbg !858
%10 = add nsw i32 %2, 2, !dbg !859
store i32 %10, i32* @pos, align 4, !dbg !859, !tbaa !693
%11 = sext i32 %9 to i64, !dbg !861
%12 = getelementptr inbounds i8*, i8** %1, i64 %11, !dbg !861
%13 = load i8*, i8** %12, align 8, !dbg !861, !tbaa !616
%14 = load i8, i8* %13, align 1, !dbg !861, !tbaa !732
%15 = icmp eq i8 %14, 0, !dbg !862
br label %40, !dbg !863
; <label>:16: ; preds = %0
%17 = load i8, i8* %5, align 1, !dbg !864, !tbaa !732
%18 = icmp eq i8 %17, 45, !dbg !866
br i1 %18, label %19, label %39, !dbg !867
; <label>:19: ; preds = %16
%20 = getelementptr inbounds i8, i8* %5, i64 1, !dbg !868
%21 = load i8, i8* %20, align 1, !dbg !868, !tbaa !732
%22 = icmp eq i8 %21, 0, !dbg !869
br i1 %22, label %39, label %23, !dbg !870
; <label>:23: ; preds = %19
%24 = getelementptr inbounds i8, i8* %5, i64 2, !dbg !871
%25 = load i8, i8* %24, align 1, !dbg !871, !tbaa !732
%26 = icmp eq i8 %25, 0, !dbg !872
br i1 %26, label %27, label %39, !dbg !873
; <label>:27: ; preds = %23
call void @llvm.dbg.value(metadata i8* %5, metadata !874, metadata !DIExpression()), !dbg !879
%28 = sext i8 %21 to i32, !dbg !883
switch i32 %28, label %31 [
i32 97, label %29
i32 98, label %29
i32 99, label %29
i32 100, label %29
i32 101, label %29
i32 102, label %29
i32 103, label %29
i32 104, label %29
i32 107, label %29
i32 110, label %29
i32 111, label %29
i32 112, label %29
i32 114, label %29
i32 115, label %29
i32 116, label %29
i32 117, label %29
i32 119, label %29
i32 120, label %29
i32 122, label %29
i32 71, label %29
i32 76, label %29
i32 79, label %29
i32 83, label %29
i32 78, label %29
], !dbg !884
; <label>:29: ; preds = %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27, %27
%30 = tail call fastcc zeroext i1 @unary_operator(), !dbg !885
br label %40
; <label>:31: ; preds = %27
%32 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.43, i64 0, i64 0), i32 5) #8, !dbg !886
%33 = load i8**, i8*** @argv, align 8, !dbg !887, !tbaa !616
%34 = load i32, i32* @pos, align 4, !dbg !888, !tbaa !693
%35 = sext i32 %34 to i64, !dbg !887
%36 = getelementptr inbounds i8*, i8** %33, i64 %35, !dbg !887
%37 = load i8*, i8** %36, align 8, !dbg !887, !tbaa !616
%38 = tail call i8* @quote(i8* %37) #8, !dbg !889
tail call void (i8*, ...) @test_syntax_error(i8* %32, i8* %38) #16, !dbg !890
unreachable, !dbg !890
; <label>:39: ; preds = %19, %23, %16
tail call fastcc void @beyond() #16, !dbg !891
unreachable, !dbg !891
; <label>:40: ; preds = %29, %8
%41 = phi i1 [ %15, %8 ], [ %30, %29 ]
ret i1 %41, !dbg !892
}
; Function Attrs: nounwind sspstrong uwtable
define internal fastcc zeroext i1 @three_arguments() unnamed_addr #7 !dbg !893 {
%1 = load i8**, i8*** @argv, align 8, !dbg !896, !tbaa !616
%2 = load i32, i32* @pos, align 4, !dbg !898, !tbaa !693
%3 = add nsw i32 %2, 1, !dbg !899
%4 = sext i32 %3 to i64, !dbg !896
%5 = getelementptr inbounds i8*, i8** %1, i64 %4, !dbg !896
%6 = load i8*, i8** %5, align 8, !dbg !896, !tbaa !616
%7 = tail call fastcc zeroext i1 @binop(i8* %6), !dbg !900
br i1 %7, label %8, label %10, !dbg !901
; <label>:8: ; preds = %0
%9 = tail call fastcc zeroext i1 @binary_operator(i1 zeroext false), !dbg !902
br label %95, !dbg !903
; <label>:10: ; preds = %0
%11 = sext i32 %2 to i64, !dbg !904
%12 = getelementptr inbounds i8*, i8** %1, i64 %11, !dbg !904
%13 = load i8*, i8** %12, align 8, !dbg !904, !tbaa !616
%14 = tail call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.40, i64 0, i64 0)) #14, !dbg !904
%15 = icmp eq i32 %14, 0, !dbg !904
br i1 %15, label %16, label %23, !dbg !906
; <label>:16: ; preds = %10
call void @llvm.dbg.value(metadata i1 true, metadata !742, metadata !DIExpression()) #8, !dbg !907
store i32 %3, i32* @pos, align 4, !dbg !910, !tbaa !693
%17 = load i32, i32* @argc, align 4, !dbg !911
%18 = icmp slt i32 %3, %17, !dbg !912
br i1 %18, label %20, label %19, !dbg !913
; <label>:19: ; preds = %16
tail call fastcc void @beyond() #15, !dbg !914
unreachable, !dbg !914
; <label>:20: ; preds = %16
%21 = tail call fastcc zeroext i1 @two_arguments(), !dbg !915
%22 = xor i1 %21, true, !dbg !916
br label %95, !dbg !917
; <label>:23: ; preds = %10
%24 = tail call i32 @strcmp(i8* %13, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.41, i64 0, i64 0)) #14, !dbg !918
%25 = icmp eq i32 %24, 0, !dbg !918
br i1 %25, label %26, label %37, !dbg !920
; <label>:26: ; preds = %23
%27 = add nsw i32 %2, 2, !dbg !921
%28 = sext i32 %27 to i64, !dbg !921
%29 = getelementptr inbounds i8*, i8** %1, i64 %28, !dbg !921
%30 = load i8*, i8** %29, align 8, !dbg !921, !tbaa !616
%31 = tail call i32 @strcmp(i8* %30, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.42, i64 0, i64 0)) #14, !dbg !921
%32 = icmp eq i32 %31, 0, !dbg !921
br i1 %32, label %33, label %37, !dbg !922
; <label>:33: ; preds = %26
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()), !dbg !923
%34 = load i8, i8* %6, align 1, !dbg !926, !tbaa !732
%35 = icmp ne i8 %34, 0, !dbg !928
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()), !dbg !929
%36 = add nsw i32 %2, 3, !dbg !931
store i32 %36, i32* @pos, align 4, !dbg !931, !tbaa !693
br label %95, !dbg !932
; <label>:37: ; preds = %26, %23
%38 = tail call i32 @strcmp(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.46, i64 0, i64 0)) #14, !dbg !933
%39 = icmp eq i32 %38, 0, !dbg !933
br i1 %39, label %43, label %40, !dbg !935
; <label>:40: ; preds = %37
%41 = tail call i32 @strcmp(i8* %6, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.47, i64 0, i64 0)) #14, !dbg !936
%42 = icmp eq i32 %41, 0, !dbg !936
br i1 %42, label %43, label %86, !dbg !937
; <label>:43: ; preds = %40, %37
%44 = load i32, i32* @argc, align 4, !dbg !938, !tbaa !693
%45 = icmp slt i32 %2, %44, !dbg !940
br i1 %45, label %46, label %51, !dbg !941
; <label>:46: ; preds = %43
call void @llvm.dbg.value(metadata i8 1, metadata !784, metadata !DIExpression()) #8, !dbg !942
%47 = tail call fastcc zeroext i1 @term() #8, !dbg !945
%48 = load i32, i32* @pos, align 4, !dbg !946, !tbaa !693
%49 = load i32, i32* @argc, align 4, !dbg !947, !tbaa !693
%50 = icmp slt i32 %48, %49, !dbg !948
br i1 %50, label %52, label %72, !dbg !949
; <label>:51: ; preds = %43
tail call fastcc void @beyond() #15, !dbg !950
unreachable, !dbg !950
; <label>:52: ; preds = %46, %80
%53 = phi i32 [ %83, %80 ], [ %48, %46 ]
%54 = phi i1 [ %82, %80 ], [ %47, %46 ]
%55 = phi i1 [ %77, %80 ], [ false, %46 ]
br label %56, !dbg !949
; <label>:56: ; preds = %52, %65
%57 = phi i32 [ %53, %52 ], [ %69, %65 ]
%58 = phi i1 [ %54, %52 ], [ %68, %65 ]
%59 = load i8**, i8*** @argv, align 8, !dbg !951, !tbaa !616
%60 = sext i32 %57 to i64, !dbg !951
%61 = getelementptr inbounds i8*, i8** %59, i64 %60, !dbg !951
%62 = load i8*, i8** %61, align 8, !dbg !951, !tbaa !616
%63 = tail call i32 @strcmp(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.46, i64 0, i64 0)) #14, !dbg !951
%64 = icmp eq i32 %63, 0, !dbg !951
br i1 %64, label %65, label %76, !dbg !952
; <label>:65: ; preds = %56
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()) #8, !dbg !953
%66 = add nsw i32 %57, 1, !dbg !955
store i32 %66, i32* @pos, align 4, !dbg !955, !tbaa !693
%67 = tail call fastcc zeroext i1 @term() #8, !dbg !945
%68 = and i1 %58, %67, !dbg !956
%69 = load i32, i32* @pos, align 4, !dbg !946, !tbaa !693
%70 = load i32, i32* @argc, align 4, !dbg !947, !tbaa !693
%71 = icmp slt i32 %69, %70, !dbg !948
br i1 %71, label %56, label %72, !dbg !949, !llvm.loop !808
; <label>:72: ; preds = %80, %65, %46
%73 = phi i1 [ false, %46 ], [ %55, %65 ], [ %77, %80 ], !dbg !957
%74 = phi i1 [ %47, %46 ], [ %68, %65 ], [ %82, %80 ], !dbg !956
%75 = or i1 %73, %74, !dbg !958
br label %95
; <label>:76: ; preds = %56
%77 = or i1 %55, %58, !dbg !958
%78 = tail call i32 @strcmp(i8* %62, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.47, i64 0, i64 0)) #14, !dbg !959
%79 = icmp eq i32 %78, 0, !dbg !959
br i1 %79, label %80, label %95, !dbg !960
; <label>:80: ; preds = %76
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()) #8, !dbg !961
%81 = add nsw i32 %57, 1, !dbg !963
store i32 %81, i32* @pos, align 4, !dbg !963, !tbaa !693
call void @llvm.dbg.value(metadata i8 1, metadata !784, metadata !DIExpression()) #8, !dbg !942
%82 = tail call fastcc zeroext i1 @term() #8, !dbg !945
%83 = load i32, i32* @pos, align 4, !dbg !946, !tbaa !693
%84 = load i32, i32* @argc, align 4, !dbg !947, !tbaa !693
%85 = icmp slt i32 %83, %84, !dbg !948
br i1 %85, label %52, label %72, !dbg !949, !llvm.loop !819
; <label>:86: ; preds = %40
%87 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.48, i64 0, i64 0), i32 5) #8, !dbg !964
%88 = load i8**, i8*** @argv, align 8, !dbg !965, !tbaa !616
%89 = load i32, i32* @pos, align 4, !dbg !966, !tbaa !693
%90 = add nsw i32 %89, 1, !dbg !967
%91 = sext i32 %90 to i64, !dbg !965
%92 = getelementptr inbounds i8*, i8** %88, i64 %91, !dbg !965
%93 = load i8*, i8** %92, align 8, !dbg !965, !tbaa !616
%94 = tail call i8* @quote(i8* %93) #8, !dbg !968
tail call void (i8*, ...) @test_syntax_error(i8* %87, i8* %94) #16, !dbg !969
unreachable, !dbg !969
; <label>:95: ; preds = %76, %72, %20, %33, %8
%96 = phi i1 [ %9, %8 ], [ %22, %20 ], [ %35, %33 ], [ %75, %72 ], [ %77, %76 ]
ret i1 %96, !dbg !970
}
; Function Attrs: noreturn nounwind sspstrong uwtable
define internal fastcc void @beyond() unnamed_addr #0 !dbg !971 {
%1 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.45, i64 0, i64 0), i32 5) #8, !dbg !974
%2 = load i8**, i8*** @argv, align 8, !dbg !975, !tbaa !616
%3 = load i32, i32* @argc, align 4, !dbg !976, !tbaa !693
%4 = add nsw i32 %3, -1, !dbg !977
%5 = sext i32 %4 to i64, !dbg !975
%6 = getelementptr inbounds i8*, i8** %2, i64 %5, !dbg !975
%7 = load i8*, i8** %6, align 8, !dbg !975, !tbaa !616
%8 = tail call i8* @quote(i8* %7) #8, !dbg !978
tail call void (i8*, ...) @test_syntax_error(i8* %1, i8* %8) #16, !dbg !979
unreachable, !dbg !979
}
; Function Attrs: noreturn nounwind
declare void @abort() local_unnamed_addr #6
; Function Attrs: nounwind sspstrong uwtable
define internal fastcc zeroext i1 @term() unnamed_addr #7 !dbg !980 {
call void @llvm.dbg.value(metadata i8 0, metadata !983, metadata !DIExpression()), !dbg !987
%1 = load i32, i32* @pos, align 4, !dbg !988, !tbaa !693
%2 = load i32, i32* @argc, align 4, !dbg !989, !tbaa !693
%3 = icmp sgt i32 %2, %1, !dbg !990
br i1 %3, label %4, label %30, !dbg !991
; <label>:4: ; preds = %0
%5 = load i8**, i8*** @argv, align 8, !tbaa !616
%6 = sext i32 %1 to i64, !dbg !992
%7 = getelementptr inbounds i8*, i8** %5, i64 %6, !dbg !992
%8 = load i8*, i8** %7, align 8, !dbg !992, !tbaa !616
%9 = load i8, i8* %8, align 1, !dbg !992, !tbaa !732
%10 = icmp eq i8 %9, 33, !dbg !993
br i1 %10, label %11, label %31, !dbg !994
; <label>:11: ; preds = %4, %23
%12 = phi i8 [ %28, %23 ], [ %9, %4 ]
%13 = phi i8* [ %27, %23 ], [ %8, %4 ]
%14 = phi i1 [ %24, %23 ], [ false, %4 ]
%15 = phi i32 [ %20, %23 ], [ %1, %4 ]
%16 = getelementptr inbounds i8, i8* %13, i64 1, !dbg !995
%17 = load i8, i8* %16, align 1, !dbg !995, !tbaa !732
%18 = icmp eq i8 %17, 0, !dbg !996
br i1 %18, label %19, label %102, !dbg !997
; <label>:19: ; preds = %11
call void @llvm.dbg.value(metadata i1 true, metadata !742, metadata !DIExpression()) #8, !dbg !998
%20 = add nsw i32 %15, 1, !dbg !1001
store i32 %20, i32* @pos, align 4, !dbg !1001, !tbaa !693
%21 = icmp slt i32 %20, %2, !dbg !1002
br i1 %21, label %23, label %22, !dbg !1003
; <label>:22: ; preds = %19
tail call fastcc void @beyond() #15, !dbg !1004
unreachable, !dbg !1004
; <label>:23: ; preds = %19
%24 = xor i1 %14, true, !dbg !1005
%25 = sext i32 %20 to i64, !dbg !992
%26 = getelementptr inbounds i8*, i8** %5, i64 %25, !dbg !992
%27 = load i8*, i8** %26, align 8, !dbg !992, !tbaa !616
%28 = load i8, i8* %27, align 1, !dbg !992, !tbaa !732
%29 = icmp eq i8 %28, 33, !dbg !993
br i1 %29, label %11, label %31, !dbg !994
; <label>:30: ; preds = %0
tail call fastcc void @beyond() #16, !dbg !1006
unreachable, !dbg !1006
; <label>:31: ; preds = %23, %4
%32 = phi i32 [ %1, %4 ], [ %20, %23 ]
%33 = phi i1 [ false, %4 ], [ %24, %23 ]
%34 = phi i8* [ %8, %4 ], [ %27, %23 ], !dbg !992
%35 = phi i8 [ %9, %4 ], [ %28, %23 ], !dbg !992
%36 = icmp eq i8 %35, 40, !dbg !1008
br i1 %36, label %37, label %102, !dbg !1009
; <label>:37: ; preds = %31
%38 = getelementptr inbounds i8, i8* %34, i64 1, !dbg !1010
%39 = load i8, i8* %38, align 1, !dbg !1010, !tbaa !732
%40 = icmp eq i8 %39, 0, !dbg !1011
br i1 %40, label %41, label %102, !dbg !1012
; <label>:41: ; preds = %37
call void @llvm.dbg.value(metadata i1 true, metadata !742, metadata !DIExpression()) #8, !dbg !1013
%42 = add nsw i32 %32, 1, !dbg !1015
store i32 %42, i32* @pos, align 4, !dbg !1015, !tbaa !693
%43 = icmp sgt i32 %2, %42, !dbg !1016
br i1 %43, label %44, label %51, !dbg !1017
; <label>:44: ; preds = %41
call void @llvm.dbg.value(metadata i32 1, metadata !984, metadata !DIExpression()), !dbg !1018
%45 = add i32 %32, 2, !dbg !1019
%46 = icmp slt i32 %45, %2, !dbg !1022
br i1 %46, label %47, label %72, !dbg !1023
; <label>:47: ; preds = %44
%48 = sext i32 %45 to i64, !dbg !1024
%49 = sext i32 %42 to i64, !dbg !1024
%50 = sext i32 %2 to i64, !dbg !1024
br label %52, !dbg !1024
; <label>:51: ; preds = %41
tail call fastcc void @beyond() #15, !dbg !1025
unreachable, !dbg !1025
; <label>:52: ; preds = %47, %64
%53 = phi i64 [ 1, %47 ], [ %65, %64 ]
%54 = phi i64 [ %48, %47 ], [ %69, %64 ]
%55 = phi i32 [ 1, %47 ], [ %66, %64 ]
call void @llvm.dbg.value(metadata i64 %53, metadata !984, metadata !DIExpression()), !dbg !1018
%56 = getelementptr inbounds i8*, i8** %5, i64 %54, !dbg !1024
%57 = load i8*, i8** %56, align 8, !dbg !1024, !tbaa !616
%58 = tail call i32 @strcmp(i8* %57, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.42, i64 0, i64 0)) #14, !dbg !1024
%59 = icmp eq i32 %58, 0, !dbg !1024
br i1 %59, label %70, label %60, !dbg !1026
; <label>:60: ; preds = %52
%61 = icmp eq i64 %53, 4, !dbg !1027
br i1 %61, label %62, label %64, !dbg !1029
; <label>:62: ; preds = %60
%63 = sub nsw i32 %2, %42, !dbg !1030
call void @llvm.dbg.value(metadata i32 %63, metadata !984, metadata !DIExpression()), !dbg !1018
br label %72, !dbg !1032
; <label>:64: ; preds = %60
%65 = add nuw nsw i64 %53, 1, !dbg !1033
%66 = add nuw nsw i32 %55, 1, !dbg !1033
call void @llvm.dbg.value(metadata i32 %66, metadata !984, metadata !DIExpression()), !dbg !1018
%67 = add nsw i64 %65, %49, !dbg !1019
%68 = icmp slt i64 %67, %50, !dbg !1022
%69 = add nsw i64 %54, 1, !dbg !1019
br i1 %68, label %52, label %72, !dbg !1023, !llvm.loop !1034
; <label>:70: ; preds = %52
call void @llvm.dbg.value(metadata i64 %53, metadata !984, metadata !DIExpression()), !dbg !1018
call void @llvm.dbg.value(metadata i64 %53, metadata !984, metadata !DIExpression()), !dbg !1018
call void @llvm.dbg.value(metadata i64 %53, metadata !984, metadata !DIExpression()), !dbg !1018
%71 = trunc i64 %53 to i32, !dbg !1026
br label %72, !dbg !1036
; <label>:72: ; preds = %64, %70, %44, %62
%73 = phi i32 [ %63, %62 ], [ 1, %44 ], [ %71, %70 ], [ %66, %64 ], !dbg !1037
call void @llvm.dbg.value(metadata i32 %73, metadata !984, metadata !DIExpression()), !dbg !1018
%74 = tail call fastcc zeroext i1 @posixtest(i32 %73), !dbg !1036
%75 = load i8**, i8*** @argv, align 8, !dbg !1038, !tbaa !616
%76 = load i32, i32* @pos, align 4, !dbg !1040, !tbaa !693
%77 = sext i32 %76 to i64, !dbg !1038
%78 = getelementptr inbounds i8*, i8** %75, i64 %77, !dbg !1038
%79 = load i8*, i8** %78, align 8, !dbg !1038, !tbaa !616
%80 = icmp eq i8* %79, null, !dbg !1041
br i1 %80, label %81, label %84, !dbg !1042
; <label>:81: ; preds = %72
%82 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str.66, i64 0, i64 0), i32 5) #8, !dbg !1043
%83 = tail call i8* @quote(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.42, i64 0, i64 0)) #8, !dbg !1044
tail call void (i8*, ...) @test_syntax_error(i8* %82, i8* %83) #16, !dbg !1045
unreachable, !dbg !1045
; <label>:84: ; preds = %72
%85 = load i8, i8* %79, align 1, !dbg !1046, !tbaa !732
%86 = icmp eq i8 %85, 41, !dbg !1048
br i1 %86, label %87, label %91, !dbg !1049
; <label>:87: ; preds = %84
%88 = getelementptr inbounds i8, i8* %79, i64 1, !dbg !1050
%89 = load i8, i8* %88, align 1, !dbg !1050, !tbaa !732
%90 = icmp eq i8 %89, 0, !dbg !1050
br i1 %90, label %100, label %91, !dbg !1051
; <label>:91: ; preds = %87, %84
%92 = tail call i8* @dcgettext(i8* null, i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str.67, i64 0, i64 0), i32 5) #8, !dbg !1052
%93 = tail call i8* @quote_n(i32 0, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.42, i64 0, i64 0)) #8, !dbg !1053
%94 = load i8**, i8*** @argv, align 8, !dbg !1054, !tbaa !616
%95 = load i32, i32* @pos, align 4, !dbg !1055, !tbaa !693
%96 = sext i32 %95 to i64, !dbg !1054
%97 = getelementptr inbounds i8*, i8** %94, i64 %96, !dbg !1054
%98 = load i8*, i8** %97, align 8, !dbg !1054, !tbaa !616
%99 = tail call i8* @quote_n(i32 1, i8* %98) #8, !dbg !1056
tail call void (i8*, ...) @test_syntax_error(i8* %92, i8* %93, i8* %99) #16, !dbg !1057
unreachable, !dbg !1057
; <label>:100: ; preds = %87
call void @llvm.dbg.value(metadata i1 false, metadata !742, metadata !DIExpression()), !dbg !1058
%101 = add nsw i32 %76, 1, !dbg !1060
store i32 %101, i32* @pos, align 4, !dbg !1060, !tbaa !693
br label %155, !dbg !1061
; <label>:102: ; preds = %11, %37, %31
%103 = phi i32 [ %32, %37 ], [ %32, %31 ], [ %15, %11 ]
%104 = phi i1 [ %33, %37 ], [ %33, %31 ], [ %14, %11 ]
%105 = phi i8* [ %34, %37 ], [ %34, %31 ], [ %13, %11 ]
%106 = phi i8 [ %35, %37 ], [ %35, %31 ], [ %12, %11 ]
%107 = sub nsw i32 %2, %103, !dbg !1062
%108 = icmp sgt i32 %107, 3, !dbg !1064
br i1 %108, label %109, label %120, !dbg !1065
; <label>:109: ; preds = %102
%110 = tail call i32 @strcmp(i8* %105, i8* getelementptr inbounds ([3 x i8], [3 x i8]* @.str.61, i64 0, i64 0)) #14, !dbg !1066
%111 = icmp eq i32 %110, 0, !dbg !1066
br i1 %111, label %112, label %122, !dbg !1067