; LLVM IR from EyalAr/lwip :: src/lib/jpeg (jcparam)

; 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, 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] }
%struct.jpeg_memory_mgr = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, i64, i64 }

; 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: nounwind uwtable
declare dso_local void @jpeg_set_quality(ptr noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @jpeg_set_defaults(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #2
  %4 = load ptr, ptr %2, align 8, !tbaa !5
  %5 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %4, i32 0, i32 5
  %6 = load i32, ptr %5, align 4, !tbaa !9
  %7 = icmp ne i32 %6, 100
  br i1 %7, label %8, label %27

8:                                                ; preds = %1
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %9, i32 0, i32 0
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %12 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %11, i32 0, i32 5
  store i32 21, ptr %12, align 8, !tbaa !15
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %13, i32 0, i32 5
  %15 = load i32, ptr %14, align 4, !tbaa !9
  %16 = load ptr, ptr %2, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %16, i32 0, i32 0
  %18 = load ptr, ptr %17, align 8, !tbaa !14
  %19 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %18, i32 0, i32 6
  %20 = getelementptr inbounds [8 x i32], ptr %19, i64 0, i64 0
  store i32 %15, ptr %20, align 4, !tbaa !18
  %21 = load ptr, ptr %2, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %21, i32 0, i32 0
  %23 = load ptr, ptr %22, align 8, !tbaa !14
  %24 = getelementptr inbounds %struct.jpeg_error_mgr, ptr %23, i32 0, i32 0
  %25 = load ptr, ptr %24, align 8, !tbaa !19
  %26 = load ptr, ptr %2, align 8, !tbaa !5
  call void %25(ptr noundef %26)
  br label %27

27:                                               ; preds = %8, %1
  %28 = load ptr, ptr %2, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %28, i32 0, i32 19
  %30 = load ptr, ptr %29, align 8, !tbaa !20
  %31 = icmp eq ptr %30, null
  br i1 %31, label %32, label %42

32:                                               ; preds = %27
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %33, i32 0, i32 1
  %35 = load ptr, ptr %34, align 8, !tbaa !21
  %36 = getelementptr inbounds %struct.jpeg_memory_mgr, ptr %35, i32 0, i32 0
  %37 = load ptr, ptr %36, align 8, !tbaa !22
  %38 = load ptr, ptr %2, align 8, !tbaa !5
  %39 = call ptr %37(ptr noundef %38, i32 noundef 0, i64 noundef 960)
  %40 = load ptr, ptr %2, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %40, i32 0, i32 19
  store ptr %39, ptr %41, align 8, !tbaa !20
  br label %42

42:                                               ; preds = %32, %27
  %43 = load ptr, ptr %2, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %43, i32 0, i32 12
  store i32 1, ptr %44, align 8, !tbaa !24
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %45, i32 0, i32 13
  store i32 1, ptr %46, align 4, !tbaa !25
  %47 = load ptr, ptr %2, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %47, i32 0, i32 16
  store i32 8, ptr %48, align 8, !tbaa !26
  %49 = load ptr, ptr %2, align 8, !tbaa !5
  call void @jpeg_set_quality(ptr noundef %49, i32 noundef 75, i32 noundef 1)
  %50 = load ptr, ptr %2, align 8, !tbaa !5
  call void @std_huff_tables(ptr noundef %50)
  store i32 0, ptr %3, align 4, !tbaa !27
  br label %51

51:                                               ; preds = %70, %42
  %52 = load i32, ptr %3, align 4, !tbaa !27
  %53 = icmp slt i32 %52, 16
  br i1 %53, label %54, label %73

54:                                               ; preds = %51
  %55 = load ptr, ptr %2, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %55, i32 0, i32 24
  %57 = load i32, ptr %3, align 4, !tbaa !27
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [16 x i8], ptr %56, i64 0, i64 %58
  store i8 0, ptr %59, align 1, !tbaa !18
  %60 = load ptr, ptr %2, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %60, i32 0, i32 25
  %62 = load i32, ptr %3, align 4, !tbaa !27
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [16 x i8], ptr %61, i64 0, i64 %63
  store i8 1, ptr %64, align 1, !tbaa !18
  %65 = load ptr, ptr %2, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %65, i32 0, i32 26
  %67 = load i32, ptr %3, align 4, !tbaa !27
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [16 x i8], ptr %66, i64 0, i64 %68
  store i8 5, ptr %69, align 1, !tbaa !18
  br label %70

70:                                               ; preds = %54
  %71 = load i32, ptr %3, align 4, !tbaa !27
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %3, align 4, !tbaa !27
  br label %51, !llvm.loop !28

73:                                               ; preds = %51
  %74 = load ptr, ptr %2, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %74, i32 0, i32 28
  store ptr null, ptr %75, align 8, !tbaa !30
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %76, i32 0, i32 27
  store i32 0, ptr %77, align 8, !tbaa !31
  %78 = load ptr, ptr %2, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %78, i32 0, i32 29
  store i32 0, ptr %79, align 8, !tbaa !32
  %80 = load ptr, ptr %2, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %80, i32 0, i32 16
  %82 = load i32, ptr %81, align 8, !tbaa !26
  %83 = icmp sgt i32 %82, 8
  %84 = zext i1 %83 to i64
  %85 = select i1 %83, i32 1, i32 0
  %86 = load ptr, ptr %2, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %86, i32 0, i32 30
  store i32 %85, ptr %87, align 4, !tbaa !33
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %88, i32 0, i32 31
  store i32 0, ptr %89, align 8, !tbaa !34
  %90 = load ptr, ptr %2, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %90, i32 0, i32 32
  store i32 0, ptr %91, align 4, !tbaa !35
  %92 = load ptr, ptr %2, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %92, i32 0, i32 33
  store i32 1, ptr %93, align 8, !tbaa !36
  %94 = load ptr, ptr %2, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %94, i32 0, i32 34
  store i32 0, ptr %95, align 4, !tbaa !37
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %96, i32 0, i32 35
  store i32 0, ptr %97, align 8, !tbaa !38
  %98 = load ptr, ptr %2, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %98, i32 0, i32 36
  store i32 0, ptr %99, align 4, !tbaa !39
  %100 = load ptr, ptr %2, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %100, i32 0, i32 37
  store i32 0, ptr %101, align 8, !tbaa !40
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %102, i32 0, i32 39
  store i8 1, ptr %103, align 8, !tbaa !41
  %104 = load ptr, ptr %2, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %104, i32 0, i32 40
  store i8 1, ptr %105, align 1, !tbaa !42
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %106, i32 0, i32 41
  store i8 0, ptr %107, align 2, !tbaa !43
  %108 = load ptr, ptr %2, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %108, i32 0, i32 42
  store i16 1, ptr %109, align 4, !tbaa !44
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %110, i32 0, i32 43
  store i16 1, ptr %111, align 2, !tbaa !45
  %112 = load ptr, ptr %2, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.jpeg_compress_struct, ptr %112, i32 0, i32 45
  store i32 0, ptr %113, align 4, !tbaa !46
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  call void @jpeg_default_colorspace(ptr noundef %114)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #2
  ret void
}

; Function Attrs: nounwind uwtable
declare hidden void @std_huff_tables(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @jpeg_default_colorspace(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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, !11, i64 36}
!10 = !{!"jpeg_compress_struct", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !11, i64 32, !11, i64 36, !6, i64 40, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !12, i64 64, !11, i64 72, !11, i64 76, !11, i64 80, !11, i64 84, !11, i64 88, !11, i64 92, !11, 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, !11, i64 272, !6, i64 280, !11, i64 288, !11, i64 292, !11, i64 296, !11, i64 300, !11, i64 304, !11, i64 308, !11, i64 312, !11, i64 316, !11, i64 320, !11, i64 324, !7, i64 328, !7, i64 329, !7, i64 330, !13, i64 332, !13, i64 334, !11, i64 336, !11, i64 340, !11, i64 344, !11, i64 348, !11, i64 352, !11, i64 356, !11, i64 360, !11, i64 364, !11, i64 368, !11, i64 372, !7, i64 376, !11, i64 408, !11, i64 412, !11, i64 416, !7, i64 420, !11, i64 460, !11, i64 464, !11, i64 468, !11, i64 472, !11, i64 476, !6, i64 480, !11, 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, !11, i64 576}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!"short", !7, i64 0}
!14 = !{!10, !6, i64 0}
!15 = !{!16, !11, i64 40}
!16 = !{!"jpeg_error_mgr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !7, i64 44, !11, i64 124, !17, i64 128, !6, i64 136, !11, i64 144, !6, i64 152, !11, i64 160, !11, i64 164}
!17 = !{!"long", !7, i64 0}
!18 = !{!7, !7, i64 0}
!19 = !{!16, !6, i64 0}
!20 = !{!10, !6, i64 104}
!21 = !{!10, !6, i64 8}
!22 = !{!23, !6, i64 0}
!23 = !{!"jpeg_memory_mgr", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !17, i64 88, !17, i64 96}
!24 = !{!10, !11, i64 72}
!25 = !{!10, !11, i64 76}
!26 = !{!10, !11, i64 88}
!27 = !{!11, !11, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"llvm.loop.mustprogress"}
!30 = !{!10, !6, i64 280}
!31 = !{!10, !11, i64 272}
!32 = !{!10, !11, i64 288}
!33 = !{!10, !11, i64 292}
!34 = !{!10, !11, i64 296}
!35 = !{!10, !11, i64 300}
!36 = !{!10, !11, i64 304}
!37 = !{!10, !11, i64 308}
!38 = !{!10, !11, i64 312}
!39 = !{!10, !11, i64 316}
!40 = !{!10, !11, i64 320}
!41 = !{!10, !7, i64 328}
!42 = !{!10, !7, i64 329}
!43 = !{!10, !7, i64 330}
!44 = !{!10, !13, i64 332}
!45 = !{!10, !13, i64 334}
!46 = !{!10, !11, i64 340}


; 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: nounwind uwtable
declare dso_local void @jpeg_set_quality(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @jpeg_set_defaults(ptr noundef %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 36
  %3 = load i32, ptr %2, align 4, !tbaa !5
  %.not = icmp eq i32 %3, 100
  br i1 %.not, label %10, label %4

4:                                                ; preds = %1
  %5 = load ptr, ptr %0, align 8, !tbaa !13
  %6 = getelementptr inbounds i8, ptr %5, i64 40
  store i32 21, ptr %6, align 8, !tbaa !14
  %7 = getelementptr inbounds i8, ptr %5, i64 44
  store i32 %3, ptr %7, align 4, !tbaa !17
  %8 = load ptr, ptr %0, align 8, !tbaa !13
  %9 = load ptr, ptr %8, align 8, !tbaa !18
  tail call void %9(ptr noundef nonnull %0) #2
  br label %10

10:                                               ; preds = %4, %1
  %11 = getelementptr inbounds i8, ptr %0, i64 104
  %12 = load ptr, ptr %11, align 8, !tbaa !19
  %13 = icmp eq ptr %12, null
  br i1 %13, label %14, label %19

14:                                               ; preds = %10
  %15 = getelementptr inbounds i8, ptr %0, i64 8
  %16 = load ptr, ptr %15, align 8, !tbaa !20
  %17 = load ptr, ptr %16, align 8, !tbaa !21
  %18 = tail call ptr %17(ptr noundef nonnull %0, i32 noundef 0, i64 noundef 960) #2
  store ptr %18, ptr %11, align 8, !tbaa !19
  br label %19

19:                                               ; preds = %14, %10
  %20 = getelementptr inbounds i8, ptr %0, i64 72
  store i32 1, ptr %20, align 8, !tbaa !23
  %21 = getelementptr inbounds i8, ptr %0, i64 76
  store i32 1, ptr %21, align 4, !tbaa !24
  %22 = getelementptr inbounds i8, ptr %0, i64 88
  store i32 8, ptr %22, align 8, !tbaa !25
  tail call void @jpeg_set_quality(ptr noundef nonnull %0, i32 noundef 75, i32 noundef 1)
  tail call void @std_huff_tables(ptr noundef nonnull %0)
  %23 = getelementptr inbounds i8, ptr %0, i64 224
  %24 = getelementptr inbounds i8, ptr %0, i64 240
  %25 = getelementptr inbounds i8, ptr %0, i64 256
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %23, i8 0, i64 16, i1 false), !tbaa !17
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %24, i8 1, i64 16, i1 false), !tbaa !17
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(16) %25, i8 5, i64 16, i1 false), !tbaa !17
  %26 = getelementptr inbounds i8, ptr %0, i64 280
  store ptr null, ptr %26, align 8, !tbaa !26
  %27 = getelementptr inbounds i8, ptr %0, i64 272
  store i32 0, ptr %27, align 8, !tbaa !27
  %28 = getelementptr inbounds i8, ptr %0, i64 288
  store i32 0, ptr %28, align 8, !tbaa !28
  %29 = load i32, ptr %22, align 8, !tbaa !25
  %30 = icmp sgt i32 %29, 8
  %31 = zext i1 %30 to i32
  %32 = getelementptr inbounds i8, ptr %0, i64 292
  store i32 %31, ptr %32, align 4, !tbaa !29
  %33 = getelementptr inbounds i8, ptr %0, i64 296
  store i32 0, ptr %33, align 8, !tbaa !30
  %34 = getelementptr inbounds i8, ptr %0, i64 300
  store i32 0, ptr %34, align 4, !tbaa !31
  %35 = getelementptr inbounds i8, ptr %0, i64 304
  store i32 1, ptr %35, align 8, !tbaa !32
  %36 = getelementptr inbounds i8, ptr %0, i64 308
  %37 = getelementptr inbounds i8, ptr %0, i64 328
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %36, i8 0, i64 16, i1 false)
  store i8 1, ptr %37, align 8, !tbaa !33
  %38 = getelementptr inbounds i8, ptr %0, i64 329
  store i8 1, ptr %38, align 1, !tbaa !34
  %39 = getelementptr inbounds i8, ptr %0, i64 330
  store i8 0, ptr %39, align 2, !tbaa !35
  %40 = getelementptr inbounds i8, ptr %0, i64 332
  store i16 1, ptr %40, align 4, !tbaa !36
  %41 = getelementptr inbounds i8, ptr %0, i64 334
  store i16 1, ptr %41, align 2, !tbaa !37
  %42 = getelementptr inbounds i8, ptr %0, i64 340
  store i32 0, ptr %42, align 4, !tbaa !38
  tail call void @jpeg_default_colorspace(ptr noundef nonnull %0)
  ret void
}

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

