; LLVM IR from Nigh/Basic-Compression-Library :: src (shannonfano)

; 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.sf_sym_t = type { i32, i32, i32, i32 }
%struct.sf_bitstream_t = type { ptr, i32 }

; Function Attrs: nounwind uwtable
define dso_local i32 @SF_Compress(ptr noundef %0, ptr noundef %1, i32 noundef %2) #0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca [256 x %struct.sf_sym_t], align 16
  %9 = alloca %struct.sf_sym_t, align 4
  %10 = alloca %struct.sf_bitstream_t, align 8
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i32 %2, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4096, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  %17 = load i32, ptr %7, align 4, !tbaa !9
  %18 = icmp ult i32 %17, 1
  br i1 %18, label %19, label %20

19:                                               ; preds = %3
  store i32 0, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %126

20:                                               ; preds = %3
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_SF_InitBitstream(ptr noundef %10, ptr noundef %21)
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 0
  %24 = load i32, ptr %7, align 4, !tbaa !9
  call void @_SF_Hist(ptr noundef %22, ptr noundef %23, i32 noundef %24)
  store i32 255, ptr %15, align 4, !tbaa !9
  br label %25

25:                                               ; preds = %33, %20
  %26 = load i32, ptr %15, align 4, !tbaa !9
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %27
  %29 = getelementptr inbounds %struct.sf_sym_t, ptr %28, i32 0, i32 1
  %30 = load i32, ptr %29, align 4, !tbaa !11
  %31 = icmp eq i32 %30, 0
  br i1 %31, label %32, label %36

32:                                               ; preds = %25
  br label %33

33:                                               ; preds = %32
  %34 = load i32, ptr %15, align 4, !tbaa !9
  %35 = add i32 %34, -1
  store i32 %35, ptr %15, align 4, !tbaa !9
  br label %25, !llvm.loop !13

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

39:                                               ; preds = %36
  %40 = load i32, ptr %15, align 4, !tbaa !9
  %41 = add i32 %40, 1
  store i32 %41, ptr %15, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %39, %36
  %43 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 0
  %44 = load i32, ptr %15, align 4, !tbaa !9
  call void @_SF_MakeTree(ptr noundef %43, ptr noundef %10, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %44)
  br label %45

45:                                               ; preds = %82, %42
  store i32 0, ptr %13, align 4, !tbaa !9
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %78, %45
  %47 = load i32, ptr %11, align 4, !tbaa !9
  %48 = icmp ult i32 %47, 255
  br i1 %48, label %49, label %81

49:                                               ; preds = %46
  %50 = load i32, ptr %11, align 4, !tbaa !9
  %51 = zext i32 %50 to i64
  %52 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %51
  %53 = getelementptr inbounds %struct.sf_sym_t, ptr %52, i32 0, i32 0
  %54 = load i32, ptr %53, align 16, !tbaa !15
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = add i32 %55, 1
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %57
  %59 = getelementptr inbounds %struct.sf_sym_t, ptr %58, i32 0, i32 0
  %60 = load i32, ptr %59, align 16, !tbaa !15
  %61 = icmp ugt i32 %54, %60
  br i1 %61, label %62, label %77

62:                                               ; preds = %49
  %63 = load i32, ptr %11, align 4, !tbaa !9
  %64 = zext i32 %63 to i64
  %65 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %64
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %9, ptr align 16 %65, i64 16, i1 false), !tbaa.struct !16
  %66 = load i32, ptr %11, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %67
  %69 = load i32, ptr %11, align 4, !tbaa !9
  %70 = add i32 %69, 1
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %71
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %68, ptr align 16 %72, i64 16, i1 false), !tbaa.struct !16
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = add i32 %73, 1
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %75
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %76, ptr align 4 %9, i64 16, i1 false), !tbaa.struct !16
  store i32 1, ptr %13, align 4, !tbaa !9
  br label %77

77:                                               ; preds = %62, %49
  br label %78

78:                                               ; preds = %77
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = add i32 %79, 1
  store i32 %80, ptr %11, align 4, !tbaa !9
  br label %46, !llvm.loop !17

81:                                               ; preds = %46
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %13, align 4, !tbaa !9
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %45, label %85, !llvm.loop !18

85:                                               ; preds = %82
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %107, %85
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = load i32, ptr %7, align 4, !tbaa !9
  %89 = icmp ult i32 %87, %88
  br i1 %89, label %90, label %110

