; LLVM IR from jgaeddert/liquid-dsp :: examples (iirfilt_crcf_dcblocker_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 [33 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 [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.31 = 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 float, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i32, align 4
  %10 = alloca { float, float }, 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) #6
  store i32 1200, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store float 0x3FB99999A0000000, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #6
  %16 = load float, ptr %3, align 4, !tbaa !9
  %17 = call ptr @iirfilt_crcf_create_dc_blocker(float noundef %16)
  store ptr %17, ptr %4, align 8, !tbaa !11
  %18 = load ptr, ptr %4, align 8, !tbaa !11
  %19 = call i32 @iirfilt_crcf_print(ptr noundef %18)
  %20 = load i32, ptr %2, align 4, !tbaa !5
  %21 = zext i32 %20 to i64
  %22 = call ptr @llvm.stacksave.p0()
  store ptr %22, ptr %5, align 8
  %23 = alloca { float, float }, i64 %21, align 16
  store i64 %21, ptr %6, align 8
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = zext i32 %24 to i64
  %26 = alloca { float, float }, i64 %25, align 16
  store i64 %25, ptr %7, align 8
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = zext i32 %27 to i64
  %29 = alloca { float, float }, i64 %28, align 16
  store i64 %28, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %102, %0
  %31 = load i32, ptr %9, align 4, !tbaa !5
  %32 = load i32, ptr %2, align 4, !tbaa !5
  %33 = icmp ult i32 %31, %32
  br i1 %33, label %34, label %105

34:                                               ; preds = %30
  %35 = load i32, ptr %9, align 4, !tbaa !5
  %36 = uitofp i32 %35 to float
  %37 = load i32, ptr %9, align 4, !tbaa !5
  %38 = uitofp i32 %37 to float
  %39 = fmul float 0x3F1A36E2E0000000, %38
  %40 = load i32, ptr %9, align 4, !tbaa !5
  %41 = uitofp i32 %40 to float
  %42 = fmul float %39, %41
  %43 = call float @llvm.fmuladd.f32(float 0x3FB1EB8520000000, float %36, float %42)
  %44 = fmul float %43, 0.000000e+00
  %45 = fmul float %43, 1.000000e+00
  %46 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %47 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  store float %44, ptr %46, align 4
  store float %45, ptr %47, align 4
  %48 = load <2 x float>, ptr %10, align 4
  %49 = call <2 x float> @cexpf(<2 x float> noundef %48) #6
  store <2 x float> %49, ptr %11, align 4
  %50 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 0
  %51 = load float, ptr %50, align 4
  %52 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 1
  %53 = load float, ptr %52, align 4
  %54 = load i32, ptr %9, align 4, !tbaa !5
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds { float, float }, ptr %23, i64 %55
  %57 = getelementptr inbounds { float, float }, ptr %56, i32 0, i32 0
  %58 = getelementptr inbounds { float, float }, ptr %56, i32 0, i32 1
  store float %51, ptr %57, align 8
  store float %53, ptr %58, align 4
  %59 = load i32, ptr %9, align 4, !tbaa !5
  %60 = zext i32 %59 to i64
  %61 = getelementptr inbounds { float, float }, ptr %23, i64 %60
  %62 = getelementptr inbounds { float, float }, ptr %61, i32 0, i32 0
  %63 = load float, ptr %62, align 8
  %64 = getelementptr inbounds { float, float }, ptr %61, i32 0, i32 1
  %65 = load float, ptr %64, align 4
  %66 = load i32, ptr %9, align 4, !tbaa !5
  %67 = uitofp i32 %66 to float
  %68 = fmul float 0.000000e+00, %67
  %69 = fmul float 0x3F7CAC0840000000, %67
  %70 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %71 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  store float %68, ptr %70, align 4
  store float %69, ptr %71, align 4
  %72 = load <2 x float>, ptr %12, align 4
  %73 = call <2 x float> @cexpf(<2 x float> noundef %72) #6
  store <2 x float> %73, ptr %13, align 4
  %74 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 0
  %75 = load float, ptr %74, align 4
  %76 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 1
  %77 = load float, ptr %76, align 4
  %78 = fmul float 2.000000e+00, %75
  %79 = fmul float 2.000000e+00, %77
  %80 = fadd float %63, %78
  %81 = fadd float %65, %79
  %82 = load i32, ptr %9, align 4, !tbaa !5
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds { float, float }, ptr %26, i64 %83
  %85 = getelementptr inbounds { float, float }, ptr %84, i32 0, i32 0
  %86 = getelementptr inbounds { float, float }, ptr %84, i32 0, i32 1
  store float %80, ptr %85, align 8
  store float %81, ptr %86, align 4
  %87 = load ptr, ptr %4, align 8, !tbaa !11
  %88 = load i32, ptr %9, align 4, !tbaa !5
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds { float, float }, ptr %26, i64 %89
  %91 = getelementptr inbounds { float, float }, ptr %90, i32 0, i32 0
  %92 = load float, ptr %91, align 8
  %93 = getelementptr inbounds { float, float }, ptr %90, i32 0, i32 1
  %94 = load float, ptr %93, align 4
  %95 = load i32, ptr %9, align 4, !tbaa !5
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds { float, float }, ptr %29, i64 %96
  %98 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %99 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  store float %92, ptr %98, align 4
  store float %94, ptr %99, align 4
  %100 = load <2 x float>, ptr %14, align 4
  %101 = call i32 @iirfilt_crcf_execute(ptr noundef %87, <2 x float> noundef %100, ptr noundef %97)
  br label %102

102:                                              ; preds = %34
  %103 = load i32, ptr %9, align 4, !tbaa !5
  %104 = add i32 %103, 1
  store i32 %104, ptr %9, align 4, !tbaa !5
  br label %30, !llvm.loop !13

105:                                              ; preds = %30
  %106 = load ptr, ptr %4, align 8, !tbaa !11
  %107 = call i32 @iirfilt_crcf_destroy(ptr noundef %106)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #6
  %108 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %108, ptr %15, align 8, !tbaa !11
  %109 = load ptr, ptr %15, align 8, !tbaa !11
  %110 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %109, ptr noundef @.str.2, ptr noundef @.str) #6
  %111 = load ptr, ptr %15, align 8, !tbaa !11
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str.3) #6
  %113 = load ptr, ptr %15, align 8, !tbaa !11
  %114 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %113, ptr noundef @.str.4) #6
  %115 = load ptr, ptr %15, align 8, !tbaa !11
  %116 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %115, ptr noundef @.str.5) #6
  %117 = load ptr, ptr %15, align 8, !tbaa !11
  %118 = load i32, ptr %2, align 4, !tbaa !5
  %119 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %117, ptr noundef @.str.6, i32 noundef %118) #6
  %120 = load ptr, ptr %15, align 8, !tbaa !11
  %121 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %120, ptr noundef @.str.7) #6
  %122 = load ptr, ptr %15, align 8, !tbaa !11
  %123 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %122, ptr noundef @.str.8) #6
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %124

124:                                              ; preds = %189, %105
  %125 = load i32, ptr %9, align 4, !tbaa !5
  %126 = load i32, ptr %2, align 4, !tbaa !5
  %127 = icmp ult i32 %125, %126
  br i1 %127, label %128, label %192

128:                                              ; preds = %124
  %129 = load ptr, ptr %15, align 8, !tbaa !11
  %130 = load i32, ptr %9, align 4, !tbaa !5
  %131 = add i32 %130, 1
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = zext i32 %132 to i64
  %134 = getelementptr inbounds { float, float }, ptr %23, i64 %133
  %135 = getelementptr inbounds { float, float }, ptr %134, i32 0, i32 0
  %136 = load float, ptr %135, align 8
  %137 = getelementptr inbounds { float, float }, ptr %134, i32 0, i32 1
  %138 = load float, ptr %137, align 4
  %139 = fpext float %136 to double
  %140 = load i32, ptr %9, align 4, !tbaa !5
  %141 = zext i32 %140 to i64
  %142 = getelementptr inbounds { float, float }, ptr %23, i64 %141
  %143 = getelementptr inbounds { float, float }, ptr %142, i32 0, i32 0
  %144 = load float, ptr %143, align 8
  %145 = getelementptr inbounds { float, float }, ptr %142, i32 0, i32 1
  %146 = load float, ptr %145, align 4
  %147 = fpext float %146 to double
  %148 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef @.str.9, i32 noundef %131, double noundef %139, double noundef %147) #6
  %149 = load ptr, ptr %15, align 8, !tbaa !11
  %150 = load i32, ptr %9, align 4, !tbaa !5
  %151 = add i32 %150, 1
  %152 = load i32, ptr %9, align 4, !tbaa !5
  %153 = zext i32 %152 to i64
  %154 = getelementptr inbounds { float, float }, ptr %26, i64 %153
  %155 = getelementptr inbounds { float, float }, ptr %154, i32 0, i32 0
  %156 = load float, ptr %155, align 8
  %157 = getelementptr inbounds { float, float }, ptr %154, i32 0, i32 1
  %158 = load float, ptr %157, align 4
  %159 = fpext float %156 to double
  %160 = load i32, ptr %9, align 4, !tbaa !5
  %161 = zext i32 %160 to i64
  %162 = getelementptr inbounds { float, float }, ptr %26, i64 %161
  %163 = getelementptr inbounds { float, float }, ptr %162, i32 0, i32 0
  %164 = load float, ptr %163, align 8
  %165 = getelementptr inbounds { float, float }, ptr %162, i32 0, i32 1
  %166 = load float, ptr %165, align 4
  %167 = fpext float %166 to double
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %149, ptr noundef @.str.10, i32 noundef %151, double noundef %159, double noundef %167) #6
  %169 = load ptr, ptr %15, align 8, !tbaa !11
  %170 = load i32, ptr %9, align 4, !tbaa !5
  %171 = add i32 %170, 1
  %172 = load i32, ptr %9, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds { float, float }, ptr %29, i64 %173
  %175 = getelementptr inbounds { float, float }, ptr %174, i32 0, i32 0
  %176 = load float, ptr %175, align 8
  %177 = getelementptr inbounds { float, float }, ptr %174, i32 0, i32 1
  %178 = load float, ptr %177, align 4
  %179 = fpext float %176 to double
  %180 = load i32, ptr %9, align 4, !tbaa !5
  %181 = zext i32 %180 to i64
  %182 = getelementptr inbounds { float, float }, ptr %29, i64 %181
  %183 = getelementptr inbounds { float, float }, ptr %182, i32 0, i32 0
  %184 = load float, ptr %183, align 8
  %185 = getelementptr inbounds { float, float }, ptr %182, i32 0, i32 1
  %186 = load float, ptr %185, align 4
  %187 = fpext float %186 to double
  %188 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %169, ptr noundef @.str.11, i32 noundef %171, double noundef %179, double noundef %187) #6
  br label %189

189:                                              ; preds = %128
  %190 = load i32, ptr %9, align 4, !tbaa !5
  %191 = add i32 %190, 1
  store i32 %191, ptr %9, align 4, !tbaa !5
  br label %124, !llvm.loop !15

192:                                              ; preds = %124
  %193 = load ptr, ptr %15, align 8, !tbaa !11
  %194 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %193, ptr noundef @.str.12) #6
  %195 = load ptr, ptr %15, align 8, !tbaa !11
  %196 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %195, ptr noundef @.str.13) #6
  %197 = load ptr, ptr %15, align 8, !tbaa !11
  %198 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %197, ptr noundef @.str.14) #6
  %199 = load ptr, ptr %15, align 8, !tbaa !11
  %200 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %199, ptr noundef @.str.15) #6
  %201 = load ptr, ptr %15, align 8, !tbaa !11
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %201, ptr noundef @.str.16) #6
  %203 = load ptr, ptr %15, align 8, !tbaa !11
  %204 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef @.str.17) #6
  %205 = load ptr, ptr %15, align 8, !tbaa !11
  %206 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %205, ptr noundef @.str.18) #6
  %207 = load ptr, ptr %15, align 8, !tbaa !11
  %208 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %207, ptr noundef @.str.19) #6
  %209 = load ptr, ptr %15, align 8, !tbaa !11
  %210 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %209, ptr noundef @.str.20) #6
  %211 = load ptr, ptr %15, align 8, !tbaa !11
  %212 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %211, ptr noundef @.str.21) #6
  %213 = load ptr, ptr %15, align 8, !tbaa !11
  %214 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %213, ptr noundef @.str.22) #6
  %215 = load ptr, ptr %15, align 8, !tbaa !11
  %216 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %215, ptr noundef @.str.23) #6
  %217 = load ptr, ptr %15, align 8, !tbaa !11
  %218 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %217, ptr noundef @.str.24) #6
  %219 = load ptr, ptr %15, align 8, !tbaa !11
  %220 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %219, ptr noundef @.str.17) #6
  %221 = load ptr, ptr %15, align 8, !tbaa !11
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %221, ptr noundef @.str.25) #6
  %223 = load ptr, ptr %15, align 8, !tbaa !11
  %224 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %223, ptr noundef @.str.19) #6
  %225 = load ptr, ptr %15, align 8, !tbaa !11
  %226 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %225, ptr noundef @.str.20) #6
  %227 = load ptr, ptr %15, align 8, !tbaa !11
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.21) #6
  %229 = load ptr, ptr %15, align 8, !tbaa !11
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef @.str.26) #6
  %231 = load ptr, ptr %15, align 8, !tbaa !11
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef @.str.27) #6
  %233 = load ptr, ptr %15, align 8, !tbaa !11
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.28) #6
  %235 = load ptr, ptr %15, align 8, !tbaa !11
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.17) #6
  %237 = load ptr, ptr %15, align 8, !tbaa !11
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str.29) #6
  %239 = load ptr, ptr %15, align 8, !tbaa !11
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef @.str.19) #6
  %241 = load ptr, ptr %15, align 8, !tbaa !11
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.20) #6
  %243 = load ptr, ptr %15, align 8, !tbaa !11
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.21) #6
  %245 = load ptr, ptr %15, align 8, !tbaa !11
  %246 = call i32 @fclose(ptr noundef %245)
  %247 = call i32 (ptr, ...) @printf(ptr noundef @.str.30, ptr noundef @.str)
  %248 = call i32 (ptr, ...) @printf(ptr noundef @.str.31)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  %249 = load ptr, ptr %5, align 8
  call void @llvm.stackrestore.p0(ptr %249)
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %250 = load i32, ptr %1, align 4
  ret i32 %250
}

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

declare ptr @iirfilt_crcf_create_dc_blocker(float noundef) #2

declare i32 @iirfilt_crcf_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

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

declare i32 @iirfilt_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) #2

declare i32 @iirfilt_crcf_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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"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 [33 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 [29 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [29 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [60 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [32 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.31 = 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 @iirfilt_crcf_create_dc_blocker(float noundef 0x3FB99999A0000000) #5
  %2 = tail call i32 @iirfilt_crcf_print(ptr noundef %1) #5
  %3 = alloca [1200 x { float, float }], align 16
  %4 = alloca [1200 x { float, float }], align 16
  %5 = alloca [1200 x { float, float }], align 16
  br label %6

6:                                                ; preds = %0, %6
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %6 ]
  %7 = trunc nuw nsw i64 %indvars.iv to i32
  %8 = uitofp nneg i32 %7 to float
  %9 = fmul float %8, 0x3F1A36E2E0000000
  %10 = fmul float %9, %8
  %11 = call float @llvm.fmuladd.f32(float %8, float 0x3FB1EB8520000000, float %10)
  %12 = fmul float %11, 0.000000e+00
  %.sroa.042.0.vec.insert = insertelement <2 x float> poison, float %12, i64 0
  %.sroa.042.4.vec.insert = insertelement <2 x float> %.sroa.042.0.vec.insert, float %11, i64 1
  %13 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.042.4.vec.insert) #5
  %14 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv
  store <2 x float> %13, ptr %14, align 8
  %15 = fmul float %8, 0x3F7CAC0840000000
  %.sroa.039.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %15, i64 1
  %16 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.039.4.vec.insert) #5
  %17 = getelementptr inbounds { float, float }, ptr %4, i64 %indvars.iv
  %18 = fmul <2 x float> %16, <float 2.000000e+00, float 2.000000e+00>
  %19 = fadd <2 x float> %13, %18
  store <2 x float> %19, ptr %17, align 8
  %20 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv
  %21 = call i32 @iirfilt_crcf_execute(ptr noundef %1, <2 x float> noundef %19, ptr noundef nonnull %20) #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 1200
  br i1 %exitcond.not, label %22, label %6, !llvm.loop !5

