; LLVM IR from jgaeddert/liquid-dsp :: src/buffer/tests (wdelay_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"

@.str = external hidden unnamed_addr constant [89 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.autotest_wdelayf.x0 = external hidden unnamed_addr constant [10 x float], align 16
@.str.4 = external hidden unnamed_addr constant [45 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@__const.autotest_wdelayf.x1 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_wdelayf.y1_test = external hidden unnamed_addr constant [10 x float], align 16
@.str.5 = external hidden unnamed_addr constant [45 x i8], align 1
@__const.autotest_wdelayf.x2 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_wdelayf.y2_test = external hidden unnamed_addr constant [10 x float], align 16
@.str.6 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_wdelayf() #0 {
  %1 = alloca float, align 4
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca [10 x float], align 16
  %5 = alloca [10 x float], align 16
  %6 = alloca [10 x float], align 16
  %7 = alloca [10 x float], align 16
  %8 = alloca [10 x float], align 16
  %9 = alloca [10 x float], align 16
  %10 = alloca [10 x float], align 16
  %11 = alloca [10 x float], align 16
  %12 = alloca [10 x float], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %13 = call ptr @wdelayf_create(i32 noundef 4)
  store ptr %13, ptr %3, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = call i32 @wdelayf_read(ptr noundef %14, ptr noundef %1)
  %16 = load float, ptr %1, align 4, !tbaa !9
  %17 = fcmp une float %16, 0.000000e+00
  br i1 %17, label %18, label %21

18:                                               ; preds = %0
  %19 = load float, ptr %1, align 4, !tbaa !9
  %20 = fpext float %19 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 37, ptr noundef @.str.1, double noundef %20, ptr noundef @.str.2, ptr noundef @.str.3, double noundef 0.000000e+00)
  br label %22

21:                                               ; preds = %0
  call void (...) @liquid_autotest_passed()
  br label %22

22:                                               ; preds = %21, %18
  call void @llvm.lifetime.start.p0(i64 40, ptr %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.autotest_wdelayf.x0, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %5) #5
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 40, i1 false)
  %23 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 4
  store float 1.000000e+00, ptr %23, align 16
  %24 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 5
  store float 2.000000e+00, ptr %24, align 4
  %25 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 6
  store float 3.000000e+00, ptr %25, align 8
  %26 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 7
  store float 4.000000e+00, ptr %26, align 4
  %27 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 8
  store float 5.000000e+00, ptr %27, align 16
  %28 = getelementptr inbounds [10 x float], ptr %5, i32 0, i32 9
  store float 6.000000e+00, ptr %28, align 4
  call void @llvm.lifetime.start.p0(i64 40, ptr %6) #5
  store i32 0, ptr %2, align 4, !tbaa !11
  br label %29

29:                                               ; preds = %44, %22
  %30 = load i32, ptr %2, align 4, !tbaa !11
  %31 = icmp ult i32 %30, 10
  br i1 %31, label %32, label %47

32:                                               ; preds = %29
  %33 = load ptr, ptr %3, align 8, !tbaa !5
  %34 = load i32, ptr %2, align 4, !tbaa !11
  %35 = zext i32 %34 to i64
  %36 = getelementptr inbounds [10 x float], ptr %4, i64 0, i64 %35
  %37 = load float, ptr %36, align 4, !tbaa !9
  %38 = call i32 @wdelayf_push(ptr noundef %33, float noundef %37)
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = load i32, ptr %2, align 4, !tbaa !11
  %41 = zext i32 %40 to i64
  %42 = getelementptr inbounds [10 x float], ptr %6, i64 0, i64 %41
  %43 = call i32 @wdelayf_read(ptr noundef %39, ptr noundef %42)
  br label %44

44:                                               ; preds = %32
  %45 = load i32, ptr %2, align 4, !tbaa !11
  %46 = add i32 %45, 1
  store i32 %46, ptr %2, align 4, !tbaa !11
  br label %29, !llvm.loop !13

47:                                               ; preds = %29
  %48 = getelementptr inbounds [10 x float], ptr %6, i64 0, i64 0
  %49 = getelementptr inbounds [10 x float], ptr %5, i64 0, i64 0
  %50 = call i32 @liquid_autotest_same_data(ptr noundef %48, ptr noundef %49, i32 noundef 40)
  %51 = icmp ne i32 %50, 0
  br i1 %51, label %59, label %52

52:                                               ; preds = %47
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 49, ptr noundef @.str.4)
  %53 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !11
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %58

