; LLVM IR from clausecker/24puzzle :: quality (pdb_eta)

; 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.index = type { i32, i32, i32 }
%struct.patterndb = type { %struct.index_aux, i32, ptr, [16 x i8] }
%struct.index_aux = type { [32 x i8], [16 x i8], i32, i32, i32, i32, i32, ptr, [16 x i8] }

; Function Attrs: nounwind uwtable
define dso_local double @pdb_eta(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca double, align 8
  %5 = alloca %struct.index, align 4
  %6 = alloca i64, align 8
  %7 = alloca [256 x i64], align 16
  %8 = alloca double, align 8
  %9 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %10 = load ptr, ptr %2, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.patterndb, ptr %10, i32 0, i32 0
  store ptr %11, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  store double 0.000000e+00, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %5) #6
  %12 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 0
  store i32 0, ptr %12, align 4, !tbaa !11
  %13 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 1
  store i32 0, ptr %13, align 4, !tbaa !14
  br label %14

14:                                               ; preds = %83, %1
  %15 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 1
  %16 = load i32, ptr %15, align 4, !tbaa !14
  %17 = load ptr, ptr %3, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.index_aux, ptr %17, i32 0, i32 3
  %19 = load i32, ptr %18, align 4, !tbaa !15
  %20 = icmp ult i32 %16, %19
  br i1 %20, label %21, label %87

21:                                               ; preds = %14
  %22 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 2
  store i32 0, ptr %22, align 4, !tbaa !17
  br label %23

23:                                               ; preds = %78, %21
  %24 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 2
  %25 = load i32, ptr %24, align 4, !tbaa !17
  %26 = load ptr, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 1
  %28 = load i32, ptr %27, align 4, !tbaa !14
  %29 = call i32 @eqclass_count(ptr noundef %26, i32 noundef %28)
  %30 = icmp ult i32 %25, %29
  br i1 %30, label %31, label %82

31:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 2048, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  store double 0.000000e+00, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %32 = getelementptr inbounds [256 x i64], ptr %7, i64 0, i64 0
  call void @llvm.memset.p0.i64(ptr align 16 %32, i8 0, i64 2048, i1 false)
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = call ptr @pdb_entry_pointer(ptr noundef %33, ptr noundef %5)
  store ptr %34, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %6, align 8, !tbaa !18
  br label %35

35:                                               ; preds = %51, %31
  %36 = load i64, ptr %6, align 8, !tbaa !18
  %37 = load ptr, ptr %3, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.index_aux, ptr %37, i32 0, i32 4
  %39 = load i32, ptr %38, align 8, !tbaa !20
  %40 = zext i32 %39 to i64
  %41 = icmp ult i64 %36, %40
  br i1 %41, label %42, label %54

42:                                               ; preds = %35
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load i64, ptr %6, align 8, !tbaa !18
  %45 = getelementptr inbounds i8, ptr %43, i64 %44
  %46 = load i8, ptr %45, align 1, !tbaa !21
  %47 = zext i8 %46 to i64
  %48 = getelementptr inbounds [256 x i64], ptr %7, i64 0, i64 %47
  %49 = load i64, ptr %48, align 8, !tbaa !18
  %50 = add i64 %49, 1
  store i64 %50, ptr %48, align 8, !tbaa !18
  br label %51

51:                                               ; preds = %42
  %52 = load i64, ptr %6, align 8, !tbaa !18
  %53 = add i64 %52, 1
  store i64 %53, ptr %6, align 8, !tbaa !18
  br label %35, !llvm.loop !22

54:                                               ; preds = %35
  store i64 0, ptr %6, align 8, !tbaa !18
  br label %55

55:                                               ; preds = %68, %54
  %56 = load i64, ptr %6, align 8, !tbaa !18
  %57 = icmp ult i64 %56, 256
  br i1 %57, label %58, label %71

58:                                               ; preds = %55
  %59 = load i64, ptr %6, align 8, !tbaa !18
  %60 = sub i64 256, %59
  %61 = sub i64 %60, 1
  %62 = getelementptr inbounds [256 x i64], ptr %7, i64 0, i64 %61
  %63 = load i64, ptr %62, align 8, !tbaa !18
  %64 = uitofp i64 %63 to double
  %65 = load double, ptr %8, align 8, !tbaa !9
  %66 = fdiv double %65, 0x4002F0DAA6A94158
  %67 = fadd double %64, %66
  store double %67, ptr %8, align 8, !tbaa !9
  br label %68

