; LLVM IR from merpheus-dev/LavaEngine :: src/Utils/soloud/src/filter (soloud_freeverbfilter)

; 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.SoLoud::FreeverbImpl::Revmodel" = type { float, float, float, float, float, float, float, float, float, float, float, i32, [8 x %"class.SoLoud::FreeverbImpl::Comb"], [8 x %"class.SoLoud::FreeverbImpl::Comb"], [4 x %"class.SoLoud::FreeverbImpl::Allpass"], [4 x %"class.SoLoud::FreeverbImpl::Allpass"], [1116 x float], [1139 x float], [1188 x float], [1211 x float], [1277 x float], [1300 x float], [1356 x float], [1379 x float], [1422 x float], [1445 x float], [1491 x float], [1514 x float], [1557 x float], [1580 x float], [1617 x float], [1640 x float], [556 x float], [579 x float], [441 x float], [464 x float], [341 x float], [364 x float], [225 x float], [248 x float] }
%"class.SoLoud::FreeverbImpl::Comb" = type { float, float, float, float, ptr, i32, i32 }
%"class.SoLoud::FreeverbImpl::Allpass" = type { float, ptr, i32, i32 }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24), float noundef) #0 align 2

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32), float noundef) #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6SoLoud12FreeverbImpl8Revmodel7processEPfl(ptr noundef nonnull align 8 dereferenceable(102552) %0, ptr noundef %1, i64 noundef %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  %14 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %15 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %15, ptr %7, align 8, !tbaa !5
  %16 = load ptr, ptr %5, align 8, !tbaa !5
  %17 = load i64, ptr %6, align 8, !tbaa !9
  %18 = getelementptr inbounds float, ptr %16, i64 %17
  store ptr %18, ptr %8, align 8, !tbaa !5
  %19 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 11
  %20 = load i32, ptr %19, align 4, !tbaa !11
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %23

22:                                               ; preds = %3
  call void @_ZN6SoLoud12FreeverbImpl8Revmodel6updateEv(ptr noundef nonnull align 8 dereferenceable(102552) %14)
  br label %23

23:                                               ; preds = %22, %3
  %24 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 11
  store i32 0, ptr %24, align 4, !tbaa !11
  br label %25

25:                                               ; preds = %83, %23
  %26 = load i64, ptr %6, align 8, !tbaa !9
  %27 = add nsw i64 %26, -1
  store i64 %27, ptr %6, align 8, !tbaa !9
  %28 = icmp sgt i64 %26, 0
  br i1 %28, label %29, label %116

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store float 0.000000e+00, ptr %10, align 4, !tbaa !15
  store float 0.000000e+00, ptr %9, align 4, !tbaa !15
  %30 = load ptr, ptr %7, align 8, !tbaa !5
  %31 = load float, ptr %30, align 4, !tbaa !15
  %32 = load ptr, ptr %8, align 8, !tbaa !5
  %33 = load float, ptr %32, align 4, !tbaa !15
  %34 = fadd float %31, %33
  %35 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 0
  %36 = load float, ptr %35, align 8, !tbaa !16
  %37 = fmul float %34, %36
  store float %37, ptr %11, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !17
  br label %38

38:                                               ; preds = %59, %29
  %39 = load i32, ptr %12, align 4, !tbaa !17
  %40 = icmp slt i32 %39, 8
  br i1 %40, label %42, label %41

41:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %62

42:                                               ; preds = %38
  %43 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 12
  %44 = load i32, ptr %12, align 4, !tbaa !17
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [8 x %"class.SoLoud::FreeverbImpl::Comb"], ptr %43, i64 0, i64 %45
  %47 = load float, ptr %11, align 4, !tbaa !15
  %48 = call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %46, float noundef %47)
  %49 = load float, ptr %9, align 4, !tbaa !15
  %50 = fadd float %49, %48
  store float %50, ptr %9, align 4, !tbaa !15
  %51 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 13
  %52 = load i32, ptr %12, align 4, !tbaa !17
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [8 x %"class.SoLoud::FreeverbImpl::Comb"], ptr %51, i64 0, i64 %53
  %55 = load float, ptr %11, align 4, !tbaa !15
  %56 = call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %54, float noundef %55)
  %57 = load float, ptr %10, align 4, !tbaa !15
  %58 = fadd float %57, %56
  store float %58, ptr %10, align 4, !tbaa !15
  br label %59

59:                                               ; preds = %42
  %60 = load i32, ptr %12, align 4, !tbaa !17
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr %12, align 4, !tbaa !17
  br label %38, !llvm.loop !18

62:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  store i32 0, ptr %13, align 4, !tbaa !17
  br label %63

63:                                               ; preds = %80, %62
  %64 = load i32, ptr %13, align 4, !tbaa !17
  %65 = icmp slt i32 %64, 4
  br i1 %65, label %67, label %66

66:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %83

67:                                               ; preds = %63
  %68 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 14
  %69 = load i32, ptr %13, align 4, !tbaa !17
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [4 x %"class.SoLoud::FreeverbImpl::Allpass"], ptr %68, i64 0, i64 %70
  %72 = load float, ptr %9, align 4, !tbaa !15
  %73 = call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %71, float noundef %72)
  store float %73, ptr %9, align 4, !tbaa !15
  %74 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 15
  %75 = load i32, ptr %13, align 4, !tbaa !17
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds [4 x %"class.SoLoud::FreeverbImpl::Allpass"], ptr %74, i64 0, i64 %76
  %78 = load float, ptr %10, align 4, !tbaa !15
  %79 = call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %77, float noundef %78)
  store float %79, ptr %10, align 4, !tbaa !15
  br label %80

80:                                               ; preds = %67
  %81 = load i32, ptr %13, align 4, !tbaa !17
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %13, align 4, !tbaa !17
  br label %63, !llvm.loop !20

83:                                               ; preds = %66
  %84 = load float, ptr %9, align 4, !tbaa !15
  %85 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 6
  %86 = load float, ptr %85, align 8, !tbaa !21
  %87 = load float, ptr %10, align 4, !tbaa !15
  %88 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 7
  %89 = load float, ptr %88, align 4, !tbaa !22
  %90 = fmul float %87, %89
  %91 = call float @llvm.fmuladd.f32(float %84, float %86, float %90)
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = load float, ptr %92, align 4, !tbaa !15
  %94 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 8
  %95 = load float, ptr %94, align 8, !tbaa !23
  %96 = call float @llvm.fmuladd.f32(float %93, float %95, float %91)
  %97 = load ptr, ptr %7, align 8, !tbaa !5
  store float %96, ptr %97, align 4, !tbaa !15
  %98 = load float, ptr %10, align 4, !tbaa !15
  %99 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 6
  %100 = load float, ptr %99, align 8, !tbaa !21
  %101 = load float, ptr %9, align 4, !tbaa !15
  %102 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 7
  %103 = load float, ptr %102, align 4, !tbaa !22
  %104 = fmul float %101, %103
  %105 = call float @llvm.fmuladd.f32(float %98, float %100, float %104)
  %106 = load ptr, ptr %8, align 8, !tbaa !5
  %107 = load float, ptr %106, align 4, !tbaa !15
  %108 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %14, i32 0, i32 8
  %109 = load float, ptr %108, align 8, !tbaa !23
  %110 = call float @llvm.fmuladd.f32(float %107, float %109, float %105)
  %111 = load ptr, ptr %8, align 8, !tbaa !5
  store float %110, ptr %111, align 4, !tbaa !15
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds float, ptr %112, i32 1
  store ptr %113, ptr %7, align 8, !tbaa !5
  %114 = load ptr, ptr %8, align 8, !tbaa !5
  %115 = getelementptr inbounds float, ptr %114, i32 1
  store ptr %115, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %25, !llvm.loop !24

116:                                              ; preds = %25
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6SoLoud12FreeverbImpl8Revmodel6updateEv(ptr noundef nonnull align 8 dereferenceable(102552)) #0 align 2

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

!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 = !{!"long", !7, i64 0}
!11 = !{!12, !14, i64 44}
!12 = !{!"_ZTSN6SoLoud12FreeverbImpl8RevmodelE", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !13, i64 36, !13, i64 40, !14, i64 44, !7, i64 48, !7, i64 304, !7, i64 560, !7, i64 656, !7, i64 752, !7, i64 5216, !7, i64 9772, !7, i64 14524, !7, i64 19368, !7, i64 24476, !7, i64 29676, !7, i64 35100, !7, i64 40616, !7, i64 46304, !7, i64 52084, !7, i64 58048, !7, i64 64104, !7, i64 70332, !7, i64 76652, !7, i64 83120, !7, i64 89680, !7, i64 91904, !7, i64 94220, !7, i64 95984, !7, i64 97840, !7, i64 99204, !7, i64 100660, !7, i64 101560}
!13 = !{!"float", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!13, !13, i64 0}
!16 = !{!12, !13, i64 0}
!17 = !{!14, !14, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!12, !13, i64 24}
!22 = !{!12, !13, i64 28}
!23 = !{!12, !13, i64 32}
!24 = distinct !{!24, !19}


