; LLVM IR from drohmer/cgp :: library/cgp/07_image/image.ll (ZNK3cgp15image_structure15mirror_verticalEv)

; 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.cgp::image_structure" = type { i32, i32, i32, %"struct.cgp::numarray" }
%"struct.cgp::numarray" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN3cgpL17size_of_componentERKNS_16image_color_typeE(ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3cgp8numarrayIhEixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3cgp8numarrayIhEixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp15image_structureD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cgp15image_structureC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3cgp15image_structure15mirror_verticalEv(ptr dead_on_unwind noalias writable sret(%"struct.cgp::image_structure") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i1, align 1
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %15 = load ptr, ptr %4, align 8
  store i1 false, ptr %5, align 1
  call void @_ZN3cgp15image_structureC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(40) %15)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %16 = getelementptr inbounds %"struct.cgp::image_structure", ptr %15, i32 0, i32 2
  %17 = invoke noundef i32 @_ZN3cgpL17size_of_componentERKNS_16image_color_typeE(ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %18 unwind label %25

18:                                               ; preds = %2
  store i32 %17, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %19

19:                                               ; preds = %88, %18
  %20 = load i32, ptr %9, align 4, !tbaa !9
  %21 = getelementptr inbounds %"struct.cgp::image_structure", ptr %15, i32 0, i32 0
  %22 = load i32, ptr %21, align 8, !tbaa !11
  %23 = icmp slt i32 %20, %22
  br i1 %23, label %29, label %24

24:                                               ; preds = %19
  store i32 2, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %91

25:                                               ; preds = %2
  %26 = landingpad { ptr, i32 }
          cleanup
  %27 = extractvalue { ptr, i32 } %26, 0
  store ptr %27, ptr %7, align 8
  %28 = extractvalue { ptr, i32 } %26, 1
  store i32 %28, ptr %8, align 4
  br label %93

29:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %84, %29
  %31 = load i32, ptr %11, align 4, !tbaa !9
  %32 = getelementptr inbounds %"struct.cgp::image_structure", ptr %15, i32 0, i32 1
  %33 = load i32, ptr %32, align 4, !tbaa !19
  %34 = icmp slt i32 %31, %33
  br i1 %34, label %36, label %35

35:                                               ; preds = %30
  store i32 5, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %87

36:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %37 = load i32, ptr %9, align 4, !tbaa !9
  %38 = getelementptr inbounds %"struct.cgp::image_structure", ptr %15, i32 0, i32 0
  %39 = load i32, ptr %38, align 8, !tbaa !11
  %40 = load i32, ptr %11, align 4, !tbaa !9
  %41 = mul nsw i32 %39, %40
  %42 = add nsw i32 %37, %41
  store i32 %42, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %43 = load i32, ptr %9, align 4, !tbaa !9
  %44 = getelementptr inbounds %"struct.cgp::image_structure", ptr %15, i32 0, i32 0
  %45 = load i32, ptr %44, align 8, !tbaa !11
  %46 = getelementptr inbounds %"struct.cgp::image_structure", ptr %15, i32 0, i32 1
  %47 = load i32, ptr %46, align 4, !tbaa !19
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = sub nsw i32 %47, %48
  %50 = sub nsw i32 %49, 1
  %51 = mul nsw i32 %45, %50
  %52 = add nsw i32 %43, %51
  store i32 %52, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %53

53:                                               ; preds = %76, %36
  %54 = load i32, ptr %14, align 4, !tbaa !9
  %55 = load i32, ptr %6, align 4, !tbaa !9
  %56 = icmp slt i32 %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  store i32 8, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %83

58:                                               ; preds = %53
  %59 = getelementptr inbounds %"struct.cgp::image_structure", ptr %15, i32 0, i32 3
  %60 = load i32, ptr %14, align 4, !tbaa !9
  %61 = load i32, ptr %6, align 4, !tbaa !9
  %62 = load i32, ptr %12, align 4, !tbaa !9
  %63 = mul nsw i32 %61, %62
  %64 = add nsw i32 %60, %63
  %65 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3cgp8numarrayIhEixEi(ptr noundef nonnull align 8 dereferenceable(24) %59, i32 noundef %64)
          to label %66 unwind label %79

66:                                               ; preds = %58
  %67 = load i8, ptr %65, align 1, !tbaa !20
  %68 = getelementptr inbounds %"struct.cgp::image_structure", ptr %0, i32 0, i32 3
  %69 = load i32, ptr %14, align 4, !tbaa !9
  %70 = load i32, ptr %6, align 4, !tbaa !9
  %71 = load i32, ptr %13, align 4, !tbaa !9
  %72 = mul nsw i32 %70, %71
  %73 = add nsw i32 %69, %72
  %74 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3cgp8numarrayIhEixEi(ptr noundef nonnull align 8 dereferenceable(24) %68, i32 noundef %73)
          to label %75 unwind label %79

75:                                               ; preds = %66
  store i8 %67, ptr %74, align 1, !tbaa !20
  br label %76

76:                                               ; preds = %75
  %77 = load i32, ptr %14, align 4, !tbaa !9
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %14, align 4, !tbaa !9
  br label %53, !llvm.loop !21

79:                                               ; preds = %66, %58
  %80 = landingpad { ptr, i32 }
          cleanup
  %81 = extractvalue { ptr, i32 } %80, 0
  store ptr %81, ptr %7, align 8
  %82 = extractvalue { ptr, i32 } %80, 1
  store i32 %82, ptr %8, align 4
  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 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %93

83:                                               ; preds = %57
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %11, align 4, !tbaa !9
  br label %30, !llvm.loop !23

87:                                               ; preds = %35
  br label %88

88:                                               ; preds = %87
  %89 = load i32, ptr %9, align 4, !tbaa !9
  %90 = add nsw i32 %89, 1
  store i32 %90, ptr %9, align 4, !tbaa !9
  br label %19, !llvm.loop !24

91:                                               ; preds = %24
  store i1 true, ptr %5, align 1
  store i32 1, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  %92 = load i1, ptr %5, align 1
  br i1 %92, label %95, label %94

93:                                               ; preds = %79, %25
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @_ZN3cgp15image_structureD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #5
  br label %96

94:                                               ; preds = %91
  call void @_ZN3cgp15image_structureD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #5
  br label %95

95:                                               ; preds = %94, %91
  ret void

96:                                               ; preds = %93
  %97 = load ptr, ptr %7, align 8
  %98 = load i32, ptr %8, align 4
  %99 = insertvalue { ptr, i32 } poison, ptr %97, 0
  %100 = insertvalue { ptr, i32 } %99, i32 %98, 1
  resume { ptr, i32 } %100
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #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 = { inlinehint 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 #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 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN3cgp15image_structureE", !10, i64 0, !10, i64 4, !13, i64 8, !14, i64 16}
!13 = !{!"_ZTSN3cgp16image_color_typeE", !7, i64 0}
!14 = !{!"_ZTSN3cgp8numarrayIhEE", !15, i64 0}
!15 = !{!"_ZTSSt6vectorIhSaIhEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!12, !10, i64 4}
!20 = !{!7, !7, i64 0}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}
!24 = distinct !{!24, !22}


; 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.cgp::image_structure" = type { i32, i32, i32, %"struct.cgp::numarray" }
%"struct.cgp::numarray" = type { %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i32 @_ZN3cgpL17size_of_componentERKNS_16image_color_typeE(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3cgp8numarrayIhEixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 1 dereferenceable(1) ptr @_ZN3cgp8numarrayIhEixEi(ptr noundef nonnull align 8 dereferenceable(24), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3cgp15image_structureD2Ev(ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN3cgp15image_structureC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3cgp15image_structure15mirror_verticalEv(ptr dead_on_unwind noalias nonnull writable sret(%"struct.cgp::image_structure") align 8 %0, ptr noundef nonnull align 8 dereferenceable(40) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  tail call void @_ZN3cgp15image_structureC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(40) %1)
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  %4 = tail call noundef i32 @_ZN3cgpL17size_of_componentERKNS_16image_color_typeE(ptr noundef nonnull align 4 dereferenceable(4) %3)
  %5 = load i32, ptr %1, align 8, !tbaa !5
  %6 = icmp sgt i32 %5, 0
  br i1 %6, label %.preheader.lr.ph, label %._crit_edge

.preheader.lr.ph:                                 ; preds = %2
  %7 = getelementptr inbounds i8, ptr %1, i64 4
  %8 = icmp slt i32 %4, 1
  %9 = getelementptr inbounds i8, ptr %1, i64 16
  %10 = getelementptr inbounds i8, ptr %0, i64 16
  %11 = load i32, ptr %7, align 4, !tbaa !17
  %12 = icmp sgt i32 %11, 0
  br i1 %12, label %.preheader, label %._crit_edge

.preheader:                                       ; preds = %.preheader.lr.ph, %._crit_edge27
  %13 = phi i32 [ %39, %._crit_edge27 ], [ %5, %.preheader.lr.ph ]
  %14 = phi i32 [ %40, %._crit_edge27 ], [ %11, %.preheader.lr.ph ]
  %.02028 = phi i32 [ %41, %._crit_edge27 ], [ 0, %.preheader.lr.ph ]
  %15 = icmp slt i32 %14, 1
  %brmerge = or i1 %15, %8
  br i1 %brmerge, label %._crit_edge27, label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.preheader, %._crit_edge.us
  %16 = phi i32 [ %36, %._crit_edge.us ], [ %14, %.preheader ]
  %.02125.us = phi i32 [ %35, %._crit_edge.us ], [ 0, %.preheader ]
  %17 = load i32, ptr %1, align 8, !tbaa !5
  %18 = mul nsw i32 %17, %.02125.us
  %19 = add nsw i32 %18, %.02028
  %20 = xor i32 %.02125.us, -1
  %21 = add i32 %16, %20
  %22 = mul nsw i32 %17, %21
  %23 = add nsw i32 %22, %.02028
  %24 = mul nsw i32 %19, %4
  %25 = mul nsw i32 %23, %4
  br label %26

26:                                               ; preds = %.lr.ph.us, %33
  %.024.us = phi i32 [ 0, %.lr.ph.us ], [ %34, %33 ]
  %27 = add nsw i32 %.024.us, %24
  %28 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZNK3cgp8numarrayIhEixEi(ptr noundef nonnull align 8 dereferenceable(24) %9, i32 noundef %27)
          to label %29 unwind label %.split.us

29:                                               ; preds = %26
  %30 = load i8, ptr %28, align 1, !tbaa !18
  %31 = add nsw i32 %.024.us, %25
  %32 = invoke noundef nonnull align 1 dereferenceable(1) ptr @_ZN3cgp8numarrayIhEixEi(ptr noundef nonnull align 8 dereferenceable(24) %10, i32 noundef %31)
          to label %33 unwind label %.split.us

33:                                               ; preds = %29
  store i8 %30, ptr %32, align 1, !tbaa !18
  %34 = add nuw nsw i32 %.024.us, 1
  %exitcond.not = icmp eq i32 %34, %4
  br i1 %exitcond.not, label %._crit_edge.us, label %26, !llvm.loop !19

._crit_edge.us:                                   ; preds = %33
  %35 = add nuw nsw i32 %.02125.us, 1
  %36 = load i32, ptr %7, align 4, !tbaa !17
  %37 = icmp slt i32 %35, %36
  br i1 %37, label %.lr.ph.us, label %._crit_edge27.loopexit, !llvm.loop !21

.split.us:                                        ; preds = %29, %26
  %38 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZN3cgp15image_structureD2Ev(ptr noundef nonnull align 8 dereferenceable(40) %0) #4
  resume { ptr, i32 } %38

._crit_edge27.loopexit:                           ; preds = %._crit_edge.us
  %.pre = load i32, ptr %1, align 8, !tbaa !5
  br label %._crit_edge27

._crit_edge27:                                    ; preds = %.preheader, %._crit_edge27.loopexit
  %39 = phi i32 [ %.pre, %._crit_edge27.loopexit ], [ %13, %.preheader ]
  %40 = phi i32 [ %36, %._crit_edge27.loopexit ], [ %14, %.preheader ]
  %41 = add nuw nsw i32 %.02028, 1
  %42 = icmp slt i32 %41, %39
  br i1 %42, label %.preheader, label %._crit_edge, !llvm.loop !22

._crit_edge:                                      ; preds = %._crit_edge27, %.preheader.lr.ph, %2
  ret void
}

attributes #0 = { 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 #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 = { 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 #3 = { inlinehint 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 #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 0}
!6 = !{!"_ZTSN3cgp15image_structureE", !7, i64 0, !7, i64 4, !10, i64 8, !11, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSN3cgp16image_color_typeE", !8, i64 0}
!11 = !{!"_ZTSN3cgp8numarrayIhEE", !12, i64 0}
!12 = !{!"_ZTSSt6vectorIhSaIhEE", !13, i64 0}
!13 = !{!"_ZTSSt12_Vector_baseIhSaIhEE", !14, i64 0}
!14 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE12_Vector_implE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIhSaIhEE17_Vector_impl_dataE", !16, i64 0, !16, i64 8, !16, i64 16}
!16 = !{!"any pointer", !8, i64 0}
!17 = !{!6, !7, i64 4}
!18 = !{!8, !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20, !23}
!23 = !{!"llvm.loop.unswitch.partial.disable"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass