; LLVM IR from jgaeddert/liquid-dsp :: src/equalization/tests (eqrls_rrrf_autotest)

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

@eqrls_rrrf_autotest_data_sequence = external dso_local constant [64 x float], align 16
@.str = external hidden unnamed_addr constant [99 x i8], align 1
@__const.autotest_eqrls_rrrf_copy.hc = external hidden unnamed_addr constant [7 x float], align 16
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1

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

declare ptr @eqrls_rrrf_create(ptr noundef, i32 noundef) #1

declare ptr @firfilt_rrrf_create(ptr noundef, i32 noundef) #1

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #1

declare void @liquid_autotest_passed(...) #1

declare i32 @firfilt_rrrf_destroy(ptr noundef) #1

declare i32 @eqrls_rrrf_destroy(ptr noundef) #1

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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_eqrls_rrrf_copy() #2 {
  %1 = alloca i32, align 4
  %2 = alloca [9 x float], align 16
  %3 = alloca ptr, align 8
  %4 = alloca [7 x float], align 16
  %5 = alloca ptr, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 36, ptr %2) #5
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %20, %0
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %14 = icmp ult i32 %13, 9
  br i1 %14, label %15, label %23

15:                                               ; preds = %12
  %16 = call float (...) @randnf()
  %17 = load i32, ptr %1, align 4, !tbaa !5
  %18 = zext i32 %17 to i64
  %19 = getelementptr inbounds [9 x float], ptr %2, i64 0, i64 %18
  store float %16, ptr %19, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %15
  %21 = load i32, ptr %1, align 4, !tbaa !5
  %22 = add i32 %21, 1
  store i32 %22, ptr %1, align 4, !tbaa !5
  br label %12, !llvm.loop !11

23:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %24 = getelementptr inbounds [9 x float], ptr %2, i64 0, i64 0
  %25 = call ptr @eqrls_rrrf_create(ptr noundef %24, i32 noundef 9)
  store ptr %25, ptr %3, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 28, ptr %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.autotest_eqrls_rrrf_copy.hc, i64 28, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %26 = getelementptr inbounds [7 x float], ptr %4, i64 0, i64 0
  %27 = call ptr @firfilt_rrrf_create(ptr noundef %26, i32 noundef 7)
  store ptr %27, ptr %5, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store float 0x3F50624DE0000000, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store ptr @eqrls_rrrf_autotest_data_sequence, ptr %10, align 8, !tbaa !13
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %28

28:                                               ; preds = %56, %23
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = icmp ult i32 %29, 64
  br i1 %30, label %31, label %59

31:                                               ; preds = %28
  %32 = load ptr, ptr %5, align 8, !tbaa !13
  %33 = load ptr, ptr %10, align 8, !tbaa !13
  %34 = load i32, ptr %1, align 4, !tbaa !5
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds float, ptr %33, i64 %35
  %37 = load float, ptr %36, align 4, !tbaa !9
  %38 = call i32 @firfilt_rrrf_execute_one(ptr noundef %32, float noundef %37, ptr noundef %6)
  %39 = load float, ptr %9, align 4, !tbaa !9
  %40 = call float (...) @randnf()
  %41 = load float, ptr %6, align 4, !tbaa !9
  %42 = call float @llvm.fmuladd.f32(float %39, float %40, float %41)
  store float %42, ptr %6, align 4, !tbaa !9
  %43 = load ptr, ptr %3, align 8, !tbaa !13
  %44 = load float, ptr %6, align 4, !tbaa !9
  %45 = call i32 @eqrls_rrrf_push(ptr noundef %43, float noundef %44)
  %46 = load ptr, ptr %3, align 8, !tbaa !13
  %47 = call i32 @eqrls_rrrf_execute(ptr noundef %46, ptr noundef %7)
  %48 = load ptr, ptr %3, align 8, !tbaa !13
  %49 = load ptr, ptr %10, align 8, !tbaa !13
  %50 = load i32, ptr %1, align 4, !tbaa !5
  %51 = zext i32 %50 to i64
  %52 = getelementptr inbounds float, ptr %49, i64 %51
  %53 = load float, ptr %52, align 4, !tbaa !9
  %54 = load float, ptr %7, align 4, !tbaa !9
  %55 = call i32 @eqrls_rrrf_step(ptr noundef %48, float noundef %53, float noundef %54)
  br label %56

56:                                               ; preds = %31
  %57 = load i32, ptr %1, align 4, !tbaa !5
  %58 = add i32 %57, 1
  store i32 %58, ptr %1, align 4, !tbaa !5
  br label %28, !llvm.loop !15

59:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  %60 = load ptr, ptr %3, align 8, !tbaa !13
  %61 = call ptr @eqrls_rrrf_copy(ptr noundef %60)
  store ptr %61, ptr %11, align 8, !tbaa !13
  store i32 0, ptr %1, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %113, %59
  %63 = load i32, ptr %1, align 4, !tbaa !5
  %64 = icmp ult i32 %63, 64
  br i1 %64, label %65, label %116

65:                                               ; preds = %62
  %66 = load ptr, ptr %5, align 8, !tbaa !13
  %67 = load ptr, ptr %10, align 8, !tbaa !13
  %68 = load i32, ptr %1, align 4, !tbaa !5
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %67, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !9
  %72 = call i32 @firfilt_rrrf_execute_one(ptr noundef %66, float noundef %71, ptr noundef %6)
  %73 = load float, ptr %9, align 4, !tbaa !9
  %74 = call float (...) @randnf()
  %75 = load float, ptr %6, align 4, !tbaa !9
  %76 = call float @llvm.fmuladd.f32(float %73, float %74, float %75)
  store float %76, ptr %6, align 4, !tbaa !9
  %77 = load ptr, ptr %3, align 8, !tbaa !13
  %78 = load float, ptr %6, align 4, !tbaa !9
  %79 = call i32 @eqrls_rrrf_push(ptr noundef %77, float noundef %78)
  %80 = load ptr, ptr %11, align 8, !tbaa !13
  %81 = load float, ptr %6, align 4, !tbaa !9
  %82 = call i32 @eqrls_rrrf_push(ptr noundef %80, float noundef %81)
  %83 = load ptr, ptr %3, align 8, !tbaa !13
  %84 = call i32 @eqrls_rrrf_execute(ptr noundef %83, ptr noundef %7)
  %85 = load ptr, ptr %11, align 8, !tbaa !13
  %86 = call i32 @eqrls_rrrf_execute(ptr noundef %85, ptr noundef %8)
  %87 = load float, ptr %7, align 4, !tbaa !9
  %88 = load float, ptr %8, align 4, !tbaa !9
  %89 = fcmp une float %87, %88
  br i1 %89, label %90, label %95

90:                                               ; preds = %65
  %91 = load float, ptr %7, align 4, !tbaa !9
  %92 = fpext float %91 to double
  %93 = load float, ptr %8, align 4, !tbaa !9
  %94 = fpext float %93 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 128, ptr noundef @.str.5, double noundef %92, ptr noundef @.str.6, ptr noundef @.str.7, double noundef %94)
  br label %96

95:                                               ; preds = %65
  call void (...) @liquid_autotest_passed()
  br label %96

96:                                               ; preds = %95, %90
  %97 = load ptr, ptr %3, align 8, !tbaa !13
  %98 = load ptr, ptr %10, align 8, !tbaa !13
  %99 = load i32, ptr %1, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds float, ptr %98, i64 %100
  %102 = load float, ptr %101, align 4, !tbaa !9
  %103 = load float, ptr %7, align 4, !tbaa !9
  %104 = call i32 @eqrls_rrrf_step(ptr noundef %97, float noundef %102, float noundef %103)
  %105 = load ptr, ptr %11, align 8, !tbaa !13
  %106 = load ptr, ptr %10, align 8, !tbaa !13
  %107 = load i32, ptr %1, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds float, ptr %106, i64 %108
  %110 = load float, ptr %109, align 4, !tbaa !9
  %111 = load float, ptr %8, align 4, !tbaa !9
  %112 = call i32 @eqrls_rrrf_step(ptr noundef %105, float noundef %110, float noundef %111)
  br label %113

113:                                              ; preds = %96
  %114 = load i32, ptr %1, align 4, !tbaa !5
  %115 = add i32 %114, 1
  store i32 %115, ptr %1, align 4, !tbaa !5
  br label %62, !llvm.loop !16

116:                                              ; preds = %62
  %117 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %118 = icmp ne i32 %117, 0
  br i1 %118, label %119, label %126

119:                                              ; preds = %116
  %120 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %121 = load ptr, ptr %3, align 8, !tbaa !13
  %122 = call i32 @eqrls_rrrf_print(ptr noundef %121)
  %123 = call i32 (ptr, ...) @printf(ptr noundef @.str.9)
  %124 = load ptr, ptr %11, align 8, !tbaa !13
  %125 = call i32 @eqrls_rrrf_print(ptr noundef %124)
  br label %126