55:                                               ; preds = %52
  %56 = getelementptr inbounds [10 x float], ptr %6, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %56, i32 noundef 40)
  %57 = getelementptr inbounds [10 x float], ptr %5, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %57, i32 noundef 40)
  br label %58

58:                                               ; preds = %55, %52
  br label %60

59:                                               ; preds = %47
  call void (...) @liquid_autotest_passed()
  br label %60

60:                                               ; preds = %59, %58
  %61 = load ptr, ptr %3, align 8, !tbaa !5
  %62 = call ptr @wdelayf_recreate(ptr noundef %61, i32 noundef 6)
  store ptr %62, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const.autotest_wdelayf.x1, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %8) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %8, ptr align 16 @__const.autotest_wdelayf.y1_test, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %9) #5
  store i32 0, ptr %2, align 4, !tbaa !11
  br label %63

63:                                               ; preds = %78, %60
  %64 = load i32, ptr %2, align 4, !tbaa !11
  %65 = icmp ult i32 %64, 10
  br i1 %65, label %66, label %81

66:                                               ; preds = %63
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = load i32, ptr %2, align 4, !tbaa !11
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds [10 x float], ptr %7, i64 0, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !9
  %72 = call i32 @wdelayf_push(ptr noundef %67, float noundef %71)
  %73 = load ptr, ptr %3, align 8, !tbaa !5
  %74 = load i32, ptr %2, align 4, !tbaa !11
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 %75
  %77 = call i32 @wdelayf_read(ptr noundef %73, ptr noundef %76)
  br label %78

78:                                               ; preds = %66
  %79 = load i32, ptr %2, align 4, !tbaa !11
  %80 = add i32 %79, 1
  store i32 %80, ptr %2, align 4, !tbaa !11
  br label %63, !llvm.loop !15

81:                                               ; preds = %63
  %82 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 0
  %83 = getelementptr inbounds [10 x float], ptr %8, i64 0, i64 0
  %84 = call i32 @liquid_autotest_same_data(ptr noundef %82, ptr noundef %83, i32 noundef 40)
  %85 = icmp ne i32 %84, 0
  br i1 %85, label %93, label %86

86:                                               ; preds = %81
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 64, ptr noundef @.str.5)
  %87 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !11
  %88 = icmp ne i32 %87, 0
  br i1 %88, label %89, label %92

89:                                               ; preds = %86
  %90 = getelementptr inbounds [10 x float], ptr %9, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %90, i32 noundef 40)
  %91 = getelementptr inbounds [10 x float], ptr %8, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %91, i32 noundef 40)
  br label %92

92:                                               ; preds = %89, %86
  br label %94

93:                                               ; preds = %81
  call void (...) @liquid_autotest_passed()
  br label %94

94:                                               ; preds = %93, %92
  %95 = load ptr, ptr %3, align 8, !tbaa !5
  %96 = call ptr @wdelayf_recreate(ptr noundef %95, i32 noundef 5)
  store ptr %96, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %10) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %10, ptr align 16 @__const.autotest_wdelayf.x2, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %11) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %11, ptr align 16 @__const.autotest_wdelayf.y2_test, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #5
  store i32 0, ptr %2, align 4, !tbaa !11
  br label %97

97:                                               ; preds = %112, %94
  %98 = load i32, ptr %2, align 4, !tbaa !11
  %99 = icmp ult i32 %98, 10
  br i1 %99, label %100, label %115

100:                                              ; preds = %97
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = load i32, ptr %2, align 4, !tbaa !11
  %103 = zext i32 %102 to i64
  %104 = getelementptr inbounds [10 x float], ptr %10, i64 0, i64 %103
  %105 = load float, ptr %104, align 4, !tbaa !9
  %106 = call i32 @wdelayf_push(ptr noundef %101, float noundef %105)
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = load i32, ptr %2, align 4, !tbaa !11
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 %109
  %111 = call i32 @wdelayf_read(ptr noundef %107, ptr noundef %110)
  br label %112

112:                                              ; preds = %100
  %113 = load i32, ptr %2, align 4, !tbaa !11
  %114 = add i32 %113, 1
  store i32 %114, ptr %2, align 4, !tbaa !11
  br label %97, !llvm.loop !16

115:                                              ; preds = %97
  %116 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 0
  %117 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
  %118 = call i32 @liquid_autotest_same_data(ptr noundef %116, ptr noundef %117, i32 noundef 40)
  %119 = icmp ne i32 %118, 0
  br i1 %119, label %127, label %120

120:                                              ; preds = %115
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 80, ptr noundef @.str.6)
  %121 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !11
  %122 = icmp ne i32 %121, 0
  br i1 %122, label %123, label %126

123:                                              ; preds = %120
  %124 = getelementptr inbounds [10 x float], ptr %12, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %124, i32 noundef 40)
  %125 = getelementptr inbounds [10 x float], ptr %11, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %125, i32 noundef 40)
  br label %126

126:                                              ; preds = %123, %120
  br label %128

127:                                              ; preds = %115
  call void (...) @liquid_autotest_passed()
  br label %128

128:                                              ; preds = %127, %126
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = call i32 @wdelayf_print(ptr noundef %129)
  %131 = icmp ne i32 %130, 0
  br i1 %131, label %132, label %136

132:                                              ; preds = %128
  %133 = load ptr, ptr %3, align 8, !tbaa !5
  %134 = call i32 @wdelayf_print(ptr noundef %133)
  %135 = sitofp i32 %134 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 82, ptr noundef @.str.7, double noundef %135, ptr noundef @.str.2, ptr noundef @.str.8, double noundef 0.000000e+00)
  br label %137

136:                                              ; preds = %128
  call void (...) @liquid_autotest_passed()
  br label %137

137:                                              ; preds = %136, %132
  %138 = load ptr, ptr %3, align 8, !tbaa !5
  %139 = call i32 @wdelayf_destroy(ptr noundef %138)
  call void @llvm.lifetime.end.p0(i64 40, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  ret void
}

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

declare ptr @wdelayf_create(i32 noundef) #2

declare i32 @wdelayf_read(ptr noundef, ptr noundef) #2

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

declare void @liquid_autotest_passed(...) #2

; 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

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

declare i32 @wdelayf_push(ptr noundef, float noundef) #2

declare i32 @liquid_autotest_same_data(ptr noundef, ptr noundef, i32 noundef) #2

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) #2

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) #2

declare ptr @wdelayf_recreate(ptr noundef, i32 noundef) #2

declare i32 @wdelayf_print(ptr noundef) #2

declare i32 @wdelayf_destroy(ptr noundef) #2

; 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 = { "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 nounwind willreturn memory(argmem: write) }
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 = !{!"any pointer", !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 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}


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

@.str = external hidden unnamed_addr constant [89 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [2 x i8], align 1
@__const.autotest_wdelayf.x0 = external hidden unnamed_addr constant [10 x float], align 16
@.str.4 = external hidden unnamed_addr constant [45 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@__const.autotest_wdelayf.x1 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_wdelayf.y1_test = external hidden unnamed_addr constant [10 x float], align 16
@.str.5 = external hidden unnamed_addr constant [45 x i8], align 1
@__const.autotest_wdelayf.x2 = external hidden unnamed_addr constant [10 x float], align 16
@__const.autotest_wdelayf.y2_test = external hidden unnamed_addr constant [10 x float], align 16
@.str.6 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_wdelayf() local_unnamed_addr #0 {
  %1 = alloca float, align 4
  %2 = alloca [10 x float], align 16
  %3 = alloca [10 x float], align 16
  %4 = alloca [10 x float], align 16
  %5 = alloca [10 x float], align 16
  %6 = alloca [10 x float], align 16
  %7 = alloca [10 x float], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  %8 = tail call ptr @wdelayf_create(i32 noundef 4) #5
  %9 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %1) #5
  %10 = load float, ptr %1, align 4, !tbaa !5
  %11 = fcmp une float %10, 0.000000e+00
  br i1 %11, label %12, label %14

12:                                               ; preds = %0
  %13 = fpext float %10 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 37, ptr noundef nonnull @.str.1, double noundef %13, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0.000000e+00) #5
  br label %15

14:                                               ; preds = %0
  call void (...) @liquid_autotest_passed() #5
  br label %15

15:                                               ; preds = %14, %12
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %2) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %2, i8 0, i64 16, i1 false)
  %16 = getelementptr inbounds i8, ptr %2, i64 16
  store <4 x float> <float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00>, ptr %16, align 16
  %17 = getelementptr inbounds i8, ptr %2, i64 32
  store <2 x float> <float 5.000000e+00, float 6.000000e+00>, ptr %17, align 16
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %3) #5
  %18 = load float, ptr @__const.autotest_wdelayf.x0, align 16, !tbaa !5
  %19 = call i32 @wdelayf_push(ptr noundef %8, float noundef %18) #5
  %20 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %3) #5
  %21 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 4), align 4, !tbaa !5
  %22 = call i32 @wdelayf_push(ptr noundef %8, float noundef %21) #5
  %23 = getelementptr inbounds i8, ptr %3, i64 4
  %24 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %23) #5
  %25 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 8), align 8, !tbaa !5
  %26 = call i32 @wdelayf_push(ptr noundef %8, float noundef %25) #5
  %27 = getelementptr inbounds i8, ptr %3, i64 8
  %28 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %27) #5
  %29 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 12), align 4, !tbaa !5
  %30 = call i32 @wdelayf_push(ptr noundef %8, float noundef %29) #5
  %31 = getelementptr inbounds i8, ptr %3, i64 12
  %32 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %31) #5
  %33 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 16), align 16, !tbaa !5
  %34 = call i32 @wdelayf_push(ptr noundef %8, float noundef %33) #5
  %35 = getelementptr inbounds i8, ptr %3, i64 16
  %36 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %35) #5
  %37 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 20), align 4, !tbaa !5
  %38 = call i32 @wdelayf_push(ptr noundef %8, float noundef %37) #5
  %39 = getelementptr inbounds i8, ptr %3, i64 20
  %40 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %39) #5
  %41 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 24), align 8, !tbaa !5
  %42 = call i32 @wdelayf_push(ptr noundef %8, float noundef %41) #5
  %43 = getelementptr inbounds i8, ptr %3, i64 24
  %44 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %43) #5
  %45 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 28), align 4, !tbaa !5
  %46 = call i32 @wdelayf_push(ptr noundef %8, float noundef %45) #5
  %47 = getelementptr inbounds i8, ptr %3, i64 28
  %48 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %47) #5
  %49 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 32), align 16, !tbaa !5
  %50 = call i32 @wdelayf_push(ptr noundef %8, float noundef %49) #5
  %51 = getelementptr inbounds i8, ptr %3, i64 32
  %52 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %51) #5
  %53 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x0, i64 36), align 4, !tbaa !5
  %54 = call i32 @wdelayf_push(ptr noundef %8, float noundef %53) #5
  %55 = getelementptr inbounds i8, ptr %3, i64 36
  %56 = call i32 @wdelayf_read(ptr noundef %8, ptr noundef nonnull %55) #5
  %57 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %3, ptr noundef nonnull %2, i32 noundef 40) #5
  %.not = icmp eq i32 %57, 0
  br i1 %.not, label %58, label %61

58:                                               ; preds = %15
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 49, ptr noundef nonnull @.str.4) #5
  %59 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not24 = icmp eq i32 %59, 0
  br i1 %.not24, label %62, label %60

60:                                               ; preds = %58
  call void @liquid_autotest_print_array(ptr noundef nonnull %3, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %2, i32 noundef 40) #5
  br label %62

61:                                               ; preds = %15
  call void (...) @liquid_autotest_passed() #5
  br label %62

