; LLVM IR from Overload-Technologies/Overload :: Dependencies/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 @_ZN6SoLoud12FreeverbImpl8Revmodel7processEPfll(ptr noundef nonnull align 8 dereferenceable(102552) %0, ptr noundef %1, i64 noundef %2, i64 noundef %3) #3 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store i64 %2, ptr %7, align 8, !tbaa !9
  store i64 %3, ptr %8, align 8, !tbaa !9
  %16 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %17, ptr %9, align 8, !tbaa !5
  %18 = load ptr, ptr %6, align 8, !tbaa !5
  %19 = load i64, ptr %8, align 8, !tbaa !9
  %20 = getelementptr inbounds float, ptr %18, i64 %19
  store ptr %20, ptr %10, align 8, !tbaa !5
  %21 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %16, i32 0, i32 11
  %22 = load i32, ptr %21, align 4, !tbaa !11
  %23 = icmp ne i32 %22, 0
  br i1 %23, label %24, label %25

24:                                               ; preds = %4
  call void @_ZN6SoLoud12FreeverbImpl8Revmodel6updateEv(ptr noundef nonnull align 8 dereferenceable(102552) %16)
  br label %25

25:                                               ; preds = %24, %4
  %26 = getelementptr inbounds %"class.SoLoud::FreeverbImpl::Revmodel", ptr %16, i32 0, i32 11
  store i32 0, ptr %26, align 4, !tbaa !11
  br label %27

27:                                               ; preds = %85, %25
  %28 = load i64, ptr %7, align 8, !tbaa !9
  %29 = add nsw i64 %28, -1
  store i64 %29, ptr %7, align 8, !tbaa !9
  %30 = icmp sgt i64 %28, 0
  br i1 %30, label %31, label %118

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

40:                                               ; preds = %61, %31
  %41 = load i32, ptr %14, align 4, !tbaa !17
  %42 = icmp slt i32 %41, 8
  br i1 %42, label %44, label %43

43:                                               ; preds = %40
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %64

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

61:                                               ; preds = %44
  %62 = load i32, ptr %14, align 4, !tbaa !17
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %14, align 4, !tbaa !17
  br label %40, !llvm.loop !18

64:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store i32 0, ptr %15, align 4, !tbaa !17
  br label %65

65:                                               ; preds = %82, %64
  %66 = load i32, ptr %15, align 4, !tbaa !17
  %67 = icmp slt i32 %66, 4
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %85

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

82:                                               ; preds = %69
  %83 = load i32, ptr %15, align 4, !tbaa !17
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %15, align 4, !tbaa !17
  br label %65, !llvm.loop !20

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

118:                                              ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #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 @_ZN6SoLoud12FreeverbImpl8Revmodel7processEPfll(ptr noundef nonnull align 8 dereferenceable(102552) %0, ptr nocapture noundef %1, i64 noundef %2, i64 noundef %3) local_unnamed_addr #0 align 2 {
  %5 = getelementptr inbounds float, ptr %1, i64 %3
  %6 = getelementptr inbounds i8, ptr %0, i64 44
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %9, label %8

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

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

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

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

._crit_edge:                                      ; preds = %.preheader.preheader, %9
  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