; LLVM IR from AllenDowney/ExercisesInC :: examples/cache (cache)

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

@clk_tck = external dso_local global i64, align 8
@x = external dso_local global [33554432 x i32], align 16
@.str = external hidden unnamed_addr constant [47 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local double @get_seconds() #0

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

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

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #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 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %12 = call i64 @sysconf(i32 noundef 2) #4
  store i64 %12, ptr @clk_tck, align 8, !tbaa !5
  store i32 32768, ptr %9, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %130, %0
  %14 = load i32, ptr %9, align 4, !tbaa !9
  %15 = icmp sle i32 %14, 33554432
  br i1 %15, label %16, label %133

16:                                               ; preds = %13
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %17

17:                                               ; preds = %126, %16
  %18 = load i32, ptr %4, align 4, !tbaa !9
  %19 = load i32, ptr %9, align 4, !tbaa !9
  %20 = sdiv i32 %19, 2
  %21 = icmp sle i32 %18, %20
  br i1 %21, label %22, label %129

22:                                               ; preds = %17
  store double 0.000000e+00, ptr %11, align 8, !tbaa !11
  %23 = load i32, ptr %9, align 4, !tbaa !9
  %24 = load i32, ptr %4, align 4, !tbaa !9
  %25 = sub nsw i32 %23, %24
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %5, align 4, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %64, %22
  %28 = call double @get_seconds()
  store double %28, ptr %10, align 8, !tbaa !11
  %29 = load i32, ptr %4, align 4, !tbaa !9
  %30 = mul nsw i32 10, %29
  store i32 %30, ptr %2, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %53, %27
  %32 = load i32, ptr %2, align 4, !tbaa !9
  %33 = icmp ne i32 %32, 0
  br i1 %33, label %34, label %56

34:                                               ; preds = %31
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %48, %34
  %36 = load i32, ptr %3, align 4, !tbaa !9
  %37 = load i32, ptr %5, align 4, !tbaa !9
  %38 = icmp slt i32 %36, %37
  br i1 %38, label %39, label %52

39:                                               ; preds = %35
  %40 = load i32, ptr %3, align 4, !tbaa !9
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [33554432 x i32], ptr @x, i64 0, i64 %41
  %43 = load i32, ptr %42, align 4, !tbaa !9
  %44 = add nsw i32 %43, 1
  %45 = load i32, ptr %3, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [33554432 x i32], ptr @x, i64 0, i64 %46
  store i32 %44, ptr %47, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %39
  %49 = load i32, ptr %3, align 4, !tbaa !9
  %50 = load i32, ptr %4, align 4, !tbaa !9
  %51 = add nsw i32 %49, %50
  store i32 %51, ptr %3, align 4, !tbaa !9
  br label %35, !llvm.loop !13

52:                                               ; preds = %35
  br label %53

53:                                               ; preds = %52
  %54 = load i32, ptr %2, align 4, !tbaa !9
  %55 = sub nsw i32 %54, 1
  store i32 %55, ptr %2, align 4, !tbaa !9
  br label %31, !llvm.loop !15

56:                                               ; preds = %31
  %57 = load i32, ptr %7, align 4, !tbaa !9
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %7, align 4, !tbaa !9
  %59 = load double, ptr %11, align 8, !tbaa !11
  %60 = call double @get_seconds()
  %61 = load double, ptr %10, align 8, !tbaa !11
  %62 = fsub double %60, %61
  %63 = fadd double %59, %62
  store double %63, ptr %11, align 8, !tbaa !11
  br label %64

64:                                               ; preds = %56
  %65 = load double, ptr %11, align 8, !tbaa !11
  %66 = fcmp olt double %65, 1.000000e+00
  br i1 %66, label %27, label %67, !llvm.loop !16

67:                                               ; preds = %64
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %68

68:                                               ; preds = %100, %67
  %69 = call double @get_seconds()
  store double %69, ptr %10, align 8, !tbaa !11
  %70 = load i32, ptr %4, align 4, !tbaa !9
  %71 = mul nsw i32 10, %70
  store i32 %71, ptr %2, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %89, %68
  %73 = load i32, ptr %2, align 4, !tbaa !9
  %74 = icmp ne i32 %73, 0
  br i1 %74, label %75, label %92

75:                                               ; preds = %72
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %84, %75
  %77 = load i32, ptr %3, align 4, !tbaa !9
  %78 = load i32, ptr %5, align 4, !tbaa !9
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %80, label %88

80:                                               ; preds = %76
  %81 = load i32, ptr %6, align 4, !tbaa !9
  %82 = load i32, ptr %3, align 4, !tbaa !9
  %83 = add nsw i32 %81, %82
  store i32 %83, ptr %6, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %80
  %85 = load i32, ptr %3, align 4, !tbaa !9
  %86 = load i32, ptr %4, align 4, !tbaa !9
  %87 = add nsw i32 %85, %86
  store i32 %87, ptr %3, align 4, !tbaa !9
  br label %76, !llvm.loop !17

88:                                               ; preds = %76
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %2, align 4, !tbaa !9
  %91 = sub nsw i32 %90, 1
  store i32 %91, ptr %2, align 4, !tbaa !9
  br label %72, !llvm.loop !18

92:                                               ; preds = %72
  %93 = load i32, ptr %8, align 4, !tbaa !9
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %8, align 4, !tbaa !9
  %95 = load double, ptr %11, align 8, !tbaa !11
  %96 = call double @get_seconds()
  %97 = load double, ptr %10, align 8, !tbaa !11
  %98 = fsub double %96, %97
  %99 = fsub double %95, %98
  store double %99, ptr %11, align 8, !tbaa !11
  br label %100

100:                                              ; preds = %92
  %101 = load i32, ptr %8, align 4, !tbaa !9
  %102 = load i32, ptr %7, align 4, !tbaa !9
  %103 = icmp slt i32 %101, %102
  br i1 %103, label %68, label %104, !llvm.loop !19

104:                                              ; preds = %100
  %105 = load i32, ptr %9, align 4, !tbaa !9
  %106 = sext i32 %105 to i64
  %107 = mul i64 %106, 4
  %108 = load i32, ptr %4, align 4, !tbaa !9
  %109 = sext i32 %108 to i64
  %110 = mul i64 %109, 4
  %111 = load double, ptr %11, align 8, !tbaa !11
  %112 = fmul double %111, 1.000000e+09
  %113 = load i32, ptr %7, align 4, !tbaa !9
  %114 = mul nsw i32 %113, 10
  %115 = load i32, ptr %4, align 4, !tbaa !9
  %116 = mul nsw i32 %114, %115
  %117 = load i32, ptr %5, align 4, !tbaa !9
  %118 = sub nsw i32 %117, 1
  %119 = load i32, ptr %4, align 4, !tbaa !9
  %120 = sdiv i32 %118, %119
  %121 = add nsw i32 %120, 1
  %122 = mul nsw i32 %116, %121
  %123 = sitofp i32 %122 to double
  %124 = fdiv double %112, %123
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str, i64 noundef %107, i64 noundef %110, double noundef %124)
  br label %126

126:                                              ; preds = %104
  %127 = load i32, ptr %4, align 4, !tbaa !9
  %128 = mul nsw i32 %127, 2
  store i32 %128, ptr %4, align 4, !tbaa !9
  br label %17, !llvm.loop !20

129:                                              ; preds = %17
  br label %130

130:                                              ; preds = %129
  %131 = load i32, ptr %9, align 4, !tbaa !9
  %132 = mul nsw i32 %131, 2
  store i32 %132, ptr %9, align 4, !tbaa !9
  br label %13, !llvm.loop !21

133:                                              ; preds = %13
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %134 = load i32, ptr %1, align 4
  ret i32 %134
}

; Function Attrs: nounwind
declare i64 @sysconf(i32 noundef) #2

declare i32 @printf(ptr noundef, ...) #3

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 nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { "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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}


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

@clk_tck = external dso_local local_unnamed_addr global i64, align 8
@x = external dso_local local_unnamed_addr global [33554432 x i32], align 16
@.str = external hidden unnamed_addr constant [47 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local double @get_seconds() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call i64 @sysconf(i32 noundef 2) #4
  store i64 %1, ptr @clk_tck, align 8, !tbaa !5
  br label %.lr.ph

.lr.ph:                                           ; preds = %._crit_edge92, %0
  %.04195 = phi i32 [ 32768, %0 ], [ %56, %._crit_edge92 ]
  %2 = lshr exact i32 %.04195, 1
  %3 = shl nuw nsw i32 %.04195, 2
  %4 = zext nneg i32 %3 to i64
  br label %5

5:                                                ; preds = %.lr.ph, %.split86.us
  %.04890 = phi i32 [ 1, %.lr.ph ], [ %55, %.split86.us ]
  %6 = sub nsw i32 %.04195, %.04890
  %.fr = freeze i32 %6
  %7 = mul i32 %.04890, 10
  %.not5865 = icmp slt i32 %.fr, 0
  br i1 %.not5865, label %.split.us.us, label %.split.preheader

.split.preheader:                                 ; preds = %5
  %8 = sext i32 %.04890 to i64
  %9 = zext nneg i32 %.fr to i64
  %10 = add nuw nsw i64 %9, 1
  %smax = tail call i64 @llvm.smax.i64(i64 %10, i64 %8)
  %11 = add nsw i64 %smax, -1
  %ident.check.not = icmp eq i32 %.04890, 1
  br label %.split

.split.us.us:                                     ; preds = %5, %.split.us.us
  %.043.us = phi i32 [ %13, %.split.us.us ], [ 0, %5 ]
  %.0.us = phi double [ %16, %.split.us.us ], [ 0.000000e+00, %5 ]
  %12 = tail call double @get_seconds()
  %13 = add nuw nsw i32 %.043.us, 1
  %14 = tail call double @get_seconds()
  %15 = fsub double %14, %12
  %16 = fadd double %.0.us, %15
  %17 = fcmp olt double %16, 1.000000e+00
  br i1 %17, label %.split.us.us, label %.preheader60, !llvm.loop !9

.split:                                           ; preds = %.split.preheader, %.split69
  %.043 = phi i32 [ %30, %.split69 ], [ 0, %.split.preheader ]
  %.0 = phi double [ %33, %.split69 ], [ 0.000000e+00, %.split.preheader ]
  %18 = tail call double @get_seconds()
  %19 = udiv i64 %11, %8
  %20 = add nuw nsw i64 %19, 1
  %min.iters.check = icmp ugt i64 %19, 6
  %or.cond = and i1 %min.iters.check, %ident.check.not
  %n.vec = and i64 %20, -8
  %ind.end = mul nuw i64 %n.vec, %8
  %cmp.n = icmp eq i64 %20, %n.vec
  br label %.preheader59

.preheader59:                                     ; preds = %.split, %._crit_edge
  %.04667 = phi i32 [ %7, %.split ], [ %29, %._crit_edge ]
  br i1 %or.cond, label %vector.body, label %scalar.ph.preheader

vector.body:                                      ; preds = %.preheader59, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader59 ]
  %offset.idx = mul nuw i64 %index, %8
  %21 = getelementptr inbounds [33554432 x i32], ptr @x, i64 0, i64 %offset.idx
  %22 = getelementptr inbounds i8, ptr %21, i64 16
  %wide.load = load <4 x i32>, ptr %21, align 16, !tbaa !11
  %wide.load120 = load <4 x i32>, ptr %22, align 16, !tbaa !11
  %23 = add nsw <4 x i32> %wide.load, <i32 1, i32 1, i32 1, i32 1>
  %24 = add nsw <4 x i32> %wide.load120, <i32 1, i32 1, i32 1, i32 1>
  store <4 x i32> %23, ptr %21, align 16, !tbaa !11
  store <4 x i32> %24, ptr %22, align 16, !tbaa !11
  %index.next = add nuw i64 %index, 8
  %25 = icmp eq i64 %index.next, %n.vec
  br i1 %25, label %middle.block, label %vector.body, !llvm.loop !13

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %.preheader59
  %indvars.iv.ph = phi i64 [ 0, %.preheader59 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %26 = getelementptr inbounds [33554432 x i32], ptr @x, i64 0, i64 %indvars.iv
  %27 = load i32, ptr %26, align 4, !tbaa !11
  %28 = add nsw i32 %27, 1
  store i32 %28, ptr %26, align 4, !tbaa !11
  %indvars.iv.next = add nsw i64 %indvars.iv, %8
  %.not58 = icmp sgt i64 %indvars.iv.next, %9
  br i1 %.not58, label %._crit_edge, label %scalar.ph, !llvm.loop !16

._crit_edge:                                      ; preds = %scalar.ph, %middle.block
  %29 = add nsw i32 %.04667, -1
  %.not55 = icmp eq i32 %29, 0
  br i1 %.not55, label %.split69, label %.preheader59, !llvm.loop !17

.split69:                                         ; preds = %._crit_edge
  %30 = add nuw nsw i32 %.043, 1
  %31 = tail call double @get_seconds()
  %32 = fsub double %31, %18
  %33 = fadd double %.0, %32
  %34 = fcmp olt double %33, 1.000000e+00
  br i1 %34, label %.split, label %.preheader60, !llvm.loop !9

.preheader60:                                     ; preds = %.split69, %.split.us.us
  %.us-phi = phi i32 [ %13, %.split.us.us ], [ %30, %.split69 ]
  %.us-phi71 = phi double [ %16, %.split.us.us ], [ %33, %.split69 ]
  %.us-phi72 = phi i32 [ %.043.us, %.split.us.us ], [ %.043, %.split69 ]
  br i1 %.not5865, label %.split80.us.us, label %.split80

.split80.us.us:                                   ; preds = %.preheader60, %.split80.us.us
  %.042.us = phi i32 [ %36, %.split80.us.us ], [ 0, %.preheader60 ]
  %.1.us = phi double [ %39, %.split80.us.us ], [ %.us-phi71, %.preheader60 ]
  %35 = tail call double @get_seconds()
  %36 = add nuw i32 %.042.us, 1
  %37 = tail call double @get_seconds()
  %38 = fsub double %37, %35
  %39 = fsub double %.1.us, %38
  %exitcond105.not = icmp eq i32 %.042.us, %.us-phi72
  br i1 %exitcond105.not, label %.split86.us, label %.split80.us.us, !llvm.loop !18

.split80:                                         ; preds = %.preheader60, %.split80
  %.042 = phi i32 [ %41, %.split80 ], [ 0, %.preheader60 ]
  %.1 = phi double [ %44, %.split80 ], [ %.us-phi71, %.preheader60 ]
  %40 = tail call double @get_seconds()
  %41 = add nuw i32 %.042, 1
  %42 = tail call double @get_seconds()
  %43 = fsub double %42, %40
  %44 = fsub double %.1, %43
  %exitcond.not = icmp eq i32 %.042, %.us-phi72
  br i1 %exitcond.not, label %.split86.us, label %.split80, !llvm.loop !18

.split86.us:                                      ; preds = %.split80, %.split80.us.us
  %.us-phi87 = phi double [ %39, %.split80.us.us ], [ %44, %.split80 ]
  %45 = zext nneg i32 %.04890 to i64
  %46 = shl nuw nsw i64 %45, 2
  %47 = fmul double %.us-phi87, 1.000000e+09
  %48 = sdiv i32 %.fr, %.04890
  %49 = add nsw i32 %48, 1
  %50 = mul i32 %7, %.us-phi
  %51 = mul nsw i32 %50, %49
  %52 = sitofp i32 %51 to double
  %53 = fdiv double %47, %52
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i64 noundef %4, i64 noundef %46, double noundef %53)
  %55 = shl nsw i32 %.04890, 1
  %.not = icmp ugt i32 %55, %2
  br i1 %.not, label %._crit_edge92, label %5, !llvm.loop !19

._crit_edge92:                                    ; preds = %.split86.us
  %56 = shl nuw nsw i32 %.04195, 1
  %57 = icmp ult i32 %.04195, 16777217
  br i1 %57, label %.lr.ph, label %58, !llvm.loop !20

58:                                               ; preds = %._crit_edge92
  ret i32 0
}

; Function Attrs: nounwind
declare i64 @sysconf(i32 noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #3

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 = { 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 = { nofree 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !10, !14, !15}
!14 = !{!"llvm.loop.isvectorized", i32 1}
!15 = !{!"llvm.loop.unroll.runtime.disable"}
!16 = distinct !{!16, !10, !14}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10}


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