-
Notifications
You must be signed in to change notification settings - Fork 0
/
00EB63DC1A676F75.ll
2271 lines (1947 loc) · 132 KB
/
00EB63DC1A676F75.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 = '/usr/local/google/home/aeubanks/repos/test-suite/MultiSource/Benchmarks/7zip/CPP/7zip/Archive/Tar/TarUpdate.cpp'
source_filename = "/usr/local/google/home/aeubanks/repos/test-suite/MultiSource/Benchmarks/7zip/CPP/7zip/Archive/Tar/TarUpdate.cpp"
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
%"class.NArchive::NTar::COutArchive" = type { %class.CMyComPtr }
%class.CMyComPtr = type { ptr }
%"struct.NArchive::NTar::CItem" = type <{ %class.CStringBase, i64, i32, i32, i32, i32, i32, i32, %class.CStringBase, %class.CStringBase, %class.CStringBase, [8 x i8], i8, i8, i8, [5 x i8] }>
%class.CStringBase = type { ptr, i32, i32 }
%class.CMyComPtr.4 = type { ptr }
%class.CBaseRecordVector = type { ptr, i32, i32, ptr, i64 }
%"struct.NArchive::NTar::CUpdateItem" = type <{ i32, i32, i32, i32, i64, %class.CStringBase, %class.CStringBase, %class.CStringBase, i8, i8, i8, [5 x i8] }>
%"struct.NArchive::NTar::CItemEx" = type <{ %"struct.NArchive::NTar::CItem.base", [5 x i8], i64, i32, [4 x i8] }>
%"struct.NArchive::NTar::CItem.base" = type <{ %class.CStringBase, i64, i32, i32, i32, i32, i32, i32, %class.CStringBase, %class.CStringBase, %class.CStringBase, [8 x i8], i8, i8, i8 }>
%"class.NCompress::CCopyCoder" = type { %struct.ICompressCoder, %struct.ICompressGetInStreamProcessedSize, %class.CMyUnknownImp, ptr, i64 }
%struct.ICompressCoder = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%struct.ICompressGetInStreamProcessedSize = type { %struct.IUnknown }
%class.CMyUnknownImp = type { i32 }
%class.CLimitedSequentialInStream = type <{ %struct.ISequentialInStream, %class.CMyUnknownImp, [4 x i8], %class.CMyComPtr.4, i64, i64, i8, [7 x i8] }>
%struct.ISequentialInStream = type { %struct.IUnknown }
%class.CLocalProgress = type <{ %struct.ICompressProgressInfo, %class.CMyUnknownImp, [4 x i8], %class.CMyComPtr.2, %class.CMyComPtr.3, i8, [7 x i8], i64, i64, i64, i8, i8, [6 x i8] }>
%struct.ICompressProgressInfo = type { %struct.IUnknown }
%class.CMyComPtr.2 = type { ptr }
%class.CMyComPtr.3 = type { ptr }
$_ZN8NArchive4NTar5CItemaSERKS1_ = comdat any
$_ZN8NArchive4NTar5CItemD2Ev = comdat any
$__clang_call_terminate = comdat any
@_ZN8NArchive4NTar11NFileHeader6NMagic6kEmptyE = external local_unnamed_addr global ptr, align 8
@_ZTVN9NCompress10CCopyCoderE = external unnamed_addr constant { [9 x ptr], [8 x ptr] }, align 8
@_ZTV26CLimitedSequentialInStream = external unnamed_addr constant { [8 x ptr] }, align 8
; Function Attrs: uwtable
define dso_local noundef i32 @_ZN8NArchive4NTar13UpdateArchiveEP9IInStreamP20ISequentialOutStreamRK13CObjectVectorINS0_7CItemExEERKS5_INS0_11CUpdateItemEEP22IArchiveUpdateCallback(ptr noundef %inStream, ptr noundef %outStream, ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %inputItems, ptr nocapture noundef nonnull readonly align 8 dereferenceable(32) %updateItems, ptr noundef %updateCallback) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
entry:
%outArchive = alloca %"class.NArchive::NTar::COutArchive", align 8
%item = alloca %"struct.NArchive::NTar::CItem", align 8
%fileInStream = alloca %class.CMyComPtr.4, align 8
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %outArchive) #10
store ptr null, ptr %outArchive, align 8, !tbaa !5
invoke void @_ZN8NArchive4NTar11COutArchive6CreateEP20ISequentialOutStream(ptr noundef nonnull align 8 dereferenceable(8) %outArchive, ptr noundef %outStream)
to label %for.cond.preheader unwind label %lpad
for.cond.preheader: ; preds = %entry
%_size.i = getelementptr inbounds %class.CBaseRecordVector, ptr %updateItems, i64 0, i32 2
%0 = load i32, ptr %_size.i, align 4, !tbaa !10
%cmp682 = icmp sgt i32 %0, 0
br i1 %cmp682, label %for.body.lr.ph, label %for.end
for.body.lr.ph: ; preds = %for.cond.preheader
%_items.i.i = getelementptr inbounds %class.CBaseRecordVector, ptr %updateItems, i64 0, i32 3
%1 = load ptr, ptr %_items.i.i, align 8, !tbaa !14
%_items.i.i431 = getelementptr inbounds %class.CBaseRecordVector, ptr %inputItems, i64 0, i32 3
%2 = load ptr, ptr %_items.i.i431, align 8
%wide.trip.count = zext i32 %0 to i64
br label %for.body
for.body: ; preds = %for.body.lr.ph, %if.end
%indvars.iv = phi i64 [ 0, %for.body.lr.ph ], [ %indvars.iv.next, %if.end ]
%complexity.0684 = phi i64 [ 0, %for.body.lr.ph ], [ %complexity.1, %if.end ]
%arrayidx.i.i = getelementptr inbounds ptr, ptr %1, i64 %indvars.iv
%3 = load ptr, ptr %arrayidx.i.i, align 8, !tbaa !15
%NewData = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %3, i64 0, i32 8
%4 = load i8, ptr %NewData, align 8, !tbaa !16, !range !21, !noundef !22
%tobool.not = icmp eq i8 %4, 0
br i1 %tobool.not, label %if.else, label %if.then
if.then: ; preds = %for.body
%Size = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %3, i64 0, i32 4
%5 = load i64, ptr %Size, align 8, !tbaa !23
br label %if.end
lpad: ; preds = %entry
%6 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup330
if.else: ; preds = %for.body
%7 = load i32, ptr %3, align 8, !tbaa !24
%idxprom.i.i432 = sext i32 %7 to i64
%arrayidx.i.i433 = getelementptr inbounds ptr, ptr %2, i64 %idxprom.i.i432
%8 = load ptr, ptr %arrayidx.i.i433, align 8, !tbaa !15
%HeaderSize.i = getelementptr inbounds %"struct.NArchive::NTar::CItemEx", ptr %8, i64 0, i32 3
%9 = load i32, ptr %HeaderSize.i, align 8, !tbaa !25
%conv.i = zext i32 %9 to i64
%Size.i = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %8, i64 0, i32 1
%10 = load i64, ptr %Size.i, align 8, !tbaa !28
%add.i = add i64 %10, %conv.i
br label %if.end
if.end: ; preds = %if.else, %if.then
%.pn638 = phi i64 [ %5, %if.then ], [ %add.i, %if.else ]
%complexity.1 = add i64 %.pn638, %complexity.0684
%indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
%exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
br i1 %exitcond.not, label %for.end, label %for.body, !llvm.loop !29
for.end: ; preds = %if.end, %for.cond.preheader
%complexity.0.lcssa = phi i64 [ 0, %for.cond.preheader ], [ %complexity.1, %if.end ]
%vtable = load ptr, ptr %updateCallback, align 8, !tbaa !31
%vfn = getelementptr inbounds ptr, ptr %vtable, i64 5
%11 = load ptr, ptr %vfn, align 8
%call13 = invoke noundef i32 %11(ptr noundef nonnull align 8 dereferenceable(8) %updateCallback, i64 noundef %complexity.0.lcssa)
to label %invoke.cont12 unwind label %lpad11
invoke.cont12: ; preds = %for.end
%cmp14.not = icmp eq i32 %call13, 0
br i1 %cmp14.not, label %cleanup.cont, label %cleanup325
lpad11: ; preds = %for.end
%12 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup330
cleanup.cont: ; preds = %invoke.cont12
%call19 = invoke noalias noundef nonnull dereferenceable(40) ptr @_Znwm(i64 noundef 40) #11
to label %invoke.cont18 unwind label %lpad17
invoke.cont18: ; preds = %cleanup.cont
%13 = getelementptr inbounds i8, ptr %call19, i64 8
%14 = getelementptr inbounds i8, ptr %call19, i64 16
store i32 0, ptr %14, align 8, !tbaa !33
store ptr getelementptr inbounds ({ [9 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress10CCopyCoderE, i64 0, inrange i32 0, i64 2), ptr %call19, align 8, !tbaa !31
store ptr getelementptr inbounds ({ [9 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress10CCopyCoderE, i64 0, inrange i32 1, i64 2), ptr %13, align 8, !tbaa !31
%_buffer.i = getelementptr inbounds %"class.NCompress::CCopyCoder", ptr %call19, i64 0, i32 3
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %_buffer.i, i8 0, i64 16, i1 false)
%15 = load ptr, ptr getelementptr inbounds ({ [9 x ptr], [8 x ptr] }, ptr @_ZTVN9NCompress10CCopyCoderE, i64 0, inrange i32 0, i64 3), align 8
%call.i434 = invoke noundef i32 %15(ptr noundef nonnull align 8 dereferenceable(8) %call19)
to label %invoke.cont23 unwind label %lpad22
invoke.cont23: ; preds = %invoke.cont18
%call26 = invoke noalias noundef nonnull dereferenceable(72) ptr @_Znwm(i64 noundef 72) #11
to label %invoke.cont25 unwind label %lpad24
invoke.cont25: ; preds = %invoke.cont23
invoke void @_ZN14CLocalProgressC1Ev(ptr noundef nonnull align 8 dereferenceable(66) %call26)
to label %invoke.cont28 unwind label %lpad27
invoke.cont28: ; preds = %invoke.cont25
%vtable.i435 = load ptr, ptr %call26, align 8, !tbaa !31
%vfn.i436 = getelementptr inbounds ptr, ptr %vtable.i435, i64 1
%16 = load ptr, ptr %vfn.i436, align 8
%call.i437 = invoke noundef i32 %16(ptr noundef nonnull align 8 dereferenceable(8) %call26)
to label %invoke.cont30 unwind label %lpad29
invoke.cont30: ; preds = %invoke.cont28
invoke void @_ZN14CLocalProgress4InitEP9IProgressb(ptr noundef nonnull align 8 dereferenceable(66) %call26, ptr noundef nonnull %updateCallback, i1 noundef zeroext true)
to label %invoke.cont32 unwind label %lpad31
invoke.cont32: ; preds = %invoke.cont30
%call35 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #11
to label %invoke.cont34 unwind label %lpad33
invoke.cont34: ; preds = %invoke.cont32
%17 = getelementptr inbounds i8, ptr %call35, i64 8
store i32 0, ptr %17, align 8, !tbaa !33
store ptr getelementptr inbounds ({ [8 x ptr] }, ptr @_ZTV26CLimitedSequentialInStream, i64 0, inrange i32 0, i64 2), ptr %call35, align 8, !tbaa !31
%_stream.i = getelementptr inbounds %class.CLimitedSequentialInStream, ptr %call35, i64 0, i32 3
store ptr null, ptr %_stream.i, align 8, !tbaa !35
%18 = load ptr, ptr getelementptr inbounds ({ [8 x ptr] }, ptr @_ZTV26CLimitedSequentialInStream, i64 0, inrange i32 0, i64 3), align 8
%call.i440 = invoke noundef i32 %18(ptr noundef nonnull align 8 dereferenceable(41) %call35)
to label %invoke.cont39 unwind label %lpad38
invoke.cont39: ; preds = %invoke.cont34
%cmp.not.i.i = icmp eq ptr %inStream, null
br i1 %cmp.not.i.i, label %if.end.i.i, label %if.then.i.i
if.then.i.i: ; preds = %invoke.cont39
%vtable.i.i = load ptr, ptr %inStream, align 8, !tbaa !31
%vfn.i.i = getelementptr inbounds ptr, ptr %vtable.i.i, i64 1
%19 = load ptr, ptr %vfn.i.i, align 8
%call.i.i442 = invoke noundef i32 %19(ptr noundef nonnull align 8 dereferenceable(8) %inStream)
to label %if.end.i.i unwind label %lpad40
if.end.i.i: ; preds = %if.then.i.i, %invoke.cont39
%20 = load ptr, ptr %_stream.i, align 8, !tbaa !35
%tobool.not.i.i = icmp eq ptr %20, null
br i1 %tobool.not.i.i, label %_ZN26CLimitedSequentialInStream9SetStreamEP19ISequentialInStream.exit, label %if.then2.i.i
if.then2.i.i: ; preds = %if.end.i.i
%vtable4.i.i = load ptr, ptr %20, align 8, !tbaa !31
%vfn5.i.i = getelementptr inbounds ptr, ptr %vtable4.i.i, i64 2
%21 = load ptr, ptr %vfn5.i.i, align 8
%call6.i.i443 = invoke noundef i32 %21(ptr noundef nonnull align 8 dereferenceable(8) %20)
to label %_ZN26CLimitedSequentialInStream9SetStreamEP19ISequentialInStream.exit unwind label %lpad40
_ZN26CLimitedSequentialInStream9SetStreamEP19ISequentialInStream.exit: ; preds = %if.then2.i.i, %if.end.i.i
store ptr %inStream, ptr %_stream.i, align 8, !tbaa !35
%22 = load i32, ptr %_size.i, align 4, !tbaa !10
%cmp45685 = icmp sgt i32 %22, 0
br i1 %cmp45685, label %for.body46.lr.ph, label %for.end304
for.body46.lr.ph: ; preds = %_ZN26CLimitedSequentialInStream9SetStreamEP19ISequentialInStream.exit
%OutSize = getelementptr inbounds %class.CLocalProgress, ptr %call26, i64 0, i32 9
%InSize = getelementptr inbounds %class.CLocalProgress, ptr %call26, i64 0, i32 8
%_items.i.i445 = getelementptr inbounds %class.CBaseRecordVector, ptr %updateItems, i64 0, i32 3
%_capacity.i.i = getelementptr inbounds %class.CStringBase, ptr %item, i64 0, i32 2
%LinkName.i = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 8
%_capacity.i8.i = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 8, i32 2
%User.i = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 9
%_capacity.i11.i = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 9, i32 2
%Group.i = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 10
%_capacity.i15.i = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 10, i32 2
%Mode65 = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 2
%_length.i.i = getelementptr inbounds %class.CStringBase, ptr %item, i64 0, i32 1
%_length.i.i457 = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 9, i32 1
%_length.i.i496 = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 10, i32 1
%LinkFlag = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 12
%Size78 = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 1
%MTime = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 5
%DeviceMajorDefined = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 13
%DeviceMinorDefined = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 14
%UID = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 3
%GID = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 4
%Magic = getelementptr inbounds %"struct.NArchive::NTar::CItem", ptr %item, i64 0, i32 11
%_items.i.i534 = getelementptr inbounds %class.CBaseRecordVector, ptr %inputItems, i64 0, i32 3
%TotalSize = getelementptr inbounds %"class.NCompress::CCopyCoder", ptr %call19, i64 0, i32 4
%_size.i561 = getelementptr inbounds %class.CLimitedSequentialInStream, ptr %call35, i64 0, i32 4
%_pos.i = getelementptr inbounds %class.CLimitedSequentialInStream, ptr %call35, i64 0, i32 5
%_wasFinished.i = getelementptr inbounds %class.CLimitedSequentialInStream, ptr %call35, i64 0, i32 6
%23 = getelementptr inbounds i8, ptr %item, i64 8
br label %for.body46
for.cond42: ; preds = %_ZN8NArchive4NTar5CItemD2Ev.exit
%indvars.iv.next723 = add nuw nsw i64 %indvars.iv722, 1
%24 = load i32, ptr %_size.i, align 4, !tbaa !10
%25 = sext i32 %24 to i64
%cmp45 = icmp slt i64 %indvars.iv.next723, %25
br i1 %cmp45, label %for.body46, label %for.end304, !llvm.loop !37
for.body46: ; preds = %for.body46.lr.ph, %for.cond42
%indvars.iv722 = phi i64 [ 0, %for.body46.lr.ph ], [ %indvars.iv.next723, %for.cond42 ]
%retval.1688 = phi i32 [ 0, %for.body46.lr.ph ], [ %retval.18, %for.cond42 ]
%complexity.2687 = phi i64 [ 0, %for.body46.lr.ph ], [ %complexity.6, %for.cond42 ]
store i64 %complexity.2687, ptr %OutSize, align 8, !tbaa !38
store i64 %complexity.2687, ptr %InSize, align 8, !tbaa !44
%call50 = invoke noundef i32 @_ZN14CLocalProgress6SetCurEv(ptr noundef nonnull align 8 dereferenceable(66) %call26)
to label %invoke.cont49 unwind label %lpad48
invoke.cont49: ; preds = %for.body46
%cmp51.not = icmp eq i32 %call50, 0
%retval.1.call50 = select i1 %cmp51.not, i32 %retval.1688, i32 %call50
br i1 %cmp51.not, label %cleanup.cont56, label %if.then.i571
lpad17: ; preds = %cleanup.cont
%26 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup330
lpad22: ; preds = %invoke.cont18
%27 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup330
lpad24: ; preds = %invoke.cont23
%28 = landingpad { ptr, i32 }
cleanup
br label %if.then.i608
lpad27: ; preds = %invoke.cont25
%29 = landingpad { ptr, i32 }
cleanup
call void @_ZdlPv(ptr noundef nonnull %call26) #12
br label %if.then.i608
lpad29: ; preds = %invoke.cont28
%30 = landingpad { ptr, i32 }
cleanup
br label %if.then.i608
lpad31: ; preds = %invoke.cont30
%31 = landingpad { ptr, i32 }
cleanup
br label %if.then.i600
lpad33: ; preds = %invoke.cont32
%32 = landingpad { ptr, i32 }
cleanup
br label %if.then.i600
lpad38: ; preds = %invoke.cont34
%33 = landingpad { ptr, i32 }
cleanup
br label %if.then.i600
lpad40: ; preds = %if.then2.i.i, %if.then.i.i, %for.end304
%34 = landingpad { ptr, i32 }
cleanup
br label %if.then.i592
lpad48: ; preds = %for.body46
%35 = landingpad { ptr, i32 }
cleanup
br label %if.then.i592
cleanup.cont56: ; preds = %invoke.cont49
%36 = load ptr, ptr %_items.i.i445, align 8, !tbaa !14
%arrayidx.i.i447 = getelementptr inbounds ptr, ptr %36, i64 %indvars.iv722
%37 = load ptr, ptr %arrayidx.i.i447, align 8, !tbaa !15
call void @llvm.lifetime.start.p0(i64 112, ptr nonnull %item) #10
store i64 0, ptr %23, align 8
%call.i.i.i448 = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znam(i64 noundef 4) #11
to label %call.i.i.i.noexc unwind label %lpad61
call.i.i.i.noexc: ; preds = %cleanup.cont56
store ptr %call.i.i.i448, ptr %item, align 8, !tbaa !45
store i8 0, ptr %call.i.i.i448, align 1, !tbaa !46
store i32 4, ptr %_capacity.i.i, align 4, !tbaa !47
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %LinkName.i, i8 0, i64 16, i1 false)
%call.i.i910.i = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znam(i64 noundef 4) #11
to label %_ZN11CStringBaseIcEC2Ev.exit.i unwind label %lpad.i
_ZN11CStringBaseIcEC2Ev.exit.i: ; preds = %call.i.i.i.noexc
store ptr %call.i.i910.i, ptr %LinkName.i, align 8, !tbaa !45
store i8 0, ptr %call.i.i910.i, align 1, !tbaa !46
store i32 4, ptr %_capacity.i8.i, align 4, !tbaa !47
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %User.i, i8 0, i64 16, i1 false)
%call.i.i1213.i = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znam(i64 noundef 4) #11
to label %_ZN11CStringBaseIcEC2Ev.exit14.i unwind label %ehcleanup.thread.i
_ZN11CStringBaseIcEC2Ev.exit14.i: ; preds = %_ZN11CStringBaseIcEC2Ev.exit.i
store ptr %call.i.i1213.i, ptr %User.i, align 8, !tbaa !45
store i8 0, ptr %call.i.i1213.i, align 1, !tbaa !46
store i32 4, ptr %_capacity.i11.i, align 4, !tbaa !47
call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %Group.i, i8 0, i64 16, i1 false)
%call.i.i1617.i = invoke noalias noundef nonnull dereferenceable(4) ptr @_Znam(i64 noundef 4) #11
to label %_ZN8NArchive4NTar5CItemC2Ev.exit unwind label %ehcleanup.i
lpad.i: ; preds = %call.i.i.i.noexc
%38 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup6.i
ehcleanup.thread.i: ; preds = %_ZN11CStringBaseIcEC2Ev.exit.i
%39 = landingpad { ptr, i32 }
cleanup
br label %delete.notnull.i20.i
ehcleanup.i: ; preds = %_ZN11CStringBaseIcEC2Ev.exit14.i
%40 = landingpad { ptr, i32 }
cleanup
call void @_ZdaPv(ptr noundef nonnull %call.i.i1213.i) #12
%.pre.i = load ptr, ptr %LinkName.i, align 8, !tbaa !45
%isnull.i19.i = icmp eq ptr %.pre.i, null
br i1 %isnull.i19.i, label %ehcleanup6.i, label %delete.notnull.i20.i
delete.notnull.i20.i: ; preds = %ehcleanup.i, %ehcleanup.thread.i
%.pn29.i = phi { ptr, i32 } [ %39, %ehcleanup.thread.i ], [ %40, %ehcleanup.i ]
%41 = phi ptr [ %call.i.i910.i, %ehcleanup.thread.i ], [ %.pre.i, %ehcleanup.i ]
call void @_ZdaPv(ptr noundef nonnull %41) #12
br label %ehcleanup6.i
ehcleanup6.i: ; preds = %delete.notnull.i20.i, %ehcleanup.i, %lpad.i
%.pn.pn.i = phi { ptr, i32 } [ %38, %lpad.i ], [ %40, %ehcleanup.i ], [ %.pn29.i, %delete.notnull.i20.i ]
%42 = load ptr, ptr %item, align 8, !tbaa !45
%isnull.i22.i = icmp eq ptr %42, null
br i1 %isnull.i22.i, label %ehcleanup297, label %delete.notnull.i23.i
delete.notnull.i23.i: ; preds = %ehcleanup6.i
call void @_ZdaPv(ptr noundef nonnull %42) #12
br label %ehcleanup297
_ZN8NArchive4NTar5CItemC2Ev.exit: ; preds = %_ZN11CStringBaseIcEC2Ev.exit14.i
store ptr %call.i.i1617.i, ptr %Group.i, align 8, !tbaa !45
store i8 0, ptr %call.i.i1617.i, align 1, !tbaa !46
store i32 4, ptr %_capacity.i15.i, align 4, !tbaa !47
%NewProps = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 9
%43 = load i8, ptr %NewProps, align 1, !tbaa !48, !range !21, !noundef !22
%tobool63.not = icmp eq i8 %43, 0
br i1 %tobool63.not, label %if.else84, label %if.then64
if.then64: ; preds = %_ZN8NArchive4NTar5CItemC2Ev.exit
%Mode = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 3
%44 = load i32, ptr %Mode, align 4, !tbaa !49
store i32 %44, ptr %Mode65, align 8, !tbaa !50
%Name = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 5
%cmp.i = icmp eq ptr %Name, %item
br i1 %cmp.i, label %invoke.cont68, label %if.end.i
if.end.i: ; preds = %if.then64
store i32 0, ptr %_length.i.i, align 8, !tbaa !51
store i8 0, ptr %call.i.i.i448, align 1, !tbaa !46
%_length.i = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 5, i32 1
%45 = load i32, ptr %_length.i, align 8, !tbaa !51
%add.i.i = add nsw i32 %45, 1
%cmp.i.i = icmp eq i32 %add.i.i, 4
br i1 %cmp.i.i, label %_ZN11CStringBaseIcE11SetCapacityEi.exit.i, label %if.end.i.i451
if.end.i.i451: ; preds = %if.end.i
%conv.i.i = sext i32 %add.i.i to i64
%call.i.i455 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %conv.i.i) #11
to label %delete.notnull.i.i unwind label %lpad67
delete.notnull.i.i: ; preds = %if.end.i.i451
call void @_ZdaPv(ptr noundef nonnull %call.i.i.i448) #12
store ptr %call.i.i455, ptr %item, align 8, !tbaa !45
%46 = load i32, ptr %_length.i.i, align 8, !tbaa !51
%idxprom13.i.i = sext i32 %46 to i64
%arrayidx14.i.i = getelementptr inbounds i8, ptr %call.i.i455, i64 %idxprom13.i.i
store i8 0, ptr %arrayidx14.i.i, align 1, !tbaa !46
store i32 %add.i.i, ptr %_capacity.i.i, align 4, !tbaa !47
br label %_ZN11CStringBaseIcE11SetCapacityEi.exit.i
_ZN11CStringBaseIcE11SetCapacityEi.exit.i: ; preds = %if.end.i, %delete.notnull.i.i
%47 = phi ptr [ %call.i.i455, %delete.notnull.i.i ], [ %call.i.i.i448, %if.end.i ]
%48 = load ptr, ptr %Name, align 8, !tbaa !45
br label %while.cond.i.i
while.cond.i.i: ; preds = %while.cond.i.i, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i
%src.addr.0.i.i = phi ptr [ %48, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i ], [ %incdec.ptr.i.i, %while.cond.i.i ]
%dest.addr.0.i.i = phi ptr [ %47, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i ], [ %incdec.ptr1.i.i, %while.cond.i.i ]
%incdec.ptr.i.i = getelementptr inbounds i8, ptr %src.addr.0.i.i, i64 1
%49 = load i8, ptr %src.addr.0.i.i, align 1, !tbaa !46
%incdec.ptr1.i.i = getelementptr inbounds i8, ptr %dest.addr.0.i.i, i64 1
store i8 %49, ptr %dest.addr.0.i.i, align 1, !tbaa !46
%cmp.not.i.i453 = icmp eq i8 %49, 0
br i1 %cmp.not.i.i453, label %_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i, label %while.cond.i.i, !llvm.loop !52
_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i: ; preds = %while.cond.i.i
%50 = load i32, ptr %_length.i, align 8, !tbaa !51
store i32 %50, ptr %_length.i.i, align 8, !tbaa !51
br label %invoke.cont68
invoke.cont68: ; preds = %_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i, %if.then64
%User = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 6
%cmp.i456 = icmp eq ptr %User, %User.i
br i1 %cmp.i456, label %invoke.cont71, label %if.end.i462
if.end.i462: ; preds = %invoke.cont68
store i32 0, ptr %_length.i.i457, align 8, !tbaa !51
%51 = load ptr, ptr %User.i, align 8, !tbaa !45
store i8 0, ptr %51, align 1, !tbaa !46
%_length.i458 = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 6, i32 1
%52 = load i32, ptr %_length.i458, align 8, !tbaa !51
%add.i.i459 = add nsw i32 %52, 1
%53 = load i32, ptr %_capacity.i11.i, align 4, !tbaa !47
%cmp.i.i461 = icmp eq i32 %add.i.i459, %53
br i1 %cmp.i.i461, label %if.end._ZN11CStringBaseIcE11SetCapacityEi.exit_crit_edge.i464, label %if.end.i.i467
if.end._ZN11CStringBaseIcE11SetCapacityEi.exit_crit_edge.i464: ; preds = %if.end.i462
%.pre.i463 = load ptr, ptr %User.i, align 8, !tbaa !45
br label %_ZN11CStringBaseIcE11SetCapacityEi.exit.i484
if.end.i.i467: ; preds = %if.end.i462
%conv.i.i465 = sext i32 %add.i.i459 to i64
%call.i.i493 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %conv.i.i465) #11
to label %call.i.i.noexc492 unwind label %lpad67
call.i.i.noexc492: ; preds = %if.end.i.i467
%call.i.i493789 = ptrtoint ptr %call.i.i493 to i64
%cmp3.i.i466 = icmp sgt i32 %53, 0
br i1 %cmp3.i.i466, label %for.cond.preheader.i.i469, label %if.end9.i.i483
for.cond.preheader.i.i469: ; preds = %call.i.i.noexc492
%54 = load i32, ptr %_length.i.i457, align 8, !tbaa !51
%cmp522.i.i468 = icmp sgt i32 %54, 0
%55 = load ptr, ptr %User.i, align 8, !tbaa !45
br i1 %cmp522.i.i468, label %iter.check794, label %for.cond.cleanup.i.i473
iter.check794: ; preds = %for.cond.preheader.i.i469
%56 = ptrtoint ptr %55 to i64
%wide.trip.count.i.i470 = zext i32 %54 to i64
%min.iters.check792 = icmp ult i32 %54, 8
%57 = sub i64 %call.i.i493789, %56
%diff.check790 = icmp ult i64 %57, 32
%or.cond = select i1 %min.iters.check792, i1 true, i1 %diff.check790
br i1 %or.cond, label %for.body.i.i479.preheader, label %vector.main.loop.iter.check796
vector.main.loop.iter.check796: ; preds = %iter.check794
%min.iters.check795 = icmp ult i32 %54, 32
br i1 %min.iters.check795, label %vec.epilog.ph809, label %vector.ph797
vector.ph797: ; preds = %vector.main.loop.iter.check796
%n.vec799 = and i64 %wide.trip.count.i.i470, 4294967264
br label %vector.body801
vector.body801: ; preds = %vector.body801, %vector.ph797
%index802 = phi i64 [ 0, %vector.ph797 ], [ %index.next805, %vector.body801 ]
%58 = getelementptr inbounds i8, ptr %55, i64 %index802
%wide.load803 = load <16 x i8>, ptr %58, align 1, !tbaa !46
%59 = getelementptr inbounds i8, ptr %58, i64 16
%wide.load804 = load <16 x i8>, ptr %59, align 1, !tbaa !46
%60 = getelementptr inbounds i8, ptr %call.i.i493, i64 %index802
store <16 x i8> %wide.load803, ptr %60, align 1, !tbaa !46
%61 = getelementptr inbounds i8, ptr %60, i64 16
store <16 x i8> %wide.load804, ptr %61, align 1, !tbaa !46
%index.next805 = add nuw i64 %index802, 32
%62 = icmp eq i64 %index.next805, %n.vec799
br i1 %62, label %middle.block791, label %vector.body801, !llvm.loop !53
middle.block791: ; preds = %vector.body801
%cmp.n800 = icmp eq i64 %n.vec799, %wide.trip.count.i.i470
br i1 %cmp.n800, label %delete.notnull.i.i480, label %vec.epilog.iter.check808
vec.epilog.iter.check808: ; preds = %middle.block791
%n.vec.remaining810 = and i64 %wide.trip.count.i.i470, 24
%min.epilog.iters.check811 = icmp eq i64 %n.vec.remaining810, 0
br i1 %min.epilog.iters.check811, label %for.body.i.i479.preheader, label %vec.epilog.ph809
vec.epilog.ph809: ; preds = %vector.main.loop.iter.check796, %vec.epilog.iter.check808
%vec.epilog.resume.val812 = phi i64 [ %n.vec799, %vec.epilog.iter.check808 ], [ 0, %vector.main.loop.iter.check796 ]
%n.vec814 = and i64 %wide.trip.count.i.i470, 4294967288
br label %vec.epilog.vector.body817
vec.epilog.vector.body817: ; preds = %vec.epilog.vector.body817, %vec.epilog.ph809
%index818 = phi i64 [ %vec.epilog.resume.val812, %vec.epilog.ph809 ], [ %index.next820, %vec.epilog.vector.body817 ]
%63 = getelementptr inbounds i8, ptr %55, i64 %index818
%wide.load819 = load <8 x i8>, ptr %63, align 1, !tbaa !46
%64 = getelementptr inbounds i8, ptr %call.i.i493, i64 %index818
store <8 x i8> %wide.load819, ptr %64, align 1, !tbaa !46
%index.next820 = add nuw i64 %index818, 8
%65 = icmp eq i64 %index.next820, %n.vec814
br i1 %65, label %vec.epilog.middle.block806, label %vec.epilog.vector.body817, !llvm.loop !56
vec.epilog.middle.block806: ; preds = %vec.epilog.vector.body817
%cmp.n816 = icmp eq i64 %n.vec814, %wide.trip.count.i.i470
br i1 %cmp.n816, label %delete.notnull.i.i480, label %for.body.i.i479.preheader
for.body.i.i479.preheader: ; preds = %iter.check794, %vec.epilog.iter.check808, %vec.epilog.middle.block806
%indvars.iv.i.i474.ph = phi i64 [ 0, %iter.check794 ], [ %n.vec799, %vec.epilog.iter.check808 ], [ %n.vec814, %vec.epilog.middle.block806 ]
%66 = xor i64 %indvars.iv.i.i474.ph, -1
%67 = add nsw i64 %66, %wide.trip.count.i.i470
%xtraiter = and i64 %wide.trip.count.i.i470, 3
%lcmp.mod.not = icmp eq i64 %xtraiter, 0
br i1 %lcmp.mod.not, label %for.body.i.i479.prol.loopexit, label %for.body.i.i479.prol
for.body.i.i479.prol: ; preds = %for.body.i.i479.preheader, %for.body.i.i479.prol
%indvars.iv.i.i474.prol = phi i64 [ %indvars.iv.next.i.i477.prol, %for.body.i.i479.prol ], [ %indvars.iv.i.i474.ph, %for.body.i.i479.preheader ]
%prol.iter = phi i64 [ %prol.iter.next, %for.body.i.i479.prol ], [ 0, %for.body.i.i479.preheader ]
%arrayidx.i.i475.prol = getelementptr inbounds i8, ptr %55, i64 %indvars.iv.i.i474.prol
%68 = load i8, ptr %arrayidx.i.i475.prol, align 1, !tbaa !46
%arrayidx7.i.i476.prol = getelementptr inbounds i8, ptr %call.i.i493, i64 %indvars.iv.i.i474.prol
store i8 %68, ptr %arrayidx7.i.i476.prol, align 1, !tbaa !46
%indvars.iv.next.i.i477.prol = add nuw nsw i64 %indvars.iv.i.i474.prol, 1
%prol.iter.next = add i64 %prol.iter, 1
%prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
br i1 %prol.iter.cmp.not, label %for.body.i.i479.prol.loopexit, label %for.body.i.i479.prol, !llvm.loop !57
for.body.i.i479.prol.loopexit: ; preds = %for.body.i.i479.prol, %for.body.i.i479.preheader
%indvars.iv.i.i474.unr = phi i64 [ %indvars.iv.i.i474.ph, %for.body.i.i479.preheader ], [ %indvars.iv.next.i.i477.prol, %for.body.i.i479.prol ]
%69 = icmp ult i64 %67, 3
br i1 %69, label %delete.notnull.i.i480, label %for.body.i.i479
for.cond.cleanup.i.i473: ; preds = %for.cond.preheader.i.i469
%isnull.i.i472 = icmp eq ptr %55, null
br i1 %isnull.i.i472, label %if.end9.i.i483, label %delete.notnull.i.i480
for.body.i.i479: ; preds = %for.body.i.i479.prol.loopexit, %for.body.i.i479
%indvars.iv.i.i474 = phi i64 [ %indvars.iv.next.i.i477.3, %for.body.i.i479 ], [ %indvars.iv.i.i474.unr, %for.body.i.i479.prol.loopexit ]
%arrayidx.i.i475 = getelementptr inbounds i8, ptr %55, i64 %indvars.iv.i.i474
%70 = load i8, ptr %arrayidx.i.i475, align 1, !tbaa !46
%arrayidx7.i.i476 = getelementptr inbounds i8, ptr %call.i.i493, i64 %indvars.iv.i.i474
store i8 %70, ptr %arrayidx7.i.i476, align 1, !tbaa !46
%indvars.iv.next.i.i477 = add nuw nsw i64 %indvars.iv.i.i474, 1
%arrayidx.i.i475.1 = getelementptr inbounds i8, ptr %55, i64 %indvars.iv.next.i.i477
%71 = load i8, ptr %arrayidx.i.i475.1, align 1, !tbaa !46
%arrayidx7.i.i476.1 = getelementptr inbounds i8, ptr %call.i.i493, i64 %indvars.iv.next.i.i477
store i8 %71, ptr %arrayidx7.i.i476.1, align 1, !tbaa !46
%indvars.iv.next.i.i477.1 = add nuw nsw i64 %indvars.iv.i.i474, 2
%arrayidx.i.i475.2 = getelementptr inbounds i8, ptr %55, i64 %indvars.iv.next.i.i477.1
%72 = load i8, ptr %arrayidx.i.i475.2, align 1, !tbaa !46
%arrayidx7.i.i476.2 = getelementptr inbounds i8, ptr %call.i.i493, i64 %indvars.iv.next.i.i477.1
store i8 %72, ptr %arrayidx7.i.i476.2, align 1, !tbaa !46
%indvars.iv.next.i.i477.2 = add nuw nsw i64 %indvars.iv.i.i474, 3
%arrayidx.i.i475.3 = getelementptr inbounds i8, ptr %55, i64 %indvars.iv.next.i.i477.2
%73 = load i8, ptr %arrayidx.i.i475.3, align 1, !tbaa !46
%arrayidx7.i.i476.3 = getelementptr inbounds i8, ptr %call.i.i493, i64 %indvars.iv.next.i.i477.2
store i8 %73, ptr %arrayidx7.i.i476.3, align 1, !tbaa !46
%indvars.iv.next.i.i477.3 = add nuw nsw i64 %indvars.iv.i.i474, 4
%exitcond.not.i.i478.3 = icmp eq i64 %indvars.iv.next.i.i477.3, %wide.trip.count.i.i470
br i1 %exitcond.not.i.i478.3, label %delete.notnull.i.i480, label %for.body.i.i479, !llvm.loop !59
delete.notnull.i.i480: ; preds = %for.body.i.i479.prol.loopexit, %for.body.i.i479, %middle.block791, %vec.epilog.middle.block806, %for.cond.cleanup.i.i473
call void @_ZdaPv(ptr noundef nonnull %55) #12
br label %if.end9.i.i483
if.end9.i.i483: ; preds = %delete.notnull.i.i480, %for.cond.cleanup.i.i473, %call.i.i.noexc492
store ptr %call.i.i493, ptr %User.i, align 8, !tbaa !45
%74 = load i32, ptr %_length.i.i457, align 8, !tbaa !51
%idxprom13.i.i481 = sext i32 %74 to i64
%arrayidx14.i.i482 = getelementptr inbounds i8, ptr %call.i.i493, i64 %idxprom13.i.i481
store i8 0, ptr %arrayidx14.i.i482, align 1, !tbaa !46
store i32 %add.i.i459, ptr %_capacity.i11.i, align 4, !tbaa !47
br label %_ZN11CStringBaseIcE11SetCapacityEi.exit.i484
_ZN11CStringBaseIcE11SetCapacityEi.exit.i484: ; preds = %if.end9.i.i483, %if.end._ZN11CStringBaseIcE11SetCapacityEi.exit_crit_edge.i464
%75 = phi ptr [ %.pre.i463, %if.end._ZN11CStringBaseIcE11SetCapacityEi.exit_crit_edge.i464 ], [ %call.i.i493, %if.end9.i.i483 ]
%76 = load ptr, ptr %User, align 8, !tbaa !45
br label %while.cond.i.i490
while.cond.i.i490: ; preds = %while.cond.i.i490, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i484
%src.addr.0.i.i485 = phi ptr [ %76, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i484 ], [ %incdec.ptr.i.i487, %while.cond.i.i490 ]
%dest.addr.0.i.i486 = phi ptr [ %75, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i484 ], [ %incdec.ptr1.i.i488, %while.cond.i.i490 ]
%incdec.ptr.i.i487 = getelementptr inbounds i8, ptr %src.addr.0.i.i485, i64 1
%77 = load i8, ptr %src.addr.0.i.i485, align 1, !tbaa !46
%incdec.ptr1.i.i488 = getelementptr inbounds i8, ptr %dest.addr.0.i.i486, i64 1
store i8 %77, ptr %dest.addr.0.i.i486, align 1, !tbaa !46
%cmp.not.i.i489 = icmp eq i8 %77, 0
br i1 %cmp.not.i.i489, label %_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i491, label %while.cond.i.i490, !llvm.loop !52
_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i491: ; preds = %while.cond.i.i490
%78 = load i32, ptr %_length.i458, align 8, !tbaa !51
store i32 %78, ptr %_length.i.i457, align 8, !tbaa !51
br label %invoke.cont71
invoke.cont71: ; preds = %_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i491, %invoke.cont68
%Group = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 7
%cmp.i495 = icmp eq ptr %Group, %Group.i
br i1 %cmp.i495, label %invoke.cont74, label %if.end.i501
if.end.i501: ; preds = %invoke.cont71
store i32 0, ptr %_length.i.i496, align 8, !tbaa !51
%79 = load ptr, ptr %Group.i, align 8, !tbaa !45
store i8 0, ptr %79, align 1, !tbaa !46
%_length.i497 = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 7, i32 1
%80 = load i32, ptr %_length.i497, align 8, !tbaa !51
%add.i.i498 = add nsw i32 %80, 1
%81 = load i32, ptr %_capacity.i15.i, align 4, !tbaa !47
%cmp.i.i500 = icmp eq i32 %add.i.i498, %81
br i1 %cmp.i.i500, label %if.end._ZN11CStringBaseIcE11SetCapacityEi.exit_crit_edge.i503, label %if.end.i.i506
if.end._ZN11CStringBaseIcE11SetCapacityEi.exit_crit_edge.i503: ; preds = %if.end.i501
%.pre.i502 = load ptr, ptr %Group.i, align 8, !tbaa !45
br label %_ZN11CStringBaseIcE11SetCapacityEi.exit.i523
if.end.i.i506: ; preds = %if.end.i501
%conv.i.i504 = sext i32 %add.i.i498 to i64
%call.i.i532 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %conv.i.i504) #11
to label %call.i.i.noexc531 unwind label %lpad67
call.i.i.noexc531: ; preds = %if.end.i.i506
%call.i.i532779 = ptrtoint ptr %call.i.i532 to i64
%cmp3.i.i505 = icmp sgt i32 %81, 0
br i1 %cmp3.i.i505, label %for.cond.preheader.i.i508, label %if.end9.i.i522
for.cond.preheader.i.i508: ; preds = %call.i.i.noexc531
%82 = load i32, ptr %_length.i.i496, align 8, !tbaa !51
%cmp522.i.i507 = icmp sgt i32 %82, 0
%83 = load ptr, ptr %Group.i, align 8, !tbaa !45
br i1 %cmp522.i.i507, label %iter.check, label %for.cond.cleanup.i.i512
iter.check: ; preds = %for.cond.preheader.i.i508
%84 = ptrtoint ptr %83 to i64
%wide.trip.count.i.i509 = zext i32 %82 to i64
%min.iters.check = icmp ult i32 %82, 8
%85 = sub i64 %call.i.i532779, %84
%diff.check = icmp ult i64 %85, 32
%or.cond821 = select i1 %min.iters.check, i1 true, i1 %diff.check
br i1 %or.cond821, label %for.body.i.i518.preheader, label %vector.main.loop.iter.check
vector.main.loop.iter.check: ; preds = %iter.check
%min.iters.check780 = icmp ult i32 %82, 32
br i1 %min.iters.check780, label %vec.epilog.ph, label %vector.ph
vector.ph: ; preds = %vector.main.loop.iter.check
%n.vec = and i64 %wide.trip.count.i.i509, 4294967264
br label %vector.body
vector.body: ; preds = %vector.body, %vector.ph
%index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
%86 = getelementptr inbounds i8, ptr %83, i64 %index
%wide.load = load <16 x i8>, ptr %86, align 1, !tbaa !46
%87 = getelementptr inbounds i8, ptr %86, i64 16
%wide.load781 = load <16 x i8>, ptr %87, align 1, !tbaa !46
%88 = getelementptr inbounds i8, ptr %call.i.i532, i64 %index
store <16 x i8> %wide.load, ptr %88, align 1, !tbaa !46
%89 = getelementptr inbounds i8, ptr %88, i64 16
store <16 x i8> %wide.load781, ptr %89, align 1, !tbaa !46
%index.next = add nuw i64 %index, 32
%90 = icmp eq i64 %index.next, %n.vec
br i1 %90, label %middle.block, label %vector.body, !llvm.loop !60
middle.block: ; preds = %vector.body
%cmp.n = icmp eq i64 %n.vec, %wide.trip.count.i.i509
br i1 %cmp.n, label %delete.notnull.i.i519, label %vec.epilog.iter.check
vec.epilog.iter.check: ; preds = %middle.block
%n.vec.remaining = and i64 %wide.trip.count.i.i509, 24
%min.epilog.iters.check = icmp eq i64 %n.vec.remaining, 0
br i1 %min.epilog.iters.check, label %for.body.i.i518.preheader, label %vec.epilog.ph
vec.epilog.ph: ; preds = %vector.main.loop.iter.check, %vec.epilog.iter.check
%vec.epilog.resume.val = phi i64 [ %n.vec, %vec.epilog.iter.check ], [ 0, %vector.main.loop.iter.check ]
%n.vec783 = and i64 %wide.trip.count.i.i509, 4294967288
br label %vec.epilog.vector.body
vec.epilog.vector.body: ; preds = %vec.epilog.vector.body, %vec.epilog.ph
%index785 = phi i64 [ %vec.epilog.resume.val, %vec.epilog.ph ], [ %index.next787, %vec.epilog.vector.body ]
%91 = getelementptr inbounds i8, ptr %83, i64 %index785
%wide.load786 = load <8 x i8>, ptr %91, align 1, !tbaa !46
%92 = getelementptr inbounds i8, ptr %call.i.i532, i64 %index785
store <8 x i8> %wide.load786, ptr %92, align 1, !tbaa !46
%index.next787 = add nuw i64 %index785, 8
%93 = icmp eq i64 %index.next787, %n.vec783
br i1 %93, label %vec.epilog.middle.block, label %vec.epilog.vector.body, !llvm.loop !61
vec.epilog.middle.block: ; preds = %vec.epilog.vector.body
%cmp.n784 = icmp eq i64 %n.vec783, %wide.trip.count.i.i509
br i1 %cmp.n784, label %delete.notnull.i.i519, label %for.body.i.i518.preheader
for.body.i.i518.preheader: ; preds = %iter.check, %vec.epilog.iter.check, %vec.epilog.middle.block
%indvars.iv.i.i513.ph = phi i64 [ 0, %iter.check ], [ %n.vec, %vec.epilog.iter.check ], [ %n.vec783, %vec.epilog.middle.block ]
%94 = xor i64 %indvars.iv.i.i513.ph, -1
%95 = add nsw i64 %94, %wide.trip.count.i.i509
%xtraiter849 = and i64 %wide.trip.count.i.i509, 3
%lcmp.mod850.not = icmp eq i64 %xtraiter849, 0
br i1 %lcmp.mod850.not, label %for.body.i.i518.prol.loopexit, label %for.body.i.i518.prol
for.body.i.i518.prol: ; preds = %for.body.i.i518.preheader, %for.body.i.i518.prol
%indvars.iv.i.i513.prol = phi i64 [ %indvars.iv.next.i.i516.prol, %for.body.i.i518.prol ], [ %indvars.iv.i.i513.ph, %for.body.i.i518.preheader ]
%prol.iter851 = phi i64 [ %prol.iter851.next, %for.body.i.i518.prol ], [ 0, %for.body.i.i518.preheader ]
%arrayidx.i.i514.prol = getelementptr inbounds i8, ptr %83, i64 %indvars.iv.i.i513.prol
%96 = load i8, ptr %arrayidx.i.i514.prol, align 1, !tbaa !46
%arrayidx7.i.i515.prol = getelementptr inbounds i8, ptr %call.i.i532, i64 %indvars.iv.i.i513.prol
store i8 %96, ptr %arrayidx7.i.i515.prol, align 1, !tbaa !46
%indvars.iv.next.i.i516.prol = add nuw nsw i64 %indvars.iv.i.i513.prol, 1
%prol.iter851.next = add i64 %prol.iter851, 1
%prol.iter851.cmp.not = icmp eq i64 %prol.iter851.next, %xtraiter849
br i1 %prol.iter851.cmp.not, label %for.body.i.i518.prol.loopexit, label %for.body.i.i518.prol, !llvm.loop !62
for.body.i.i518.prol.loopexit: ; preds = %for.body.i.i518.prol, %for.body.i.i518.preheader
%indvars.iv.i.i513.unr = phi i64 [ %indvars.iv.i.i513.ph, %for.body.i.i518.preheader ], [ %indvars.iv.next.i.i516.prol, %for.body.i.i518.prol ]
%97 = icmp ult i64 %95, 3
br i1 %97, label %delete.notnull.i.i519, label %for.body.i.i518
for.cond.cleanup.i.i512: ; preds = %for.cond.preheader.i.i508
%isnull.i.i511 = icmp eq ptr %83, null
br i1 %isnull.i.i511, label %if.end9.i.i522, label %delete.notnull.i.i519
for.body.i.i518: ; preds = %for.body.i.i518.prol.loopexit, %for.body.i.i518
%indvars.iv.i.i513 = phi i64 [ %indvars.iv.next.i.i516.3, %for.body.i.i518 ], [ %indvars.iv.i.i513.unr, %for.body.i.i518.prol.loopexit ]
%arrayidx.i.i514 = getelementptr inbounds i8, ptr %83, i64 %indvars.iv.i.i513
%98 = load i8, ptr %arrayidx.i.i514, align 1, !tbaa !46
%arrayidx7.i.i515 = getelementptr inbounds i8, ptr %call.i.i532, i64 %indvars.iv.i.i513
store i8 %98, ptr %arrayidx7.i.i515, align 1, !tbaa !46
%indvars.iv.next.i.i516 = add nuw nsw i64 %indvars.iv.i.i513, 1
%arrayidx.i.i514.1 = getelementptr inbounds i8, ptr %83, i64 %indvars.iv.next.i.i516
%99 = load i8, ptr %arrayidx.i.i514.1, align 1, !tbaa !46
%arrayidx7.i.i515.1 = getelementptr inbounds i8, ptr %call.i.i532, i64 %indvars.iv.next.i.i516
store i8 %99, ptr %arrayidx7.i.i515.1, align 1, !tbaa !46
%indvars.iv.next.i.i516.1 = add nuw nsw i64 %indvars.iv.i.i513, 2
%arrayidx.i.i514.2 = getelementptr inbounds i8, ptr %83, i64 %indvars.iv.next.i.i516.1
%100 = load i8, ptr %arrayidx.i.i514.2, align 1, !tbaa !46
%arrayidx7.i.i515.2 = getelementptr inbounds i8, ptr %call.i.i532, i64 %indvars.iv.next.i.i516.1
store i8 %100, ptr %arrayidx7.i.i515.2, align 1, !tbaa !46
%indvars.iv.next.i.i516.2 = add nuw nsw i64 %indvars.iv.i.i513, 3
%arrayidx.i.i514.3 = getelementptr inbounds i8, ptr %83, i64 %indvars.iv.next.i.i516.2
%101 = load i8, ptr %arrayidx.i.i514.3, align 1, !tbaa !46
%arrayidx7.i.i515.3 = getelementptr inbounds i8, ptr %call.i.i532, i64 %indvars.iv.next.i.i516.2
store i8 %101, ptr %arrayidx7.i.i515.3, align 1, !tbaa !46
%indvars.iv.next.i.i516.3 = add nuw nsw i64 %indvars.iv.i.i513, 4
%exitcond.not.i.i517.3 = icmp eq i64 %indvars.iv.next.i.i516.3, %wide.trip.count.i.i509
br i1 %exitcond.not.i.i517.3, label %delete.notnull.i.i519, label %for.body.i.i518, !llvm.loop !63
delete.notnull.i.i519: ; preds = %for.body.i.i518.prol.loopexit, %for.body.i.i518, %middle.block, %vec.epilog.middle.block, %for.cond.cleanup.i.i512
call void @_ZdaPv(ptr noundef nonnull %83) #12
br label %if.end9.i.i522
if.end9.i.i522: ; preds = %delete.notnull.i.i519, %for.cond.cleanup.i.i512, %call.i.i.noexc531
store ptr %call.i.i532, ptr %Group.i, align 8, !tbaa !45
%102 = load i32, ptr %_length.i.i496, align 8, !tbaa !51
%idxprom13.i.i520 = sext i32 %102 to i64
%arrayidx14.i.i521 = getelementptr inbounds i8, ptr %call.i.i532, i64 %idxprom13.i.i520
store i8 0, ptr %arrayidx14.i.i521, align 1, !tbaa !46
store i32 %add.i.i498, ptr %_capacity.i15.i, align 4, !tbaa !47
br label %_ZN11CStringBaseIcE11SetCapacityEi.exit.i523
_ZN11CStringBaseIcE11SetCapacityEi.exit.i523: ; preds = %if.end9.i.i522, %if.end._ZN11CStringBaseIcE11SetCapacityEi.exit_crit_edge.i503
%103 = phi ptr [ %.pre.i502, %if.end._ZN11CStringBaseIcE11SetCapacityEi.exit_crit_edge.i503 ], [ %call.i.i532, %if.end9.i.i522 ]
%104 = load ptr, ptr %Group, align 8, !tbaa !45
br label %while.cond.i.i529
while.cond.i.i529: ; preds = %while.cond.i.i529, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i523
%src.addr.0.i.i524 = phi ptr [ %104, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i523 ], [ %incdec.ptr.i.i526, %while.cond.i.i529 ]
%dest.addr.0.i.i525 = phi ptr [ %103, %_ZN11CStringBaseIcE11SetCapacityEi.exit.i523 ], [ %incdec.ptr1.i.i527, %while.cond.i.i529 ]
%incdec.ptr.i.i526 = getelementptr inbounds i8, ptr %src.addr.0.i.i524, i64 1
%105 = load i8, ptr %src.addr.0.i.i524, align 1, !tbaa !46
%incdec.ptr1.i.i527 = getelementptr inbounds i8, ptr %dest.addr.0.i.i525, i64 1
store i8 %105, ptr %dest.addr.0.i.i525, align 1, !tbaa !46
%cmp.not.i.i528 = icmp eq i8 %105, 0
br i1 %cmp.not.i.i528, label %_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i530, label %while.cond.i.i529, !llvm.loop !52
_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i530: ; preds = %while.cond.i.i529
%106 = load i32, ptr %_length.i497, align 8, !tbaa !51
store i32 %106, ptr %_length.i.i496, align 8, !tbaa !51
br label %invoke.cont74
invoke.cont74: ; preds = %_Z12MyStringCopyIcEPT_S1_PKS0_.exit.i530, %invoke.cont71
%IsDir = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 10
%107 = load i8, ptr %IsDir, align 2, !tbaa !64, !range !21, !noundef !22
%tobool76.not = icmp eq i8 %107, 0
br i1 %tobool76.not, label %if.else79, label %if.then77
if.then77: ; preds = %invoke.cont74
store i8 53, ptr %LinkFlag, align 8, !tbaa !65
br label %if.end83
lpad61: ; preds = %cleanup.cont56
%108 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup297
lpad67: ; preds = %if.end.i.i506, %if.end.i.i467, %if.end.i.i451, %if.else84
%109 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup295
if.else79: ; preds = %invoke.cont74
store i8 48, ptr %LinkFlag, align 8, !tbaa !65
%Size81 = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 4
%110 = load i64, ptr %Size81, align 8, !tbaa !23
br label %if.end83
if.end83: ; preds = %if.else79, %if.then77
%storemerge = phi i64 [ 0, %if.then77 ], [ %110, %if.else79 ]
store i64 %storemerge, ptr %Size78, align 8, !tbaa !28
%Time = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 2
%111 = load i32, ptr %Time, align 8, !tbaa !66
store i32 %111, ptr %MTime, align 4, !tbaa !67
store i8 0, ptr %DeviceMajorDefined, align 1, !tbaa !68
store i8 0, ptr %DeviceMinorDefined, align 2, !tbaa !69
store i32 0, ptr %UID, align 4, !tbaa !70
store i32 0, ptr %GID, align 8, !tbaa !71
%112 = load ptr, ptr @_ZN8NArchive4NTar11NFileHeader6NMagic6kEmptyE, align 8, !tbaa !15
%113 = load i64, ptr %112, align 1
store i64 %113, ptr %Magic, align 8
br label %if.end90
if.else84: ; preds = %_ZN8NArchive4NTar5CItemC2Ev.exit
%114 = load i32, ptr %37, align 8, !tbaa !24
%115 = load ptr, ptr %_items.i.i534, align 8, !tbaa !14
%idxprom.i.i535 = sext i32 %114 to i64
%arrayidx.i.i536 = getelementptr inbounds ptr, ptr %115, i64 %idxprom.i.i535
%116 = load ptr, ptr %arrayidx.i.i536, align 8, !tbaa !15
%call89 = invoke noundef nonnull align 8 dereferenceable(107) ptr @_ZN8NArchive4NTar5CItemaSERKS1_(ptr noundef nonnull align 8 dereferenceable(107) %item, ptr noundef nonnull align 8 dereferenceable(107) %116)
to label %if.end90 unwind label %lpad67
if.end90: ; preds = %if.else84, %if.end83
%NewData91 = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 8
%117 = load i8, ptr %NewData91, align 8, !tbaa !16, !range !21, !noundef !22
%tobool92.not = icmp eq i8 %117, 0
br i1 %tobool92.not, label %if.else197, label %if.then93
if.then93: ; preds = %if.end90
%Size94 = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 4
%118 = load i64, ptr %Size94, align 8, !tbaa !23
store i64 %118, ptr %Size78, align 8, !tbaa !28
%cmp97 = icmp eq i64 %118, -1
br i1 %cmp97, label %cleanup294, label %if.then109
if.then109: ; preds = %if.then93
call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %fileInStream) #10
store ptr null, ptr %fileInStream, align 8, !tbaa !35
%IndexInClient = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 1
%119 = load i32, ptr %IndexInClient, align 4, !tbaa !72
%vtable115 = load ptr, ptr %updateCallback, align 8, !tbaa !31
%vfn116 = getelementptr inbounds ptr, ptr %vtable115, i64 9
%120 = load ptr, ptr %vfn116, align 8
%call118 = invoke noundef i32 %120(ptr noundef nonnull align 8 dereferenceable(8) %updateCallback, i32 noundef %119, ptr noundef nonnull %fileInStream)
to label %invoke.cont117 unwind label %lpad112
invoke.cont117: ; preds = %if.then109
%cmp119.not = icmp eq i32 %call118, 1
br i1 %cmp119.not, label %if.end175, label %if.then120
if.then120: ; preds = %invoke.cont117
%cmp122.not = icmp eq i32 %call118, 0
%retval.1.call50.call118 = select i1 %cmp122.not, i32 %retval.1.call50, i32 %call118
br i1 %cmp122.not, label %cleanup.cont127, label %cleanup190
lpad112: ; preds = %if.then109
%121 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup
cleanup.cont127: ; preds = %if.then120
%call131 = invoke noundef i32 @_ZN8NArchive4NTar11COutArchive11WriteHeaderERKNS0_5CItemE(ptr noundef nonnull align 8 dereferenceable(8) %outArchive, ptr noundef nonnull align 8 dereferenceable(107) %item)
to label %invoke.cont130 unwind label %lpad129
invoke.cont130: ; preds = %cleanup.cont127
%cmp132.not = icmp eq i32 %call131, 0
%retval.1.call50.call118.call131 = select i1 %cmp132.not, i32 %retval.1.call50.call118, i32 %call131
br i1 %cmp132.not, label %cleanup.cont137, label %cleanup190
lpad129: ; preds = %cleanup.cont127
%122 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup
cleanup.cont137: ; preds = %invoke.cont130
%IsDir138 = getelementptr inbounds %"struct.NArchive::NTar::CUpdateItem", ptr %37, i64 0, i32 10
%123 = load i8, ptr %IsDir138, align 2, !tbaa !64, !range !21, !noundef !22
%tobool139.not = icmp eq i8 %123, 0
br i1 %tobool139.not, label %if.then140, label %if.end175
if.then140: ; preds = %cleanup.cont137
%124 = load ptr, ptr %fileInStream, align 8, !tbaa !35
%vtable149 = load ptr, ptr %call19, align 8, !tbaa !31
%vfn150 = getelementptr inbounds ptr, ptr %vtable149, i64 5
%125 = load ptr, ptr %vfn150, align 8
%call152 = invoke noundef i32 %125(ptr noundef nonnull align 8 dereferenceable(8) %call19, ptr noundef %124, ptr noundef %outStream, ptr noundef null, ptr noundef null, ptr noundef nonnull %call26)
to label %invoke.cont151 unwind label %lpad142
invoke.cont151: ; preds = %if.then140
%cmp153.not = icmp eq i32 %call152, 0
br i1 %cmp153.not, label %cleanup.cont158, label %cleanup190
lpad142: ; preds = %if.then140
%126 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup
cleanup.cont158: ; preds = %invoke.cont151
%127 = load i64, ptr %TotalSize, align 8, !tbaa !73
%128 = load i64, ptr %Size78, align 8, !tbaa !28
%cmp160.not = icmp eq i64 %127, %128
br i1 %cmp160.not, label %if.end162, label %cleanup190
if.end162: ; preds = %cleanup.cont158
%call167 = invoke noundef i32 @_ZN8NArchive4NTar11COutArchive16FillDataResidualEy(ptr noundef nonnull align 8 dereferenceable(8) %outArchive, i64 noundef %127)
to label %invoke.cont166 unwind label %lpad165
invoke.cont166: ; preds = %if.end162
%cmp168.not = icmp eq i32 %call167, 0
br i1 %cmp168.not, label %if.end175, label %cleanup190
lpad165: ; preds = %if.end162
%129 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup
if.end175: ; preds = %cleanup.cont137, %invoke.cont166, %invoke.cont117
%retval.7 = phi i32 [ %retval.1.call50, %cleanup.cont137 ], [ %retval.1.call50.call118.call131, %invoke.cont166 ], [ %retval.1.call50, %invoke.cont117 ]
%130 = load i64, ptr %Size94, align 8, !tbaa !23
%vtable179 = load ptr, ptr %updateCallback, align 8, !tbaa !31
%vfn180 = getelementptr inbounds ptr, ptr %vtable179, i64 10
%131 = load ptr, ptr %vfn180, align 8
%call183 = invoke noundef i32 %131(ptr noundef nonnull align 8 dereferenceable(8) %updateCallback, i32 noundef 0)
to label %invoke.cont182 unwind label %lpad181
invoke.cont182: ; preds = %if.end175
%add177 = add i64 %130, %complexity.2687
%cmp184.not = icmp ne i32 %call183, 0
%. = zext i1 %cmp184.not to i32
%retval.7.call183 = select i1 %cmp184.not, i32 %call183, i32 %retval.7
br label %cleanup190
lpad181: ; preds = %if.end175
%132 = landingpad { ptr, i32 }
cleanup
br label %ehcleanup
cleanup190: ; preds = %cleanup.cont158, %invoke.cont182, %invoke.cont166, %invoke.cont151, %invoke.cont130, %if.then120
%cleanup.dest.slot.7 = phi i32 [ %., %invoke.cont182 ], [ 1, %invoke.cont166 ], [ 1, %invoke.cont151 ], [ 1, %invoke.cont130 ], [ 1, %if.then120 ], [ 1, %cleanup.cont158 ]
%complexity.3 = phi i64 [ %add177, %invoke.cont182 ], [ %complexity.2687, %invoke.cont166 ], [ %complexity.2687, %invoke.cont151 ], [ %complexity.2687, %invoke.cont130 ], [ %complexity.2687, %if.then120 ], [ %complexity.2687, %cleanup.cont158 ]
%retval.9 = phi i32 [ %retval.7.call183, %invoke.cont182 ], [ %call167, %invoke.cont166 ], [ %call152, %invoke.cont151 ], [ %call131, %invoke.cont130 ], [ %call118, %if.then120 ], [ -2147467259, %cleanup.cont158 ]
%133 = load ptr, ptr %fileInStream, align 8, !tbaa !35
%tobool.not.i = icmp eq ptr %133, null
br i1 %tobool.not.i, label %_ZN9CMyComPtrI19ISequentialInStreamED2Ev.exit, label %if.then.i
if.then.i: ; preds = %cleanup190
%vtable.i540 = load ptr, ptr %133, align 8, !tbaa !31
%vfn.i541 = getelementptr inbounds ptr, ptr %vtable.i540, i64 2
%134 = load ptr, ptr %vfn.i541, align 8
%call.i = invoke noundef i32 %134(ptr noundef nonnull align 8 dereferenceable(8) %133)
to label %_ZN9CMyComPtrI19ISequentialInStreamED2Ev.exit unwind label %terminate.lpad.i
terminate.lpad.i: ; preds = %if.then.i
%135 = landingpad { ptr, i32 }
catch ptr null
%136 = extractvalue { ptr, i32 } %135, 0
call void @__clang_call_terminate(ptr %136) #13
unreachable
_ZN9CMyComPtrI19ISequentialInStreamED2Ev.exit: ; preds = %cleanup190, %if.then.i
call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %fileInStream) #10
%cond343 = icmp eq i32 %cleanup.dest.slot.7, 0
br i1 %cond343, label %if.end293, label %cleanup294
ehcleanup: ; preds = %lpad181, %lpad165, %lpad142, %lpad129, %lpad112
%.pn632 = phi { ptr, i32 } [ %132, %lpad181 ], [ %129, %lpad165 ], [ %126, %lpad142 ], [ %122, %lpad129 ], [ %121, %lpad112 ]
%137 = load ptr, ptr %fileInStream, align 8, !tbaa !35
%tobool.not.i543 = icmp eq ptr %137, null
br i1 %tobool.not.i543, label %_ZN9CMyComPtrI19ISequentialInStreamED2Ev.exit550, label %if.then.i547
if.then.i547: ; preds = %ehcleanup
%vtable.i544 = load ptr, ptr %137, align 8, !tbaa !31
%vfn.i545 = getelementptr inbounds ptr, ptr %vtable.i544, i64 2
%138 = load ptr, ptr %vfn.i545, align 8
%call.i546 = invoke noundef i32 %138(ptr noundef nonnull align 8 dereferenceable(8) %137)
to label %_ZN9CMyComPtrI19ISequentialInStreamED2Ev.exit550 unwind label %terminate.lpad.i549
terminate.lpad.i549: ; preds = %if.then.i547
%139 = landingpad { ptr, i32 }
catch ptr null
%140 = extractvalue { ptr, i32 } %139, 0