; 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 nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24), float noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32), float noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN6SoLoud12FreeverbImpl8Revmodel7processEPfl(ptr noundef nonnull align 8 dereferenceable(102552) %0, ptr nocapture noundef %1, i64 noundef %2) local_unnamed_addr #0 align 2 {
  %4 = getelementptr inbounds float, ptr %1, i64 %2
  %5 = getelementptr inbounds i8, ptr %0, i64 44
  %6 = load i32, ptr %5, align 4, !tbaa !5
  %.not = icmp eq i32 %6, 0
  br i1 %.not, label %8, label %7

7:                                                ; preds = %3
  tail call void @_ZN6SoLoud12FreeverbImpl8Revmodel6updateEv(ptr noundef nonnull align 8 dereferenceable(102552) %0)
  br label %8

8:                                                ; preds = %7, %3
  store i32 0, ptr %5, align 4, !tbaa !5
  %9 = icmp sgt i64 %2, 0
  br i1 %9, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %8
  %10 = getelementptr inbounds i8, ptr %0, i64 48
  %11 = getelementptr inbounds i8, ptr %0, i64 304
  %12 = getelementptr inbounds i8, ptr %0, i64 560
  %13 = getelementptr inbounds i8, ptr %0, i64 656
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %15 = getelementptr inbounds i8, ptr %0, i64 28
  %16 = getelementptr inbounds i8, ptr %0, i64 32
  %17 = getelementptr inbounds i8, ptr %0, i64 80
  %18 = getelementptr inbounds i8, ptr %0, i64 336
  %19 = getelementptr inbounds i8, ptr %0, i64 112
  %20 = getelementptr inbounds i8, ptr %0, i64 368
  %21 = getelementptr inbounds i8, ptr %0, i64 144
  %22 = getelementptr inbounds i8, ptr %0, i64 400
  %23 = getelementptr inbounds i8, ptr %0, i64 176
  %24 = getelementptr inbounds i8, ptr %0, i64 432
  %25 = getelementptr inbounds i8, ptr %0, i64 208
  %26 = getelementptr inbounds i8, ptr %0, i64 464
  %27 = getelementptr inbounds i8, ptr %0, i64 240
  %28 = getelementptr inbounds i8, ptr %0, i64 496
  %29 = getelementptr inbounds i8, ptr %0, i64 272
  %30 = getelementptr inbounds i8, ptr %0, i64 528
  %31 = getelementptr inbounds i8, ptr %0, i64 584
  %32 = getelementptr inbounds i8, ptr %0, i64 680
  %33 = getelementptr inbounds i8, ptr %0, i64 608
  %34 = getelementptr inbounds i8, ptr %0, i64 704
  %35 = getelementptr inbounds i8, ptr %0, i64 632
  %36 = getelementptr inbounds i8, ptr %0, i64 728
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %.lr.ph, %.preheader.preheader
  %.in = phi i64 [ %2, %.lr.ph ], [ %82, %.preheader.preheader ]
  %.03544 = phi ptr [ %4, %.lr.ph ], [ %98, %.preheader.preheader ]
  %.03643 = phi ptr [ %1, %.lr.ph ], [ %97, %.preheader.preheader ]
  %37 = load float, ptr %.03643, align 4, !tbaa !11
  %38 = load float, ptr %.03544, align 4, !tbaa !11
  %39 = fadd float %37, %38
  %40 = load float, ptr %0, align 8, !tbaa !12
  %41 = fmul float %39, %40
  %42 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %10, float noundef %41)
  %43 = fadd float %42, 0.000000e+00
  %44 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %11, float noundef %41)
  %45 = fadd float %44, 0.000000e+00
  %46 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %17, float noundef %41)
  %47 = fadd float %43, %46
  %48 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %18, float noundef %41)
  %49 = fadd float %45, %48
  %50 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %19, float noundef %41)
  %51 = fadd float %47, %50
  %52 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %20, float noundef %41)
  %53 = fadd float %49, %52
  %54 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %21, float noundef %41)
  %55 = fadd float %51, %54
  %56 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %22, float noundef %41)
  %57 = fadd float %53, %56
  %58 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %23, float noundef %41)
  %59 = fadd float %55, %58
  %60 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %24, float noundef %41)
  %61 = fadd float %57, %60
  %62 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %25, float noundef %41)
  %63 = fadd float %59, %62
  %64 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %26, float noundef %41)
  %65 = fadd float %61, %64
  %66 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %27, float noundef %41)
  %67 = fadd float %63, %66
  %68 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %28, float noundef %41)
  %69 = fadd float %65, %68
  %70 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %29, float noundef %41)
  %71 = fadd float %67, %70
  %72 = tail call noundef float @_ZN6SoLoud12FreeverbImpl4Comb7processEf(ptr noundef nonnull align 8 dereferenceable(32) %30, float noundef %41)
  %73 = fadd float %69, %72
  %74 = tail call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %12, float noundef %71)
  %75 = tail call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %13, float noundef %73)
  %76 = tail call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %31, float noundef %74)
  %77 = tail call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %32, float noundef %75)
  %78 = tail call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %33, float noundef %76)
  %79 = tail call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %34, float noundef %77)
  %80 = tail call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %35, float noundef %78)
  %81 = tail call noundef float @_ZN6SoLoud12FreeverbImpl7Allpass7processEf(ptr noundef nonnull align 8 dereferenceable(24) %36, float noundef %79)
  %82 = add nsw i64 %.in, -1
  %83 = load float, ptr %14, align 8, !tbaa !13
  %84 = load float, ptr %15, align 4, !tbaa !14
  %85 = fmul float %81, %84
  %86 = tail call float @llvm.fmuladd.f32(float %80, float %83, float %85)
  %87 = load float, ptr %.03643, align 4, !tbaa !11
  %88 = load float, ptr %16, align 8, !tbaa !15
  %89 = tail call float @llvm.fmuladd.f32(float %87, float %88, float %86)
  store float %89, ptr %.03643, align 4, !tbaa !11
  %90 = load float, ptr %14, align 8, !tbaa !13
  %91 = load float, ptr %15, align 4, !tbaa !14
  %92 = fmul float %80, %91
  %93 = tail call float @llvm.fmuladd.f32(float %81, float %90, float %92)
  %94 = load float, ptr %.03544, align 4, !tbaa !11
  %95 = load float, ptr %16, align 8, !tbaa !15
  %96 = tail call float @llvm.fmuladd.f32(float %94, float %95, float %93)
  store float %96, ptr %.03544, align 4, !tbaa !11
  %97 = getelementptr inbounds i8, ptr %.03643, i64 4
  %98 = getelementptr inbounds i8, ptr %.03544, i64 4
  %99 = icmp ugt i64 %.in, 1
  br i1 %99, label %.preheader.preheader, label %._crit_edge, !llvm.loop !16

._crit_edge:                                      ; preds = %.preheader.preheader, %8
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6SoLoud12FreeverbImpl8Revmodel6updateEv(ptr noundef nonnull align 8 dereferenceable(102552)) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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 44}
!6 = !{!"_ZTSN6SoLoud12FreeverbImpl8RevmodelE", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !10, i64 44, !8, i64 48, !8, i64 304, !8, i64 560, !8, i64 656, !8, i64 752, !8, i64 5216, !8, i64 9772, !8, i64 14524, !8, i64 19368, !8, i64 24476, !8, i64 29676, !8, i64 35100, !8, i64 40616, !8, i64 46304, !8, i64 52084, !8, i64 58048, !8, i64 64104, !8, i64 70332, !8, i64 76652, !8, i64 83120, !8, i64 89680, !8, i64 91904, !8, i64 94220, !8, i64 95984, !8, i64 97840, !8, i64 99204, !8, i64 100660, !8, i64 101560}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!7, !7, i64 0}
!12 = !{!6, !7, i64 0}
!13 = !{!6, !7, i64 24}
!14 = !{!6, !7, i64 28}
!15 = !{!6, !7, i64 32}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


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