; Function Attrs: nounwind uwtable
declare dso_local void @jpeg_default_colorspace(ptr noundef) local_unnamed_addr #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }
attributes #2 = { 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, !10, i64 36}
!6 = !{!"jpeg_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, !10, i64 60, !11, i64 64, !10, i64 72, !10, i64 76, !10, i64 80, !10, i64 84, !10, i64 88, !10, i64 92, !10, 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, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !8, i64 328, !8, i64 329, !8, i64 330, !12, i64 332, !12, 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, !10, i64 372, !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/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!"short", !8, i64 0}
!13 = !{!6, !7, i64 0}
!14 = !{!15, !10, i64 40}
!15 = !{!"jpeg_error_mgr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !8, i64 44, !10, i64 124, !16, i64 128, !7, i64 136, !10, i64 144, !7, i64 152, !10, i64 160, !10, i64 164}
!16 = !{!"long", !8, i64 0}
!17 = !{!8, !8, i64 0}
!18 = !{!15, !7, i64 0}
!19 = !{!6, !7, i64 104}
!20 = !{!6, !7, i64 8}
!21 = !{!22, !7, i64 0}
!22 = !{!"jpeg_memory_mgr", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !16, i64 88, !16, i64 96}
!23 = !{!6, !10, i64 72}
!24 = !{!6, !10, i64 76}
!25 = !{!6, !10, i64 88}
!26 = !{!6, !7, i64 280}
!27 = !{!6, !10, i64 272}
!28 = !{!6, !10, i64 288}
!29 = !{!6, !10, i64 292}
!30 = !{!6, !10, i64 296}
!31 = !{!6, !10, i64 300}
!32 = !{!6, !10, i64 304}
!33 = !{!6, !8, i64 328}
!34 = !{!6, !8, i64 329}
!35 = !{!6, !8, i64 330}
!36 = !{!6, !12, i64 332}
!37 = !{!6, !12, i64 334}
!38 = !{!6, !10, i64 340}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass