; LLVM IR from ox-vgg/vise :: src/search_engine/relja_retrival/external/KMCode_relja/stats (stats)

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

%class.GaussMixture = type { ptr, ptr, ptr, ptr, ptr, i32, i32, i32, i32, i32, i32, i32, i32, float, float, float, 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZN12GaussMixture7probMAPEPf(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca float, align 4
  %8 = alloca i32, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %12 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %13 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 5
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = sext i32 %14 to i64
  %16 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %15, i64 4)
  %17 = extractvalue { i64, i1 } %16, 1
  %18 = extractvalue { i64, i1 } %16, 0
  %19 = select i1 %17, i64 -1, i64 %18
  %20 = call noalias noundef nonnull ptr @_Znam(i64 noundef %19) #5
  store ptr %20, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %21

21:                                               ; preds = %42, %2
  %22 = load i32, ptr %6, align 4, !tbaa !13
  %23 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 5
  %24 = load i32, ptr %23, align 8, !tbaa !9
  %25 = icmp slt i32 %22, %24
  br i1 %25, label %27, label %26

26:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %45

27:                                               ; preds = %21
  %28 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 4
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  %30 = load i32, ptr %6, align 4, !tbaa !13
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds float, ptr %29, i64 %31
  %33 = load float, ptr %32, align 4, !tbaa !15
  %34 = load ptr, ptr %4, align 8, !tbaa !5
  %35 = load i32, ptr %6, align 4, !tbaa !13
  %36 = call noundef float @_ZN12GaussMixture12densityMahalEPfi(ptr noundef nonnull align 8 dereferenceable(88) %12, ptr noundef %34, i32 noundef %35)
  %37 = fmul float %33, %36
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = load i32, ptr %6, align 4, !tbaa !13
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds float, ptr %38, i64 %40
  store float %37, ptr %41, align 4, !tbaa !15
  br label %42

42:                                               ; preds = %27
  %43 = load i32, ptr %6, align 4, !tbaa !13
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %6, align 4, !tbaa !13
  br label %21, !llvm.loop !16

45:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store float 0.000000e+00, ptr %7, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !13
  br label %46

46:                                               ; preds = %60, %45
  %47 = load i32, ptr %8, align 4, !tbaa !13
  %48 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 5
  %49 = load i32, ptr %48, align 8, !tbaa !9
  %50 = icmp slt i32 %47, %49
  br i1 %50, label %52, label %51

51:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %63

52:                                               ; preds = %46
  %53 = load ptr, ptr %5, align 8, !tbaa !5
  %54 = load i32, ptr %8, align 4, !tbaa !13
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds float, ptr %53, i64 %55
  %57 = load float, ptr %56, align 4, !tbaa !15
  %58 = load float, ptr %7, align 4, !tbaa !15
  %59 = fadd float %58, %57
  store float %59, ptr %7, align 4, !tbaa !15
  br label %60

60:                                               ; preds = %52
  %61 = load i32, ptr %8, align 4, !tbaa !13
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %8, align 4, !tbaa !13
  br label %46, !llvm.loop !18

63:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store float 0.000000e+00, ptr %9, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store float 0.000000e+00, ptr %10, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %64

64:                                               ; preds = %86, %63
  %65 = load i32, ptr %11, align 4, !tbaa !13
  %66 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 5
  %67 = load i32, ptr %66, align 8, !tbaa !9
  %68 = icmp slt i32 %65, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %89

70:                                               ; preds = %64
  %71 = load ptr, ptr %5, align 8, !tbaa !5
  %72 = load i32, ptr %11, align 4, !tbaa !13
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds float, ptr %71, i64 %73
  %75 = load float, ptr %74, align 4, !tbaa !15
  %76 = load float, ptr %7, align 4, !tbaa !15
  %77 = fdiv float %75, %76
  store float %77, ptr %10, align 4, !tbaa !15
  %78 = load float, ptr %10, align 4, !tbaa !15
  %79 = load float, ptr %9, align 4, !tbaa !15
  %80 = fcmp ogt float %78, %79
  br i1 %80, label %81, label %85

81:                                               ; preds = %70
  %82 = load float, ptr %10, align 4, !tbaa !15
  store float %82, ptr %9, align 4, !tbaa !15
  %83 = load i32, ptr %11, align 4, !tbaa !13
  %84 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 16
  store i32 %83, ptr %84, align 4, !tbaa !19
  br label %85

85:                                               ; preds = %81, %70
  br label %86

86:                                               ; preds = %85
  %87 = load i32, ptr %11, align 4, !tbaa !13
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %11, align 4, !tbaa !13
  br label %64, !llvm.loop !20

89:                                               ; preds = %69
  %90 = load ptr, ptr %5, align 8, !tbaa !5
  %91 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 16
  %92 = load i32, ptr %91, align 4, !tbaa !19
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds float, ptr %90, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !15
  %96 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 13
  store float %95, ptr %96, align 8, !tbaa !21
  %97 = load float, ptr %9, align 4, !tbaa !15
  %98 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 15
  store float %97, ptr %98, align 8, !tbaa !22
  %99 = getelementptr inbounds %class.GaussMixture, ptr %12, i32 0, i32 13
  %100 = load float, ptr %99, align 8, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret float %100
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN12GaussMixture12densityMahalEPfi(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, i32 noundef) #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nobuiltin allocsize(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 = { 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 #4 = { nounwind }
attributes #5 = { builtin allocsize(0) }

!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, !11, i64 40}
!10 = !{!"_ZTS12GaussMixture", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 44, !11, i64 48, !11, i64 52, !11, i64 56, !11, i64 60, !11, i64 64, !11, i64 68, !12, i64 72, !12, i64 76, !12, i64 80, !11, i64 84}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 32}
!15 = !{!12, !12, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!10, !11, i64 84}
!20 = distinct !{!20, !17}
!21 = !{!10, !12, i64 72}
!22 = !{!10, !12, i64 80}


; 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: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZN12GaussMixture7probMAPEPf(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1) local_unnamed_addr #1 align 2 {
  %3 = getelementptr inbounds i8, ptr %0, i64 40
  %4 = load i32, ptr %3, align 8, !tbaa !5
  %5 = sext i32 %4 to i64
  %6 = icmp slt i32 %4, 0
  %7 = shl nsw i64 %5, 2
  %8 = select i1 %6, i64 -1, i64 %7
  %9 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %8) #2
  %10 = icmp sgt i32 %4, 0
  br i1 %10, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  br label %14

.preheader28:                                     ; preds = %14
  %12 = icmp sgt i32 %22, 0
  br i1 %12, label %.lr.ph32.preheader, label %._crit_edge

.lr.ph32.preheader:                               ; preds = %.preheader28
  %wide.trip.count = zext nneg i32 %22 to i64
  %xtraiter = and i64 %wide.trip.count, 7
  %13 = icmp ult i32 %22, 8
  br i1 %13, label %.preheader.unr-lcssa, label %.lr.ph32.preheader.new

.lr.ph32.preheader.new:                           ; preds = %.lr.ph32.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483640
  br label %.lr.ph32

14:                                               ; preds = %.lr.ph, %14
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %14 ]
  %15 = load ptr, ptr %11, align 8, !tbaa !12
  %16 = getelementptr inbounds float, ptr %15, i64 %indvars.iv
  %17 = load float, ptr %16, align 4, !tbaa !13
  %18 = trunc nuw nsw i64 %indvars.iv to i32
  %19 = tail call noundef float @_ZN12GaussMixture12densityMahalEPfi(ptr noundef nonnull align 8 dereferenceable(88) %0, ptr noundef %1, i32 noundef %18)
  %20 = fmul float %17, %19
  %21 = getelementptr inbounds float, ptr %9, i64 %indvars.iv
  store float %20, ptr %21, align 4, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %22 = load i32, ptr %3, align 8, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = icmp slt i64 %indvars.iv.next, %23
  br i1 %24, label %14, label %.preheader28, !llvm.loop !14

.preheader.unr-lcssa:                             ; preds = %.lr.ph32, %.lr.ph32.preheader
  %.lcssa.ph = phi float [ poison, %.lr.ph32.preheader ], [ %53, %.lr.ph32 ]
  %indvars.iv41.unr = phi i64 [ 0, %.lr.ph32.preheader ], [ %indvars.iv.next42.7, %.lr.ph32 ]
  %.02530.unr = phi float [ 0.000000e+00, %.lr.ph32.preheader ], [ %53, %.lr.ph32 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader, label %.lr.ph32.epil

.lr.ph32.epil:                                    ; preds = %.preheader.unr-lcssa, %.lr.ph32.epil
  %indvars.iv41.epil = phi i64 [ %indvars.iv.next42.epil, %.lr.ph32.epil ], [ %indvars.iv41.unr, %.preheader.unr-lcssa ]
  %.02530.epil = phi float [ %27, %.lr.ph32.epil ], [ %.02530.unr, %.preheader.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph32.epil ], [ 0, %.preheader.unr-lcssa ]
  %25 = getelementptr inbounds float, ptr %9, i64 %indvars.iv41.epil
  %26 = load float, ptr %25, align 4, !tbaa !13
  %27 = fadd float %.02530.epil, %26
  %indvars.iv.next42.epil = add nuw nsw i64 %indvars.iv41.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader, label %.lr.ph32.epil, !llvm.loop !16

.preheader:                                       ; preds = %.lr.ph32.epil, %.preheader.unr-lcssa
  %.lcssa = phi float [ %.lcssa.ph, %.preheader.unr-lcssa ], [ %27, %.lr.ph32.epil ]
  br i1 %12, label %.lr.ph36, label %._crit_edge

.lr.ph36:                                         ; preds = %.preheader
  %28 = getelementptr inbounds i8, ptr %0, i64 84
  %xtraiter57 = and i64 %wide.trip.count, 1
  %29 = icmp eq i32 %22, 1
  br i1 %29, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph36.new

.lr.ph36.new:                                     ; preds = %.lr.ph36
  %unroll_iter61 = and i64 %wide.trip.count, 2147483646
  br label %67

.lr.ph32:                                         ; preds = %.lr.ph32, %.lr.ph32.preheader.new
  %indvars.iv41 = phi i64 [ 0, %.lr.ph32.preheader.new ], [ %indvars.iv.next42.7, %.lr.ph32 ]
  %.02530 = phi float [ 0.000000e+00, %.lr.ph32.preheader.new ], [ %53, %.lr.ph32 ]
  %niter = phi i64 [ 0, %.lr.ph32.preheader.new ], [ %niter.next.7, %.lr.ph32 ]
  %30 = getelementptr inbounds float, ptr %9, i64 %indvars.iv41
  %31 = load float, ptr %30, align 4, !tbaa !13
  %32 = fadd float %.02530, %31
  %indvars.iv.next42 = or disjoint i64 %indvars.iv41, 1
  %33 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next42
  %34 = load float, ptr %33, align 4, !tbaa !13
  %35 = fadd float %32, %34
  %indvars.iv.next42.1 = or disjoint i64 %indvars.iv41, 2
  %36 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next42.1
  %37 = load float, ptr %36, align 4, !tbaa !13
  %38 = fadd float %35, %37
  %indvars.iv.next42.2 = or disjoint i64 %indvars.iv41, 3
  %39 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next42.2
  %40 = load float, ptr %39, align 4, !tbaa !13
  %41 = fadd float %38, %40
  %indvars.iv.next42.3 = or disjoint i64 %indvars.iv41, 4
  %42 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next42.3
  %43 = load float, ptr %42, align 4, !tbaa !13
  %44 = fadd float %41, %43
  %indvars.iv.next42.4 = or disjoint i64 %indvars.iv41, 5
  %45 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next42.4
  %46 = load float, ptr %45, align 4, !tbaa !13
  %47 = fadd float %44, %46
  %indvars.iv.next42.5 = or disjoint i64 %indvars.iv41, 6
  %48 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next42.5
  %49 = load float, ptr %48, align 4, !tbaa !13
  %50 = fadd float %47, %49
  %indvars.iv.next42.6 = or disjoint i64 %indvars.iv41, 7
  %51 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next42.6
  %52 = load float, ptr %51, align 4, !tbaa !13
  %53 = fadd float %50, %52
  %indvars.iv.next42.7 = add nuw nsw i64 %indvars.iv41, 8
  %niter.next.7 = add i64 %niter, 8
  %niter.ncmp.7 = icmp eq i64 %niter.next.7, %unroll_iter
  br i1 %niter.ncmp.7, label %.preheader.unr-lcssa, label %.lr.ph32, !llvm.loop !18

._crit_edge.loopexit.unr-lcssa:                   ; preds = %81, %.lr.ph36
  %.1.lcssa.ph = phi float [ poison, %.lr.ph36 ], [ %.1.1, %81 ]
  %indvars.iv44.unr = phi i64 [ 0, %.lr.ph36 ], [ %indvars.iv.next45.1, %81 ]
  %.02334.unr = phi float [ 0.000000e+00, %.lr.ph36 ], [ %.1.1, %81 ]
  %lcmp.mod59.not = icmp eq i64 %xtraiter57, 0
  br i1 %lcmp.mod59.not, label %._crit_edge, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.loopexit.unr-lcssa
  %54 = getelementptr inbounds float, ptr %9, i64 %indvars.iv44.unr
  %55 = load float, ptr %54, align 4, !tbaa !13
  %56 = fdiv float %55, %.lcssa
  %57 = fcmp ogt float %56, %.02334.unr
  br i1 %57, label %58, label %._crit_edge

58:                                               ; preds = %.epil.preheader
  %59 = trunc nuw nsw i64 %indvars.iv44.unr to i32
  store i32 %59, ptr %28, align 4, !tbaa !19
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %58, %.epil.preheader, %2, %.preheader28, %.preheader
  %.023.lcssa = phi float [ 0.000000e+00, %.preheader ], [ 0.000000e+00, %.preheader28 ], [ 0.000000e+00, %2 ], [ %.1.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %56, %58 ], [ %.02334.unr, %.epil.preheader ]
  %60 = getelementptr inbounds i8, ptr %0, i64 84
  %61 = load i32, ptr %60, align 4, !tbaa !19
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds float, ptr %9, i64 %62
  %64 = load float, ptr %63, align 4, !tbaa !13
  %65 = getelementptr inbounds i8, ptr %0, i64 72
  store float %64, ptr %65, align 8, !tbaa !20
  %66 = getelementptr inbounds i8, ptr %0, i64 80
  store float %.023.lcssa, ptr %66, align 8, !tbaa !21
  ret float %64

67:                                               ; preds = %81, %.lr.ph36.new
  %indvars.iv44 = phi i64 [ 0, %.lr.ph36.new ], [ %indvars.iv.next45.1, %81 ]
  %.02334 = phi float [ 0.000000e+00, %.lr.ph36.new ], [ %.1.1, %81 ]
  %niter62 = phi i64 [ 0, %.lr.ph36.new ], [ %niter62.next.1, %81 ]
  %68 = getelementptr inbounds float, ptr %9, i64 %indvars.iv44
  %69 = load float, ptr %68, align 4, !tbaa !13
  %70 = fdiv float %69, %.lcssa
  %71 = fcmp ogt float %70, %.02334
  br i1 %71, label %72, label %74

72:                                               ; preds = %67
  %73 = trunc nuw nsw i64 %indvars.iv44 to i32
  store i32 %73, ptr %28, align 4, !tbaa !19
  br label %74

74:                                               ; preds = %67, %72
  %.1 = phi float [ %70, %72 ], [ %.02334, %67 ]
  %indvars.iv.next45 = or disjoint i64 %indvars.iv44, 1
  %75 = getelementptr inbounds float, ptr %9, i64 %indvars.iv.next45
  %76 = load float, ptr %75, align 4, !tbaa !13
  %77 = fdiv float %76, %.lcssa
  %78 = fcmp ogt float %77, %.1
  br i1 %78, label %79, label %81

79:                                               ; preds = %74
  %80 = trunc nuw nsw i64 %indvars.iv.next45 to i32
  store i32 %80, ptr %28, align 4, !tbaa !19
  br label %81

81:                                               ; preds = %79, %74
  %.1.1 = phi float [ %77, %79 ], [ %.1, %74 ]
  %indvars.iv.next45.1 = add nuw nsw i64 %indvars.iv44, 2
  %niter62.next.1 = add i64 %niter62, 2
  %niter62.ncmp.1 = icmp eq i64 %niter62.next.1, %unroll_iter61
  br i1 %niter62.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %67, !llvm.loop !22
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_ZN12GaussMixture12densityMahalEPfi(ptr noundef nonnull align 8 dereferenceable(88), ptr noundef, i32 noundef) local_unnamed_addr #1 align 2

attributes #0 = { nobuiltin allocsize(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 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 = { builtin allocsize(0) }

!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 40}
!6 = !{!"_ZTS12GaussMixture", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !11, i64 72, !11, i64 76, !11, i64 80, !10, i64 84}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"float", !8, i64 0}
!12 = !{!6, !7, i64 32}
!13 = !{!11, !11, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.unroll.disable"}
!18 = distinct !{!18, !15}
!19 = !{!6, !10, i64 84}
!20 = !{!6, !11, i64 72}
!21 = !{!6, !11, i64 80}
!22 = distinct !{!22, !15}


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