; LLVM IR from SSBMTonberry/pocketlzma :: ref_spec/lzma1900/CPP/7zip/Compress (PpmdEncoder)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.NCompress::NPpmd::CEncProps" = type { i32, i32, i32 }
%struct.tagPROPVARIANT = type { i16, i16, i16, i16, %union.anon }
%union.anon = type { %struct._LARGE_INTEGER }
%struct._LARGE_INTEGER = type { i64 }
%struct._ULARGE_INTEGER = type { i64 }
%"class.NCompress::NPpmd::CEncoder" = type <{ %struct.ICompressCoder, %struct.ICompressSetCoderProperties, %struct.ICompressWriteCoderProperties, %class.CMyUnknownImp, [4 x i8], ptr, %struct.CByteOutBufWrap, %struct.CPpmd7z_RangeEnc, %struct.CPpmd7, %"struct.NCompress::NPpmd::CEncProps", [4 x i8] }>
%struct.ICompressCoder = type { %struct.IUnknown }
%struct.IUnknown = type { ptr }
%struct.ICompressSetCoderProperties = type { %struct.IUnknown }
%struct.ICompressWriteCoderProperties = type { %struct.IUnknown }
%class.CMyUnknownImp = type { i32 }
%struct.CByteOutBufWrap = type <{ %struct.IByteOut, ptr, ptr, ptr, i64, ptr, i64, i32, [4 x i8] }>
%struct.IByteOut = type { ptr }
%struct.CPpmd7z_RangeEnc = type { i64, i32, i8, i64, ptr }
%struct.CPpmd7 = type { ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, i32, [38 x i8], [128 x i8], [38 x i32], [256 x i8], [256 x i8], [256 x i8], %struct.CPpmd_See, [25 x [16 x %struct.CPpmd_See]], [128 x [64 x i16]] }
%struct.CPpmd_See = type { i16, i8, i8 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9NCompress5NPpmd9CEncProps9NormalizeEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #0 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9NCompress5NPpmd9CEncPropsC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN9NCompress5NPpmd8CEncoder18SetCoderPropertiesEPKjPK14tagPROPVARIANTj(ptr noundef nonnull align 8 dereferenceable(19332) %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) unnamed_addr #2 align 2 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.NCompress::NPpmd::CEncProps", align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  %17 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 -1, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %11) #4
  call void @_ZN9NCompress5NPpmd9CEncPropsC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %18

18:                                               ; preds = %105, %4
  %19 = load i32, ptr %12, align 4, !tbaa !9
  %20 = load i32, ptr %9, align 4, !tbaa !9
  %21 = icmp ult i32 %19, %20
  br i1 %21, label %23, label %22

22:                                               ; preds = %18
  store i32 2, ptr %13, align 4
  br label %108

23:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %24 = load ptr, ptr %8, align 8, !tbaa !5
  %25 = load i32, ptr %12, align 4, !tbaa !9
  %26 = zext i32 %25 to i64
  %27 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %24, i64 %26
  store ptr %27, ptr %14, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = load i32, ptr %12, align 4, !tbaa !9
  %30 = zext i32 %29 to i64
  %31 = getelementptr inbounds i32, ptr %28, i64 %30
  %32 = load i32, ptr %31, align 4, !tbaa !9
  store i32 %32, ptr %15, align 4, !tbaa !9
  %33 = load i32, ptr %15, align 4, !tbaa !9
  %34 = icmp ugt i32 %33, 16
  br i1 %34, label %35, label %36

35:                                               ; preds = %23
  store i32 4, ptr %13, align 4
  br label %102

36:                                               ; preds = %23
  %37 = load i32, ptr %15, align 4, !tbaa !9
  %38 = icmp eq i32 %37, 16
  br i1 %38, label %39, label %59

39:                                               ; preds = %36
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %40, i32 0, i32 0
  %42 = load i16, ptr %41, align 8, !tbaa !11
  %43 = zext i16 %42 to i32
  %44 = icmp eq i32 %43, 21
  br i1 %44, label %45, label %58

45:                                               ; preds = %39
  %46 = load ptr, ptr %14, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %46, i32 0, i32 4
  %48 = getelementptr inbounds %struct._ULARGE_INTEGER, ptr %47, i32 0, i32 0
  %49 = load i64, ptr %48, align 8, !tbaa !14
  %50 = icmp ult i64 %49, 4294967295
  br i1 %50, label %51, label %58

51:                                               ; preds = %45
  %52 = load ptr, ptr %14, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %52, i32 0, i32 4
  %54 = getelementptr inbounds %struct._ULARGE_INTEGER, ptr %53, i32 0, i32 0
  %55 = load i64, ptr %54, align 8, !tbaa !14
  %56 = trunc i64 %55 to i32
  %57 = getelementptr inbounds %"struct.NCompress::NPpmd::CEncProps", ptr %11, i32 0, i32 1
  store i32 %56, ptr %57, align 4, !tbaa !15
  br label %58

58:                                               ; preds = %51, %45, %39
  store i32 4, ptr %13, align 4
  br label %102

59:                                               ; preds = %36
  %60 = load ptr, ptr %14, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %60, i32 0, i32 0
  %62 = load i16, ptr %61, align 8, !tbaa !11
  %63 = zext i16 %62 to i32
  %64 = icmp ne i32 %63, 19
  br i1 %64, label %65, label %66

65:                                               ; preds = %59
  store i32 -2147024809, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %102

66:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %67 = load ptr, ptr %14, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %67, i32 0, i32 4
  %69 = load i32, ptr %68, align 8, !tbaa !14
  store i32 %69, ptr %16, align 4, !tbaa !9
  %70 = load i32, ptr %15, align 4, !tbaa !9
  switch i32 %70, label %99 [
    i32 2, label %71
    i32 3, label %85
    i32 13, label %100
    i32 15, label %97
  ]

71:                                               ; preds = %66
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = icmp ult i32 %72, 65536
  br i1 %73, label %81, label %74

74:                                               ; preds = %71
  %75 = load i32, ptr %16, align 4, !tbaa !9
  %76 = icmp ugt i32 %75, -37
  br i1 %76, label %81, label %77

77:                                               ; preds = %74
  %78 = load i32, ptr %16, align 4, !tbaa !9
  %79 = and i32 %78, 3
  %80 = icmp ne i32 %79, 0
  br i1 %80, label %81, label %82

81:                                               ; preds = %77, %74, %71
  store i32 -2147024809, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %101

82:                                               ; preds = %77
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = getelementptr inbounds %"struct.NCompress::NPpmd::CEncProps", ptr %11, i32 0, i32 0
  store i32 %83, ptr %84, align 4, !tbaa !17
  br label %100

85:                                               ; preds = %66
  %86 = load i32, ptr %16, align 4, !tbaa !9
  %87 = icmp ult i32 %86, 2
  br i1 %87, label %91, label %88

88:                                               ; preds = %85
  %89 = load i32, ptr %16, align 4, !tbaa !9
  %90 = icmp ugt i32 %89, 32
  br i1 %90, label %91, label %92

91:                                               ; preds = %88, %85
  store i32 -2147024809, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %101

92:                                               ; preds = %88
  %93 = load i32, ptr %16, align 4, !tbaa !9
  %94 = trunc i32 %93 to i8
  %95 = zext i8 %94 to i32
  %96 = getelementptr inbounds %"struct.NCompress::NPpmd::CEncProps", ptr %11, i32 0, i32 2
  store i32 %95, ptr %96, align 4, !tbaa !18
  br label %100

97:                                               ; preds = %66
  %98 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %98, ptr %10, align 4, !tbaa !9
  br label %100

99:                                               ; preds = %66
  store i32 -2147024809, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %101

100:                                              ; preds = %97, %92, %82, %66
  store i32 0, ptr %13, align 4
  br label %101

101:                                              ; preds = %100, %99, %91, %81
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %102

102:                                              ; preds = %101, %65, %58, %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  %103 = load i32, ptr %13, align 4
  switch i32 %103, label %108 [
    i32 0, label %104
    i32 4, label %105
  ]

104:                                              ; preds = %102
  br label %105

105:                                              ; preds = %104, %102
  %106 = load i32, ptr %12, align 4, !tbaa !9
  %107 = add i32 %106, 1
  store i32 %107, ptr %12, align 4, !tbaa !9
  br label %18, !llvm.loop !19

108:                                              ; preds = %102, %22
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %109 = load i32, ptr %13, align 4
  switch i32 %109, label %113 [
    i32 2, label %110
  ]

110:                                              ; preds = %108
  %111 = load i32, ptr %10, align 4, !tbaa !9
  call void @_ZN9NCompress5NPpmd9CEncProps9NormalizeEi(ptr noundef nonnull align 4 dereferenceable(12) %11, i32 noundef %111)
  %112 = getelementptr inbounds %"class.NCompress::NPpmd::CEncoder", ptr %17, i32 0, i32 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %112, ptr align 4 %11, i64 12, i1 false), !tbaa.struct !21
  store i32 0, ptr %5, align 4
  store i32 1, ptr %13, align 4
  br label %113