126:                                              ; preds = %119, %116
  %127 = load ptr, ptr %5, align 8, !tbaa !13
  %128 = call i32 @firfilt_rrrf_destroy(ptr noundef %127)
  %129 = load ptr, ptr %3, align 8, !tbaa !13
  %130 = call i32 @eqrls_rrrf_destroy(ptr noundef %129)
  %131 = load ptr, ptr %11, align 8, !tbaa !13
  %132 = call i32 @eqrls_rrrf_destroy(ptr noundef %131)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 28, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 36, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

declare float @randnf(...) #1

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

declare i32 @firfilt_rrrf_execute_one(ptr noundef, float noundef, ptr noundef) #1

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

declare i32 @eqrls_rrrf_push(ptr noundef, float noundef) #1

declare i32 @eqrls_rrrf_execute(ptr noundef, ptr noundef) #1

declare i32 @eqrls_rrrf_step(ptr noundef, float noundef, float noundef) #1

declare ptr @eqrls_rrrf_copy(ptr noundef) #1

declare i32 @printf(ptr noundef, ...) #1

declare i32 @eqrls_rrrf_print(ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


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

@eqrls_rrrf_autotest_data_sequence = external dso_local local_unnamed_addr constant [64 x float], align 16
@.str = external hidden unnamed_addr constant [99 x i8], align 1
@__const.autotest_eqrls_rrrf_copy.hc = external hidden unnamed_addr constant [7 x float], align 16
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.8 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [6 x i8], align 1

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

declare ptr @eqrls_rrrf_create(ptr noundef, i32 noundef) local_unnamed_addr #1

declare ptr @firfilt_rrrf_create(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #1

declare void @liquid_autotest_passed(...) local_unnamed_addr #1

declare i32 @firfilt_rrrf_destroy(ptr noundef) local_unnamed_addr #1

declare i32 @eqrls_rrrf_destroy(ptr noundef) local_unnamed_addr #1

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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_eqrls_rrrf_copy() local_unnamed_addr #2 {
  %1 = alloca [9 x float], align 16
  %2 = alloca [7 x float], align 16
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %1) #6
  %6 = tail call float (...) @randnf() #6
  store float %6, ptr %1, align 16, !tbaa !5
  %7 = tail call float (...) @randnf() #6
  %8 = getelementptr inbounds i8, ptr %1, i64 4
  store float %7, ptr %8, align 4, !tbaa !5
  %9 = tail call float (...) @randnf() #6
  %10 = getelementptr inbounds i8, ptr %1, i64 8
  store float %9, ptr %10, align 8, !tbaa !5
  %11 = tail call float (...) @randnf() #6
  %12 = getelementptr inbounds i8, ptr %1, i64 12
  store float %11, ptr %12, align 4, !tbaa !5
  %13 = tail call float (...) @randnf() #6
  %14 = getelementptr inbounds i8, ptr %1, i64 16
  store float %13, ptr %14, align 16, !tbaa !5
  %15 = tail call float (...) @randnf() #6
  %16 = getelementptr inbounds i8, ptr %1, i64 20
  store float %15, ptr %16, align 4, !tbaa !5
  %17 = tail call float (...) @randnf() #6
  %18 = getelementptr inbounds i8, ptr %1, i64 24
  store float %17, ptr %18, align 8, !tbaa !5
  %19 = tail call float (...) @randnf() #6
  %20 = getelementptr inbounds i8, ptr %1, i64 28
  store float %19, ptr %20, align 4, !tbaa !5
  %21 = tail call float (...) @randnf() #6
  %22 = getelementptr inbounds i8, ptr %1, i64 32
  store float %21, ptr %22, align 16, !tbaa !5
  %23 = call ptr @eqrls_rrrf_create(ptr noundef nonnull %1, i32 noundef 9) #6
  call void @llvm.lifetime.start.p0(i64 28, ptr nonnull %2) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(28) %2, ptr noundef nonnull align 16 dereferenceable(28) @__const.autotest_eqrls_rrrf_copy.hc, i64 28, i1 false)
  %24 = call ptr @firfilt_rrrf_create(ptr noundef nonnull %2, i32 noundef 7) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #6
  br label %25

25:                                               ; preds = %0, %25
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %25 ]
  %26 = getelementptr inbounds float, ptr @eqrls_rrrf_autotest_data_sequence, i64 %indvars.iv
  %27 = load float, ptr %26, align 4, !tbaa !5
  %28 = call i32 @firfilt_rrrf_execute_one(ptr noundef %24, float noundef %27, ptr noundef nonnull %3) #6
  %29 = call float (...) @randnf() #6
  %30 = load float, ptr %3, align 4, !tbaa !5
  %31 = call float @llvm.fmuladd.f32(float %29, float 0x3F50624DE0000000, float %30)
  store float %31, ptr %3, align 4, !tbaa !5
  %32 = call i32 @eqrls_rrrf_push(ptr noundef %23, float noundef %31) #6
  %33 = call i32 @eqrls_rrrf_execute(ptr noundef %23, ptr noundef nonnull %4) #6
  %34 = load float, ptr %4, align 4, !tbaa !5
  %35 = call i32 @eqrls_rrrf_step(ptr noundef %23, float noundef %27, float noundef %34) #6
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 64
  br i1 %exitcond.not, label %36, label %25, !llvm.loop !9

36:                                               ; preds = %25
  %37 = call ptr @eqrls_rrrf_copy(ptr noundef %23) #6
  br label %38

38:                                               ; preds = %36, %57
  %indvars.iv42 = phi i64 [ 0, %36 ], [ %indvars.iv.next43, %57 ]
  %39 = getelementptr inbounds float, ptr @eqrls_rrrf_autotest_data_sequence, i64 %indvars.iv42
  %40 = load float, ptr %39, align 4, !tbaa !5
  %41 = call i32 @firfilt_rrrf_execute_one(ptr noundef %24, float noundef %40, ptr noundef nonnull %3) #6
  %42 = call float (...) @randnf() #6
  %43 = load float, ptr %3, align 4, !tbaa !5
  %44 = call float @llvm.fmuladd.f32(float %42, float 0x3F50624DE0000000, float %43)
  store float %44, ptr %3, align 4, !tbaa !5
  %45 = call i32 @eqrls_rrrf_push(ptr noundef %23, float noundef %44) #6
  %46 = load float, ptr %3, align 4, !tbaa !5
  %47 = call i32 @eqrls_rrrf_push(ptr noundef %37, float noundef %46) #6
  %48 = call i32 @eqrls_rrrf_execute(ptr noundef %23, ptr noundef nonnull %4) #6
  %49 = call i32 @eqrls_rrrf_execute(ptr noundef %37, ptr noundef nonnull %5) #6
  %50 = load float, ptr %4, align 4, !tbaa !5
  %51 = load float, ptr %5, align 4, !tbaa !5
  %52 = fcmp une float %50, %51
  br i1 %52, label %53, label %56

53:                                               ; preds = %38
  %54 = fpext float %50 to double
  %55 = fpext float %51 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 128, ptr noundef nonnull @.str.5, double noundef %54, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, double noundef %55) #6
  br label %57

56:                                               ; preds = %38
  call void (...) @liquid_autotest_passed() #6
  br label %57

57:                                               ; preds = %56, %53
  %58 = load float, ptr %4, align 4, !tbaa !5
  %59 = call i32 @eqrls_rrrf_step(ptr noundef %23, float noundef %40, float noundef %58) #6
  %60 = load float, ptr %5, align 4, !tbaa !5
  %61 = call i32 @eqrls_rrrf_step(ptr noundef %37, float noundef %40, float noundef %60) #6
  %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42, 1
  %exitcond45.not = icmp eq i64 %indvars.iv.next43, 64
  br i1 %exitcond45.not, label %62, label %38, !llvm.loop !11

62:                                               ; preds = %57
  %63 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !12
  %.not = icmp eq i32 %63, 0
  br i1 %.not, label %69, label %64

64:                                               ; preds = %62
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %66 = call i32 @eqrls_rrrf_print(ptr noundef %23) #6
  %67 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9)
  %68 = call i32 @eqrls_rrrf_print(ptr noundef %37) #6
  br label %69

69:                                               ; preds = %64, %62
  %70 = call i32 @firfilt_rrrf_destroy(ptr noundef %24) #6
  %71 = call i32 @eqrls_rrrf_destroy(ptr noundef %23) #6
  %72 = call i32 @eqrls_rrrf_destroy(ptr noundef %37) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 28, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %1) #6
  ret void
}

declare float @randnf(...) local_unnamed_addr #1

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

declare i32 @firfilt_rrrf_execute_one(ptr noundef, float noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @eqrls_rrrf_push(ptr noundef, float noundef) local_unnamed_addr #1

declare i32 @eqrls_rrrf_execute(ptr noundef, ptr noundef) local_unnamed_addr #1

declare i32 @eqrls_rrrf_step(ptr noundef, float noundef, float noundef) local_unnamed_addr #1

declare ptr @eqrls_rrrf_copy(ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #5

declare i32 @eqrls_rrrf_print(ptr noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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: readwrite) }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nofree nounwind "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 #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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass