; LLVM IR from uart/gltracesim :: gltracesim/src/resource_jpeg.ll (ZN10gltracesim23dump_jpeg_image_wrapperEPKcPhmm)

; 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.jpeg_compress_struct = type { ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, ptr, [4 x ptr], [4 x i32], [4 x ptr], [4 x ptr], [16 x i8], [16 x i8], [16 x i8], i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x ptr], i32, i32, i32, [10 x i32], i32, i32, i32, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.jpeg_error_mgr = type { ptr, ptr, ptr, ptr, ptr, i32, %union.anon, i32, i64, ptr, i32, ptr, i32, i32 }
%union.anon = type { [8 x i32], [48 x i8] }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__._ZN10gltracesim23dump_jpeg_image_wrapperEPKcPhmm = external hidden unnamed_addr constant [82 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10gltracesim23dump_jpeg_image_wrapperEPKcPhmm(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca %struct.jpeg_compress_struct, align 8
  %10 = alloca %struct.jpeg_error_mgr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca [1 x ptr], align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  store i64 %3, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 584, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 168, ptr %10) #4
  %14 = call ptr @jpeg_std_error(ptr noundef %10)
  %15 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 0
  store ptr %14, ptr %15, align 8, !tbaa !11
  call void @jpeg_CreateCompress(ptr noundef %9, i32 noundef 80, i64 noundef 584)
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  store ptr null, ptr %11, align 8, !tbaa !5
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = call noalias ptr @fopen(ptr noundef %16, ptr noundef @.str)
  store ptr %17, ptr %11, align 8, !tbaa !5
  %18 = load ptr, ptr %11, align 8, !tbaa !5
  %19 = icmp ne ptr %18, null
  br i1 %19, label %20, label %21

20:                                               ; preds = %4
  br label %23

21:                                               ; preds = %4
  call void @__assert_fail(ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 24, ptr noundef @__PRETTY_FUNCTION__._ZN10gltracesim23dump_jpeg_image_wrapperEPKcPhmm) #5
  unreachable

22:                                               ; No predecessors!
  br label %23

23:                                               ; preds = %22, %20
  %24 = load ptr, ptr %11, align 8, !tbaa !5
  call void @jpeg_stdio_dest(ptr noundef %9, ptr noundef %24)
  %25 = load i64, ptr %7, align 8, !tbaa !9
  %26 = trunc i64 %25 to i32
  %27 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 7
  store i32 %26, ptr %27, align 8, !tbaa !18
  %28 = load i64, ptr %8, align 8, !tbaa !9
  %29 = trunc i64 %28 to i32
  %30 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 8
  store i32 %29, ptr %30, align 4, !tbaa !19
  %31 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 9
  store i32 3, ptr %31, align 8, !tbaa !20
  %32 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 10
  store i32 2, ptr %32, align 4, !tbaa !21
  call void @jpeg_set_defaults(ptr noundef %9)
  call void @jpeg_set_quality(ptr noundef %9, i32 noundef 7, i32 noundef 1)
  call void @jpeg_start_compress(ptr noundef %9, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %33 = load i64, ptr %7, align 8, !tbaa !9
  %34 = mul i64 %33, 3
  %35 = trunc i64 %34 to i32
  store i32 %35, ptr %13, align 4, !tbaa !22
  br label %36

36:                                               ; preds = %42, %23
  %37 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 45
  %38 = load i32, ptr %37, align 4, !tbaa !23
  %39 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 8
  %40 = load i32, ptr %39, align 4, !tbaa !19
  %41 = icmp ult i32 %38, %40
  br i1 %41, label %42, label %53

42:                                               ; preds = %36
  %43 = load ptr, ptr %6, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 45
  %45 = load i32, ptr %44, align 4, !tbaa !23
  %46 = load i32, ptr %13, align 4, !tbaa !22
  %47 = mul i32 %45, %46
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds i8, ptr %43, i64 %48
  %50 = getelementptr inbounds [1 x ptr], ptr %12, i64 0, i64 0
  store ptr %49, ptr %50, align 8, !tbaa !5
  %51 = getelementptr inbounds [1 x ptr], ptr %12, i64 0, i64 0
  %52 = call i32 @jpeg_write_scanlines(ptr noundef %9, ptr noundef %51, i32 noundef 1)
  br label %36, !llvm.loop !24

53:                                               ; preds = %36
  call void @jpeg_finish_compress(ptr noundef %9)
  %54 = load ptr, ptr %11, align 8, !tbaa !5
  %55 = call i32 @fclose(ptr noundef %54)
  call void @jpeg_destroy_compress(ptr noundef %9)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 168, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 584, ptr %9) #4
  ret void
}

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

declare ptr @jpeg_std_error(ptr noundef) #2

declare void @jpeg_CreateCompress(ptr noundef, i32 noundef, i64 noundef) #2

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #3

declare void @jpeg_stdio_dest(ptr noundef, ptr noundef) #2

declare void @jpeg_set_defaults(ptr noundef) #2

declare void @jpeg_set_quality(ptr noundef, i32 noundef, i32 noundef) #2

declare void @jpeg_start_compress(ptr noundef, i32 noundef) #2

declare i32 @jpeg_write_scanlines(ptr noundef, ptr noundef, i32 noundef) #2

declare void @jpeg_finish_compress(ptr noundef) #2

declare i32 @fclose(ptr noundef) #2

declare void @jpeg_destroy_compress(ptr noundef) #2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { noreturn nounwind "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 = { nounwind }
attributes #5 = { noreturn 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 = !{!"long", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTS20jpeg_compress_struct", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36, !6, i64 40, !13, i64 48, !13, i64 52, !13, i64 56, !14, i64 60, !15, i64 64, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84, !13, i64 88, !13, i64 92, !14, i64 96, !6, i64 104, !7, i64 112, !7, i64 144, !7, i64 160, !7, i64 192, !7, i64 224, !7, i64 240, !7, i64 256, !13, i64 272, !6, i64 280, !13, i64 288, !13, i64 292, !13, i64 296, !13, i64 300, !13, i64 304, !13, i64 308, !16, i64 312, !13, i64 316, !13, i64 320, !13, i64 324, !7, i64 328, !7, i64 329, !7, i64 330, !17, i64 332, !17, i64 334, !13, i64 336, !13, i64 340, !13, i64 344, !13, i64 348, !13, i64 352, !13, i64 356, !13, i64 360, !13, i64 364, !13, i64 368, !7, i64 376, !13, i64 408, !13, i64 412, !13, i64 416, !7, i64 420, !13, i64 460, !13, i64 464, !13, i64 468, !13, i64 472, !13, i64 476, !6, i64 480, !13, i64 488, !6, i64 496, !6, i64 504, !6, i64 512, !6, i64 520, !6, i64 528, !6, i64 536, !6, i64 544, !6, i64 552, !6, i64 560, !6, i64 568, !13, i64 576}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS13J_COLOR_SPACE", !7, i64 0}
!15 = !{!"double", !7, i64 0}
!16 = !{!"_ZTS12J_DCT_METHOD", !7, i64 0}
!17 = !{!"short", !7, i64 0}
!18 = !{!12, !13, i64 48}
!19 = !{!12, !13, i64 52}
!20 = !{!12, !13, i64 56}
!21 = !{!12, !14, i64 60}
!22 = !{!13, !13, i64 0}
!23 = !{!12, !13, i64 340}
!24 = distinct !{!24, !25}
!25 = !{!"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"

%struct.jpeg_compress_struct = type { ptr, ptr, ptr, ptr, i32, i32, ptr, i32, i32, i32, i32, double, i32, i32, i32, i32, i32, i32, i32, ptr, [4 x ptr], [4 x i32], [4 x ptr], [4 x ptr], [16 x i8], [16 x i8], [16 x i8], i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x ptr], i32, i32, i32, [10 x i32], i32, i32, i32, i32, i32, ptr, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i32 }
%struct.jpeg_error_mgr = type { ptr, ptr, ptr, ptr, ptr, i32, %union.anon, i32, i64, ptr, i32, ptr, i32, i32 }
%union.anon = type { [8 x i32], [48 x i8] }

@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [81 x i8], align 1
@__PRETTY_FUNCTION__._ZN10gltracesim23dump_jpeg_image_wrapperEPKcPhmm = external hidden unnamed_addr constant [82 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10gltracesim23dump_jpeg_image_wrapperEPKcPhmm(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 {
  %5 = alloca %struct.jpeg_compress_struct, align 8
  %6 = alloca %struct.jpeg_error_mgr, align 8
  %7 = alloca [1 x ptr], align 8
  call void @llvm.lifetime.start.p0(i64 584, ptr nonnull %5) #5
  call void @llvm.lifetime.start.p0(i64 168, ptr nonnull %6) #5
  %8 = call ptr @jpeg_std_error(ptr noundef nonnull %6)
  store ptr %8, ptr %5, align 8, !tbaa !5
  call void @jpeg_CreateCompress(ptr noundef nonnull %5, i32 noundef 80, i64 noundef 584)
  %9 = call noalias ptr @fopen(ptr noundef %0, ptr noundef nonnull @.str)
  %.not = icmp eq ptr %9, null
  br i1 %.not, label %10, label %11

10:                                               ; preds = %4
  call void @__assert_fail(ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 24, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN10gltracesim23dump_jpeg_image_wrapperEPKcPhmm) #6
  unreachable

11:                                               ; preds = %4
  call void @jpeg_stdio_dest(ptr noundef nonnull %5, ptr noundef nonnull %9)
  %12 = trunc i64 %2 to i32
  %13 = getelementptr inbounds i8, ptr %5, i64 48
  store i32 %12, ptr %13, align 8, !tbaa !15
  %14 = trunc i64 %3 to i32
  %15 = getelementptr inbounds i8, ptr %5, i64 52
  store i32 %14, ptr %15, align 4, !tbaa !16
  %16 = getelementptr inbounds i8, ptr %5, i64 56
  store i32 3, ptr %16, align 8, !tbaa !17
  %17 = getelementptr inbounds i8, ptr %5, i64 60
  store i32 2, ptr %17, align 4, !tbaa !18
  call void @jpeg_set_defaults(ptr noundef nonnull %5)
  call void @jpeg_set_quality(ptr noundef nonnull %5, i32 noundef 7, i32 noundef 1)
  call void @jpeg_start_compress(ptr noundef nonnull %5, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %18 = mul i32 %12, 3
  %19 = getelementptr inbounds i8, ptr %5, i64 340
  %20 = load i32, ptr %19, align 4, !tbaa !19
  %21 = load i32, ptr %15, align 4, !tbaa !16
  %22 = icmp ult i32 %20, %21
  br i1 %22, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %11, %.lr.ph
  %23 = phi i32 [ %28, %.lr.ph ], [ %20, %11 ]
  %24 = mul i32 %18, %23
  %25 = zext i32 %24 to i64
  %26 = getelementptr inbounds i8, ptr %1, i64 %25
  store ptr %26, ptr %7, align 8, !tbaa !20
  %27 = call i32 @jpeg_write_scanlines(ptr noundef nonnull %5, ptr noundef nonnull %7, i32 noundef 1)
  %28 = load i32, ptr %19, align 4, !tbaa !19
  %29 = load i32, ptr %15, align 4, !tbaa !16
  %30 = icmp ult i32 %28, %29
  br i1 %30, label %.lr.ph, label %._crit_edge, !llvm.loop !21

._crit_edge:                                      ; preds = %.lr.ph, %11
  call void @jpeg_finish_compress(ptr noundef nonnull %5)
  %31 = call i32 @fclose(ptr noundef nonnull %9)
  call void @jpeg_destroy_compress(ptr noundef nonnull %5)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 168, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 584, ptr nonnull %5) #5
  ret void
}

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

declare ptr @jpeg_std_error(ptr noundef) local_unnamed_addr #2

declare void @jpeg_CreateCompress(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #4

declare void @jpeg_stdio_dest(ptr noundef, ptr noundef) local_unnamed_addr #2

declare void @jpeg_set_defaults(ptr noundef) local_unnamed_addr #2

declare void @jpeg_set_quality(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

declare void @jpeg_start_compress(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @jpeg_write_scanlines(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @jpeg_finish_compress(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3

declare void @jpeg_destroy_compress(ptr noundef) local_unnamed_addr #2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { nofree nounwind "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 = { noreturn nounwind "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 #5 = { nounwind }
attributes #6 = { noreturn 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 0}
!6 = !{!"_ZTS20jpeg_compress_struct", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !10, i64 32, !10, i64 36, !7, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !11, i64 60, !12, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !11, i64 96, !7, i64 104, !8, i64 112, !8, i64 144, !8, i64 160, !8, i64 192, !8, i64 224, !8, i64 240, !8, i64 256, !10, i64 272, !7, i64 280, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !13, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !8, i64 328, !8, i64 329, !8, i64 330, !14, i64 332, !14, i64 334, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !10, i64 364, !10, i64 368, !8, i64 376, !10, i64 408, !10, i64 412, !10, i64 416, !8, i64 420, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !7, i64 480, !10, i64 488, !7, i64 496, !7, i64 504, !7, i64 512, !7, i64 520, !7, i64 528, !7, i64 536, !7, i64 544, !7, i64 552, !7, i64 560, !7, i64 568, !10, i64 576}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"_ZTS13J_COLOR_SPACE", !8, i64 0}
!12 = !{!"double", !8, i64 0}
!13 = !{!"_ZTS12J_DCT_METHOD", !8, i64 0}
!14 = !{!"short", !8, i64 0}
!15 = !{!6, !10, i64 48}
!16 = !{!6, !10, i64 52}
!17 = !{!6, !10, i64 56}
!18 = !{!6, !11, i64 60}
!19 = !{!6, !10, i64 340}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass