; LLVM IR from jgaeddert/liquid-dsp :: examples (firfilt_cccf_notch_example)

; 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 [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca { float, float }, align 4
  %12 = alloca { float, float }, align 4
  %13 = alloca { float, float }, align 4
  %14 = alloca { float, float }, align 4
  %15 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 600, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 25, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store float 3.000000e+01, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store float 0x3FC3333340000000, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %16 = load i32, ptr %3, align 4, !tbaa !5
  %17 = load float, ptr %4, align 4, !tbaa !9
  %18 = load float, ptr %5, align 4, !tbaa !9
  %19 = call ptr @firfilt_cccf_create_notch(i32 noundef %16, float noundef %17, float noundef %18)
  store ptr %19, ptr %6, align 8, !tbaa !11
  %20 = load ptr, ptr %6, align 8, !tbaa !11
  %21 = call i32 @firfilt_cccf_print(ptr noundef %20)
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = zext i32 %22 to i64
  %24 = call ptr @llvm.stacksave.p0()
  store ptr %24, ptr %7, align 8
  %25 = alloca { float, float }, i64 %23, align 16
  store i64 %23, ptr %8, align 8
  %26 = load i32, ptr %2, align 4, !tbaa !5
  %27 = zext i32 %26 to i64
  %28 = alloca { float, float }, i64 %27, align 16
  store i64 %27, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %29

29:                                               ; preds = %73, %0
  %30 = load i32, ptr %10, align 4, !tbaa !5
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = icmp ult i32 %30, %31
  br i1 %32, label %33, label %76

33:                                               ; preds = %29
  %34 = load i32, ptr %10, align 4, !tbaa !5
  %35 = uitofp i32 %34 to double
  %36 = fmul double 0.000000e+00, %35
  %37 = fmul double 0x3FCDC1D59B113B89, %35
  %38 = fptrunc double %36 to float
  %39 = fptrunc double %37 to float
  %40 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 0
  %41 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 1
  store float %38, ptr %40, align 4
  store float %39, ptr %41, align 4
  %42 = load <2 x float>, ptr %11, align 4
  %43 = call <2 x float> @cexpf(<2 x float> noundef %42) #5
  store <2 x float> %43, ptr %12, align 4
  %44 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %45 = load float, ptr %44, align 4
  %46 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  %47 = load float, ptr %46, align 4
  %48 = load float, ptr %5, align 4, !tbaa !9
  %49 = fpext float %48 to double
  %50 = fmul double 0.000000e+00, %49
  %51 = fmul double 0x401921FB54442D18, %49
  %52 = load i32, ptr %10, align 4, !tbaa !5
  %53 = uitofp i32 %52 to double
  %54 = fmul double %50, %53
  %55 = fmul double %51, %53
  %56 = fptrunc double %54 to float
  %57 = fptrunc double %55 to float
  %58 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 0
  %59 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 1
  store float %56, ptr %58, align 4
  store float %57, ptr %59, align 4
  %60 = load <2 x float>, ptr %13, align 4
  %61 = call <2 x float> @cexpf(<2 x float> noundef %60) #5
  store <2 x float> %61, ptr %14, align 4
  %62 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %63 = load float, ptr %62, align 4
  %64 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  %65 = load float, ptr %64, align 4
  %66 = fadd float %45, %63
  %67 = fadd float %47, %65
  %68 = load i32, ptr %10, align 4, !tbaa !5
  %69 = zext i32 %68 to i64
  %70 = getelementptr inbounds { float, float }, ptr %25, i64 %69
  %71 = getelementptr inbounds { float, float }, ptr %70, i32 0, i32 0
  %72 = getelementptr inbounds { float, float }, ptr %70, i32 0, i32 1
  store float %66, ptr %71, align 8
  store float %67, ptr %72, align 4
  br label %73

73:                                               ; preds = %33
  %74 = load i32, ptr %10, align 4, !tbaa !5
  %75 = add i32 %74, 1
  store i32 %75, ptr %10, align 4, !tbaa !5
  br label %29, !llvm.loop !13

76:                                               ; preds = %29
  %77 = load ptr, ptr %6, align 8, !tbaa !11
  %78 = load i32, ptr %2, align 4, !tbaa !5
  %79 = call i32 @firfilt_cccf_execute_block(ptr noundef %77, ptr noundef %25, i32 noundef %78, ptr noundef %28)
  %80 = load ptr, ptr %6, align 8, !tbaa !11
  %81 = call i32 @firfilt_cccf_destroy(ptr noundef %80)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  %82 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %82, ptr %15, align 8, !tbaa !11
  %83 = load ptr, ptr %15, align 8, !tbaa !11
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %83, ptr noundef @.str.2, ptr noundef @.str) #5
  %85 = load ptr, ptr %15, align 8, !tbaa !11
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef @.str.3) #5
  %87 = load ptr, ptr %15, align 8, !tbaa !11
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.4) #5
  %89 = load ptr, ptr %15, align 8, !tbaa !11
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %89, ptr noundef @.str.5) #5
  %91 = load ptr, ptr %15, align 8, !tbaa !11
  %92 = load i32, ptr %2, align 4, !tbaa !5
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %91, ptr noundef @.str.6, i32 noundef %92) #5
  %94 = load ptr, ptr %15, align 8, !tbaa !11
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %94, ptr noundef @.str.7) #5
  %96 = load ptr, ptr %15, align 8, !tbaa !11
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %96, ptr noundef @.str.8) #5
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %98