68:                                               ; preds = %58
  %69 = load i64, ptr %6, align 8, !tbaa !18
  %70 = add i64 %69, 1
  store i64 %70, ptr %6, align 8, !tbaa !18
  br label %55, !llvm.loop !24

71:                                               ; preds = %55
  %72 = load double, ptr %8, align 8, !tbaa !9
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = call i32 @eqclass_from_index(ptr noundef %73, ptr noundef %5)
  %75 = call double @region_bias(i32 noundef %74)
  %76 = load double, ptr %4, align 8, !tbaa !9
  %77 = call double @llvm.fmuladd.f64(double %72, double %75, double %76)
  store double %77, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 2048, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  br label %78

78:                                               ; preds = %71
  %79 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 2
  %80 = load i32, ptr %79, align 4, !tbaa !17
  %81 = add nsw i32 %80, 1
  store i32 %81, ptr %79, align 4, !tbaa !17
  br label %23, !llvm.loop !25

82:                                               ; preds = %23
  br label %83

83:                                               ; preds = %82
  %84 = getelementptr inbounds %struct.index, ptr %5, i32 0, i32 1
  %85 = load i32, ptr %84, align 4, !tbaa !14
  %86 = add i32 %85, 1
  store i32 %86, ptr %84, align 4, !tbaa !14
  br label %14, !llvm.loop !26

87:                                               ; preds = %14
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.index_aux, ptr %88, i32 0, i32 4
  %90 = load i32, ptr %89, align 8, !tbaa !20
  %91 = uitofp i32 %90 to double
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.index_aux, ptr %92, i32 0, i32 2
  %94 = load i32, ptr %93, align 16, !tbaa !27
  %95 = sub i32 25, %94
  %96 = uitofp i32 %95 to double
  %97 = fmul double %91, %96
  %98 = load ptr, ptr %3, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.index_aux, ptr %98, i32 0, i32 3
  %100 = load i32, ptr %99, align 4, !tbaa !15
  %101 = uitofp i32 %100 to double
  %102 = fmul double %97, %101
  %103 = load double, ptr %4, align 8, !tbaa !9
  %104 = fdiv double %103, %102
  store double %104, ptr %4, align 8, !tbaa !9
  %105 = load double, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 12, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  ret double %105
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @eqclass_count(ptr noundef, i32 noundef) #2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @pdb_entry_pointer(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
declare hidden double @region_bias(i32 noundef) #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @eqclass_from_index(ptr noundef, ptr noundef) #4

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

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

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 = { inlinehint 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 nounwind willreturn memory(argmem: write) }
attributes #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="128" "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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 0}
!12 = !{!"index", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!16, !13, i64 52}
!16 = !{!"index_aux", !7, i64 0, !7, i64 32, !13, i64 48, !13, i64 52, !13, i64 56, !13, i64 60, !13, i64 64, !6, i64 72}
!17 = !{!12, !13, i64 8}
!18 = !{!19, !19, i64 0}
!19 = !{!"long", !7, i64 0}
!20 = !{!16, !13, i64 56}
!21 = !{!7, !7, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = distinct !{!24, !23}
!25 = distinct !{!25, !23}
!26 = distinct !{!26, !23}
!27 = !{!16, !13, i64 48}


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

; Function Attrs: nounwind uwtable
define dso_local double @pdb_eta(ptr noundef %0) local_unnamed_addr #0 {
  %2 = alloca %struct.index, align 4
  %3 = alloca [256 x i64], align 16
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %2, i64 4
  %5 = getelementptr inbounds i8, ptr %0, i64 52
  store i32 0, ptr %4, align 4, !tbaa !10
  %6 = load i32, ptr %5, align 4, !tbaa !11
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %._crit_edge33, label %.lr.ph32

.lr.ph32:                                         ; preds = %1
  %7 = getelementptr inbounds i8, ptr %2, i64 8
  %8 = getelementptr inbounds i8, ptr %0, i64 56
  br label %9

9:                                                ; preds = %.lr.ph32, %._crit_edge
  %10 = phi i32 [ 0, %.lr.ph32 ], [ %88, %._crit_edge ]
  %.030 = phi double [ 0.000000e+00, %.lr.ph32 ], [ %.1.lcssa, %._crit_edge ]
  store i32 0, ptr %7, align 4, !tbaa !14
  %11 = call i32 @eqclass_count(ptr noundef nonnull %0, i32 noundef %10)
  %.not36 = icmp eq i32 %11, 0
  br i1 %.not36, label %._crit_edge, label %.lr.ph29

.lr.ph29:                                         ; preds = %9, %78
  %.128 = phi double [ %81, %78 ], [ %.030, %9 ]
  call void @llvm.lifetime.start.p0(i64 2048, ptr nonnull %3) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(2048) %3, i8 0, i64 2048, i1 false)
  %12 = call ptr @pdb_entry_pointer(ptr noundef %0, ptr noundef nonnull %2)
  %13 = load i32, ptr %8, align 8, !tbaa !15
  %14 = zext i32 %13 to i64
  %.not37 = icmp eq i32 %13, 0
  br i1 %.not37, label %.preheader.preheader, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph29
  %xtraiter = and i64 %14, 3
  %15 = icmp ult i32 %13, 4
  br i1 %15, label %.preheader.preheader.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %14, 4294967292
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.02125 = phi i64 [ 0, %.lr.ph.preheader.new ], [ %43, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %16 = getelementptr inbounds i8, ptr %12, i64 %.02125
  %17 = load i8, ptr %16, align 1, !tbaa !16
  %18 = zext i8 %17 to i64
  %19 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %18
  %20 = load i64, ptr %19, align 8, !tbaa !17
  %21 = add i64 %20, 1
  store i64 %21, ptr %19, align 8, !tbaa !17
  %22 = or disjoint i64 %.02125, 1
  %23 = getelementptr inbounds i8, ptr %12, i64 %22
  %24 = load i8, ptr %23, align 1, !tbaa !16
  %25 = zext i8 %24 to i64
  %26 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %25
  %27 = load i64, ptr %26, align 8, !tbaa !17
  %28 = add i64 %27, 1
  store i64 %28, ptr %26, align 8, !tbaa !17
  %29 = or disjoint i64 %.02125, 2
  %30 = getelementptr inbounds i8, ptr %12, i64 %29
  %31 = load i8, ptr %30, align 1, !tbaa !16
  %32 = zext i8 %31 to i64
  %33 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %32
  %34 = load i64, ptr %33, align 8, !tbaa !17
  %35 = add i64 %34, 1
  store i64 %35, ptr %33, align 8, !tbaa !17
  %36 = or disjoint i64 %.02125, 3
  %37 = getelementptr inbounds i8, ptr %12, i64 %36
  %38 = load i8, ptr %37, align 1, !tbaa !16
  %39 = zext i8 %38 to i64
  %40 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %39
  %41 = load i64, ptr %40, align 8, !tbaa !17
  %42 = add i64 %41, 1
  store i64 %42, ptr %40, align 8, !tbaa !17
  %43 = add nuw nsw i64 %.02125, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader.preheader.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !19

.preheader.preheader.loopexit.unr-lcssa:          ; preds = %.lr.ph, %.lr.ph.preheader
  %.02125.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %43, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader.preheader, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.preheader.preheader.loopexit.unr-lcssa, %.lr.ph.epil
  %.02125.epil = phi i64 [ %50, %.lr.ph.epil ], [ %.02125.unr, %.preheader.preheader.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %.preheader.preheader.loopexit.unr-lcssa ]
  %44 = getelementptr inbounds i8, ptr %12, i64 %.02125.epil
  %45 = load i8, ptr %44, align 1, !tbaa !16
  %46 = zext i8 %45 to i64
  %47 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %46
  %48 = load i64, ptr %47, align 8, !tbaa !17
  %49 = add i64 %48, 1
  store i64 %49, ptr %47, align 8, !tbaa !17
  %50 = add nuw nsw i64 %.02125.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.preheader, label %.lr.ph.epil, !llvm.loop !21

.preheader.preheader:                             ; preds = %.preheader.preheader.loopexit.unr-lcssa, %.lr.ph.epil, %.lr.ph29
  br label %.preheader

.preheader:                                       ; preds = %.preheader, %.preheader.preheader
  %.02027 = phi double [ 0.000000e+00, %.preheader.preheader ], [ %76, %.preheader ]
  %.12226 = phi i64 [ 0, %.preheader.preheader ], [ %77, %.preheader ]
  %51 = sub nuw nsw i64 255, %.12226
  %52 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %51
  %53 = load i64, ptr %52, align 8, !tbaa !17
  %54 = uitofp i64 %53 to double
  %55 = fdiv double %.02027, 0x4002F0DAA6A94158
  %56 = fadd double %55, %54
  %57 = sub nsw i64 254, %.12226
  %58 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %57
  %59 = load i64, ptr %58, align 16, !tbaa !17
  %60 = uitofp i64 %59 to double
  %61 = fdiv double %56, 0x4002F0DAA6A94158
  %62 = fadd double %61, %60
  %63 = or disjoint i64 %.12226, 2
  %64 = sub nuw nsw i64 255, %63
  %65 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %64
  %66 = load i64, ptr %65, align 8, !tbaa !17
  %67 = uitofp i64 %66 to double
  %68 = fdiv double %62, 0x4002F0DAA6A94158
  %69 = fadd double %68, %67
  %70 = or disjoint i64 %.12226, 3
  %71 = sub nuw nsw i64 255, %70
  %72 = getelementptr inbounds [256 x i64], ptr %3, i64 0, i64 %71
  %73 = load i64, ptr %72, align 16, !tbaa !17
  %74 = uitofp i64 %73 to double
  %75 = fdiv double %69, 0x4002F0DAA6A94158
  %76 = fadd double %75, %74
  %77 = add nuw nsw i64 %.12226, 4
  %exitcond41.not.3 = icmp eq i64 %77, 256
  br i1 %exitcond41.not.3, label %78, label %.preheader, !llvm.loop !23

78:                                               ; preds = %.preheader
  %79 = call i32 @eqclass_from_index(ptr noundef %0, ptr noundef nonnull %2)
  %80 = call double @region_bias(i32 noundef %79)
  %81 = call double @llvm.fmuladd.f64(double %76, double %80, double %.128)
  call void @llvm.lifetime.end.p0(i64 2048, ptr nonnull %3) #6
  %82 = load i32, ptr %7, align 4, !tbaa !14
  %83 = add nsw i32 %82, 1
  store i32 %83, ptr %7, align 4, !tbaa !14
  %84 = load i32, ptr %4, align 4, !tbaa !10
  %85 = call i32 @eqclass_count(ptr noundef %0, i32 noundef %84)
  %86 = icmp ult i32 %83, %85
  br i1 %86, label %.lr.ph29, label %._crit_edge, !llvm.loop !24

._crit_edge:                                      ; preds = %78, %9
  %.1.lcssa = phi double [ %.030, %9 ], [ %81, %78 ]
  %87 = load i32, ptr %4, align 4, !tbaa !10
  %88 = add i32 %87, 1
  store i32 %88, ptr %4, align 4, !tbaa !10
  %89 = load i32, ptr %5, align 4, !tbaa !11
  %90 = icmp ult i32 %88, %89
  br i1 %90, label %9, label %._crit_edge33.loopexit, !llvm.loop !25

._crit_edge33.loopexit:                           ; preds = %._crit_edge
  %91 = uitofp i32 %89 to double
  br label %._crit_edge33

._crit_edge33:                                    ; preds = %._crit_edge33.loopexit, %1
  %.0.lcssa = phi double [ 0.000000e+00, %1 ], [ %.1.lcssa, %._crit_edge33.loopexit ]
  %.lcssa = phi double [ 0.000000e+00, %1 ], [ %91, %._crit_edge33.loopexit ]
  %92 = getelementptr inbounds i8, ptr %0, i64 56
  %93 = load i32, ptr %92, align 8, !tbaa !15
  %94 = uitofp i32 %93 to double
  %95 = getelementptr inbounds i8, ptr %0, i64 48
  %96 = load i32, ptr %95, align 16, !tbaa !26
  %97 = sub i32 25, %96
  %98 = uitofp i32 %97 to double
  %99 = fmul double %94, %98
  %100 = fmul double %99, %.lcssa
  %101 = fdiv double %.0.lcssa, %100
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #6
  ret double %101
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @eqclass_count(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @pdb_entry_pointer(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare hidden double @region_bias(i32 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden i32 @eqclass_from_index(ptr noundef, ptr noundef) local_unnamed_addr #4

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

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

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { inlinehint 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #4 = { inlinehint nounwind uwtable "min-legal-vector-width"="128" "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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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, !7, i64 0}
!6 = !{!"index", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!12, !7, i64 52}
!12 = !{!"index_aux", !8, i64 0, !8, i64 32, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !13, i64 72}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!6, !7, i64 8}
!15 = !{!12, !7, i64 56}
!16 = !{!8, !8, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"long", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.unroll.disable"}
!23 = distinct !{!23, !20}
!24 = distinct !{!24, !20}
!25 = distinct !{!25, !20}
!26 = !{!12, !7, i64 48}


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