; LLVM IR from jgaeddert/liquid-dsp :: examples (iirhilb_filter_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 [25 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 [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.40 = 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 i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i32, align 4
  %12 = alloca { float, float }, align 4
  %13 = alloca { float, float }, align 4
  %14 = alloca { float, float }, align 4
  %15 = alloca { float, float }, align 4
  %16 = alloca { float, float }, align 4
  %17 = alloca { float, float }, align 4
  %18 = alloca { float, float }, align 4
  %19 = alloca ptr, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 7, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  store i32 128, ptr %3, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %20 = load i32, ptr %3, align 4, !tbaa !5
  %21 = add i32 %20, 50
  store i32 %21, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = call ptr @iirhilbf_create_default(i32 noundef %22)
  store ptr %23, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = call ptr @iirhilbf_create_default(i32 noundef %24)
  store ptr %25, ptr %6, align 8, !tbaa !9
  %26 = load ptr, ptr %5, align 8, !tbaa !9
  %27 = call i32 @iirhilbf_print(ptr noundef %26)
  %28 = load i32, ptr %4, align 4, !tbaa !5
  %29 = zext i32 %28 to i64
  %30 = call ptr @llvm.stacksave.p0()
  store ptr %30, ptr %7, align 8
  %31 = alloca { float, float }, i64 %29, align 16
  store i64 %29, ptr %8, align 8
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = zext i32 %32 to i64
  %34 = alloca float, i64 %33, align 16
  store i64 %33, ptr %9, align 8
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = zext i32 %35 to i64
  %37 = alloca { float, float }, i64 %36, align 16
  store i64 %36, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %146, %0
  %39 = load i32, ptr %11, align 4, !tbaa !5
  %40 = load i32, ptr %4, align 4, !tbaa !5
  %41 = icmp ult i32 %39, %40
  br i1 %41, label %42, label %149

42:                                               ; preds = %38
  %43 = load i32, ptr %11, align 4, !tbaa !5
  %44 = uitofp i32 %43 to double
  %45 = fmul double 0.000000e+00, %44
  %46 = fmul double 0x3FE8209F52167EE4, %44
  %47 = fptrunc double %45 to float
  %48 = fptrunc double %46 to float
  %49 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 0
  %50 = getelementptr inbounds { float, float }, ptr %12, i32 0, i32 1
  store float %47, ptr %49, align 4
  store float %48, ptr %50, align 4
  %51 = load <2 x float>, ptr %12, align 4
  %52 = call <2 x float> @cexpf(<2 x float> noundef %51) #5
  store <2 x float> %52, ptr %13, align 4
  %53 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 0
  %54 = load float, ptr %53, align 4
  %55 = getelementptr inbounds { float, float }, ptr %13, i32 0, i32 1
  %56 = load float, ptr %55, align 4
  %57 = fmul float 1.000000e+00, %54
  %58 = fmul float 1.000000e+00, %56
  %59 = load i32, ptr %11, align 4, !tbaa !5
  %60 = uitofp i32 %59 to double
  %61 = fmul double 0.000000e+00, %60
  %62 = fmul double 0x3FF1171B8E3CAD77, %60
  %63 = fptrunc double %61 to float
  %64 = fptrunc double %62 to float
  %65 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 0
  %66 = getelementptr inbounds { float, float }, ptr %14, i32 0, i32 1
  store float %63, ptr %65, align 4
  store float %64, ptr %66, align 4
  %67 = load <2 x float>, ptr %14, align 4
  %68 = call <2 x float> @cexpf(<2 x float> noundef %67) #5
  store <2 x float> %68, ptr %15, align 4
  %69 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 0
  %70 = load float, ptr %69, align 4
  %71 = getelementptr inbounds { float, float }, ptr %15, i32 0, i32 1
  %72 = load float, ptr %71, align 4
  %73 = fmul float 0x3FB99999A0000000, %70
  %74 = fmul float 0x3FB99999A0000000, %72
  %75 = fadd float %57, %73
  %76 = fadd float %58, %74
  %77 = load i32, ptr %11, align 4, !tbaa !5
  %78 = uitofp i32 %77 to double
  %79 = fmul double -0.000000e+00, %78
  %80 = fmul double 0xC0041B2F7BA3BCBE, %78
  %81 = fptrunc double %79 to float
  %82 = fptrunc double %80 to float
  %83 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 0
  %84 = getelementptr inbounds { float, float }, ptr %16, i32 0, i32 1
  store float %81, ptr %83, align 4
  store float %82, ptr %84, align 4
  %85 = load <2 x float>, ptr %16, align 4
  %86 = call <2 x float> @cexpf(<2 x float> noundef %85) #5
  store <2 x float> %86, ptr %17, align 4
  %87 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 0
  %88 = load float, ptr %87, align 4
  %89 = getelementptr inbounds { float, float }, ptr %17, i32 0, i32 1
  %90 = load float, ptr %89, align 4
  %91 = fmul float 0x3FC99999A0000000, %88
  %92 = fmul float 0x3FC99999A0000000, %90
  %93 = fadd float %75, %91
  %94 = fadd float %76, %92
  %95 = load i32, ptr %11, align 4, !tbaa !5
  %96 = zext i32 %95 to i64
  %97 = getelementptr inbounds { float, float }, ptr %31, i64 %96
  %98 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 1
  store float %93, ptr %98, align 8
  store float %94, ptr %99, align 4
  %100 = load i32, ptr %11, align 4, !tbaa !5
  %101 = load i32, ptr %3, align 4, !tbaa !5
  %102 = icmp ult i32 %100, %101
  br i1 %102, label %103, label %108

103:                                              ; preds = %42
  %104 = load i32, ptr %11, align 4, !tbaa !5
  %105 = load i32, ptr %3, align 4, !tbaa !5
  %106 = call float @liquid_hamming(i32 noundef %104, i32 noundef %105)
  %107 = fmul float 0x3FFDAE1480000000, %106
  br label %109

108:                                              ; preds = %42
  br label %109

109:                                              ; preds = %108, %103
  %110 = phi float [ %107, %103 ], [ 0.000000e+00, %108 ]
  %111 = load i32, ptr %11, align 4, !tbaa !5
  %112 = zext i32 %111 to i64
  %113 = getelementptr inbounds { float, float }, ptr %31, i64 %112
  %114 = getelementptr inbounds { float, float }, ptr %113, i32 0, i32 0
  %115 = load float, ptr %114, align 8
  %116 = getelementptr inbounds { float, float }, ptr %113, i32 0, i32 1
  %117 = load float, ptr %116, align 4
  %118 = fmul float %115, %110
  %119 = fmul float %117, %110
  %120 = getelementptr inbounds { float, float }, ptr %113, i32 0, i32 0
  %121 = getelementptr inbounds { float, float }, ptr %113, i32 0, i32 1
  store float %118, ptr %120, align 8
  store float %119, ptr %121, align 4
  %122 = load ptr, ptr %5, align 8, !tbaa !9
  %123 = load i32, ptr %11, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds { float, float }, ptr %31, i64 %124
  %126 = getelementptr inbounds { float, float }, ptr %125, i32 0, i32 0
  %127 = load float, ptr %126, align 8
  %128 = getelementptr inbounds { float, float }, ptr %125, i32 0, i32 1
  %129 = load float, ptr %128, align 4
  %130 = load i32, ptr %11, align 4, !tbaa !5
  %131 = zext i32 %130 to i64
  %132 = getelementptr inbounds float, ptr %34, i64 %131
  %133 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 0
  %134 = getelementptr inbounds { float, float }, ptr %18, i32 0, i32 1
  store float %127, ptr %133, align 4
  store float %129, ptr %134, align 4
  %135 = load <2 x float>, ptr %18, align 4
  %136 = call i32 @iirhilbf_c2r_execute(ptr noundef %122, <2 x float> noundef %135, ptr noundef %132)
  %137 = load ptr, ptr %6, align 8, !tbaa !9
  %138 = load i32, ptr %11, align 4, !tbaa !5
  %139 = zext i32 %138 to i64
  %140 = getelementptr inbounds float, ptr %34, i64 %139
  %141 = load float, ptr %140, align 4, !tbaa !11
  %142 = load i32, ptr %11, align 4, !tbaa !5
  %143 = zext i32 %142 to i64
  %144 = getelementptr inbounds { float, float }, ptr %37, i64 %143
  %145 = call i32 @iirhilbf_r2c_execute(ptr noundef %137, float noundef %141, ptr noundef %144)
  br label %146

146:                                              ; preds = %109
  %147 = load i32, ptr %11, align 4, !tbaa !5
  %148 = add i32 %147, 1
  store i32 %148, ptr %11, align 4, !tbaa !5
  br label %38, !llvm.loop !13

149:                                              ; preds = %38
  %150 = load ptr, ptr %5, align 8, !tbaa !9
  %151 = call i32 @iirhilbf_destroy(ptr noundef %150)
  %152 = load ptr, ptr %6, align 8, !tbaa !9
  %153 = call i32 @iirhilbf_destroy(ptr noundef %152)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %154 = call noalias ptr @fopen(ptr noundef @.str, ptr noundef @.str.1)
  store ptr %154, ptr %19, align 8, !tbaa !9
  %155 = load ptr, ptr %19, align 8, !tbaa !9
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.2, ptr noundef @.str) #5
  %157 = load ptr, ptr %19, align 8, !tbaa !9
  %158 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %157, ptr noundef @.str.3) #5
  %159 = load ptr, ptr %19, align 8, !tbaa !9
  %160 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %159, ptr noundef @.str.4) #5
  %161 = load ptr, ptr %19, align 8, !tbaa !9
  %162 = load i32, ptr %3, align 4, !tbaa !5
  %163 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %161, ptr noundef @.str.5, i32 noundef %162) #5
  %164 = load ptr, ptr %19, align 8, !tbaa !9
  %165 = load i32, ptr %4, align 4, !tbaa !5
  %166 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %164, ptr noundef @.str.6, i32 noundef %165) #5
  %167 = load ptr, ptr %19, align 8, !tbaa !9
  %168 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %167, ptr noundef @.str.7) #5
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %169

169:                                              ; preds = %223, %149
  %170 = load i32, ptr %11, align 4, !tbaa !5
  %171 = load i32, ptr %4, align 4, !tbaa !5
  %172 = icmp ult i32 %170, %171
  br i1 %172, label %173, label %226

173:                                              ; preds = %169
  %174 = load ptr, ptr %19, align 8, !tbaa !9
  %175 = load i32, ptr %11, align 4, !tbaa !5
  %176 = add i32 %175, 1
  %177 = load i32, ptr %11, align 4, !tbaa !5
  %178 = zext i32 %177 to i64
  %179 = getelementptr inbounds { float, float }, ptr %31, i64 %178
  %180 = getelementptr inbounds { float, float }, ptr %179, i32 0, i32 0
  %181 = load float, ptr %180, align 8
  %182 = getelementptr inbounds { float, float }, ptr %179, i32 0, i32 1
  %183 = load float, ptr %182, align 4
  %184 = fpext float %181 to double
  %185 = load i32, ptr %11, align 4, !tbaa !5
  %186 = zext i32 %185 to i64
  %187 = getelementptr inbounds { float, float }, ptr %31, i64 %186
  %188 = getelementptr inbounds { float, float }, ptr %187, i32 0, i32 0
  %189 = load float, ptr %188, align 8
  %190 = getelementptr inbounds { float, float }, ptr %187, i32 0, i32 1
  %191 = load float, ptr %190, align 4
  %192 = fpext float %191 to double
  %193 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %174, ptr noundef @.str.8, i32 noundef %176, double noundef %184, double noundef %192) #5
  %194 = load ptr, ptr %19, align 8, !tbaa !9
  %195 = load i32, ptr %11, align 4, !tbaa !5
  %196 = add i32 %195, 1
  %197 = load i32, ptr %11, align 4, !tbaa !5
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds float, ptr %34, i64 %198
  %200 = load float, ptr %199, align 4, !tbaa !11
  %201 = fpext float %200 to double
  %202 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %194, ptr noundef @.str.9, i32 noundef %196, double noundef %201) #5
  %203 = load ptr, ptr %19, align 8, !tbaa !9
  %204 = load i32, ptr %11, align 4, !tbaa !5
  %205 = add i32 %204, 1
  %206 = load i32, ptr %11, align 4, !tbaa !5
  %207 = zext i32 %206 to i64
  %208 = getelementptr inbounds { float, float }, ptr %37, i64 %207
  %209 = getelementptr inbounds { float, float }, ptr %208, i32 0, i32 0
  %210 = load float, ptr %209, align 8
  %211 = getelementptr inbounds { float, float }, ptr %208, i32 0, i32 1
  %212 = load float, ptr %211, align 4
  %213 = fpext float %210 to double
  %214 = load i32, ptr %11, align 4, !tbaa !5
  %215 = zext i32 %214 to i64
  %216 = getelementptr inbounds { float, float }, ptr %37, i64 %215
  %217 = getelementptr inbounds { float, float }, ptr %216, i32 0, i32 0
  %218 = load float, ptr %217, align 8
  %219 = getelementptr inbounds { float, float }, ptr %216, i32 0, i32 1
  %220 = load float, ptr %219, align 4
  %221 = fpext float %220 to double
  %222 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %203, ptr noundef @.str.10, i32 noundef %205, double noundef %213, double noundef %221) #5
  br label %223

223:                                              ; preds = %173
  %224 = load i32, ptr %11, align 4, !tbaa !5
  %225 = add i32 %224, 1
  store i32 %225, ptr %11, align 4, !tbaa !5
  br label %169, !llvm.loop !15

226:                                              ; preds = %169
  %227 = load ptr, ptr %19, align 8, !tbaa !9
  %228 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %227, ptr noundef @.str.11) #5
  %229 = load ptr, ptr %19, align 8, !tbaa !9
  %230 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %229, ptr noundef @.str.12) #5
  %231 = load ptr, ptr %19, align 8, !tbaa !9
  %232 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %231, ptr noundef @.str.13) #5
  %233 = load ptr, ptr %19, align 8, !tbaa !9
  %234 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %233, ptr noundef @.str.14) #5
  %235 = load ptr, ptr %19, align 8, !tbaa !9
  %236 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %235, ptr noundef @.str.15) #5
  %237 = load ptr, ptr %19, align 8, !tbaa !9
  %238 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %237, ptr noundef @.str.16) #5
  %239 = load ptr, ptr %19, align 8, !tbaa !9
  %240 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %239, ptr noundef @.str.17) #5
  %241 = load ptr, ptr %19, align 8, !tbaa !9
  %242 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %241, ptr noundef @.str.18) #5
  %243 = load ptr, ptr %19, align 8, !tbaa !9
  %244 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %243, ptr noundef @.str.19) #5
  %245 = load ptr, ptr %19, align 8, !tbaa !9
  %246 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %245, ptr noundef @.str.20) #5
  %247 = load ptr, ptr %19, align 8, !tbaa !9
  %248 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %247, ptr noundef @.str.21) #5
  %249 = load ptr, ptr %19, align 8, !tbaa !9
  %250 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %249, ptr noundef @.str.17) #5
  %251 = load ptr, ptr %19, align 8, !tbaa !9
  %252 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %251, ptr noundef @.str.18) #5
  %253 = load ptr, ptr %19, align 8, !tbaa !9
  %254 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %253, ptr noundef @.str.22) #5
  %255 = load ptr, ptr %19, align 8, !tbaa !9
  %256 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %255, ptr noundef @.str.23) #5
  %257 = load ptr, ptr %19, align 8, !tbaa !9
  %258 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %257, ptr noundef @.str.24) #5
  %259 = load ptr, ptr %19, align 8, !tbaa !9
  %260 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %259, ptr noundef @.str.15) #5
  %261 = load ptr, ptr %19, align 8, !tbaa !9
  %262 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %261, ptr noundef @.str.16) #5
  %263 = load ptr, ptr %19, align 8, !tbaa !9
  %264 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %263, ptr noundef @.str.17) #5
  %265 = load ptr, ptr %19, align 8, !tbaa !9
  %266 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %265, ptr noundef @.str.18) #5
  %267 = load ptr, ptr %19, align 8, !tbaa !9
  %268 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %267, ptr noundef @.str.25) #5
  %269 = load ptr, ptr %19, align 8, !tbaa !9
  %270 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %269, ptr noundef @.str.26) #5
  %271 = load ptr, ptr %19, align 8, !tbaa !9
  %272 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %271, ptr noundef @.str.27) #5
  %273 = load ptr, ptr %19, align 8, !tbaa !9
  %274 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %273, ptr noundef @.str.28) #5
  %275 = load ptr, ptr %19, align 8, !tbaa !9
  %276 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %275, ptr noundef @.str.29) #5
  %277 = load ptr, ptr %19, align 8, !tbaa !9
  %278 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %277, ptr noundef @.str.30) #5
  %279 = load ptr, ptr %19, align 8, !tbaa !9
  %280 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %279, ptr noundef @.str.31) #5
  %281 = load ptr, ptr %19, align 8, !tbaa !9
  %282 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %281, ptr noundef @.str.32) #5
  %283 = load ptr, ptr %19, align 8, !tbaa !9
  %284 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %283, ptr noundef @.str.33) #5
  %285 = load ptr, ptr %19, align 8, !tbaa !9
  %286 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %285, ptr noundef @.str.34) #5
  %287 = load ptr, ptr %19, align 8, !tbaa !9
  %288 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %287, ptr noundef @.str.35) #5
  %289 = load ptr, ptr %19, align 8, !tbaa !9
  %290 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %289, ptr noundef @.str.36) #5
  %291 = load ptr, ptr %19, align 8, !tbaa !9
  %292 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %291, ptr noundef @.str.37) #5
  %293 = load ptr, ptr %19, align 8, !tbaa !9
  %294 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %293, ptr noundef @.str.38) #5
  %295 = load ptr, ptr %19, align 8, !tbaa !9
  %296 = call i32 @fclose(ptr noundef %295)
  %297 = call i32 (ptr, ...) @printf(ptr noundef @.str.39, ptr noundef @.str)
  %298 = call i32 (ptr, ...) @printf(ptr noundef @.str.40)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  %299 = load ptr, ptr %7, align 8
  call void @llvm.stackrestore.p0(ptr %299)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  %300 = load i32, ptr %1, align 4
  ret i32 %300
}

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

declare ptr @iirhilbf_create_default(i32 noundef) #2

declare i32 @iirhilbf_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 float @liquid_hamming(i32 noundef, i32 noundef) #2

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

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

declare i32 @iirhilbf_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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !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 [25 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 [7 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [49 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [34 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [55 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [63 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [43 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [27 x i8], align 1
@.str.31 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.32 = external hidden unnamed_addr constant [61 x i8], align 1
@.str.33 = external hidden unnamed_addr constant [59 x i8], align 1
@.str.34 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.35 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.36 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.37 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.38 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.39 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.40 = 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 @iirhilbf_create_default(i32 noundef 7) #4
  %2 = tail call ptr @iirhilbf_create_default(i32 noundef 7) #4
  %3 = tail call i32 @iirhilbf_print(ptr noundef %1) #4
  %4 = alloca [178 x { float, float }], align 16
  %5 = alloca [178 x float], align 16
  %6 = alloca [178 x { float, float }], align 16
  br label %7

7:                                                ; preds = %0, %28
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %28 ]
  %8 = trunc nuw nsw i64 %indvars.iv to i32
  %9 = uitofp nneg i32 %8 to double
  %10 = fmul double %9, 0x3FE8209F52167EE4
  %11 = fptrunc double %10 to float
  %.sroa.052.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %11, i64 1
  %12 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.052.4.vec.insert) #4
  %13 = fmul double %9, 0x3FF1171B8E3CAD77
  %14 = fptrunc double %13 to float
  %.sroa.049.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %14, i64 1
  %15 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.049.4.vec.insert) #4
  %16 = fmul double %9, 0xC0041B2F7BA3BCBE
  %17 = fptrunc double %16 to float
  %.sroa.046.4.vec.insert = insertelement <2 x float> <float -0.000000e+00, float poison>, float %17, i64 1
  %18 = call <2 x float> @cexpf(<2 x float> noundef %.sroa.046.4.vec.insert) #4
  %19 = fmul <2 x float> %15, <float 0x3FB99999A0000000, float 0x3FB99999A0000000>
  %20 = fadd <2 x float> %12, %19
  %21 = fmul <2 x float> %18, <float 0x3FC99999A0000000, float 0x3FC99999A0000000>
  %22 = fadd <2 x float> %20, %21
  %23 = getelementptr inbounds { float, float }, ptr %4, i64 %indvars.iv
  %24 = icmp ult i64 %indvars.iv, 128
  br i1 %24, label %25, label %28

25:                                               ; preds = %7
  %26 = call float @liquid_hamming(i32 noundef %8, i32 noundef 128) #4
  %27 = fmul float %26, 0x3FFDAE1480000000
  br label %28

28:                                               ; preds = %7, %25
  %29 = phi float [ %27, %25 ], [ 0.000000e+00, %7 ]
  %30 = insertelement <2 x float> poison, float %29, i64 0
  %31 = shufflevector <2 x float> %30, <2 x float> poison, <2 x i32> zeroinitializer
  %32 = fmul <2 x float> %31, %22
  store <2 x float> %32, ptr %23, align 8
  %33 = getelementptr inbounds float, ptr %5, i64 %indvars.iv
  %34 = call i32 @iirhilbf_c2r_execute(ptr noundef %1, <2 x float> noundef %32, ptr noundef nonnull %33) #4
  %35 = load float, ptr %33, align 4, !tbaa !5
  %36 = getelementptr inbounds { float, float }, ptr %6, i64 %indvars.iv
  %37 = call i32 @iirhilbf_r2c_execute(ptr noundef %2, float noundef %35, ptr noundef nonnull %36) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 178
  br i1 %exitcond.not, label %38, label %7, !llvm.loop !9

38:                                               ; preds = %28
  %39 = call i32 @iirhilbf_destroy(ptr noundef %1) #4
  %40 = call i32 @iirhilbf_destroy(ptr noundef %2) #4
  %41 = call noalias ptr @fopen(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1)
  %42 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str) #4
  %43 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.3) #4
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.4) #4
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.5, i32 noundef 128) #4
  %46 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.6, i32 noundef 178) #4
  %47 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.7) #4
  br label %48

48:                                               ; preds = %38, %48
  %indvars.iv98 = phi i64 [ 0, %38 ], [ %indvars.iv.next99, %48 ]
  %indvars.iv.next99 = add nuw nsw i64 %indvars.iv98, 1
  %49 = getelementptr inbounds { float, float }, ptr %4, i64 %indvars.iv98
  %50 = load float, ptr %49, align 8
  %51 = getelementptr inbounds i8, ptr %49, i64 4
  %52 = fpext float %50 to double
  %53 = load float, ptr %51, align 4
  %54 = fpext float %53 to double
  %55 = trunc nuw nsw i64 %indvars.iv.next99 to i32
  %56 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.8, i32 noundef %55, double noundef %52, double noundef %54) #4
  %57 = getelementptr inbounds float, ptr %5, i64 %indvars.iv98
  %58 = load float, ptr %57, align 4, !tbaa !5
  %59 = fpext float %58 to double
  %60 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.9, i32 noundef %55, double noundef %59) #4
  %61 = getelementptr inbounds { float, float }, ptr %6, i64 %indvars.iv98
  %62 = load float, ptr %61, align 8
  %63 = getelementptr inbounds i8, ptr %61, i64 4
  %64 = fpext float %62 to double
  %65 = load float, ptr %63, align 4
  %66 = fpext float %65 to double
  %67 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.10, i32 noundef %55, double noundef %64, double noundef %66) #4
  %exitcond101.not = icmp eq i64 %indvars.iv.next99, 178
  br i1 %exitcond101.not, label %68, label %48, !llvm.loop !11

68:                                               ; preds = %48
  %69 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.11) #4
  %70 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.12) #4
  %71 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.13) #4
  %72 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.14) #4
  %73 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.15) #4
  %74 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.16) #4
  %75 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.17) #4
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.18) #4
  %77 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.19) #4
  %78 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.20) #4
  %79 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.21) #4
  %80 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.17) #4
  %81 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.18) #4
  %82 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.22) #4
  %83 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.23) #4
  %84 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.24) #4
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.15) #4
  %86 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.16) #4
  %87 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.17) #4
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.18) #4
  %89 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.25) #4
  %90 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.26) #4
  %91 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.27) #4
  %92 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.28) #4
  %93 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.29) #4
  %94 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.30) #4
  %95 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.31) #4
  %96 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.32) #4
  %97 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.33) #4
  %98 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.34) #4
  %99 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.35) #4
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.36) #4
  %101 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.37) #4
  %102 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %41, ptr noundef nonnull @.str.38) #4
  %103 = call i32 @fclose(ptr noundef %41)
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.39, ptr noundef nonnull @.str)
  %105 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.40)
  ret i32 0
}

declare ptr @iirhilbf_create_default(i32 noundef) local_unnamed_addr #1

declare i32 @iirhilbf_print(ptr noundef) local_unnamed_addr #1

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

declare float @liquid_hamming(i32 noundef, i32 noundef) local_unnamed_addr #1

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

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

declare i32 @iirhilbf_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 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}


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