98:                                               ; preds = %143, %76
  %99 = load i32, ptr %10, align 4, !tbaa !5
  %100 = load i32, ptr %2, align 4, !tbaa !5
  %101 = icmp ult i32 %99, %100
  br i1 %101, label %102, label %146

102:                                              ; preds = %98
  %103 = load ptr, ptr %15, align 8, !tbaa !11
  %104 = load i32, ptr %10, align 4, !tbaa !5
  %105 = add i32 %104, 1
  %106 = load i32, ptr %10, align 4, !tbaa !5
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds { float, float }, ptr %25, i64 %107
  %109 = getelementptr inbounds { float, float }, ptr %108, i32 0, i32 0
  %110 = load float, ptr %109, align 8
  %111 = getelementptr inbounds { float, float }, ptr %108, i32 0, i32 1
  %112 = load float, ptr %111, align 4
  %113 = fpext float %110 to double
  %114 = load i32, ptr %10, align 4, !tbaa !5
  %115 = zext i32 %114 to i64
  %116 = getelementptr inbounds { float, float }, ptr %25, i64 %115
  %117 = getelementptr inbounds { float, float }, ptr %116, i32 0, i32 0
  %118 = load float, ptr %117, align 8
  %119 = getelementptr inbounds { float, float }, ptr %116, i32 0, i32 1
  %120 = load float, ptr %119, align 4
  %121 = fpext float %120 to double
  %122 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %103, ptr noundef @.str.9, i32 noundef %105, double noundef %113, double noundef %121) #5
  %123 = load ptr, ptr %15, align 8, !tbaa !11
  %124 = load i32, ptr %10, align 4, !tbaa !5
  %125 = add i32 %124, 1
  %126 = load i32, ptr %10, align 4, !tbaa !5
  %127 = zext i32 %126 to i64
  %128 = getelementptr inbounds { float, float }, ptr %28, i64 %127
  %129 = getelementptr inbounds { float, float }, ptr %128, i32 0, i32 0
  %130 = load float, ptr %129, align 8
  %131 = getelementptr inbounds { float, float }, ptr %128, i32 0, i32 1
  %132 = load float, ptr %131, align 4
  %133 = fpext float %130 to double
  %134 = load i32, ptr %10, align 4, !tbaa !5
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds { float, float }, ptr %28, i64 %135
  %137 = getelementptr inbounds { float, float }, ptr %136, i32 0, i32 0
  %138 = load float, ptr %137, align 8
  %139 = getelementptr inbounds { float, float }, ptr %136, i32 0, i32 1
  %140 = load float, ptr %139, align 4
  %141 = fpext float %140 to double
  %142 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %123, ptr noundef @.str.10, i32 noundef %125, double noundef %133, double noundef %141) #5
  br label %143

143:                                              ; preds = %102
  %144 = load i32, ptr %10, align 4, !tbaa !5
  %145 = add i32 %144, 1
  store i32 %145, ptr %10, align 4, !tbaa !5
  br label %98, !llvm.loop !15

146:                                              ; preds = %98
  %147 = load ptr, ptr %15, align 8, !tbaa !11
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %147, ptr noundef @.str.11) #5
  %149 = load ptr, ptr %15, align 8, !tbaa !11
  %150 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef @.str.12) #5
  %151 = load ptr, ptr %15, align 8, !tbaa !11
  %152 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %151, ptr noundef @.str.13) #5
  %153 = load ptr, ptr %15, align 8, !tbaa !11
  %154 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %153, ptr noundef @.str.14) #5
  %155 = load ptr, ptr %15, align 8, !tbaa !11
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.15) #5
  %157 = load ptr, ptr %15, align 8, !tbaa !11
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.16) #5
  %159 = load ptr, ptr %15, align 8, !tbaa !11
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.17) #5
  %161 = load ptr, ptr %15, align 8, !tbaa !11
  %162 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.18) #5
  %163 = load ptr, ptr %15, align 8, !tbaa !11
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %163, ptr noundef @.str.19) #5
  %165 = load ptr, ptr %15, align 8, !tbaa !11
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %165, ptr noundef @.str.20) #5
  %167 = load ptr, ptr %15, align 8, !tbaa !11
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %167, ptr noundef @.str.21) #5
  %169 = load ptr, ptr %15, align 8, !tbaa !11
  %170 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.22) #5
  %171 = load ptr, ptr %15, align 8, !tbaa !11
  %172 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %171, ptr noundef @.str.23) #5
  %173 = load ptr, ptr %15, align 8, !tbaa !11
  %174 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %173, ptr noundef @.str.16) #5
  %175 = load ptr, ptr %15, align 8, !tbaa !11
  %176 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %175, ptr noundef @.str.24) #5
  %177 = load ptr, ptr %15, align 8, !tbaa !11
  %178 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %177, ptr noundef @.str.18) #5
  %179 = load ptr, ptr %15, align 8, !tbaa !11
  %180 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %179, ptr noundef @.str.19) #5
  %181 = load ptr, ptr %15, align 8, !tbaa !11
  %182 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %181, ptr noundef @.str.20) #5
  %183 = load ptr, ptr %15, align 8, !tbaa !11
  %184 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %183, ptr noundef @.str.25) #5
  %185 = load ptr, ptr %15, align 8, !tbaa !11
  %186 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %185, ptr noundef @.str.26) #5
  %187 = load ptr, ptr %15, align 8, !tbaa !11
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %187, ptr noundef @.str.27) #5
  %189 = load ptr, ptr %15, align 8, !tbaa !11
  %190 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %189, ptr noundef @.str.28) #5
  %191 = load ptr, ptr %15, align 8, !tbaa !11
  %192 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %191, ptr noundef @.str.29) #5
  %193 = load ptr, ptr %15, align 8, !tbaa !11
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.30) #5
  %195 = load ptr, ptr %15, align 8, !tbaa !11
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.31) #5
  %197 = load ptr, ptr %15, align 8, !tbaa !11
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.16) #5
  %199 = load ptr, ptr %15, align 8, !tbaa !11
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef @.str.32) #5
  %201 = load ptr, ptr %15, align 8, !tbaa !11
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.33) #5
  %203 = load ptr, ptr %15, align 8, !tbaa !11
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef @.str.34) #5
  %205 = load ptr, ptr %15, align 8, !tbaa !11
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %205, ptr noundef @.str.20) #5
  %207 = load ptr, ptr %15, align 8, !tbaa !11
  %208 = call i32 @fclose(ptr noundef %207)
  %209 = call i32 (ptr, ...) @printf(ptr noundef @.str.35, ptr noundef @.str)
  %210 = call i32 (ptr, ...) @printf(ptr noundef @.str.36)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  %211 = load ptr, ptr %7, align 8
  call void @llvm.stackrestore.p0(ptr %211)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %212 = load i32, ptr %1, align 4
  ret i32 %212
}

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

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

declare i32 @firfilt_cccf_print(ptr noundef) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #3

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) #4

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

declare i32 @firfilt_cccf_destroy(ptr noundef) #2

declare noalias ptr @fopen(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #4

declare i32 @fclose(ptr noundef) #2

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 nosync nounwind willreturn }
attributes #4 = { 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 #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 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !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 [29 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [52 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [57 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = tail call ptr @firfilt_cccf_create_notch(i32 noundef 25, float noundef 3.000000e+01, float noundef 0x3FC3333340000000) #4
  %2 = tail call i32 @firfilt_cccf_print(ptr noundef %1) #4
  %3 = alloca [600 x { float, float }], align 16
  %4 = alloca [600 x { float, float }], align 16
  br label %5

5:                                                ; preds = %0, %5
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %5 ]
  %6 = trunc nuw nsw i64 %indvars.iv to i32
  %7 = uitofp nneg i32 %6 to double
  %8 = fmul double %7, 0x3FCDC1D59B113B89
  %9 = fptrunc double %8 to float
  %.sroa.043.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %9, i64 1
  %10 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.043.4.vec.insert) #4
  %11 = fmul double %7, 0x3FEE28C7460698C7
  %12 = fptrunc double %11 to float
  %.sroa.040.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %12, i64 1
  %13 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.040.4.vec.insert) #4
  %14 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv
  %15 = fadd <2 x float> %10, %13
  store <2 x float> %15, ptr %14, align 8
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 600
  br i1 %exitcond.not, label %16, label %5, !llvm.loop !5

16:                                               ; preds = %5
  %17 = call i32 @firfilt_cccf_execute_block(ptr noundef %1, ptr noundef nonnull %3, i32 noundef 600, ptr noundef nonnull %4) #4
  %18 = call i32 @firfilt_cccf_destroy(ptr noundef %1) #4
  %19 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %20 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #4
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.3) #4
  %22 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.4) #4
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.5) #4
  %24 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.6, i32 noundef 600) #4
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.7) #4
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.8) #4
  br label %27

27:                                               ; preds = %16, %27
  %indvars.iv75 = phi i64 [ 0, %16 ], [ %indvars.iv.next76, %27 ]
  %indvars.iv.next76 = add nuw nsw i64 %indvars.iv75, 1
  %28 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv75
  %29 = load float, ptr %28, align 8
  %30 = getelementptr inbounds i8, ptr %28, i64 4
  %31 = fpext float %29 to double
  %32 = load float, ptr %30, align 4
  %33 = fpext float %32 to double
  %34 = trunc nuw nsw i64 %indvars.iv.next76 to i32
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.9, i32 noundef %34, double noundef %31, double noundef %33) #4
  %36 = getelementptr inbounds { float, float }, ptr %4, i64 %indvars.iv75
  %37 = load float, ptr %36, align 8
  %38 = getelementptr inbounds i8, ptr %36, i64 4
  %39 = fpext float %37 to double
  %40 = load float, ptr %38, align 4
  %41 = fpext float %40 to double
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.10, i32 noundef %34, double noundef %39, double noundef %41) #4
  %exitcond78.not = icmp eq i64 %indvars.iv.next76, 600
  br i1 %exitcond78.not, label %43, label %27, !llvm.loop !7

43:                                               ; preds = %27
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.11) #4
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.12) #4
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.13) #4
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.14) #4
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.15) #4
  %49 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.16) #4
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.17) #4
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.18) #4
  %52 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.19) #4
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.20) #4
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.21) #4
  %55 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.22) #4
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.23) #4
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.16) #4
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.24) #4
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.18) #4
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.19) #4
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.20) #4
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.25) #4
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.26) #4
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.27) #4
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.28) #4
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.29) #4
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.30) #4
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.31) #4
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.16) #4
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.32) #4
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.33) #4
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.34) #4
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %19, ptr noundef nonnull @.str.20) #4
  %74 = call i32 @fclose(ptr noundef %19)
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.35, ptr noundef nonnull @.str)
  %76 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.36)
  ret i32 0
}

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

declare i32 @firfilt_cccf_print(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) local_unnamed_addr #2

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

declare i32 @firfilt_cccf_destroy(ptr noundef) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noalias noundef ptr @fopen(ptr nocapture noundef readonly, ptr nocapture noundef readonly) local_unnamed_addr #3

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

; Function Attrs: nofree nounwind
declare noundef i32 @fclose(ptr nocapture noundef) local_unnamed_addr #3

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { "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 "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 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}


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