90:                                               ; preds = %86
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds i8, ptr %91, i64 %93
  %95 = load i8, ptr %94, align 1, !tbaa !19
  %96 = zext i8 %95 to i32
  store i32 %96, ptr %14, align 4, !tbaa !9
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %98
  %100 = getelementptr inbounds %struct.sf_sym_t, ptr %99, i32 0, i32 2
  %101 = load i32, ptr %100, align 8, !tbaa !20
  %102 = load i32, ptr %14, align 4, !tbaa !9
  %103 = zext i32 %102 to i64
  %104 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %8, i64 0, i64 %103
  %105 = getelementptr inbounds %struct.sf_sym_t, ptr %104, i32 0, i32 3
  %106 = load i32, ptr %105, align 4, !tbaa !21
  call void @_SF_WriteBits(ptr noundef %10, i32 noundef %101, i32 noundef %106)
  br label %107

107:                                              ; preds = %90
  %108 = load i32, ptr %11, align 4, !tbaa !9
  %109 = add i32 %108, 1
  store i32 %109, ptr %11, align 4, !tbaa !9
  br label %86, !llvm.loop !22

110:                                              ; preds = %86
  %111 = getelementptr inbounds %struct.sf_bitstream_t, ptr %10, i32 0, i32 0
  %112 = load ptr, ptr %111, align 8, !tbaa !23
  %113 = load ptr, ptr %6, align 8, !tbaa !5
  %114 = ptrtoint ptr %112 to i64
  %115 = ptrtoint ptr %113 to i64
  %116 = sub i64 %114, %115
  %117 = trunc i64 %116 to i32
  store i32 %117, ptr %12, align 4, !tbaa !9
  %118 = getelementptr inbounds %struct.sf_bitstream_t, ptr %10, i32 0, i32 1
  %119 = load i32, ptr %118, align 8, !tbaa !25
  %120 = icmp ugt i32 %119, 0
  br i1 %120, label %121, label %124

121:                                              ; preds = %110
  %122 = load i32, ptr %12, align 4, !tbaa !9
  %123 = add i32 %122, 1
  store i32 %123, ptr %12, align 4, !tbaa !9
  br label %124

124:                                              ; preds = %121, %110
  %125 = load i32, ptr %12, align 4, !tbaa !9
  store i32 %125, ptr %4, align 4
  store i32 1, ptr %16, align 4
  br label %126

126:                                              ; preds = %124, %19
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4096, ptr %8) #3
  %127 = load i32, ptr %4, align 4
  ret i32 %127
}

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