113:                                              ; preds = %110, %108
  call void @llvm.lifetime.end.p0(i64 12, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  %114 = load i32, ptr %5, align 4
  ret i32 %114
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS14tagPROPVARIANT", !13, i64 0, !13, i64 2, !13, i64 4, !13, i64 6, !7, i64 8}
!13 = !{!"short", !7, i64 0}
!14 = !{!7, !7, i64 0}
!15 = !{!16, !10, i64 4}
!16 = !{!"_ZTSN9NCompress5NPpmd9CEncPropsE", !10, i64 0, !10, i64 4, !10, i64 8}
!17 = !{!16, !10, i64 0}
!18 = !{!16, !10, i64 8}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.NCompress::NPpmd::CEncProps" = type { i32, i32, i32 }
%struct.tagPROPVARIANT = type { i16, i16, i16, i16, %union.anon }
%union.anon = type { %struct._LARGE_INTEGER }
%struct._LARGE_INTEGER = type { i64 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9NCompress5NPpmd9CEncProps9NormalizeEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN9NCompress5NPpmd9CEncPropsC2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @_ZN9NCompress5NPpmd8CEncoder18SetCoderPropertiesEPKjPK14tagPROPVARIANTj(ptr nocapture noundef nonnull writeonly align 8 dereferenceable(19332) %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) unnamed_addr #0 align 2 {
  %5 = alloca %"struct.NCompress::NPpmd::CEncProps", align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #3
  call void @_ZN9NCompress5NPpmd9CEncPropsC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5)
  %.not4453.not = icmp eq i32 %3, 0
  br i1 %.not4453.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %4
  %6 = getelementptr inbounds i8, ptr %5, i64 8
  %7 = getelementptr inbounds i8, ptr %5, i64 4
  %wide.trip.count = zext i32 %3 to i64
  br label %8

8:                                                ; preds = %.lr.ph, %36
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %36 ]
  %.03055 = phi i32 [ -1, %.lr.ph ], [ %.333.ph, %36 ]
  %9 = getelementptr inbounds %struct.tagPROPVARIANT, ptr %2, i64 %indvars.iv
  %10 = getelementptr inbounds i32, ptr %1, i64 %indvars.iv
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = icmp ugt i32 %11, 16
  br i1 %12, label %36, label %13

13:                                               ; preds = %8
  %14 = icmp eq i32 %11, 16
  %15 = load i16, ptr %9, align 8, !tbaa !9
  br i1 %14, label %16, label %24

16:                                               ; preds = %13
  %17 = icmp eq i16 %15, 21
  br i1 %17, label %18, label %36

18:                                               ; preds = %16
  %19 = getelementptr inbounds i8, ptr %9, i64 8
  %20 = load i64, ptr %19, align 8, !tbaa !12
  %21 = icmp ult i64 %20, 4294967295
  br i1 %21, label %22, label %36

22:                                               ; preds = %18
  %23 = trunc nuw i64 %20 to i32
  store i32 %23, ptr %7, align 4, !tbaa !13
  br label %36

24:                                               ; preds = %13
  %.not = icmp eq i16 %15, 19
  br i1 %.not, label %25, label %.thread50

25:                                               ; preds = %24
  %26 = getelementptr inbounds i8, ptr %9, i64 8
  %27 = load i32, ptr %26, align 8, !tbaa !12
  switch i32 %11, label %.thread50 [
    i32 2, label %28
    i32 3, label %32
    i32 13, label %35
    i32 15, label %36
  ]

28:                                               ; preds = %25
  %29 = add i32 %27, -65536
  %or.cond = icmp ult i32 %29, -65572
  %30 = and i32 %27, 3
  %.not43 = icmp eq i32 %30, 0
  %or.cond45 = and i1 %or.cond, %.not43
  br i1 %or.cond45, label %31, label %.thread50

31:                                               ; preds = %28
  store i32 %27, ptr %5, align 4, !tbaa !15
  br label %36

32:                                               ; preds = %25
  %33 = add i32 %27, -33
  %or.cond3 = icmp ult i32 %33, -31
  br i1 %or.cond3, label %.thread50, label %34

34:                                               ; preds = %32
  store i32 %27, ptr %6, align 4, !tbaa !16
  br label %36

35:                                               ; preds = %25
  br label %36

36:                                               ; preds = %25, %8, %22, %18, %16, %34, %31, %35
  %.333.ph = phi i32 [ %.03055, %35 ], [ %.03055, %31 ], [ %.03055, %34 ], [ %.03055, %16 ], [ %.03055, %18 ], [ %.03055, %22 ], [ %.03055, %8 ], [ %27, %25 ]
  %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 %._crit_edge, label %8, !llvm.loop !17

._crit_edge:                                      ; preds = %36, %4
  %.030.lcssa = phi i32 [ -1, %4 ], [ %.333.ph, %36 ]
  call void @_ZN9NCompress5NPpmd9CEncProps9NormalizeEi(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef %.030.lcssa)
  %37 = getelementptr inbounds i8, ptr %0, i64 19320
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(12) %37, ptr noundef nonnull align 4 dereferenceable(12) %5, i64 12, i1 false), !tbaa.struct !19
  br label %.thread50

.thread50:                                        ; preds = %28, %32, %25, %24, %._crit_edge
  %.4 = phi i32 [ 0, %._crit_edge ], [ -2147024809, %24 ], [ -2147024809, %25 ], [ -2147024809, %32 ], [ -2147024809, %28 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #3
  ret i32 %.4
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTS14tagPROPVARIANT", !11, i64 0, !11, i64 2, !11, i64 4, !11, i64 6, !7, i64 8}
!11 = !{!"short", !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !6, i64 4}
!14 = !{!"_ZTSN9NCompress5NPpmd9CEncPropsE", !6, i64 0, !6, i64 4, !6, i64 8}
!15 = !{!14, !6, i64 0}
!16 = !{!14, !6, i64 8}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass