; LLVM IR from balintbalazs/B3D :: source/src/examples/tools/rawfile.ll (Z23computeStatsFloatArraysPKfS0_jPfS1_S1_S1_S1_j)

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

; 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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23computeStatsFloatArraysPKfS0_jPfS1_S1_S1_S1_j(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, i32 noundef %8) #1 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store i32 %2, ptr %12, align 4, !tbaa !9
  store ptr %3, ptr %13, align 8, !tbaa !5
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  store i32 %8, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %100, %9
  %21 = load i32, ptr %19, align 4, !tbaa !9
  %22 = load i32, ptr %18, align 4, !tbaa !9
  %23 = icmp ult i32 %21, %22
  br i1 %23, label %25, label %24

24:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  br label %103

25:                                               ; preds = %20
  %26 = load ptr, ptr %13, align 8, !tbaa !5
  %27 = icmp ne ptr %26, null
  br i1 %27, label %28, label %39

28:                                               ; preds = %25
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = load i32, ptr %12, align 4, !tbaa !9
  %31 = load i32, ptr %18, align 4, !tbaa !9
  %32 = load i32, ptr %19, align 4, !tbaa !9
  %33 = call noundef double @_Z12computeRangeIfEdPKT_jjj(ptr noundef %29, i32 noundef %30, i32 noundef %31, i32 noundef %32)
  %34 = fptrunc double %33 to float
  %35 = load ptr, ptr %13, align 8, !tbaa !5
  %36 = load i32, ptr %19, align 4, !tbaa !9
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds float, ptr %35, i64 %37
  store float %34, ptr %38, align 4, !tbaa !11
  br label %39

39:                                               ; preds = %28, %25
  %40 = load ptr, ptr %14, align 8, !tbaa !5
  %41 = icmp ne ptr %40, null
  br i1 %41, label %42, label %54

42:                                               ; preds = %39
  %43 = load ptr, ptr %10, align 8, !tbaa !5
  %44 = load ptr, ptr %11, align 8, !tbaa !5
  %45 = load i32, ptr %12, align 4, !tbaa !9
  %46 = load i32, ptr %18, align 4, !tbaa !9
  %47 = load i32, ptr %19, align 4, !tbaa !9
  %48 = call noundef double @_Z18computeMaxAbsErrorIfEdPKT_S2_jjj(ptr noundef %43, ptr noundef %44, i32 noundef %45, i32 noundef %46, i32 noundef %47)
  %49 = fptrunc double %48 to float
  %50 = load ptr, ptr %14, align 8, !tbaa !5
  %51 = load i32, ptr %19, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds float, ptr %50, i64 %52
  store float %49, ptr %53, align 4, !tbaa !11
  br label %54

54:                                               ; preds = %42, %39
  %55 = load ptr, ptr %15, align 8, !tbaa !5
  %56 = icmp ne ptr %55, null
  br i1 %56, label %57, label %69

57:                                               ; preds = %54
  %58 = load ptr, ptr %10, align 8, !tbaa !5
  %59 = load ptr, ptr %11, align 8, !tbaa !5
  %60 = load i32, ptr %12, align 4, !tbaa !9
  %61 = load i32, ptr %18, align 4, !tbaa !9
  %62 = load i32, ptr %19, align 4, !tbaa !9
  %63 = call noundef double @_Z15computeRMSErrorIfEdPKT_S2_jjj(ptr noundef %58, ptr noundef %59, i32 noundef %60, i32 noundef %61, i32 noundef %62)
  %64 = fptrunc double %63 to float
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = load i32, ptr %19, align 4, !tbaa !9
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds float, ptr %65, i64 %67
  store float %64, ptr %68, align 4, !tbaa !11
  br label %69

69:                                               ; preds = %57, %54
  %70 = load ptr, ptr %16, align 8, !tbaa !5
  %71 = icmp ne ptr %70, null
  br i1 %71, label %72, label %84

72:                                               ; preds = %69
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = load ptr, ptr %11, align 8, !tbaa !5
  %75 = load i32, ptr %12, align 4, !tbaa !9
  %76 = load i32, ptr %18, align 4, !tbaa !9
  %77 = load i32, ptr %19, align 4, !tbaa !9
  %78 = call noundef double @_Z11computePSNRIfEdPKT_S2_jjj(ptr noundef %73, ptr noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %77)
  %79 = fptrunc double %78 to float
  %80 = load ptr, ptr %16, align 8, !tbaa !5
  %81 = load i32, ptr %19, align 4, !tbaa !9
  %82 = zext i32 %81 to i64
  %83 = getelementptr inbounds float, ptr %80, i64 %82
  store float %79, ptr %83, align 4, !tbaa !11
  br label %84

84:                                               ; preds = %72, %69
  %85 = load ptr, ptr %17, align 8, !tbaa !5
  %86 = icmp ne ptr %85, null
  br i1 %86, label %87, label %99

87:                                               ; preds = %84
  %88 = load ptr, ptr %10, align 8, !tbaa !5
  %89 = load ptr, ptr %11, align 8, !tbaa !5
  %90 = load i32, ptr %12, align 4, !tbaa !9
  %91 = load i32, ptr %18, align 4, !tbaa !9
  %92 = load i32, ptr %19, align 4, !tbaa !9
  %93 = call noundef double @_Z10computeSNRIfEdPKT_S2_jjj(ptr noundef %88, ptr noundef %89, i32 noundef %90, i32 noundef %91, i32 noundef %92)
  %94 = fptrunc double %93 to float
  %95 = load ptr, ptr %17, align 8, !tbaa !5
  %96 = load i32, ptr %19, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds float, ptr %95, i64 %97
  store float %94, ptr %98, align 4, !tbaa !11
  br label %99

99:                                               ; preds = %87, %84
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %19, align 4, !tbaa !9
  %102 = add i32 %101, 1
  store i32 %102, ptr %19, align 4, !tbaa !9
  br label %20, !llvm.loop !13

103:                                              ; preds = %24
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z12computeRangeIfEdPKT_jjj(ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z18computeMaxAbsErrorIfEdPKT_S2_jjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z15computeRMSErrorIfEdPKT_S2_jjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z11computePSNRIfEdPKT_S2_jjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z10computeSNRIfEdPKT_S2_jjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 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 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"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"

; Function Attrs: mustprogress uwtable
define dso_local void @_Z23computeStatsFloatArraysPKfS0_jPfS1_S1_S1_S1_j(ptr noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef writeonly %3, ptr noundef writeonly %4, ptr noundef writeonly %5, ptr noundef writeonly %6, ptr noundef writeonly %7, i32 noundef %8) local_unnamed_addr #0 {
  %.not54 = icmp eq i32 %8, 0
  br i1 %.not54, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %9
  %.not = icmp eq ptr %3, null
  %.not47 = icmp eq ptr %4, null
  %.not48 = icmp eq ptr %5, null
  %.not49 = icmp eq ptr %6, null
  %.not50 = icmp eq ptr %7, null
  %wide.trip.count72 = zext i32 %8 to i64
  br i1 %.not47, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %33
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %33 ], [ 0, %.lr.ph ]
  br i1 %.not, label %15, label %10

10:                                               ; preds = %.lr.ph.split.us
  %11 = trunc nuw i64 %indvars.iv69 to i32
  %12 = tail call noundef double @_Z12computeRangeIfEdPKT_jjj(ptr noundef %0, i32 noundef %2, i32 noundef %8, i32 noundef %11)
  %13 = fptrunc double %12 to float
  %14 = getelementptr inbounds float, ptr %3, i64 %indvars.iv69
  store float %13, ptr %14, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %10, %.lr.ph.split.us
  br i1 %.not48, label %21, label %16

16:                                               ; preds = %15
  %17 = trunc nuw i64 %indvars.iv69 to i32
  %18 = tail call noundef double @_Z15computeRMSErrorIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %17)
  %19 = fptrunc double %18 to float
  %20 = getelementptr inbounds float, ptr %5, i64 %indvars.iv69
  store float %19, ptr %20, align 4, !tbaa !5
  br label %21

21:                                               ; preds = %16, %15
  br i1 %.not49, label %27, label %22

22:                                               ; preds = %21
  %23 = trunc nuw i64 %indvars.iv69 to i32
  %24 = tail call noundef double @_Z11computePSNRIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %23)
  %25 = fptrunc double %24 to float
  %26 = getelementptr inbounds float, ptr %6, i64 %indvars.iv69
  store float %25, ptr %26, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %22, %21
  br i1 %.not50, label %33, label %28

28:                                               ; preds = %27
  %29 = trunc nuw i64 %indvars.iv69 to i32
  %30 = tail call noundef double @_Z10computeSNRIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %29)
  %31 = fptrunc double %30 to float
  %32 = getelementptr inbounds float, ptr %7, i64 %indvars.iv69
  store float %31, ptr %32, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %28, %27
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %exitcond73.not = icmp eq i64 %indvars.iv.next70, %wide.trip.count72
  br i1 %exitcond73.not, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !9

.lr.ph.split:                                     ; preds = %.lr.ph
  br i1 %.not48, label %.lr.ph.split.split.us, label %.lr.ph.split.split

.lr.ph.split.split.us:                            ; preds = %.lr.ph.split, %50
  %indvars.iv64 = phi i64 [ %indvars.iv.next65, %50 ], [ 0, %.lr.ph.split ]
  %.pre = trunc nuw i64 %indvars.iv64 to i32
  br i1 %.not, label %.lr.ph.split.split.us._crit_edge, label %34

34:                                               ; preds = %.lr.ph.split.split.us
  %35 = tail call noundef double @_Z12computeRangeIfEdPKT_jjj(ptr noundef %0, i32 noundef %2, i32 noundef %8, i32 noundef %.pre)
  %36 = fptrunc double %35 to float
  %37 = getelementptr inbounds float, ptr %3, i64 %indvars.iv64
  store float %36, ptr %37, align 4, !tbaa !5
  br label %.lr.ph.split.split.us._crit_edge

.lr.ph.split.split.us._crit_edge:                 ; preds = %.lr.ph.split.split.us, %34
  %38 = tail call noundef double @_Z18computeMaxAbsErrorIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre)
  %39 = fptrunc double %38 to float
  %40 = getelementptr inbounds float, ptr %4, i64 %indvars.iv64
  store float %39, ptr %40, align 4, !tbaa !5
  br i1 %.not49, label %45, label %41

41:                                               ; preds = %.lr.ph.split.split.us._crit_edge
  %42 = tail call noundef double @_Z11computePSNRIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre)
  %43 = fptrunc double %42 to float
  %44 = getelementptr inbounds float, ptr %6, i64 %indvars.iv64
  store float %43, ptr %44, align 4, !tbaa !5
  br label %45

45:                                               ; preds = %41, %.lr.ph.split.split.us._crit_edge
  br i1 %.not50, label %50, label %46

46:                                               ; preds = %45
  %47 = tail call noundef double @_Z10computeSNRIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre)
  %48 = fptrunc double %47 to float
  %49 = getelementptr inbounds float, ptr %7, i64 %indvars.iv64
  store float %48, ptr %49, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %46, %45
  %indvars.iv.next65 = add nuw nsw i64 %indvars.iv64, 1
  %exitcond68.not = icmp eq i64 %indvars.iv.next65, %wide.trip.count72
  br i1 %exitcond68.not, label %._crit_edge, label %.lr.ph.split.split.us, !llvm.loop !9

.lr.ph.split.split:                               ; preds = %.lr.ph.split
  br i1 %.not49, label %.lr.ph.split.split.split.us, label %.lr.ph.split.split.split

.lr.ph.split.split.split.us:                      ; preds = %.lr.ph.split.split, %65
  %indvars.iv59 = phi i64 [ %indvars.iv.next60, %65 ], [ 0, %.lr.ph.split.split ]
  %.pre74 = trunc nuw i64 %indvars.iv59 to i32
  br i1 %.not, label %.lr.ph.split.split.split.us._crit_edge, label %51

51:                                               ; preds = %.lr.ph.split.split.split.us
  %52 = tail call noundef double @_Z12computeRangeIfEdPKT_jjj(ptr noundef %0, i32 noundef %2, i32 noundef %8, i32 noundef %.pre74)
  %53 = fptrunc double %52 to float
  %54 = getelementptr inbounds float, ptr %3, i64 %indvars.iv59
  store float %53, ptr %54, align 4, !tbaa !5
  br label %.lr.ph.split.split.split.us._crit_edge

.lr.ph.split.split.split.us._crit_edge:           ; preds = %.lr.ph.split.split.split.us, %51
  %55 = tail call noundef double @_Z18computeMaxAbsErrorIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre74)
  %56 = fptrunc double %55 to float
  %57 = getelementptr inbounds float, ptr %4, i64 %indvars.iv59
  store float %56, ptr %57, align 4, !tbaa !5
  %58 = tail call noundef double @_Z15computeRMSErrorIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre74)
  %59 = fptrunc double %58 to float
  %60 = getelementptr inbounds float, ptr %5, i64 %indvars.iv59
  store float %59, ptr %60, align 4, !tbaa !5
  br i1 %.not50, label %65, label %61

61:                                               ; preds = %.lr.ph.split.split.split.us._crit_edge
  %62 = tail call noundef double @_Z10computeSNRIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre74)
  %63 = fptrunc double %62 to float
  %64 = getelementptr inbounds float, ptr %7, i64 %indvars.iv59
  store float %63, ptr %64, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %61, %.lr.ph.split.split.split.us._crit_edge
  %indvars.iv.next60 = add nuw nsw i64 %indvars.iv59, 1
  %exitcond63.not = icmp eq i64 %indvars.iv.next60, %wide.trip.count72
  br i1 %exitcond63.not, label %._crit_edge, label %.lr.ph.split.split.split.us, !llvm.loop !9

._crit_edge:                                      ; preds = %83, %65, %50, %33, %9
  ret void

.lr.ph.split.split.split:                         ; preds = %.lr.ph.split.split, %83
  %indvars.iv = phi i64 [ %indvars.iv.next, %83 ], [ 0, %.lr.ph.split.split ]
  %.pre76 = trunc nuw i64 %indvars.iv to i32
  br i1 %.not, label %.lr.ph.split.split.split._crit_edge, label %66

66:                                               ; preds = %.lr.ph.split.split.split
  %67 = tail call noundef double @_Z12computeRangeIfEdPKT_jjj(ptr noundef %0, i32 noundef %2, i32 noundef %8, i32 noundef %.pre76)
  %68 = fptrunc double %67 to float
  %69 = getelementptr inbounds float, ptr %3, i64 %indvars.iv
  store float %68, ptr %69, align 4, !tbaa !5
  br label %.lr.ph.split.split.split._crit_edge

.lr.ph.split.split.split._crit_edge:              ; preds = %.lr.ph.split.split.split, %66
  %70 = tail call noundef double @_Z18computeMaxAbsErrorIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre76)
  %71 = fptrunc double %70 to float
  %72 = getelementptr inbounds float, ptr %4, i64 %indvars.iv
  store float %71, ptr %72, align 4, !tbaa !5
  %73 = tail call noundef double @_Z15computeRMSErrorIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre76)
  %74 = fptrunc double %73 to float
  %75 = getelementptr inbounds float, ptr %5, i64 %indvars.iv
  store float %74, ptr %75, align 4, !tbaa !5
  %76 = tail call noundef double @_Z11computePSNRIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre76)
  %77 = fptrunc double %76 to float
  %78 = getelementptr inbounds float, ptr %6, i64 %indvars.iv
  store float %77, ptr %78, align 4, !tbaa !5
  br i1 %.not50, label %83, label %79

79:                                               ; preds = %.lr.ph.split.split.split._crit_edge
  %80 = tail call noundef double @_Z10computeSNRIfEdPKT_S2_jjj(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %8, i32 noundef %.pre76)
  %81 = fptrunc double %80 to float
  %82 = getelementptr inbounds float, ptr %7, i64 %indvars.iv
  store float %81, ptr %82, align 4, !tbaa !5
  br label %83

83:                                               ; preds = %.lr.ph.split.split.split._crit_edge, %79
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count72
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph.split.split.split, !llvm.loop !9
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z12computeRangeIfEdPKT_jjj(ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z18computeMaxAbsErrorIfEdPKT_S2_jjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z15computeRMSErrorIfEdPKT_S2_jjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_Z11computePSNRIfEdPKT_S2_jjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z10computeSNRIfEdPKT_S2_jjj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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 = { 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" }

!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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass