; LLVM IR from csviragh/robotsim :: src (stat)

; 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.phase_t = type { ptr, ptr, ptr, ptr, i32, i32 }

@Avg = external hidden global double, align 8
@StDev = external hidden global double, align 8
@Max = external hidden global double, align 8
@StatOfDistanceBetweenNearestNeighbours.Min_i = external hidden global double, align 8
@StatOfDistanceBetweenNearestNeighbours.Min_i_ID = external hidden global i32, align 4
@StatOfDistanceBetweenNearestNeighbours.Dist_1_2 = external hidden global double, align 8
@StatOfDistanceBetweenNearestNeighbours.CoordDiff = external hidden global [3 x double], align 16
@StatOfDistanceBetweenNearestNeighbours.StatData = external hidden global [3 x double], align 16

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

declare void @VectDifference(ptr noundef, ptr noundef, ptr noundef) #1

declare double @VectAbs(ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @StatOfDistanceBetweenNearestNeighbours(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store double 0.000000e+00, ptr @Avg, align 8, !tbaa !9
  store double 0.000000e+00, ptr @StDev, align 8, !tbaa !9
  store double 0.000000e+00, ptr @Max, align 8, !tbaa !9
  store double 2.000000e+222, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  %7 = load ptr, ptr %2, align 8, !tbaa !5
  %8 = getelementptr inbounds %struct.phase_t, ptr %7, i32 0, i32 5
  %9 = load i32, ptr %8, align 4, !tbaa !11
  %10 = add nsw i32 %9, 10
  store i32 %10, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i_ID, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  store i32 0, ptr %3, align 4, !tbaa !14
  br label %11

11:                                               ; preds = %71, %1
  %12 = load i32, ptr %3, align 4, !tbaa !14
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.phase_t, ptr %13, i32 0, i32 5
  %15 = load i32, ptr %14, align 4, !tbaa !11
  %16 = icmp slt i32 %12, %15
  br i1 %16, label %17, label %74

17:                                               ; preds = %11
  store i32 0, ptr %4, align 4, !tbaa !14
  br label %18

18:                                               ; preds = %54, %17
  %19 = load i32, ptr %4, align 4, !tbaa !14
  %20 = load ptr, ptr %2, align 8, !tbaa !5
  %21 = getelementptr inbounds %struct.phase_t, ptr %20, i32 0, i32 5
  %22 = load i32, ptr %21, align 4, !tbaa !11
  %23 = icmp slt i32 %19, %22
  br i1 %23, label %24, label %57

24:                                               ; preds = %18
  %25 = load i32, ptr %3, align 4, !tbaa !14
  %26 = load i32, ptr %4, align 4, !tbaa !14
  %27 = icmp ne i32 %25, %26
  br i1 %27, label %28, label %53

28:                                               ; preds = %24
  %29 = load ptr, ptr %2, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.phase_t, ptr %29, i32 0, i32 0
  %31 = load ptr, ptr %30, align 8, !tbaa !15
  %32 = load i32, ptr %3, align 4, !tbaa !14
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds ptr, ptr %31, i64 %33
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  store ptr %35, ptr %5, align 8, !tbaa !5
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.phase_t, ptr %36, i32 0, i32 0
  %38 = load ptr, ptr %37, align 8, !tbaa !15
  %39 = load i32, ptr %4, align 4, !tbaa !14
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds ptr, ptr %38, i64 %40
  %42 = load ptr, ptr %41, align 8, !tbaa !5
  store ptr %42, ptr %6, align 8, !tbaa !5
  %43 = load ptr, ptr %5, align 8, !tbaa !5
  %44 = load ptr, ptr %6, align 8, !tbaa !5
  call void @VectDifference(ptr noundef @StatOfDistanceBetweenNearestNeighbours.CoordDiff, ptr noundef %43, ptr noundef %44)
  %45 = call double @VectAbs(ptr noundef @StatOfDistanceBetweenNearestNeighbours.CoordDiff)
  store double %45, ptr @StatOfDistanceBetweenNearestNeighbours.Dist_1_2, align 8, !tbaa !9
  %46 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Dist_1_2, align 8, !tbaa !9
  %47 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  %48 = fcmp olt double %46, %47
  br i1 %48, label %49, label %52

49:                                               ; preds = %28
  %50 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Dist_1_2, align 8, !tbaa !9
  store double %50, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  %51 = load i32, ptr %4, align 4, !tbaa !14
  store i32 %51, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i_ID, align 4, !tbaa !14
  br label %52

52:                                               ; preds = %49, %28
  br label %53

53:                                               ; preds = %52, %24
  br label %54

54:                                               ; preds = %53
  %55 = load i32, ptr %4, align 4, !tbaa !14
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %4, align 4, !tbaa !14
  br label %18, !llvm.loop !16

57:                                               ; preds = %18
  %58 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  %59 = load double, ptr @Avg, align 8, !tbaa !9
  %60 = fadd double %59, %58
  store double %60, ptr @Avg, align 8, !tbaa !9
  %61 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  %62 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  %63 = load double, ptr @StDev, align 8, !tbaa !9
  %64 = call double @llvm.fmuladd.f64(double %61, double %62, double %63)
  store double %64, ptr @StDev, align 8, !tbaa !9
  %65 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  %66 = load double, ptr @Max, align 8, !tbaa !9
  %67 = fcmp ogt double %65, %66
  br i1 %67, label %68, label %70

68:                                               ; preds = %57
  %69 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  store double %69, ptr @Max, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %68, %57
  store double 2.000000e+222, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !9
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %3, align 4, !tbaa !14
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %3, align 4, !tbaa !14
  br label %11, !llvm.loop !18

74:                                               ; preds = %11
  %75 = load ptr, ptr %2, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.phase_t, ptr %75, i32 0, i32 5
  %77 = load i32, ptr %76, align 4, !tbaa !11
  %78 = sitofp i32 %77 to double
  %79 = load double, ptr @Avg, align 8, !tbaa !9
  %80 = fdiv double %79, %78
  store double %80, ptr @Avg, align 8, !tbaa !9
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.phase_t, ptr %81, i32 0, i32 5
  %83 = load i32, ptr %82, align 4, !tbaa !11
  %84 = sitofp i32 %83 to double
  %85 = load double, ptr @StDev, align 8, !tbaa !9
  %86 = fdiv double %85, %84
  store double %86, ptr @StDev, align 8, !tbaa !9
  %87 = load double, ptr @Avg, align 8, !tbaa !9
  %88 = load double, ptr @Avg, align 8, !tbaa !9
  %89 = load double, ptr @StDev, align 8, !tbaa !9
  %90 = fneg double %87
  %91 = call double @llvm.fmuladd.f64(double %90, double %88, double %89)
  store double %91, ptr @StDev, align 8, !tbaa !9
  %92 = load double, ptr @StDev, align 8, !tbaa !9
  %93 = fcmp olt double %92, 0.000000e+00
  br i1 %93, label %94, label %95

94:                                               ; preds = %74
  store double 0.000000e+00, ptr @StDev, align 8, !tbaa !9
  br label %95

95:                                               ; preds = %94, %74
  %96 = load double, ptr @Avg, align 8, !tbaa !9
  store double %96, ptr @StatOfDistanceBetweenNearestNeighbours.StatData, align 16, !tbaa !9
  %97 = load double, ptr @StDev, align 8, !tbaa !9
  %98 = call double @sqrt(double noundef %97) #5
  store double %98, ptr getelementptr inbounds ([3 x double], ptr @StatOfDistanceBetweenNearestNeighbours.StatData, i64 0, i64 1), align 8, !tbaa !9
  %99 = load double, ptr @Max, align 8, !tbaa !9
  store double %99, ptr getelementptr inbounds ([3 x double], ptr @StatOfDistanceBetweenNearestNeighbours.StatData, i64 0, i64 2), align 16, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret ptr @StatOfDistanceBetweenNearestNeighbours.StatData
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 speculatable willreturn memory(none) }
attributes #3 = { 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 = { 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 #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, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 36}
!12 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !13, i64 32, !13, i64 36}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !6, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}


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

@Avg = external hidden local_unnamed_addr global double, align 8
@StDev = external hidden local_unnamed_addr global double, align 8
@Max = external hidden local_unnamed_addr global double, align 8
@StatOfDistanceBetweenNearestNeighbours.Min_i = external hidden local_unnamed_addr global double, align 8
@StatOfDistanceBetweenNearestNeighbours.Min_i_ID = external hidden local_unnamed_addr global i32, align 4
@StatOfDistanceBetweenNearestNeighbours.Dist_1_2 = external hidden local_unnamed_addr global double, align 8
@StatOfDistanceBetweenNearestNeighbours.CoordDiff = external hidden global [3 x double], align 16
@StatOfDistanceBetweenNearestNeighbours.StatData = external hidden global [3 x double], align 16

declare void @VectDifference(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare double @VectAbs(ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: nounwind uwtable
define dso_local noundef nonnull ptr @StatOfDistanceBetweenNearestNeighbours(ptr nocapture noundef readonly %0) local_unnamed_addr #2 {
  store double 0.000000e+00, ptr @Avg, align 8, !tbaa !5
  store double 0.000000e+00, ptr @StDev, align 8, !tbaa !5
  store double 0.000000e+00, ptr @Max, align 8, !tbaa !5
  store double 2.000000e+222, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !5
  %2 = getelementptr inbounds i8, ptr %0, i64 36
  %3 = load i32, ptr %2, align 4, !tbaa !9
  %4 = add nsw i32 %3, 10
  store i32 %4, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i_ID, align 4, !tbaa !13
  %5 = icmp sgt i32 %3, 0
  br i1 %5, label %.preheader, label %._crit_edge23

.preheader:                                       ; preds = %1, %37
  %6 = phi i32 [ %28, %37 ], [ %3, %1 ]
  %7 = phi double [ %38, %37 ], [ 0.000000e+00, %1 ]
  %8 = phi double [ %34, %37 ], [ 0.000000e+00, %1 ]
  %9 = phi double [ %33, %37 ], [ 0.000000e+00, %1 ]
  %indvars.iv31 = phi i64 [ %indvars.iv.next32, %37 ], [ 0, %1 ]
  %10 = icmp sgt i32 %6, 0
  br i1 %10, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %23
  %11 = phi double [ %24, %23 ], [ 2.000000e+222, %.preheader ]
  %indvars.iv = phi i64 [ %indvars.iv.next, %23 ], [ 0, %.preheader ]
  %.not = icmp eq i64 %indvars.iv31, %indvars.iv
  br i1 %.not, label %23, label %12

12:                                               ; preds = %.lr.ph
  %13 = load ptr, ptr %0, align 8, !tbaa !14
  %14 = getelementptr inbounds ptr, ptr %13, i64 %indvars.iv31
  %15 = load ptr, ptr %14, align 8, !tbaa !15
  %16 = getelementptr inbounds ptr, ptr %13, i64 %indvars.iv
  %17 = load ptr, ptr %16, align 8, !tbaa !15
  tail call void @VectDifference(ptr noundef nonnull @StatOfDistanceBetweenNearestNeighbours.CoordDiff, ptr noundef %15, ptr noundef %17) #4
  %18 = tail call double @VectAbs(ptr noundef nonnull @StatOfDistanceBetweenNearestNeighbours.CoordDiff) #4
  store double %18, ptr @StatOfDistanceBetweenNearestNeighbours.Dist_1_2, align 8, !tbaa !5
  %19 = load double, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !5
  %20 = fcmp olt double %18, %19
  br i1 %20, label %21, label %23

21:                                               ; preds = %12
  store double %18, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !5
  %22 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %22, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i_ID, align 4, !tbaa !13
  br label %23

23:                                               ; preds = %.lr.ph, %21, %12
  %24 = phi double [ %11, %.lr.ph ], [ %18, %21 ], [ %19, %12 ]
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %25 = load i32, ptr %2, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = icmp slt i64 %indvars.iv.next, %26
  br i1 %27, label %.lr.ph, label %._crit_edge.loopexit, !llvm.loop !16

._crit_edge.loopexit:                             ; preds = %23
  %.pre = load double, ptr @Avg, align 8, !tbaa !5
  %.pre34 = load double, ptr @StDev, align 8, !tbaa !5
  %.pre35 = load double, ptr @Max, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader
  %28 = phi i32 [ %25, %._crit_edge.loopexit ], [ %6, %.preheader ]
  %29 = phi double [ %.pre35, %._crit_edge.loopexit ], [ %7, %.preheader ]
  %30 = phi double [ %.pre34, %._crit_edge.loopexit ], [ %8, %.preheader ]
  %31 = phi double [ %.pre, %._crit_edge.loopexit ], [ %9, %.preheader ]
  %32 = phi double [ %24, %._crit_edge.loopexit ], [ 2.000000e+222, %.preheader ]
  %33 = fadd double %32, %31
  store double %33, ptr @Avg, align 8, !tbaa !5
  %34 = tail call double @llvm.fmuladd.f64(double %32, double %32, double %30)
  store double %34, ptr @StDev, align 8, !tbaa !5
  %35 = fcmp ogt double %32, %29
  br i1 %35, label %36, label %37

36:                                               ; preds = %._crit_edge
  store double %32, ptr @Max, align 8, !tbaa !5
  br label %37

37:                                               ; preds = %36, %._crit_edge
  %38 = phi double [ %32, %36 ], [ %29, %._crit_edge ]
  store double 2.000000e+222, ptr @StatOfDistanceBetweenNearestNeighbours.Min_i, align 8, !tbaa !5
  %indvars.iv.next32 = add nuw nsw i64 %indvars.iv31, 1
  %39 = sext i32 %28 to i64
  %40 = icmp slt i64 %indvars.iv.next32, %39
  br i1 %40, label %.preheader, label %._crit_edge23, !llvm.loop !18

._crit_edge23:                                    ; preds = %37, %1
  %41 = phi double [ 0.000000e+00, %1 ], [ %38, %37 ]
  %42 = phi double [ 0.000000e+00, %1 ], [ %34, %37 ]
  %43 = phi double [ 0.000000e+00, %1 ], [ %33, %37 ]
  %.lcssa = phi i32 [ %3, %1 ], [ %28, %37 ]
  %44 = sitofp i32 %.lcssa to double
  %45 = fdiv double %43, %44
  store double %45, ptr @Avg, align 8, !tbaa !5
  %46 = fdiv double %42, %44
  %47 = fneg double %45
  %48 = tail call double @llvm.fmuladd.f64(double %47, double %45, double %46)
  %49 = fcmp olt double %48, 0.000000e+00
  %storemerge = select i1 %49, double 0.000000e+00, double %48
  store double %storemerge, ptr @StDev, align 8, !tbaa !5
  store double %45, ptr @StatOfDistanceBetweenNearestNeighbours.StatData, align 16, !tbaa !5
  %sqrt = tail call double @llvm.sqrt.f64(double %storemerge)
  store double %sqrt, ptr getelementptr inbounds (i8, ptr @StatOfDistanceBetweenNearestNeighbours.StatData, i64 8), align 8, !tbaa !5
  store double %41, ptr getelementptr inbounds (i8, ptr @StatOfDistanceBetweenNearestNeighbours.StatData, i64 16), align 16, !tbaa !5
  ret ptr @StatOfDistanceBetweenNearestNeighbours.StatData
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #3

attributes #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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 36}
!10 = !{!"", !11, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !12, i64 32, !12, i64 36}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!12, !12, i64 0}
!14 = !{!10, !11, i64 0}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17, !19}
!19 = !{!"llvm.loop.unswitch.partial.disable"}


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