; LLVM IR from tsotchke/quantum_geometric_tensor :: src/quantum_geometric/core (quantum_geometric_curvature)

; 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.ComplexFloat = type { float, float }
%struct.quantum_geometric_curvature_t = type { i32, i64, ptr, ptr, i8, i32 }
%struct.quantum_geometric_connection_t = type { i32, i64, ptr, ptr, i8, i32 }

; 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 nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #1

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: nounwind uwtable
define dso_local i32 @geometric_compute_curvature(ptr noundef %0, ptr noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca %struct.ComplexFloat, align 4
  %13 = alloca i64, align 8
  %14 = alloca %struct.ComplexFloat, align 4
  %15 = alloca %struct.ComplexFloat, align 4
  %16 = alloca %struct.ComplexFloat, align 4
  %17 = alloca %struct.ComplexFloat, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = icmp eq ptr %18, null
  br i1 %19, label %20, label %21

20:                                               ; preds = %2
  store i32 -1, ptr %3, align 4
  br label %144

21:                                               ; preds = %2
  %22 = load ptr, ptr %5, align 8, !tbaa !5
  %23 = icmp eq ptr %22, null
  br i1 %23, label %24, label %25

24:                                               ; preds = %21
  store i32 -1, ptr %3, align 4
  br label %144

25:                                               ; preds = %21
  %26 = load ptr, ptr %4, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.quantum_geometric_curvature_t, ptr %26, i32 0, i32 1
  %28 = load i64, ptr %27, align 8, !tbaa !9
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.quantum_geometric_connection_t, ptr %29, i32 0, i32 1
  %31 = load i64, ptr %30, align 8, !tbaa !14
  %32 = icmp ne i64 %28, %31
  br i1 %32, label %33, label %34

33:                                               ; preds = %25
  store i32 -1, ptr %3, align 4
  br label %144

34:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.quantum_geometric_curvature_t, ptr %35, i32 0, i32 1
  %37 = load i64, ptr %36, align 8, !tbaa !9
  store i64 %37, ptr %6, align 8, !tbaa !16
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.quantum_geometric_curvature_t, ptr %38, i32 0, i32 0
  %40 = load i32, ptr %39, align 8, !tbaa !17
  switch i32 %40, label %141 [
    i32 0, label %41
  ]

41:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  store i64 0, ptr %7, align 8, !tbaa !16
  br label %42

42:                                               ; preds = %137, %41
  %43 = load i64, ptr %7, align 8, !tbaa !16
  %44 = load i64, ptr %6, align 8, !tbaa !16
  %45 = icmp ult i64 %43, %44
  br i1 %45, label %47, label %46

46:                                               ; preds = %42
  store i32 3, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  br label %140

47:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  store i64 0, ptr %9, align 8, !tbaa !16
  br label %48

48:                                               ; preds = %133, %47
  %49 = load i64, ptr %9, align 8, !tbaa !16
  %50 = load i64, ptr %6, align 8, !tbaa !16
  %51 = icmp ult i64 %49, %50
  br i1 %51, label %53, label %52

52:                                               ; preds = %48
  store i32 6, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %136

53:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !16
  br label %54

54:                                               ; preds = %129, %53
  %55 = load i64, ptr %10, align 8, !tbaa !16
  %56 = load i64, ptr %6, align 8, !tbaa !16
  %57 = icmp ult i64 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  store i32 9, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %132

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  store i64 0, ptr %11, align 8, !tbaa !16
  br label %60

60:                                               ; preds = %125, %59
  %61 = load i64, ptr %11, align 8, !tbaa !16
  %62 = load i64, ptr %6, align 8, !tbaa !16
  %63 = icmp ult i64 %61, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %60
  store i32 12, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  br label %128

65:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  call void @llvm.memset.p0.i64(ptr align 4 %12, i8 0, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  store i64 0, ptr %13, align 8, !tbaa !16
  br label %66

66:                                               ; preds = %104, %65
  %67 = load i64, ptr %13, align 8, !tbaa !16
  %68 = load i64, ptr %6, align 8, !tbaa !16
  %69 = icmp ult i64 %67, %68
  br i1 %69, label %71, label %70

70:                                               ; preds = %66
  store i32 15, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %107

71:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %72 = load ptr, ptr %5, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.quantum_geometric_connection_t, ptr %72, i32 0, i32 2
  %74 = load ptr, ptr %73, align 8, !tbaa !18
  %75 = load i64, ptr %9, align 8, !tbaa !16
  %76 = load i64, ptr %6, align 8, !tbaa !16
  %77 = mul i64 %75, %76
  %78 = load i64, ptr %11, align 8, !tbaa !16
  %79 = add i64 %77, %78
  %80 = load i64, ptr %6, align 8, !tbaa !16
  %81 = mul i64 %79, %80
  %82 = load i64, ptr %13, align 8, !tbaa !16
  %83 = add i64 %81, %82
  %84 = getelementptr inbounds %struct.ComplexFloat, ptr %74, i64 %83
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 4 %84, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.quantum_geometric_connection_t, ptr %85, i32 0, i32 2
  %87 = load ptr, ptr %86, align 8, !tbaa !18
  %88 = load i64, ptr %13, align 8, !tbaa !16
  %89 = load i64, ptr %6, align 8, !tbaa !16
  %90 = mul i64 %88, %89
  %91 = load i64, ptr %10, align 8, !tbaa !16
  %92 = add i64 %90, %91
  %93 = load i64, ptr %6, align 8, !tbaa !16
  %94 = mul i64 %92, %93
  %95 = load i64, ptr %7, align 8, !tbaa !16
  %96 = add i64 %94, %95
  %97 = getelementptr inbounds %struct.ComplexFloat, ptr %87, i64 %96
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %15, ptr align 4 %97, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %98 = load <2 x float>, ptr %14, align 4
  %99 = load <2 x float>, ptr %15, align 4
  %100 = call <2 x float> @complex_float_multiply(<2 x float> %98, <2 x float> %99)
  store <2 x float> %100, ptr %16, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %101 = load <2 x float>, ptr %12, align 4
  %102 = load <2 x float>, ptr %16, align 4
  %103 = call <2 x float> @complex_float_add(<2 x float> %101, <2 x float> %102)
  store <2 x float> %103, ptr %17, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %17, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  br label %104

104:                                              ; preds = %71
  %105 = load i64, ptr %13, align 8, !tbaa !16
  %106 = add i64 %105, 1
  store i64 %106, ptr %13, align 8, !tbaa !16
  br label %66, !llvm.loop !22

107:                                              ; preds = %70
  %108 = load ptr, ptr %4, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.quantum_geometric_curvature_t, ptr %108, i32 0, i32 2
  %110 = load ptr, ptr %109, align 8, !tbaa !24
  %111 = load i64, ptr %7, align 8, !tbaa !16
  %112 = load i64, ptr %6, align 8, !tbaa !16
  %113 = mul i64 %111, %112
  %114 = load i64, ptr %9, align 8, !tbaa !16
  %115 = add i64 %113, %114
  %116 = load i64, ptr %6, align 8, !tbaa !16
  %117 = mul i64 %115, %116
  %118 = load i64, ptr %10, align 8, !tbaa !16
  %119 = add i64 %117, %118
  %120 = load i64, ptr %6, align 8, !tbaa !16
  %121 = mul i64 %119, %120
  %122 = load i64, ptr %11, align 8, !tbaa !16
  %123 = add i64 %121, %122
  %124 = getelementptr inbounds %struct.ComplexFloat, ptr %110, i64 %123
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %124, ptr align 4 %12, i64 8, i1 false), !tbaa.struct !19
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %125

125:                                              ; preds = %107
  %126 = load i64, ptr %11, align 8, !tbaa !16
  %127 = add i64 %126, 1
  store i64 %127, ptr %11, align 8, !tbaa !16
  br label %60, !llvm.loop !25

128:                                              ; preds = %64
  br label %129

129:                                              ; preds = %128
  %130 = load i64, ptr %10, align 8, !tbaa !16
  %131 = add i64 %130, 1
  store i64 %131, ptr %10, align 8, !tbaa !16
  br label %54, !llvm.loop !26

132:                                              ; preds = %58
  br label %133

133:                                              ; preds = %132
  %134 = load i64, ptr %9, align 8, !tbaa !16
  %135 = add i64 %134, 1
  store i64 %135, ptr %9, align 8, !tbaa !16
  br label %48, !llvm.loop !27

136:                                              ; preds = %52
  br label %137

137:                                              ; preds = %136
  %138 = load i64, ptr %7, align 8, !tbaa !16
  %139 = add i64 %138, 1
  store i64 %139, ptr %7, align 8, !tbaa !16
  br label %42, !llvm.loop !28

140:                                              ; preds = %46
  br label %142

141:                                              ; preds = %34
  store i32 -7, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %143

142:                                              ; preds = %140
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %143

143:                                              ; preds = %142, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %144

144:                                              ; preds = %143, %33, %24, %20
  %145 = load i32, ptr %3, align 4
  ret i32 %145
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_multiply(<2 x float>, <2 x float>) #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_add(<2 x float>, <2 x float>) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind uwtable "min-legal-vector-width"="64" "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 nounwind uwtable "min-legal-vector-width"="64" "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/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"quantum_geometric_curvature_t", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !11, i64 36}
!11 = !{!"int", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!"_Bool", !7, i64 0}
!14 = !{!15, !12, i64 8}
!15 = !{!"quantum_geometric_connection_t", !11, i64 0, !12, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !11, i64 36}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !11, i64 0}
!18 = !{!15, !6, i64 16}
!19 = !{i64 0, i64 4, !20, i64 4, i64 4, !20}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!10, !6, i64 16}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}
!27 = distinct !{!27, !23}
!28 = distinct !{!28, !23}


; 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.ComplexFloat = type { float, float }

; Function Attrs: nounwind uwtable
define dso_local range(i32 -7, 1) i32 @geometric_compute_curvature(ptr noundef readonly %0, ptr noundef readonly %1) local_unnamed_addr #0 {
  %3 = icmp eq ptr %0, null
  %4 = icmp eq ptr %1, null
  %or.cond = or i1 %3, %4
  br i1 %or.cond, label %.loopexit, label %5

5:                                                ; preds = %2
  %6 = getelementptr inbounds i8, ptr %0, i64 8
  %7 = load i64, ptr %6, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = load i64, ptr %8, align 8, !tbaa !13
  %.not = icmp eq i64 %7, %9
  br i1 %.not, label %10, label %.loopexit

10:                                               ; preds = %5
  %11 = load i32, ptr %0, align 8, !tbaa !15
  %cond = icmp eq i32 %11, 0
  br i1 %cond, label %.preheader56, label %.loopexit

.preheader56:                                     ; preds = %10
  %.not63 = icmp eq i64 %7, 0
  br i1 %.not63, label %.loopexit, label %.preheader55.lr.ph

.preheader55.lr.ph:                               ; preds = %.preheader56
  %12 = getelementptr inbounds i8, ptr %1, i64 16
  %13 = getelementptr inbounds i8, ptr %0, i64 16
  br label %.preheader55

.preheader55:                                     ; preds = %.preheader55.lr.ph, %18
  %.04562 = phi i64 [ 0, %.preheader55.lr.ph ], [ %19, %18 ]
  %14 = mul i64 %.04562, %7
  br label %.preheader54

.preheader54:                                     ; preds = %.preheader55, %22
  %.04661 = phi i64 [ 0, %.preheader55 ], [ %23, %22 ]
  %15 = mul i64 %.04661, %7
  %16 = add i64 %.04661, %14
  %17 = mul i64 %16, %7
  br label %.preheader53

18:                                               ; preds = %22
  %19 = add nuw i64 %.04562, 1
  %exitcond67.not = icmp eq i64 %19, %7
  br i1 %exitcond67.not, label %.loopexit, label %.preheader55, !llvm.loop !16

.preheader53:                                     ; preds = %.preheader54, %26
  %.04960 = phi i64 [ 0, %.preheader54 ], [ %27, %26 ]
  %20 = add i64 %.04960, %17
  %21 = mul i64 %20, %7
  br label %.preheader

22:                                               ; preds = %26
  %23 = add nuw i64 %.04661, 1
  %exitcond66.not = icmp eq i64 %23, %7
  br i1 %exitcond66.not, label %18, label %.preheader54, !llvm.loop !18

.preheader:                                       ; preds = %.preheader53, %28
  %.04859 = phi i64 [ 0, %.preheader53 ], [ %32, %28 ]
  %24 = add i64 %.04859, %15
  %25 = mul i64 %24, %7
  br label %33

26:                                               ; preds = %28
  %27 = add nuw i64 %.04960, 1
  %exitcond65.not = icmp eq i64 %27, %7
  br i1 %exitcond65.not, label %22, label %.preheader53, !llvm.loop !19

28:                                               ; preds = %33
  %29 = load ptr, ptr %13, align 8, !tbaa !20
  %30 = getelementptr %struct.ComplexFloat, ptr %29, i64 %21
  %31 = getelementptr %struct.ComplexFloat, ptr %30, i64 %.04859
  store <2 x float> %43, ptr %31, align 4
  %32 = add nuw i64 %.04859, 1
  %exitcond64.not = icmp eq i64 %32, %7
  br i1 %exitcond64.not, label %26, label %.preheader, !llvm.loop !21

33:                                               ; preds = %.preheader, %33
  %.04758 = phi i64 [ 0, %.preheader ], [ %44, %33 ]
  %.sroa.07.457 = phi <2 x float> [ zeroinitializer, %.preheader ], [ %43, %33 ]
  %34 = load ptr, ptr %12, align 8, !tbaa !22
  %35 = getelementptr %struct.ComplexFloat, ptr %34, i64 %25
  %36 = getelementptr %struct.ComplexFloat, ptr %35, i64 %.04758
  %.sroa.03.0.copyload = load <2 x float>, ptr %36, align 4
  %37 = mul i64 %.04758, %7
  %38 = add i64 %37, %.04960
  %39 = mul i64 %38, %7
  %40 = getelementptr %struct.ComplexFloat, ptr %34, i64 %39
  %41 = getelementptr %struct.ComplexFloat, ptr %40, i64 %.04562
  %.sroa.02.0.copyload = load <2 x float>, ptr %41, align 4
  %42 = tail call <2 x float> @complex_float_multiply(<2 x float> %.sroa.03.0.copyload, <2 x float> %.sroa.02.0.copyload)
  %43 = tail call <2 x float> @complex_float_add(<2 x float> %.sroa.07.457, <2 x float> %42)
  %44 = add nuw i64 %.04758, 1
  %exitcond.not = icmp eq i64 %44, %7
  br i1 %exitcond.not, label %28, label %33, !llvm.loop !23

.loopexit:                                        ; preds = %18, %.preheader56, %10, %5, %2
  %.1 = phi i32 [ -1, %2 ], [ -1, %5 ], [ -7, %10 ], [ 0, %.preheader56 ], [ 0, %18 ]
  ret i32 %.1
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_multiply(<2 x float>, <2 x float>) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @complex_float_add(<2 x float>, <2 x float>) local_unnamed_addr #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 nounwind uwtable "min-legal-vector-width"="64" "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" }

!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, !10, i64 8}
!6 = !{!"quantum_geometric_curvature_t", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !7, i64 36}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_Bool", !8, i64 0}
!13 = !{!14, !10, i64 8}
!14 = !{!"quantum_geometric_connection_t", !7, i64 0, !10, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !7, i64 36}
!15 = !{!6, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = distinct !{!19, !17}
!20 = !{!6, !11, i64 16}
!21 = distinct !{!21, !17}
!22 = !{!14, !11, i64 16}
!23 = distinct !{!23, !17}


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