62:                                               ; preds = %58, %60, %61
  %63 = call ptr @wdelayf_recreate(ptr noundef %8, i32 noundef 6) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %4) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %4, ptr noundef nonnull align 16 dereferenceable(40) @__const.autotest_wdelayf.y1_test, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #5
  %64 = load float, ptr @__const.autotest_wdelayf.x1, align 16, !tbaa !5
  %65 = call i32 @wdelayf_push(ptr noundef %63, float noundef %64) #5
  %66 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %5) #5
  %67 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 4), align 4, !tbaa !5
  %68 = call i32 @wdelayf_push(ptr noundef %63, float noundef %67) #5
  %69 = getelementptr inbounds i8, ptr %5, i64 4
  %70 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %69) #5
  %71 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 8), align 8, !tbaa !5
  %72 = call i32 @wdelayf_push(ptr noundef %63, float noundef %71) #5
  %73 = getelementptr inbounds i8, ptr %5, i64 8
  %74 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %73) #5
  %75 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 12), align 4, !tbaa !5
  %76 = call i32 @wdelayf_push(ptr noundef %63, float noundef %75) #5
  %77 = getelementptr inbounds i8, ptr %5, i64 12
  %78 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %77) #5
  %79 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 16), align 16, !tbaa !5
  %80 = call i32 @wdelayf_push(ptr noundef %63, float noundef %79) #5
  %81 = getelementptr inbounds i8, ptr %5, i64 16
  %82 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %81) #5
  %83 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 20), align 4, !tbaa !5
  %84 = call i32 @wdelayf_push(ptr noundef %63, float noundef %83) #5
  %85 = getelementptr inbounds i8, ptr %5, i64 20
  %86 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %85) #5
  %87 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 24), align 8, !tbaa !5
  %88 = call i32 @wdelayf_push(ptr noundef %63, float noundef %87) #5
  %89 = getelementptr inbounds i8, ptr %5, i64 24
  %90 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %89) #5
  %91 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 28), align 4, !tbaa !5
  %92 = call i32 @wdelayf_push(ptr noundef %63, float noundef %91) #5
  %93 = getelementptr inbounds i8, ptr %5, i64 28
  %94 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %93) #5
  %95 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 32), align 16, !tbaa !5
  %96 = call i32 @wdelayf_push(ptr noundef %63, float noundef %95) #5
  %97 = getelementptr inbounds i8, ptr %5, i64 32
  %98 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %97) #5
  %99 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x1, i64 36), align 4, !tbaa !5
  %100 = call i32 @wdelayf_push(ptr noundef %63, float noundef %99) #5
  %101 = getelementptr inbounds i8, ptr %5, i64 36
  %102 = call i32 @wdelayf_read(ptr noundef %63, ptr noundef nonnull %101) #5
  %103 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %5, ptr noundef nonnull %4, i32 noundef 40) #5
  %.not25 = icmp eq i32 %103, 0
  br i1 %.not25, label %104, label %107

104:                                              ; preds = %62
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 64, ptr noundef nonnull @.str.5) #5
  %105 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not26 = icmp eq i32 %105, 0
  br i1 %.not26, label %108, label %106

106:                                              ; preds = %104
  call void @liquid_autotest_print_array(ptr noundef nonnull %5, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %4, i32 noundef 40) #5
  br label %108

107:                                              ; preds = %62
  call void (...) @liquid_autotest_passed() #5
  br label %108

108:                                              ; preds = %104, %106, %107
  %109 = call ptr @wdelayf_recreate(ptr noundef %63, i32 noundef 5) #5
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(40) %6, ptr noundef nonnull align 16 dereferenceable(40) @__const.autotest_wdelayf.y2_test, i64 40, i1 false)
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %7) #5
  %110 = load float, ptr @__const.autotest_wdelayf.x2, align 16, !tbaa !5
  %111 = call i32 @wdelayf_push(ptr noundef %109, float noundef %110) #5
  %112 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %7) #5
  %113 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 4), align 4, !tbaa !5
  %114 = call i32 @wdelayf_push(ptr noundef %109, float noundef %113) #5
  %115 = getelementptr inbounds i8, ptr %7, i64 4
  %116 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %115) #5
  %117 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 8), align 8, !tbaa !5
  %118 = call i32 @wdelayf_push(ptr noundef %109, float noundef %117) #5
  %119 = getelementptr inbounds i8, ptr %7, i64 8
  %120 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %119) #5
  %121 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 12), align 4, !tbaa !5
  %122 = call i32 @wdelayf_push(ptr noundef %109, float noundef %121) #5
  %123 = getelementptr inbounds i8, ptr %7, i64 12
  %124 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %123) #5
  %125 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 16), align 16, !tbaa !5
  %126 = call i32 @wdelayf_push(ptr noundef %109, float noundef %125) #5
  %127 = getelementptr inbounds i8, ptr %7, i64 16
  %128 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %127) #5
  %129 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 20), align 4, !tbaa !5
  %130 = call i32 @wdelayf_push(ptr noundef %109, float noundef %129) #5
  %131 = getelementptr inbounds i8, ptr %7, i64 20
  %132 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %131) #5
  %133 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 24), align 8, !tbaa !5
  %134 = call i32 @wdelayf_push(ptr noundef %109, float noundef %133) #5
  %135 = getelementptr inbounds i8, ptr %7, i64 24
  %136 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %135) #5
  %137 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 28), align 4, !tbaa !5
  %138 = call i32 @wdelayf_push(ptr noundef %109, float noundef %137) #5
  %139 = getelementptr inbounds i8, ptr %7, i64 28
  %140 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %139) #5
  %141 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 32), align 16, !tbaa !5
  %142 = call i32 @wdelayf_push(ptr noundef %109, float noundef %141) #5
  %143 = getelementptr inbounds i8, ptr %7, i64 32
  %144 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %143) #5
  %145 = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_wdelayf.x2, i64 36), align 4, !tbaa !5
  %146 = call i32 @wdelayf_push(ptr noundef %109, float noundef %145) #5
  %147 = getelementptr inbounds i8, ptr %7, i64 36
  %148 = call i32 @wdelayf_read(ptr noundef %109, ptr noundef nonnull %147) #5
  %149 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %7, ptr noundef nonnull %6, i32 noundef 40) #5
  %.not27 = icmp eq i32 %149, 0
  br i1 %.not27, label %150, label %153

150:                                              ; preds = %108
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 80, ptr noundef nonnull @.str.6) #5
  %151 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %.not28 = icmp eq i32 %151, 0
  br i1 %.not28, label %154, label %152

152:                                              ; preds = %150
  call void @liquid_autotest_print_array(ptr noundef nonnull %7, i32 noundef 40) #5
  call void @liquid_autotest_print_array(ptr noundef nonnull %6, i32 noundef 40) #5
  br label %154

153:                                              ; preds = %108
  call void (...) @liquid_autotest_passed() #5
  br label %154

154:                                              ; preds = %150, %152, %153
  %155 = call i32 @wdelayf_print(ptr noundef %109) #5
  %.not29 = icmp eq i32 %155, 0
  br i1 %.not29, label %159, label %156

156:                                              ; preds = %154
  %157 = call i32 @wdelayf_print(ptr noundef %109) #5
  %158 = sitofp i32 %157 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 82, ptr noundef nonnull @.str.7, double noundef %158, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.8, double noundef 0.000000e+00) #5
  br label %160

159:                                              ; preds = %154
  call void (...) @liquid_autotest_passed() #5
  br label %160

160:                                              ; preds = %159, %156
  %161 = call i32 @wdelayf_destroy(ptr noundef %109) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %4) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret void
}

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

declare ptr @wdelayf_create(i32 noundef) local_unnamed_addr #2

declare i32 @wdelayf_read(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

; 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

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

declare i32 @wdelayf_push(ptr noundef, float noundef) local_unnamed_addr #2

declare i32 @liquid_autotest_same_data(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #2

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) local_unnamed_addr #2

declare ptr @wdelayf_recreate(ptr noundef, i32 noundef) local_unnamed_addr #2

declare i32 @wdelayf_print(ptr noundef) local_unnamed_addr #2

declare i32 @wdelayf_destroy(ptr noundef) local_unnamed_addr #2

; 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 = { "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 nounwind willreturn memory(argmem: write) }
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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}


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