; LLVM IR from Muhammad-Magdi/problem-solving :: CSES/Dynamic Programming/cses1158.ll (Z5solvev)

; 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"

@n = external dso_local global i32, align 4
@x = external dso_local global i32, align 4
@H = external dso_local global [1005 x i32], align 16
@S = external dso_local global [1005 x i32], align 16
@dp = external dso_local global [2 x [100002 x i32]], align 16

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z5solvev() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = load i32, ptr @x, align 4, !tbaa !5
  %7 = sext i32 %6 to i64
  %8 = getelementptr inbounds i32, ptr @dp, i64 %7
  %9 = getelementptr inbounds i32, ptr %8, i64 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef @dp, ptr noundef %9, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  store i32 0, ptr getelementptr inbounds ([2 x [100002 x i32]], ptr @dp, i64 0, i64 1), align 8, !tbaa !5
  store i32 0, ptr @dp, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %90, %0
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = icmp sle i32 %11, %12
  br i1 %13, label %15, label %14

14:                                               ; preds = %10
  store i32 2, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %93

15:                                               ; preds = %10
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = and i32 %16, 1
  %18 = sext i32 %17 to i64
  %19 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %18
  %20 = getelementptr inbounds [100002 x i32], ptr %19, i64 0, i64 0
  store i32 0, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %86, %15
  %22 = load i32, ptr %4, align 4, !tbaa !5
  %23 = load i32, ptr @x, align 4, !tbaa !5
  %24 = icmp sle i32 %22, %23
  br i1 %24, label %26, label %25

25:                                               ; preds = %21
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  br label %89

26:                                               ; preds = %21
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = sub nsw i32 %27, 1
  %29 = and i32 %28, 1
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %30
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [100002 x i32], ptr %31, i64 0, i64 %33
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %36 = load i32, ptr %2, align 4, !tbaa !5
  %37 = and i32 %36, 1
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %38
  %40 = load i32, ptr %4, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [100002 x i32], ptr %39, i64 0, i64 %41
  store i32 %35, ptr %42, align 4, !tbaa !5
  %43 = load i32, ptr %4, align 4, !tbaa !5
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [1005 x i32], ptr @H, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = icmp sge i32 %43, %47
  br i1 %48, label %49, label %85

49:                                               ; preds = %26
  %50 = load i32, ptr %2, align 4, !tbaa !5
  %51 = and i32 %50, 1
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %52
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [100002 x i32], ptr %53, i64 0, i64 %55
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = sub nsw i32 %57, 1
  %59 = and i32 %58, 1
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %60
  %62 = load i32, ptr %4, align 4, !tbaa !5
  %63 = load i32, ptr %2, align 4, !tbaa !5
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [1005 x i32], ptr @H, i64 0, i64 %64
  %66 = load i32, ptr %65, align 4, !tbaa !5
  %67 = sub nsw i32 %62, %66
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [100002 x i32], ptr %61, i64 0, i64 %68
  %70 = load i32, ptr %69, align 4, !tbaa !5
  %71 = load i32, ptr %2, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds [1005 x i32], ptr @S, i64 0, i64 %72
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = add nsw i32 %70, %74
  store i32 %75, ptr %5, align 4, !tbaa !5
  %76 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %56, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = load i32, ptr %2, align 4, !tbaa !5
  %79 = and i32 %78, 1
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %80
  %82 = load i32, ptr %4, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [100002 x i32], ptr %81, i64 0, i64 %83
  store i32 %77, ptr %84, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %85

85:                                               ; preds = %49, %26
  br label %86

86:                                               ; preds = %85
  %87 = load i32, ptr %4, align 4, !tbaa !5
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %4, align 4, !tbaa !5
  br label %21, !llvm.loop !9

89:                                               ; preds = %25
  br label %90

90:                                               ; preds = %89
  %91 = load i32, ptr %2, align 4, !tbaa !5
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %2, align 4, !tbaa !5
  br label %10, !llvm.loop !11

93:                                               ; preds = %14
  %94 = load i32, ptr @n, align 4, !tbaa !5
  %95 = and i32 %94, 1
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %96
  %98 = load i32, ptr @x, align 4, !tbaa !5
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds [100002 x i32], ptr %97, i64 0, i64 %99
  %101 = load i32, ptr %100, align 4, !tbaa !5
  ret i32 %101
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #3

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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


; 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"

@n = external dso_local local_unnamed_addr global i32, align 4
@x = external dso_local local_unnamed_addr global i32, align 4
@H = external dso_local local_unnamed_addr global [1005 x i32], align 16
@S = external dso_local local_unnamed_addr global [1005 x i32], align 16
@dp = external dso_local global [2 x [100002 x i32]], align 16

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z5solvev() local_unnamed_addr #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = load i32, ptr @x, align 4, !tbaa !5
  %4 = sext i32 %3 to i64
  %5 = getelementptr inbounds i32, ptr @dp, i64 %4
  %6 = getelementptr inbounds i8, ptr %5, i64 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  store i32 0, ptr %1, align 4, !tbaa !5
  call void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef nonnull @dp, ptr noundef nonnull %6, ptr noundef nonnull align 4 dereferenceable(4) %1)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  store i32 0, ptr getelementptr inbounds (i8, ptr @dp, i64 400008), align 8, !tbaa !5
  store i32 0, ptr @dp, align 16, !tbaa !5
  %7 = load i32, ptr @n, align 4, !tbaa !5
  %.not25 = icmp slt i32 %7, 1
  %.pre37 = load i32, ptr @x, align 4, !tbaa !5
  br i1 %.not25, label %._crit_edge29, label %.lr.ph28

.lr.ph28:                                         ; preds = %0
  %8 = icmp slt i32 %.pre37, 1
  br i1 %8, label %.lr.ph28.split.us.preheader, label %.lr.ph28.split

.lr.ph28.split.us.preheader:                      ; preds = %.lr.ph28
  %xtraiter = and i32 %7, 3
  %9 = icmp ult i32 %7, 4
  br i1 %9, label %._crit_edge29.loopexit.unr-lcssa, label %.lr.ph28.split.us.preheader.new

.lr.ph28.split.us.preheader.new:                  ; preds = %.lr.ph28.split.us.preheader
  %unroll_iter = and i32 %7, 2147483644
  br label %.lr.ph28.split.us

.lr.ph28.split.us:                                ; preds = %.lr.ph28.split.us, %.lr.ph28.split.us.preheader.new
  %.01926.us = phi i32 [ 1, %.lr.ph28.split.us.preheader.new ], [ %10, %.lr.ph28.split.us ]
  %niter = phi i32 [ 0, %.lr.ph28.split.us.preheader.new ], [ %niter.next.3, %.lr.ph28.split.us ]
  %10 = add nuw i32 %.01926.us, 4
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge29.loopexit.unr-lcssa.loopexit, label %.lr.ph28.split.us, !llvm.loop !9

._crit_edge29.loopexit.unr-lcssa.loopexit:        ; preds = %.lr.ph28.split.us
  store i32 0, ptr getelementptr inbounds (i8, ptr @dp, i64 400008), align 8, !tbaa !5
  store i32 0, ptr @dp, align 16, !tbaa !5
  br label %._crit_edge29.loopexit.unr-lcssa

._crit_edge29.loopexit.unr-lcssa:                 ; preds = %._crit_edge29.loopexit.unr-lcssa.loopexit, %.lr.ph28.split.us.preheader
  %.01926.us.unr = phi i32 [ 1, %.lr.ph28.split.us.preheader ], [ %10, %._crit_edge29.loopexit.unr-lcssa.loopexit ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge29, label %.lr.ph28.split.us.epil

.lr.ph28.split.us.epil:                           ; preds = %._crit_edge29.loopexit.unr-lcssa, %.lr.ph28.split.us.epil
  %.01926.us.epil = phi i32 [ %14, %.lr.ph28.split.us.epil ], [ %.01926.us.unr, %._crit_edge29.loopexit.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph28.split.us.epil ], [ 0, %._crit_edge29.loopexit.unr-lcssa ]
  %11 = and i32 %.01926.us.epil, 1
  %12 = zext nneg i32 %11 to i64
  %13 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %12
  store i32 0, ptr %13, align 8, !tbaa !5
  %14 = add nuw i32 %.01926.us.epil, 1
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge29, label %.lr.ph28.split.us.epil, !llvm.loop !11

._crit_edge29:                                    ; preds = %._crit_edge, %._crit_edge29.loopexit.unr-lcssa, %.lr.ph28.split.us.epil, %0
  %15 = phi i32 [ %.pre37, %0 ], [ %.pre37, %.lr.ph28.split.us.epil ], [ %.pre37, %._crit_edge29.loopexit.unr-lcssa ], [ %31, %._crit_edge ]
  %.lcssa = phi i32 [ %7, %0 ], [ %7, %.lr.ph28.split.us.epil ], [ %7, %._crit_edge29.loopexit.unr-lcssa ], [ %30, %._crit_edge ]
  %16 = and i32 %.lcssa, 1
  %17 = zext nneg i32 %16 to i64
  %18 = sext i32 %15 to i64
  %19 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %17, i64 %18
  %20 = load i32, ptr %19, align 4, !tbaa !5
  ret i32 %20

.lr.ph28.split:                                   ; preds = %.lr.ph28, %._crit_edge
  %21 = phi i32 [ %30, %._crit_edge ], [ %7, %.lr.ph28 ]
  %22 = phi i32 [ %31, %._crit_edge ], [ %.pre37, %.lr.ph28 ]
  %23 = phi i32 [ %32, %._crit_edge ], [ %.pre37, %.lr.ph28 ]
  %indvars.iv33 = phi i64 [ %indvars.iv.next34, %._crit_edge ], [ 1, %.lr.ph28 ]
  %24 = and i64 %indvars.iv33, 1
  %25 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %24
  store i32 0, ptr %25, align 8, !tbaa !5
  %.not2123 = icmp slt i32 %23, 1
  br i1 %.not2123, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph28.split
  %26 = and i64 %indvars.iv33, 1
  %27 = xor i64 %26, 1
  %28 = getelementptr inbounds [1005 x i32], ptr @H, i64 0, i64 %indvars.iv33
  %29 = getelementptr inbounds [1005 x i32], ptr @S, i64 0, i64 %indvars.iv33
  br label %34

._crit_edge.loopexit:                             ; preds = %51
  %.pre36 = load i32, ptr @n, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.lr.ph28.split
  %30 = phi i32 [ %.pre36, %._crit_edge.loopexit ], [ %21, %.lr.ph28.split ]
  %31 = phi i32 [ %52, %._crit_edge.loopexit ], [ %22, %.lr.ph28.split ]
  %32 = phi i32 [ %52, %._crit_edge.loopexit ], [ %23, %.lr.ph28.split ]
  %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33, 1
  %33 = sext i32 %30 to i64
  %.not.not = icmp slt i64 %indvars.iv33, %33
  br i1 %.not.not, label %.lr.ph28.split, label %._crit_edge29, !llvm.loop !13

34:                                               ; preds = %.lr.ph, %51
  %35 = phi i32 [ %22, %.lr.ph ], [ %52, %51 ]
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %51 ]
  %36 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %27, i64 %indvars.iv
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %24, i64 %indvars.iv
  store i32 %37, ptr %38, align 4, !tbaa !5
  %39 = load i32, ptr %28, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %.not22 = icmp slt i64 %indvars.iv, %40
  br i1 %.not22, label %51, label %41

41:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  %42 = trunc nuw nsw i64 %indvars.iv to i32
  %43 = sub nsw i32 %42, %39
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [2 x [100002 x i32]], ptr @dp, i64 0, i64 %27, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = load i32, ptr %29, align 4, !tbaa !5
  %48 = add nsw i32 %47, %46
  store i32 %48, ptr %2, align 4, !tbaa !5
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %38, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %50 = load i32, ptr %49, align 4, !tbaa !5
  store i32 %50, ptr %38, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  %.pre = load i32, ptr @x, align 4, !tbaa !5
  br label %51

51:                                               ; preds = %34, %41
  %52 = phi i32 [ %35, %34 ], [ %.pre, %41 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %53 = sext i32 %52 to i64
  %.not21.not = icmp slt i64 %indvars.iv, %53
  br i1 %.not21.not, label %34, label %._crit_edge.loopexit, !llvm.loop !15
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPiiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIiERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3

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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.unroll.disable"}
!13 = distinct !{!13, !10, !14}
!14 = !{!"llvm.loop.unswitch.partial.disable"}
!15 = distinct !{!15, !10}


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