; Function Attrs: nounwind uwtable
declare hidden void @_SF_InitBitstream(ptr noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @_SF_Hist(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare hidden void @_SF_MakeTree(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; 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) #2

; Function Attrs: nounwind uwtable
declare hidden void @_SF_WriteBits(ptr noundef, i32 noundef, i32 noundef) #0

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

attributes #0 = { 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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!12, !10, i64 0}
!16 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = !{!7, !7, i64 0}
!20 = !{!12, !10, i64 8}
!21 = !{!12, !10, i64 12}
!22 = distinct !{!22, !14}
!23 = !{!24, !6, i64 0}
!24 = !{!"", !6, i64 0, !10, i64 8}
!25 = !{!24, !10, i64 8}


; 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.sf_sym_t = type { i32, i32, i32, i32 }
%struct.sf_bitstream_t = type { ptr, i32 }

; Function Attrs: nounwind uwtable
define dso_local i32 @SF_Compress(ptr noundef %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = alloca [256 x %struct.sf_sym_t], align 16
  %5 = alloca %struct.sf_sym_t, align 4
  %6 = alloca %struct.sf_bitstream_t, align 8
  call void @llvm.lifetime.start.p0(i64 4096, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #4
  %7 = icmp eq i32 %2, 0
  br i1 %7, label %42, label %8

8:                                                ; preds = %3
  call void @_SF_InitBitstream(ptr noundef nonnull %6, ptr noundef %1)
  call void @_SF_Hist(ptr noundef %0, ptr noundef nonnull %4, i32 noundef %2)
  br label %9

9:                                                ; preds = %9, %8
  %.0 = phi i32 [ 255, %8 ], [ %14, %9 ]
  %10 = zext i32 %.0 to i64
  %11 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %4, i64 0, i64 %10, i32 1
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = icmp eq i32 %12, 0
  %14 = add i32 %.0, -1
  br i1 %13, label %9, label %15, !llvm.loop !10

15:                                               ; preds = %9
  %spec.select = call i32 @llvm.umax.i32(i32 %.0, i32 1)
  call void @_SF_MakeTree(ptr noundef nonnull %4, ptr noundef nonnull %6, i32 noundef 0, i32 noundef 0, i32 noundef 0, i32 noundef %spec.select)
  br label %16

16:                                               ; preds = %.backedge, %15
  %indvars.iv = phi i64 [ 0, %15 ], [ %indvars.iv.be, %.backedge ]
  %.02938 = phi i32 [ 0, %15 ], [ %.02938.be, %.backedge ]
  %17 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %4, i64 0, i64 %indvars.iv
  %18 = load i32, ptr %17, align 16, !tbaa !12
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %19 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %4, i64 0, i64 %indvars.iv.next
  %20 = load i32, ptr %19, align 16, !tbaa !12
  %21 = icmp ugt i32 %18, %20
  br i1 %21, label %22, label %23

22:                                               ; preds = %16
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %17, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %17, ptr noundef nonnull align 16 dereferenceable(16) %19, i64 16, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %19, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false), !tbaa.struct !13
  br label %23

23:                                               ; preds = %16, %22
  %.130 = phi i32 [ 1, %22 ], [ %.02938, %16 ]
  %exitcond.not = icmp eq i64 %indvars.iv.next, 255
  br i1 %exitcond.not, label %24, label %.backedge

.backedge:                                        ; preds = %23, %24
  %indvars.iv.be = phi i64 [ %indvars.iv.next, %23 ], [ 0, %24 ]
  %.02938.be = phi i32 [ %.130, %23 ], [ 0, %24 ]
  br label %16, !llvm.loop !15

24:                                               ; preds = %23
  %.not = icmp eq i32 %.130, 0
  br i1 %.not, label %.preheader.preheader, label %.backedge

.preheader.preheader:                             ; preds = %24
  %wide.trip.count = zext i32 %2 to i64
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %indvars.iv41 = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next42, %.preheader ]
  %25 = getelementptr inbounds i8, ptr %0, i64 %indvars.iv41
  %26 = load i8, ptr %25, align 1, !tbaa !16
  %27 = zext i8 %26 to i64
  %28 = getelementptr inbounds [256 x %struct.sf_sym_t], ptr %4, i64 0, i64 %27
  %29 = getelementptr inbounds i8, ptr %28, i64 8
  %30 = load i32, ptr %29, align 8, !tbaa !17
  %31 = getelementptr inbounds i8, ptr %28, i64 12
  %32 = load i32, ptr %31, align 4, !tbaa !18
  call void @_SF_WriteBits(ptr noundef nonnull %6, i32 noundef %30, i32 noundef %32)
  %indvars.iv.next42 = add nuw nsw i64 %indvars.iv41, 1
  %exitcond44.not = icmp eq i64 %indvars.iv.next42, %wide.trip.count
  br i1 %exitcond44.not, label %33, label %.preheader, !llvm.loop !19

33:                                               ; preds = %.preheader
  %34 = load ptr, ptr %6, align 8, !tbaa !20
  %35 = ptrtoint ptr %34 to i64
  %36 = ptrtoint ptr %1 to i64
  %37 = sub i64 %35, %36
  %38 = trunc i64 %37 to i32
  %39 = getelementptr inbounds i8, ptr %6, i64 8
  %40 = load i32, ptr %39, align 8, !tbaa !23
  %.not35 = icmp ne i32 %40, 0
  %41 = zext i1 %.not35 to i32
  %spec.select36 = add i32 %38, %41
  br label %42

42:                                               ; preds = %3, %33
  %.028 = phi i32 [ %spec.select36, %33 ], [ 0, %3 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5)
  call void @llvm.lifetime.end.p0(i64 4096, ptr nonnull %4) #4
  ret i32 %.028
}

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

; Function Attrs: nounwind uwtable
declare hidden void @_SF_InitBitstream(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @_SF_Hist(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare hidden void @_SF_MakeTree(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; 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

; Function Attrs: nounwind uwtable
declare hidden void @_SF_WriteBits(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #3

attributes #0 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !7, i64 4}
!6 = !{!"", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}
!12 = !{!6, !7, i64 0}
!13 = !{i64 0, i64 4, !14, i64 4, i64 4, !14, i64 8, i64 4, !14, i64 12, i64 4, !14}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !11}
!16 = !{!8, !8, i64 0}
!17 = !{!6, !7, i64 8}
!18 = !{!6, !7, i64 12}
!19 = distinct !{!19, !11}
!20 = !{!21, !22, i64 0}
!21 = !{!"", !22, i64 0, !7, i64 8}
!22 = !{!"any pointer", !8, i64 0}
!23 = !{!21, !7, i64 8}


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