; LLVM IR from paroj/gltut :: glsdk/glimg/source (Util)

; 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.glimg::CompressedBlockData" = type { %"struct.glimg::Dimensions", i64 }
%"struct.glimg::Dimensions" = type { i32, i32, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._ZN5glimg17CalcImageByteSizeERKNS_11ImageFormatERKNS_10DimensionsE = external hidden unnamed_addr constant [73 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1

; 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 i64 @_ZN5glimg17CalcBytesPerPixelERKNS_11ImageFormatE(ptr noundef nonnull align 4 dereferenceable(20)) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5glimg23GetBlockCompressionDataENS_13PixelDataTypeE(ptr dead_on_unwind noalias writable sret(%"struct.glimg::CompressedBlockData") align 8, i32 noundef) #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN5glimg17CalcImageByteSizeERKNS_11ImageFormatERKNS_10DimensionsE(ptr noundef nonnull align 4 dereferenceable(20) %0, ptr noundef nonnull align 4 dereferenceable(16) %1) #1 {
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.glimg::CompressedBlockData", align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8, !tbaa !5
  %12 = call noundef i32 @_ZNK5glimg11ImageFormat4TypeEv(ptr noundef nonnull align 4 dereferenceable(20) %11)
  %13 = icmp sge i32 %12, 6
  br i1 %13, label %14, label %76

14:                                               ; preds = %2
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  %16 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %15, i32 0, i32 0
  %17 = load i32, ptr %16, align 4, !tbaa !9
  %18 = icmp ne i32 %17, 3
  br i1 %18, label %19, label %20

19:                                               ; preds = %14
  br label %22

20:                                               ; preds = %14
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 119, ptr noundef @__PRETTY_FUNCTION__._ZN5glimg17CalcImageByteSizeERKNS_11ImageFormatERKNS_10DimensionsE) #5
  unreachable

21:                                               ; No predecessors!
  br label %22

22:                                               ; preds = %21, %19
  call void @llvm.lifetime.start.p0(i64 24, ptr %6) #6
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = call noundef i32 @_ZNK5glimg11ImageFormat4TypeEv(ptr noundef nonnull align 4 dereferenceable(20) %23)
  call void @_ZN5glimg23GetBlockCompressionDataENS_13PixelDataTypeE(ptr dead_on_unwind writable sret(%"struct.glimg::CompressedBlockData") align 8 %6, i32 noundef %24)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %25, i32 0, i32 1
  %27 = load i32, ptr %26, align 4, !tbaa !12
  %28 = getelementptr inbounds %"struct.glimg::CompressedBlockData", ptr %6, i32 0, i32 0
  %29 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %28, i32 0, i32 1
  %30 = load i32, ptr %29, align 4, !tbaa !13
  %31 = sub nsw i32 %30, 1
  %32 = add nsw i32 %27, %31
  %33 = getelementptr inbounds %"struct.glimg::CompressedBlockData", ptr %6, i32 0, i32 0
  %34 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 4, !tbaa !13
  %36 = sdiv i32 %32, %35
  %37 = sext i32 %36 to i64
  store i64 %37, ptr %7, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store i64 0, ptr %8, align 8, !tbaa !16
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %38, i32 0, i32 0
  %40 = load i32, ptr %39, align 4, !tbaa !9
  %41 = icmp sgt i32 %40, 1
  br i1 %41, label %42, label %56

42:                                               ; preds = %22
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %43, i32 0, i32 2
  %45 = load i32, ptr %44, align 4, !tbaa !17
  %46 = getelementptr inbounds %"struct.glimg::CompressedBlockData", ptr %6, i32 0, i32 0
  %47 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %46, i32 0, i32 2
  %48 = load i32, ptr %47, align 8, !tbaa !18
  %49 = sub nsw i32 %48, 1
  %50 = add nsw i32 %45, %49
  %51 = getelementptr inbounds %"struct.glimg::CompressedBlockData", ptr %6, i32 0, i32 0
  %52 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %51, i32 0, i32 2
  %53 = load i32, ptr %52, align 8, !tbaa !18
  %54 = sdiv i32 %50, %53
  %55 = sext i32 %54 to i64
  store i64 %55, ptr %8, align 8, !tbaa !16
  br label %69

56:                                               ; preds = %22
  %57 = getelementptr inbounds %"struct.glimg::CompressedBlockData", ptr %6, i32 0, i32 0
  %58 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %57, i32 0, i32 0
  %59 = load i32, ptr %58, align 8, !tbaa !19
  %60 = icmp sge i32 %59, 2
  br i1 %60, label %61, label %62

61:                                               ; preds = %56
  br label %64

62:                                               ; preds = %56
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 129, ptr noundef @__PRETTY_FUNCTION__._ZN5glimg17CalcImageByteSizeERKNS_11ImageFormatERKNS_10DimensionsE) #5
  unreachable

63:                                               ; No predecessors!
  br label %64

64:                                               ; preds = %63, %61
  %65 = getelementptr inbounds %"struct.glimg::CompressedBlockData", ptr %6, i32 0, i32 0
  %66 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %65, i32 0, i32 2
  %67 = load i32, ptr %66, align 8, !tbaa !18
  %68 = sext i32 %67 to i64
  store i64 %68, ptr %8, align 8, !tbaa !16
  br label %69

69:                                               ; preds = %64, %42
  %70 = load i64, ptr %7, align 8, !tbaa !16
  %71 = load i64, ptr %8, align 8, !tbaa !16
  %72 = mul i64 %70, %71
  %73 = getelementptr inbounds %"struct.glimg::CompressedBlockData", ptr %6, i32 0, i32 1
  %74 = load i64, ptr %73, align 8, !tbaa !20
  %75 = mul i64 %72, %74
  store i64 %75, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %6) #6
  br label %112

76:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %77 = load ptr, ptr %4, align 8, !tbaa !5
  %78 = call noundef i64 @_ZN5glimg17CalcBytesPerPixelERKNS_11ImageFormatE(ptr noundef nonnull align 4 dereferenceable(20) %77)
  store i64 %78, ptr %9, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = load i64, ptr %9, align 8, !tbaa !16
  %81 = load ptr, ptr %5, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %81, i32 0, i32 1
  %83 = load i32, ptr %82, align 4, !tbaa !12
  %84 = sext i32 %83 to i64
  %85 = mul i64 %80, %84
  %86 = call noundef i64 @_ZNK5glimg11ImageFormat14AlignByteCountEm(ptr noundef nonnull align 4 dereferenceable(20) %79, i64 noundef %85)
  store i64 %86, ptr %10, align 8, !tbaa !16
  %87 = load ptr, ptr %5, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %87, i32 0, i32 0
  %89 = load i32, ptr %88, align 4, !tbaa !9
  %90 = icmp sgt i32 %89, 1
  br i1 %90, label %91, label %98

91:                                               ; preds = %76
  %92 = load ptr, ptr %5, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %92, i32 0, i32 2
  %94 = load i32, ptr %93, align 4, !tbaa !17
  %95 = sext i32 %94 to i64
  %96 = load i64, ptr %10, align 8, !tbaa !16
  %97 = mul i64 %96, %95
  store i64 %97, ptr %10, align 8, !tbaa !16
  br label %98

98:                                               ; preds = %91, %76
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %99, i32 0, i32 0
  %101 = load i32, ptr %100, align 4, !tbaa !9
  %102 = icmp eq i32 %101, 3
  br i1 %102, label %103, label %110

103:                                              ; preds = %98
  %104 = load ptr, ptr %5, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.glimg::Dimensions", ptr %104, i32 0, i32 3
  %106 = load i32, ptr %105, align 4, !tbaa !21
  %107 = sext i32 %106 to i64
  %108 = load i64, ptr %10, align 8, !tbaa !16
  %109 = mul i64 %108, %107
  store i64 %109, ptr %10, align 8, !tbaa !16
  br label %110