22:                                               ; preds = %6
  %23 = call i32 @iirfilt_crcf_destroy(ptr noundef %1) #5
  %24 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #5
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.3) #5
  %27 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.4) #5
  %28 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.5) #5
  %29 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.6, i32 noundef 1200) #5
  %30 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.7) #5
  %31 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.8) #5
  br label %32

32:                                               ; preds = %22, %32
  %indvars.iv80 = phi i64 [ 0, %22 ], [ %indvars.iv.next81, %32 ]
  %indvars.iv.next81 = add nuw nsw i64 %indvars.iv80, 1
  %33 = getelementptr inbounds { float, float }, ptr %3, i64 %indvars.iv80
  %34 = load float, ptr %33, align 8
  %35 = getelementptr inbounds i8, ptr %33, i64 4
  %36 = fpext float %34 to double
  %37 = load float, ptr %35, align 4
  %38 = fpext float %37 to double
  %39 = trunc nuw nsw i64 %indvars.iv.next81 to i32
  %40 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.9, i32 noundef %39, double noundef %36, double noundef %38) #5
  %41 = getelementptr inbounds { float, float }, ptr %4, i64 %indvars.iv80
  %42 = load float, ptr %41, align 8
  %43 = getelementptr inbounds i8, ptr %41, i64 4
  %44 = fpext float %42 to double
  %45 = load float, ptr %43, align 4
  %46 = fpext float %45 to double
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.10, i32 noundef %39, double noundef %44, double noundef %46) #5
  %48 = getelementptr inbounds { float, float }, ptr %5, i64 %indvars.iv80
  %49 = load float, ptr %48, align 8
  %50 = getelementptr inbounds i8, ptr %48, i64 4
  %51 = fpext float %49 to double
  %52 = load float, ptr %50, align 4
  %53 = fpext float %52 to double
  %54 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.11, i32 noundef %39, double noundef %51, double noundef %53) #5
  %exitcond83.not = icmp eq i64 %indvars.iv.next81, 1200
  br i1 %exitcond83.not, label %55, label %32, !llvm.loop !7

55:                                               ; preds = %32
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.12) #5
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.13) #5
  %58 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.14) #5
  %59 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.15) #5
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.16) #5
  %61 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.17) #5
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.18) #5
  %63 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.19) #5
  %64 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.20) #5
  %65 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.21) #5
  %66 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.22) #5
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.23) #5
  %68 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.24) #5
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.17) #5
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.25) #5
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.19) #5
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.20) #5
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.21) #5
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.26) #5
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.27) #5
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.28) #5
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.17) #5
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.29) #5
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.19) #5
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.20) #5
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str.21) #5
  %82 = call i32 @fclose(ptr noundef %24)
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.30, ptr noundef nonnull @.str)
  %84 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.31)
  ret i32 0
}

declare ptr @iirfilt_crcf_create_dc_blocker(float noundef) local_unnamed_addr #1

declare i32 @iirfilt_crcf_print(ptr noundef) local_unnamed_addr #1

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

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

declare i32 @iirfilt_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #1

declare i32 @iirfilt_crcf_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 #4

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

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

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

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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}


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