; LLVM IR from IlyaGrebnov/libbsc :: libbsc/coder/coder.ll (Z25bsc_coder_compress_serialPKhPhii)

; 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"

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z22bsc_coder_encode_blockPKhPhiii(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z22bsc_coder_split_blocksPKhiiPiS1_(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z25bsc_coder_compress_serialPKhPhii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) #1 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca [256 x i32], align 16
  %12 = alloca [256 x i32], align 16
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  %21 = load i32, ptr %8, align 4, !tbaa !9
  %22 = call noundef i32 @_ZL20bsc_coder_num_blocksi(i32 noundef %21)
  %23 = icmp eq i32 %22, 1
  br i1 %23, label %24, label %42

24:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = load ptr, ptr %7, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 1
  %28 = load i32, ptr %8, align 4, !tbaa !9
  %29 = load i32, ptr %8, align 4, !tbaa !9
  %30 = sub nsw i32 %29, 1
  %31 = load i32, ptr %9, align 4, !tbaa !9
  %32 = call noundef i32 @_Z22bsc_coder_encode_blockPKhPhiii(ptr noundef %25, ptr noundef %27, i32 noundef %28, i32 noundef %30, i32 noundef %31)
  store i32 %32, ptr %10, align 4, !tbaa !9
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = icmp sge i32 %33, 0
  br i1 %34, label %35, label %40

35:                                               ; preds = %24
  %36 = load ptr, ptr %7, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %36, i64 0
  store i8 1, ptr %37, align 1, !tbaa !11
  %38 = load i32, ptr %10, align 4, !tbaa !9
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr %10, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %35, %24
  %41 = load i32, ptr %10, align 4, !tbaa !9
  store i32 %41, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %144

42:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1024, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 1024, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = call noundef i32 @_ZL20bsc_coder_num_blocksi(i32 noundef %43)
  store i32 %44, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = mul nsw i32 8, %45
  %47 = add nsw i32 1, %46
  store i32 %47, ptr %14, align 4, !tbaa !9
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = load i32, ptr %8, align 4, !tbaa !9
  %50 = load i32, ptr %13, align 4, !tbaa !9
  %51 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 0
  %52 = getelementptr inbounds [256 x i32], ptr %12, i64 0, i64 0
  call void @_Z22bsc_coder_split_blocksPKhiiPiS1_(ptr noundef %48, i32 noundef %49, i32 noundef %50, ptr noundef %51, ptr noundef %52)
  %53 = load i32, ptr %13, align 4, !tbaa !9
  %54 = trunc i32 %53 to i8
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %55, i64 0
  store i8 %54, ptr %56, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %136, %42
  %58 = load i32, ptr %15, align 4, !tbaa !9
  %59 = load i32, ptr %13, align 4, !tbaa !9
  %60 = icmp slt i32 %58, %59
  br i1 %60, label %62, label %61

61:                                               ; preds = %57
  store i32 2, ptr %16, align 4
  br label %139

62:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %63 = load i32, ptr %15, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [256 x i32], ptr %11, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !9
  store i32 %66, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %67 = load i32, ptr %15, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [256 x i32], ptr %12, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !9
  store i32 %70, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  %71 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %71, ptr %19, align 4, !tbaa !9
  %72 = load i32, ptr %19, align 4, !tbaa !9
  %73 = load i32, ptr %8, align 4, !tbaa !9
  %74 = load i32, ptr %14, align 4, !tbaa !9
  %75 = sub nsw i32 %73, %74
  %76 = icmp sgt i32 %72, %75
  br i1 %76, label %77, label %81

77:                                               ; preds = %62
  %78 = load i32, ptr %8, align 4, !tbaa !9
  %79 = load i32, ptr %14, align 4, !tbaa !9
  %80 = sub nsw i32 %78, %79
  store i32 %80, ptr %19, align 4, !tbaa !9
  br label %81

81:                                               ; preds = %77, %62
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #5
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = load i32, ptr %17, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds i8, ptr %82, i64 %84
  %86 = load ptr, ptr %7, align 8, !tbaa !5
  %87 = load i32, ptr %14, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds i8, ptr %86, i64 %88
  %90 = load i32, ptr %18, align 4, !tbaa !9
  %91 = load i32, ptr %19, align 4, !tbaa !9
  %92 = load i32, ptr %9, align 4, !tbaa !9
  %93 = call noundef i32 @_Z22bsc_coder_encode_blockPKhPhiii(ptr noundef %85, ptr noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92)
  store i32 %93, ptr %20, align 4, !tbaa !9
  %94 = load i32, ptr %20, align 4, !tbaa !9
  %95 = icmp slt i32 %94, 0
  br i1 %95, label %96, label %115

96:                                               ; preds = %81
  %97 = load i32, ptr %14, align 4, !tbaa !9
  %98 = load i32, ptr %18, align 4, !tbaa !9
  %99 = add nsw i32 %97, %98
  %100 = load i32, ptr %8, align 4, !tbaa !9
  %101 = icmp sge i32 %99, %100
  br i1 %101, label %102, label %103

102:                                              ; preds = %96
  store i32 -3, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %133

103:                                              ; preds = %96
  %104 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %104, ptr %20, align 4, !tbaa !9
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds i8, ptr %105, i64 %107
  %109 = load ptr, ptr %6, align 8, !tbaa !5
  %110 = load i32, ptr %17, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds i8, ptr %109, i64 %111
  %113 = load i32, ptr %18, align 4, !tbaa !9
  %114 = sext i32 %113 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %108, ptr align 1 %112, i64 %114, i1 false)
  br label %115

115:                                              ; preds = %103, %81
  %116 = load ptr, ptr %7, align 8, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %116, i64 1
  %118 = load i32, ptr %15, align 4, !tbaa !9
  %119 = mul nsw i32 8, %118
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds i8, ptr %117, i64 %120
  %122 = getelementptr inbounds i8, ptr %121, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %122, ptr align 4 %18, i64 4, i1 false)
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds i8, ptr %123, i64 1
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = mul nsw i32 8, %125
  %127 = sext i32 %126 to i64
  %128 = getelementptr inbounds i8, ptr %124, i64 %127
  %129 = getelementptr inbounds i8, ptr %128, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %129, ptr align 4 %20, i64 4, i1 false)
  %130 = load i32, ptr %20, align 4, !tbaa !9
  %131 = load i32, ptr %14, align 4, !tbaa !9
  %132 = add nsw i32 %131, %130
  store i32 %132, ptr %14, align 4, !tbaa !9
  store i32 0, ptr %16, align 4
  br label %133

133:                                              ; preds = %115, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  %134 = load i32, ptr %16, align 4
  switch i32 %134, label %139 [
    i32 0, label %135
  ]

135:                                              ; preds = %133
  br label %136

136:                                              ; preds = %135
  %137 = load i32, ptr %15, align 4, !tbaa !9
  %138 = add nsw i32 %137, 1
  store i32 %138, ptr %15, align 4, !tbaa !9
  br label %57, !llvm.loop !12

139:                                              ; preds = %133, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  %140 = load i32, ptr %16, align 4
  switch i32 %140, label %143 [
    i32 2, label %141
  ]

141:                                              ; preds = %139
  %142 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %142, ptr %5, align 4
  store i32 1, ptr %16, align 4
  br label %143

143:                                              ; preds = %141, %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 1024, ptr %11) #5
  br label %144

144:                                              ; preds = %143, %40
  %145 = load i32, ptr %5, align 4
  ret i32 %145
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL20bsc_coder_num_blocksi(i32 noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { inlinehint 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { 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 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; 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"

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

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_Z22bsc_coder_encode_blockPKhPhiii(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z22bsc_coder_split_blocksPKhiiPiS1_(ptr noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z25bsc_coder_compress_serialPKhPhii(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #1 {
  %5 = alloca [256 x i32], align 16
  %6 = alloca [256 x i32], align 16
  %7 = tail call noundef i32 @_ZL20bsc_coder_num_blocksi(i32 noundef %2)
  %8 = icmp eq i32 %7, 1
  br i1 %8, label %9, label %16

9:                                                ; preds = %4
  %10 = getelementptr inbounds i8, ptr %1, i64 1
  %11 = add nsw i32 %2, -1
  %12 = tail call noundef i32 @_Z22bsc_coder_encode_blockPKhPhiii(ptr noundef %0, ptr noundef nonnull %10, i32 noundef %2, i32 noundef %11, i32 noundef %3)
  %13 = icmp sgt i32 %12, -1
  br i1 %13, label %14, label %42

14:                                               ; preds = %9
  store i8 1, ptr %1, align 1, !tbaa !5
  %15 = add nuw nsw i32 %12, 1
  br label %42

16:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %5) #6
  call void @llvm.lifetime.start.p0(i64 1024, ptr nonnull %6) #6
  %17 = tail call noundef i32 @_ZL20bsc_coder_num_blocksi(i32 noundef %2)
  %18 = shl nsw i32 %17, 3
  %19 = or disjoint i32 %18, 1
  call void @_Z22bsc_coder_split_blocksPKhiiPiS1_(ptr noundef %0, i32 noundef %2, i32 noundef %17, ptr noundef nonnull %5, ptr noundef nonnull %6)
  %20 = trunc i32 %17 to i8
  store i8 %20, ptr %1, align 1, !tbaa !5
  %.not7075 = icmp sgt i32 %17, 0
  br i1 %.not7075, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %16
  %21 = getelementptr inbounds i8, ptr %1, i64 1
  %wide.trip.count = zext nneg i32 %17 to i64
  br label %22

22:                                               ; preds = %.lr.ph, %38
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %38 ]
  %.06276 = phi i32 [ %19, %.lr.ph ], [ %.pre-phi, %38 ]
  %23 = getelementptr inbounds [256 x i32], ptr %5, i64 0, i64 %indvars.iv
  %24 = load i32, ptr %23, align 4, !tbaa !8
  %25 = getelementptr inbounds [256 x i32], ptr %6, i64 0, i64 %indvars.iv
  %26 = load i32, ptr %25, align 4, !tbaa !8
  %27 = sub nsw i32 %2, %.06276
  %spec.select = call i32 @llvm.smin.i32(i32 %26, i32 %27)
  %28 = sext i32 %24 to i64
  %29 = getelementptr inbounds i8, ptr %0, i64 %28
  %30 = sext i32 %.06276 to i64
  %31 = getelementptr inbounds i8, ptr %1, i64 %30
  %32 = call noundef i32 @_Z22bsc_coder_encode_blockPKhPhiii(ptr noundef %29, ptr noundef nonnull %31, i32 noundef %26, i32 noundef %spec.select, i32 noundef %3)
  %33 = icmp slt i32 %32, 0
  br i1 %33, label %34, label %._crit_edge81

._crit_edge81:                                    ; preds = %22
  %.pre = add nsw i32 %32, %.06276
  br label %38

34:                                               ; preds = %22
  %35 = add nsw i32 %26, %.06276
  %.not = icmp slt i32 %35, %2
  br i1 %.not, label %36, label %._crit_edge

36:                                               ; preds = %34
  %37 = sext i32 %26 to i64
  call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %31, ptr align 1 %29, i64 %37, i1 false)
  br label %38

38:                                               ; preds = %._crit_edge81, %36
  %.pre-phi = phi i32 [ %.pre, %._crit_edge81 ], [ %35, %36 ]
  %.0 = phi i32 [ %32, %._crit_edge81 ], [ %26, %36 ]
  %39 = shl nsw i64 %indvars.iv, 3
  %40 = getelementptr inbounds i8, ptr %21, i64 %39
  store i32 %26, ptr %40, align 1
  %41 = getelementptr inbounds i8, ptr %40, i64 4
  store i32 %.0, ptr %41, align 1
  %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 %22, !llvm.loop !10

._crit_edge:                                      ; preds = %38, %34, %16
  %spec.select71 = phi i32 [ %19, %16 ], [ -3, %34 ], [ %.pre-phi, %38 ]
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 1024, ptr nonnull %5) #6
  br label %42

42:                                               ; preds = %9, %14, %._crit_edge
  %.4 = phi i32 [ %spec.select71, %._crit_edge ], [ %15, %14 ], [ %12, %9 ]
  ret i32 %.4
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL20bsc_coder_num_blocksi(i32 noundef) local_unnamed_addr #3

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { inlinehint 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !6, i64 0}
!10 = distinct !{!10, !11}
!11 = !{!"llvm.loop.mustprogress"}


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