110:                                              ; preds = %103, %98
  %111 = load i64, ptr %10, align 8, !tbaa !16
  store i64 %111, ptr %3, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %112

112:                                              ; preds = %110, %69
  %113 = load i64, ptr %3, align 8
  ret i64 %113
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5glimg11ImageFormat4TypeEv(ptr noundef nonnull align 4 dereferenceable(20)) #2 align 2

declare noundef i64 @_ZNK5glimg11ImageFormat14AlignByteCountEm(ptr noundef nonnull align 4 dereferenceable(20), i64 noundef) #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 = { 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 = { "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 = { noreturn nounwind }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN5glimg10DimensionsE", !11, i64 0, !11, i64 4, !11, i64 8, !11, i64 12}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 4}
!13 = !{!14, !11, i64 4}
!14 = !{!"_ZTSN5glimg19CompressedBlockDataE", !10, i64 0, !15, i64 16}
!15 = !{!"long", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = !{!10, !11, i64 8}
!18 = !{!14, !11, i64 8}
!19 = !{!14, !11, i64 0}
!20 = !{!14, !15, i64 16}
!21 = !{!10, !11, i64 12}


; 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.glimg::CompressedBlockData" = type { %"struct.glimg::Dimensions", i64 }
%"struct.glimg::Dimensions" = type { i32, i32, i32, i32 }

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [24 x i8], align 1
@__PRETTY_FUNCTION__._ZN5glimg17CalcImageByteSizeERKNS_11ImageFormatERKNS_10DimensionsE = external hidden unnamed_addr constant [73 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [30 x i8], align 1

; 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 i64 @_ZN5glimg17CalcBytesPerPixelERKNS_11ImageFormatE(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN5glimg23GetBlockCompressionDataENS_13PixelDataTypeE(ptr dead_on_unwind noalias writable sret(%"struct.glimg::CompressedBlockData") align 8, i32 noundef) local_unnamed_addr #2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef i64 @_ZN5glimg17CalcImageByteSizeERKNS_11ImageFormatERKNS_10DimensionsE(ptr noundef nonnull align 4 dereferenceable(20) %0, ptr nocapture noundef nonnull readonly align 4 dereferenceable(16) %1) local_unnamed_addr #1 {
  %3 = alloca %"struct.glimg::CompressedBlockData", align 8
  %4 = tail call noundef i32 @_ZNK5glimg11ImageFormat4TypeEv(ptr noundef nonnull align 4 dereferenceable(20) %0)
  %5 = icmp sgt i32 %4, 5
  br i1 %5, label %6, label %41

6:                                                ; preds = %2
  %7 = load i32, ptr %1, align 4, !tbaa !5
  %.not = icmp eq i32 %7, 3
  br i1 %.not, label %8, label %9

8:                                                ; preds = %6
  tail call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 119, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5glimg17CalcImageByteSizeERKNS_11ImageFormatERKNS_10DimensionsE) #5
  unreachable

9:                                                ; preds = %6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #6
  %10 = tail call noundef i32 @_ZNK5glimg11ImageFormat4TypeEv(ptr noundef nonnull align 4 dereferenceable(20) %0)
  call void @_ZN5glimg23GetBlockCompressionDataENS_13PixelDataTypeE(ptr dead_on_unwind nonnull writable sret(%"struct.glimg::CompressedBlockData") align 8 %3, i32 noundef %10)
  %11 = getelementptr inbounds i8, ptr %1, i64 4
  %12 = load i32, ptr %11, align 4, !tbaa !10
  %13 = getelementptr inbounds i8, ptr %3, i64 4
  %14 = load i32, ptr %13, align 4, !tbaa !11
  %15 = add i32 %12, -1
  %16 = add i32 %15, %14
  %17 = sdiv i32 %16, %14
  %18 = sext i32 %17 to i64
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %20 = icmp sgt i32 %19, 1
  br i1 %20, label %21, label %29

21:                                               ; preds = %9
  %22 = getelementptr inbounds i8, ptr %1, i64 8
  %23 = load i32, ptr %22, align 4, !tbaa !14
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = load i32, ptr %24, align 8, !tbaa !15
  %26 = add i32 %23, -1
  %27 = add i32 %26, %25
  %28 = sdiv i32 %27, %25
  br label %36

29:                                               ; preds = %9
  %30 = load i32, ptr %3, align 8, !tbaa !16
  %31 = icmp sgt i32 %30, 1
  br i1 %31, label %33, label %32

32:                                               ; preds = %29
  call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 129, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN5glimg17CalcImageByteSizeERKNS_11ImageFormatERKNS_10DimensionsE) #5
  unreachable

33:                                               ; preds = %29
  %34 = getelementptr inbounds i8, ptr %3, i64 8
  %35 = load i32, ptr %34, align 8, !tbaa !15
  br label %36

36:                                               ; preds = %33, %21
  %.020.in = phi i32 [ %28, %21 ], [ %35, %33 ]
  %.020 = sext i32 %.020.in to i64
  %37 = mul nsw i64 %.020, %18
  %38 = getelementptr inbounds i8, ptr %3, i64 16
  %39 = load i64, ptr %38, align 8, !tbaa !17
  %40 = mul i64 %37, %39
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #6
  br label %57

41:                                               ; preds = %2
  %42 = tail call noundef i64 @_ZN5glimg17CalcBytesPerPixelERKNS_11ImageFormatE(ptr noundef nonnull align 4 dereferenceable(20) %0)
  %43 = getelementptr inbounds i8, ptr %1, i64 4
  %44 = load i32, ptr %43, align 4, !tbaa !10
  %45 = sext i32 %44 to i64
  %46 = mul i64 %42, %45
  %47 = tail call noundef i64 @_ZNK5glimg11ImageFormat14AlignByteCountEm(ptr noundef nonnull align 4 dereferenceable(20) %0, i64 noundef %46)
  %48 = load i32, ptr %1, align 4, !tbaa !5
  %49 = icmp sgt i32 %48, 1
  %50 = getelementptr inbounds i8, ptr %1, i64 8
  %51 = load i32, ptr %50, align 4
  %narrow = select i1 %49, i32 %51, i32 1
  %52 = sext i32 %narrow to i64
  %.0 = mul i64 %47, %52
  %53 = icmp eq i32 %48, 3
  %54 = getelementptr inbounds i8, ptr %1, i64 12
  %55 = load i32, ptr %54, align 4
  %narrow21 = select i1 %53, i32 %55, i32 1
  %56 = sext i32 %narrow21 to i64
  %.1 = mul i64 %.0, %56
  br label %57

57:                                               ; preds = %41, %36
  %.019 = phi i64 [ %40, %36 ], [ %.1, %41 ]
  ret i64 %.019
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK5glimg11ImageFormat4TypeEv(ptr noundef nonnull align 4 dereferenceable(20)) local_unnamed_addr #2 align 2

declare noundef i64 @_ZNK5glimg11ImageFormat14AlignByteCountEm(ptr noundef nonnull align 4 dereferenceable(20), i64 noundef) local_unnamed_addr #4

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 = { 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 = { "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 = { noreturn nounwind }
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, !7, i64 0}
!6 = !{!"_ZTSN5glimg10DimensionsE", !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++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !7, i64 4}
!12 = !{!"_ZTSN5glimg19CompressedBlockDataE", !6, i64 0, !13, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!12, !7, i64 8}
!16 = !{!12, !7, i64 0}
!17 = !{!12, !13, i64 16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass