; LLVM IR from sympiler/nasoq :: nasoq_driver.ll (ZN7sym_lib8diagonalEid)

; 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.format::CSC" = type { i64, i64, i64, i32, i8, i8, ptr, ptr, ptr }

@.str.124 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__._ZN7sym_lib8diagonalEid = external hidden unnamed_addr constant [36 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

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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6format3CSCC2Emmm(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7sym_lib8diagonalEid(i32 noundef %0, double noundef %1) #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca double, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store double %1, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %9 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 56) #6
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = load i32, ptr %3, align 4, !tbaa !5
  %13 = sext i32 %12 to i64
  %14 = load i32, ptr %3, align 4, !tbaa !5
  %15 = sext i32 %14 to i64
  invoke void @_ZN6format3CSCC2Emmm(ptr noundef nonnull align 8 dereferenceable(56) %9, i64 noundef %11, i64 noundef %13, i64 noundef %15)
          to label %16 unwind label %26

16:                                               ; preds = %2
  store ptr %9, ptr %5, align 8, !tbaa !11
  %17 = load ptr, ptr %5, align 8, !tbaa !11
  %18 = getelementptr inbounds %"struct.format::CSC", ptr %17, i32 0, i32 6
  %19 = load ptr, ptr %18, align 8, !tbaa !13
  %20 = getelementptr inbounds i32, ptr %19, i64 0
  store i32 0, ptr %20, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %60, %16
  %22 = load i32, ptr %8, align 4, !tbaa !5
  %23 = load i32, ptr %3, align 4, !tbaa !5
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %30, label %25

25:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %63

26:                                               ; preds = %2
  %27 = landingpad { ptr, i32 }
          cleanup
  %28 = extractvalue { ptr, i32 } %27, 0
  store ptr %28, ptr %6, align 8
  %29 = extractvalue { ptr, i32 } %27, 1
  store i32 %29, ptr %7, align 4
  call void @_ZdlPvm(ptr noundef %9, i64 noundef 56) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  br label %78

30:                                               ; preds = %21
  %31 = load i32, ptr %8, align 4, !tbaa !5
  %32 = load ptr, ptr %5, align 8, !tbaa !11
  %33 = getelementptr inbounds %"struct.format::CSC", ptr %32, i32 0, i32 7
  %34 = load ptr, ptr %33, align 8, !tbaa !17
  %35 = load i32, ptr %8, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds i32, ptr %34, i64 %36
  store i32 %31, ptr %37, align 4, !tbaa !5
  %38 = load ptr, ptr %5, align 8, !tbaa !11
  %39 = getelementptr inbounds %"struct.format::CSC", ptr %38, i32 0, i32 6
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds i32, ptr %40, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = add nsw i32 %44, 1
  %46 = load ptr, ptr %5, align 8, !tbaa !11
  %47 = getelementptr inbounds %"struct.format::CSC", ptr %46, i32 0, i32 6
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = load i32, ptr %8, align 4, !tbaa !5
  %50 = add nsw i32 %49, 1
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds i32, ptr %48, i64 %51
  store i32 %45, ptr %52, align 4, !tbaa !5
  %53 = load double, ptr %4, align 8, !tbaa !9
  %54 = load ptr, ptr %5, align 8, !tbaa !11
  %55 = getelementptr inbounds %"struct.format::CSC", ptr %54, i32 0, i32 8
  %56 = load ptr, ptr %55, align 8, !tbaa !18
  %57 = load i32, ptr %8, align 4, !tbaa !5
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds double, ptr %56, i64 %58
  store double %53, ptr %59, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %30
  %61 = load i32, ptr %8, align 4, !tbaa !5
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %8, align 4, !tbaa !5
  br label %21, !llvm.loop !19

63:                                               ; preds = %25
  %64 = load ptr, ptr %5, align 8, !tbaa !11
  %65 = getelementptr inbounds %"struct.format::CSC", ptr %64, i32 0, i32 6
  %66 = load ptr, ptr %65, align 8, !tbaa !13
  %67 = load i32, ptr %3, align 4, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds i32, ptr %66, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = load i32, ptr %3, align 4, !tbaa !5
  %72 = icmp eq i32 %70, %71
  br i1 %72, label %73, label %74

73:                                               ; preds = %63
  br label %76

74:                                               ; preds = %63
  call void @__assert_fail(ptr noundef @.str.126, ptr noundef @.str.124, i32 noundef 586, ptr noundef @__PRETTY_FUNCTION__._ZN7sym_lib8diagonalEid) #8
  unreachable

75:                                               ; No predecessors!
  br label %76

76:                                               ; preds = %75, %73
  %77 = load ptr, ptr %5, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret ptr %77

78:                                               ; preds = %26
  %79 = load ptr, ptr %6, align 8
  %80 = load i32, ptr %7, align 4
  %81 = insertvalue { ptr, i32 } poison, ptr %79, 0
  %82 = insertvalue { ptr, i32 } %81, i32 %80, 1
  resume { ptr, i32 } %82
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nobuiltin allocsize(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 = { nobuiltin 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 = { 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 }
attributes #6 = { builtin allocsize(0) }
attributes #7 = { builtin nounwind }
attributes #8 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !12, i64 32}
!14 = !{!"_ZTSN6format3CSCE", !15, i64 0, !15, i64 8, !15, i64 16, !6, i64 24, !16, i64 28, !16, i64 29, !12, i64 32, !12, i64 40, !12, i64 48}
!15 = !{!"long", !7, i64 0}
!16 = !{!"bool", !7, i64 0}
!17 = !{!14, !12, i64 40}
!18 = !{!14, !12, i64 48}
!19 = distinct !{!19, !20}
!20 = !{!"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"

@.str.124 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [13 x i8], align 1
@__PRETTY_FUNCTION__._ZN7sym_lib8diagonalEid = external hidden unnamed_addr constant [36 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6format3CSCC2Emmm(ptr noundef nonnull align 8 dereferenceable(56), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull ptr @_ZN7sym_lib8diagonalEid(i32 noundef %0, double noundef %1) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %3 = tail call noalias noundef nonnull dereferenceable(56) ptr @_Znwm(i64 noundef 56) #4
  %4 = sext i32 %0 to i64
  invoke void @_ZN6format3CSCC2Emmm(ptr noundef nonnull align 8 dereferenceable(56) %3, i64 noundef %4, i64 noundef %4, i64 noundef %4)
          to label %5 unwind label %48

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %3, i64 32
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  store i32 0, ptr %7, align 4, !tbaa !13
  %8 = icmp sgt i32 %0, 0
  br i1 %8, label %.lver.check, label %._crit_edge

.lver.check:                                      ; preds = %5
  %9 = getelementptr inbounds i8, ptr %3, i64 40
  %10 = load ptr, ptr %9, align 8, !tbaa !14
  %11 = getelementptr inbounds i8, ptr %3, i64 48
  %12 = load ptr, ptr %11, align 8, !tbaa !15
  %wide.trip.count = zext nneg i32 %0 to i64
  %13 = shl nuw nsw i64 %wide.trip.count, 2
  %scevgep = getelementptr i8, ptr %10, i64 %13
  %14 = getelementptr i8, ptr %7, i64 %13
  %scevgep25 = getelementptr i8, ptr %14, i64 4
  %bound0 = icmp ult ptr %10, %scevgep25
  %bound1 = icmp ult ptr %7, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.ph.lver.orig.preheader, label %.ph

.ph.lver.orig.preheader:                          ; preds = %.lver.check
  %xtraiter28 = and i64 %wide.trip.count, 1
  %15 = icmp eq i32 %0, 1
  br i1 %15, label %._crit_edge.loopexit.unr-lcssa, label %.ph.lver.orig.preheader.new

.ph.lver.orig.preheader.new:                      ; preds = %.ph.lver.orig.preheader
  %unroll_iter30 = and i64 %wide.trip.count, 2147483646
  br label %.ph.lver.orig

.ph.lver.orig:                                    ; preds = %.ph.lver.orig, %.ph.lver.orig.preheader.new
  %indvars.iv.lver.orig = phi i64 [ 0, %.ph.lver.orig.preheader.new ], [ %indvars.iv.next.lver.orig.1, %.ph.lver.orig ]
  %niter31 = phi i64 [ 0, %.ph.lver.orig.preheader.new ], [ %niter31.next.1, %.ph.lver.orig ]
  %16 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv.lver.orig
  %17 = trunc nuw nsw i64 %indvars.iv.lver.orig to i32
  store i32 %17, ptr %16, align 4, !tbaa !13
  %18 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv.lver.orig
  %19 = load i32, ptr %18, align 4, !tbaa !13
  %20 = add nsw i32 %19, 1
  %indvars.iv.next.lver.orig = or disjoint i64 %indvars.iv.lver.orig, 1
  %21 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv.next.lver.orig
  store i32 %20, ptr %21, align 4, !tbaa !13
  %22 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.lver.orig
  store double %1, ptr %22, align 8, !tbaa !16
  %23 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv.next.lver.orig
  %24 = trunc nuw nsw i64 %indvars.iv.next.lver.orig to i32
  store i32 %24, ptr %23, align 4, !tbaa !13
  %25 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv.next.lver.orig
  %26 = load i32, ptr %25, align 4, !tbaa !13
  %27 = add nsw i32 %26, 1
  %indvars.iv.next.lver.orig.1 = add nuw nsw i64 %indvars.iv.lver.orig, 2
  %28 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv.next.lver.orig.1
  store i32 %27, ptr %28, align 4, !tbaa !13
  %29 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.next.lver.orig
  store double %1, ptr %29, align 8, !tbaa !16
  %niter31.next.1 = add i64 %niter31, 2
  %niter31.ncmp.1 = icmp eq i64 %niter31.next.1, %unroll_iter30
  br i1 %niter31.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %.ph.lver.orig, !llvm.loop !18

.ph:                                              ; preds = %.lver.check
  %load_initial = load i32, ptr %7, align 4
  %xtraiter = and i64 %wide.trip.count, 1
  %30 = icmp eq i32 %0, 1
  br i1 %30, label %._crit_edge.loopexit27.unr-lcssa, label %.ph.new

.ph.new:                                          ; preds = %.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %50

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.ph.lver.orig, %.ph.lver.orig.preheader
  %indvars.iv.lver.orig.unr = phi i64 [ 0, %.ph.lver.orig.preheader ], [ %indvars.iv.next.lver.orig.1, %.ph.lver.orig ]
  %lcmp.mod29.not = icmp eq i64 %xtraiter28, 0
  br i1 %lcmp.mod29.not, label %._crit_edge, label %.ph.lver.orig.epil

.ph.lver.orig.epil:                               ; preds = %._crit_edge.loopexit.unr-lcssa
  %31 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv.lver.orig.unr
  %32 = trunc nuw nsw i64 %indvars.iv.lver.orig.unr to i32
  store i32 %32, ptr %31, align 4, !tbaa !13
  %33 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv.lver.orig.unr
  %34 = load i32, ptr %33, align 4, !tbaa !13
  %35 = add nsw i32 %34, 1
  %36 = getelementptr i32, ptr %7, i64 %indvars.iv.lver.orig.unr
  %37 = getelementptr i8, ptr %36, i64 4
  store i32 %35, ptr %37, align 4, !tbaa !13
  %38 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.lver.orig.unr
  store double %1, ptr %38, align 8, !tbaa !16
  br label %._crit_edge

._crit_edge.loopexit27.unr-lcssa:                 ; preds = %50, %.ph
  %store_forwarded.unr = phi i32 [ %load_initial, %.ph ], [ %58, %50 ]
  %indvars.iv.unr = phi i64 [ 0, %.ph ], [ %indvars.iv.next.1, %50 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit27.epilog-lcssa

._crit_edge.loopexit27.epilog-lcssa:              ; preds = %._crit_edge.loopexit27.unr-lcssa
  %39 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv.unr
  %40 = trunc nuw nsw i64 %indvars.iv.unr to i32
  store i32 %40, ptr %39, align 4, !tbaa !13
  %41 = add nsw i32 %store_forwarded.unr, 1
  %42 = getelementptr i32, ptr %7, i64 %indvars.iv.unr
  %43 = getelementptr i8, ptr %42, i64 4
  store i32 %41, ptr %43, align 4, !tbaa !13
  %44 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.unr
  store double %1, ptr %44, align 8, !tbaa !16
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit27.epilog-lcssa, %._crit_edge.loopexit27.unr-lcssa, %.ph.lver.orig.epil, %._crit_edge.loopexit.unr-lcssa, %5
  %45 = getelementptr inbounds i32, ptr %7, i64 %4
  %46 = load i32, ptr %45, align 4, !tbaa !13
  %47 = icmp eq i32 %46, %0
  br i1 %47, label %62, label %61

48:                                               ; preds = %2
  %49 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %3, i64 noundef 56) #5
  resume { ptr, i32 } %49

50:                                               ; preds = %50, %.ph.new
  %store_forwarded = phi i32 [ %load_initial, %.ph.new ], [ %58, %50 ]
  %indvars.iv = phi i64 [ 0, %.ph.new ], [ %indvars.iv.next.1, %50 ]
  %niter = phi i64 [ 0, %.ph.new ], [ %niter.next.1, %50 ]
  %51 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv
  %52 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %52, ptr %51, align 4, !tbaa !13
  %53 = add nsw i32 %store_forwarded, 1
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %54 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv.next
  store i32 %53, ptr %54, align 4, !tbaa !13
  %55 = getelementptr inbounds double, ptr %12, i64 %indvars.iv
  store double %1, ptr %55, align 8, !tbaa !16
  %56 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv.next
  %57 = trunc nuw nsw i64 %indvars.iv.next to i32
  store i32 %57, ptr %56, align 4, !tbaa !13
  %58 = add nsw i32 %store_forwarded, 2
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %59 = getelementptr inbounds i32, ptr %7, i64 %indvars.iv.next.1
  store i32 %58, ptr %59, align 4, !tbaa !13
  %60 = getelementptr inbounds double, ptr %12, i64 %indvars.iv.next
  store double %1, ptr %60, align 8, !tbaa !16
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit27.unr-lcssa, label %50, !llvm.loop !18

61:                                               ; preds = %._crit_edge
  tail call void @__assert_fail(ptr noundef nonnull @.str.126, ptr noundef nonnull @.str.124, i32 noundef 586, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7sym_lib8diagonalEid) #6
  unreachable

62:                                               ; preds = %._crit_edge
  ret ptr %3
}

attributes #0 = { 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 #1 = { nobuiltin allocsize(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 = { nobuiltin 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 #3 = { 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 = { builtin allocsize(0) }
attributes #5 = { builtin 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, !12, i64 32}
!6 = !{!"_ZTSN6format3CSCE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24, !11, i64 28, !11, i64 29, !12, i64 32, !12, i64 40, !12, i64 48}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"bool", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!6, !12, i64 40}
!15 = !{!6, !12, i64 48}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !8, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass