; LLVM IR from buresjan/optim_lbm :: nomad/examples/advanced/library/c_api/example2 (example2_c_api)

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @speedreducer_bb(i32 noundef %0, ptr noundef %1, i32 noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #2 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  %37 = alloca double, align 8
  store i32 %0, ptr %7, align 4, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !9
  store ptr %4, ptr %11, align 8, !tbaa !9
  store ptr %5, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %38 = load ptr, ptr %8, align 8, !tbaa !9
  %39 = getelementptr inbounds double, ptr %38, i64 0
  %40 = load double, ptr %39, align 8, !tbaa !11
  store double %40, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %41 = load ptr, ptr %8, align 8, !tbaa !9
  %42 = getelementptr inbounds double, ptr %41, i64 1
  %43 = load double, ptr %42, align 8, !tbaa !11
  store double %43, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %44 = load ptr, ptr %8, align 8, !tbaa !9
  %45 = getelementptr inbounds double, ptr %44, i64 2
  %46 = load double, ptr %45, align 8, !tbaa !11
  store double %46, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %47 = load ptr, ptr %8, align 8, !tbaa !9
  %48 = getelementptr inbounds double, ptr %47, i64 3
  %49 = load double, ptr %48, align 8, !tbaa !11
  store double %49, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %50 = load ptr, ptr %8, align 8, !tbaa !9
  %51 = getelementptr inbounds double, ptr %50, i64 4
  %52 = load double, ptr %51, align 8, !tbaa !11
  store double %52, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %53 = load ptr, ptr %8, align 8, !tbaa !9
  %54 = getelementptr inbounds double, ptr %53, i64 5
  %55 = load double, ptr %54, align 8, !tbaa !11
  store double %55, ptr %18, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  %56 = load ptr, ptr %8, align 8, !tbaa !9
  %57 = getelementptr inbounds double, ptr %56, i64 6
  %58 = load double, ptr %57, align 8, !tbaa !11
  store double %58, ptr %19, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %59 = load double, ptr %15, align 8, !tbaa !11
  %60 = fmul double 3.333300e+00, %59
  %61 = load double, ptr %15, align 8, !tbaa !11
  %62 = load double, ptr %15, align 8, !tbaa !11
  %63 = fmul double 1.493340e+01, %62
  %64 = call double @llvm.fmuladd.f64(double %60, double %61, double %63)
  %65 = fsub double %64, 4.309340e+01
  store double %65, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %66 = load double, ptr %18, align 8, !tbaa !11
  %67 = load double, ptr %18, align 8, !tbaa !11
  %68 = load double, ptr %19, align 8, !tbaa !11
  %69 = load double, ptr %19, align 8, !tbaa !11
  %70 = fmul double %68, %69
  %71 = call double @llvm.fmuladd.f64(double %66, double %67, double %70)
  store double %71, ptr %21, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %72 = load double, ptr %18, align 8, !tbaa !11
  %73 = load double, ptr %18, align 8, !tbaa !11
  %74 = fmul double %72, %73
  %75 = load double, ptr %18, align 8, !tbaa !11
  %76 = load double, ptr %19, align 8, !tbaa !11
  %77 = load double, ptr %19, align 8, !tbaa !11
  %78 = fmul double %76, %77
  %79 = load double, ptr %19, align 8, !tbaa !11
  %80 = fmul double %78, %79
  %81 = call double @llvm.fmuladd.f64(double %74, double %75, double %80)
  store double %81, ptr %22, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #4
  %82 = load double, ptr %16, align 8, !tbaa !11
  %83 = load double, ptr %18, align 8, !tbaa !11
  %84 = fmul double %82, %83
  %85 = load double, ptr %18, align 8, !tbaa !11
  %86 = load double, ptr %17, align 8, !tbaa !11
  %87 = load double, ptr %19, align 8, !tbaa !11
  %88 = fmul double %86, %87
  %89 = load double, ptr %19, align 8, !tbaa !11
  %90 = fmul double %88, %89
  %91 = call double @llvm.fmuladd.f64(double %84, double %85, double %90)
  store double %91, ptr %23, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #4
  %92 = load double, ptr %13, align 8, !tbaa !11
  %93 = fmul double 7.854000e-01, %92
  %94 = load double, ptr %14, align 8, !tbaa !11
  %95 = fmul double %93, %94
  %96 = load double, ptr %14, align 8, !tbaa !11
  %97 = fmul double %95, %96
  %98 = load double, ptr %20, align 8, !tbaa !11
  %99 = load double, ptr %13, align 8, !tbaa !11
  %100 = fmul double 1.508000e+00, %99
  %101 = load double, ptr %21, align 8, !tbaa !11
  %102 = fmul double %100, %101
  %103 = fneg double %102
  %104 = call double @llvm.fmuladd.f64(double %97, double %98, double %103)
  %105 = load double, ptr %22, align 8, !tbaa !11
  %106 = call double @llvm.fmuladd.f64(double 7.477000e+00, double %105, double %104)
  %107 = load double, ptr %23, align 8, !tbaa !11
  %108 = call double @llvm.fmuladd.f64(double 7.854000e-01, double %107, double %106)
  store double %108, ptr %24, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #4
  %109 = load double, ptr %16, align 8, !tbaa !11
  %110 = fmul double 7.450000e+02, %109
  %111 = fmul double %110, 7.450000e+02
  %112 = load double, ptr %16, align 8, !tbaa !11
  %113 = load double, ptr %14, align 8, !tbaa !11
  %114 = fmul double 1.690000e+07, %113
  %115 = load double, ptr %14, align 8, !tbaa !11
  %116 = fmul double %114, %115
  %117 = load double, ptr %15, align 8, !tbaa !11
  %118 = fmul double %116, %117
  %119 = load double, ptr %15, align 8, !tbaa !11
  %120 = fmul double %118, %119
  %121 = call double @llvm.fmuladd.f64(double %111, double %112, double %120)
  %122 = call double @sqrt(double noundef %121) #4
  store double %122, ptr %25, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #4
  %123 = load double, ptr %17, align 8, !tbaa !11
  %124 = fmul double 7.450000e+02, %123
  %125 = fmul double %124, 7.450000e+02
  %126 = load double, ptr %17, align 8, !tbaa !11
  %127 = load double, ptr %14, align 8, !tbaa !11
  %128 = fmul double 1.575000e+08, %127
  %129 = load double, ptr %14, align 8, !tbaa !11
  %130 = fmul double %128, %129
  %131 = load double, ptr %15, align 8, !tbaa !11
  %132 = fmul double %130, %131
  %133 = load double, ptr %15, align 8, !tbaa !11
  %134 = fmul double %132, %133
  %135 = call double @llvm.fmuladd.f64(double %125, double %126, double %134)
  %136 = call double @sqrt(double noundef %135) #4
  store double %136, ptr %26, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #4
  %137 = load double, ptr %13, align 8, !tbaa !11
  %138 = load double, ptr %14, align 8, !tbaa !11
  %139 = fmul double %137, %138
  %140 = load double, ptr %14, align 8, !tbaa !11
  %141 = fmul double %139, %140
  %142 = load double, ptr %15, align 8, !tbaa !11
  %143 = fneg double %141
  %144 = call double @llvm.fmuladd.f64(double %143, double %142, double 2.700000e+01)
  store double %144, ptr %27, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #4
  %145 = load double, ptr %13, align 8, !tbaa !11
  %146 = load double, ptr %14, align 8, !tbaa !11
  %147 = fmul double %145, %146
  %148 = load double, ptr %14, align 8, !tbaa !11
  %149 = fmul double %147, %148
  %150 = load double, ptr %15, align 8, !tbaa !11
  %151 = fmul double %149, %150
  %152 = load double, ptr %15, align 8, !tbaa !11
  %153 = fneg double %151
  %154 = call double @llvm.fmuladd.f64(double %153, double %152, double 3.975000e+02)
  store double %154, ptr %28, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #4
  %155 = load double, ptr %16, align 8, !tbaa !11
  %156 = fmul double 1.930000e+00, %155
  %157 = load double, ptr %16, align 8, !tbaa !11
  %158 = fmul double %156, %157
  %159 = load double, ptr %16, align 8, !tbaa !11
  %160 = load double, ptr %14, align 8, !tbaa !11
  %161 = load double, ptr %18, align 8, !tbaa !11
  %162 = fmul double %160, %161
  %163 = load double, ptr %18, align 8, !tbaa !11
  %164 = fmul double %162, %163
  %165 = load double, ptr %18, align 8, !tbaa !11
  %166 = fmul double %164, %165
  %167 = load double, ptr %18, align 8, !tbaa !11
  %168 = fmul double %166, %167
  %169 = load double, ptr %15, align 8, !tbaa !11
  %170 = fmul double %168, %169
  %171 = fneg double %170
  %172 = call double @llvm.fmuladd.f64(double %158, double %159, double %171)
  store double %172, ptr %29, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #4
  %173 = load double, ptr %17, align 8, !tbaa !11
  %174 = fmul double 1.930000e+00, %173
  %175 = load double, ptr %17, align 8, !tbaa !11
  %176 = fmul double %174, %175
  %177 = load double, ptr %17, align 8, !tbaa !11
  %178 = load double, ptr %14, align 8, !tbaa !11
  %179 = load double, ptr %19, align 8, !tbaa !11
  %180 = fmul double %178, %179
  %181 = load double, ptr %19, align 8, !tbaa !11
  %182 = fmul double %180, %181
  %183 = load double, ptr %19, align 8, !tbaa !11
  %184 = fmul double %182, %183
  %185 = load double, ptr %19, align 8, !tbaa !11
  %186 = fmul double %184, %185
  %187 = load double, ptr %15, align 8, !tbaa !11
  %188 = fmul double %186, %187
  %189 = fneg double %188
  %190 = call double @llvm.fmuladd.f64(double %176, double %177, double %189)
  store double %190, ptr %30, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #4
  %191 = load double, ptr %25, align 8, !tbaa !11
  %192 = load double, ptr %14, align 8, !tbaa !11
  %193 = fmul double 1.100000e+02, %192
  %194 = load double, ptr %15, align 8, !tbaa !11
  %195 = fmul double %193, %194
  %196 = load double, ptr %18, align 8, !tbaa !11
  %197 = fmul double %195, %196
  %198 = load double, ptr %18, align 8, !tbaa !11
  %199 = fmul double %197, %198
  %200 = load double, ptr %18, align 8, !tbaa !11
  %201 = fneg double %199
  %202 = call double @llvm.fmuladd.f64(double %201, double %200, double %191)
  store double %202, ptr %31, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #4
  %203 = load double, ptr %26, align 8, !tbaa !11
  %204 = load double, ptr %14, align 8, !tbaa !11
  %205 = fmul double 8.500000e+01, %204
  %206 = load double, ptr %15, align 8, !tbaa !11
  %207 = fmul double %205, %206
  %208 = load double, ptr %19, align 8, !tbaa !11
  %209 = fmul double %207, %208
  %210 = load double, ptr %19, align 8, !tbaa !11
  %211 = fmul double %209, %210
  %212 = load double, ptr %19, align 8, !tbaa !11
  %213 = fneg double %211
  %214 = call double @llvm.fmuladd.f64(double %213, double %212, double %203)
  store double %214, ptr %32, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #4
  %215 = load double, ptr %14, align 8, !tbaa !11
  %216 = load double, ptr %15, align 8, !tbaa !11
  %217 = call double @llvm.fmuladd.f64(double %215, double %216, double -4.000000e+01)
  store double %217, ptr %33, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #4
  %218 = load double, ptr %14, align 8, !tbaa !11
  %219 = load double, ptr %13, align 8, !tbaa !11
  %220 = fneg double %219
  %221 = call double @llvm.fmuladd.f64(double 5.000000e+00, double %218, double %220)
  store double %221, ptr %34, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #4
  %222 = load double, ptr %13, align 8, !tbaa !11
  %223 = load double, ptr %14, align 8, !tbaa !11
  %224 = call double @llvm.fmuladd.f64(double -1.200000e+01, double %223, double %222)
  store double %224, ptr %35, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #4
  %225 = load double, ptr %18, align 8, !tbaa !11
  %226 = call double @llvm.fmuladd.f64(double 1.500000e+00, double %225, double 1.900000e+00)
  %227 = load double, ptr %16, align 8, !tbaa !11
  %228 = fsub double %226, %227
  store double %228, ptr %36, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %37) #4
  %229 = load double, ptr %19, align 8, !tbaa !11
  %230 = call double @llvm.fmuladd.f64(double 1.100000e+00, double %229, double 1.900000e+00)
  %231 = load double, ptr %17, align 8, !tbaa !11
  %232 = fsub double %230, %231
  store double %232, ptr %37, align 8, !tbaa !11
  %233 = load double, ptr %24, align 8, !tbaa !11
  %234 = load ptr, ptr %10, align 8, !tbaa !9
  %235 = getelementptr inbounds double, ptr %234, i64 0
  store double %233, ptr %235, align 8, !tbaa !11
  %236 = load double, ptr %27, align 8, !tbaa !11
  %237 = load ptr, ptr %10, align 8, !tbaa !9
  %238 = getelementptr inbounds double, ptr %237, i64 1
  store double %236, ptr %238, align 8, !tbaa !11
  %239 = load double, ptr %28, align 8, !tbaa !11
  %240 = load ptr, ptr %10, align 8, !tbaa !9
  %241 = getelementptr inbounds double, ptr %240, i64 2
  store double %239, ptr %241, align 8, !tbaa !11
  %242 = load double, ptr %29, align 8, !tbaa !11
  %243 = load ptr, ptr %10, align 8, !tbaa !9
  %244 = getelementptr inbounds double, ptr %243, i64 3
  store double %242, ptr %244, align 8, !tbaa !11
  %245 = load double, ptr %30, align 8, !tbaa !11
  %246 = load ptr, ptr %10, align 8, !tbaa !9
  %247 = getelementptr inbounds double, ptr %246, i64 4
  store double %245, ptr %247, align 8, !tbaa !11
  %248 = load double, ptr %31, align 8, !tbaa !11
  %249 = load ptr, ptr %10, align 8, !tbaa !9
  %250 = getelementptr inbounds double, ptr %249, i64 5
  store double %248, ptr %250, align 8, !tbaa !11
  %251 = load double, ptr %32, align 8, !tbaa !11
  %252 = load ptr, ptr %10, align 8, !tbaa !9
  %253 = getelementptr inbounds double, ptr %252, i64 6
  store double %251, ptr %253, align 8, !tbaa !11
  %254 = load double, ptr %33, align 8, !tbaa !11
  %255 = load ptr, ptr %10, align 8, !tbaa !9
  %256 = getelementptr inbounds double, ptr %255, i64 7
  store double %254, ptr %256, align 8, !tbaa !11
  %257 = load double, ptr %34, align 8, !tbaa !11
  %258 = load ptr, ptr %10, align 8, !tbaa !9
  %259 = getelementptr inbounds double, ptr %258, i64 8
  store double %257, ptr %259, align 8, !tbaa !11
  %260 = load double, ptr %35, align 8, !tbaa !11
  %261 = load ptr, ptr %10, align 8, !tbaa !9
  %262 = getelementptr inbounds double, ptr %261, i64 9
  store double %260, ptr %262, align 8, !tbaa !11
  %263 = load double, ptr %36, align 8, !tbaa !11
  %264 = load ptr, ptr %10, align 8, !tbaa !9
  %265 = getelementptr inbounds double, ptr %264, i64 10
  store double %263, ptr %265, align 8, !tbaa !11
  %266 = load double, ptr %37, align 8, !tbaa !11
  %267 = load ptr, ptr %10, align 8, !tbaa !9
  %268 = getelementptr inbounds double, ptr %267, i64 11
  store double %266, ptr %268, align 8, !tbaa !11
  %269 = load ptr, ptr %11, align 8, !tbaa !9
  store i8 1, ptr %269, align 1, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %37) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  ret i1 true
}

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = !{!"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 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_Bool", !7, i64 0}


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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: mustprogress nofree nounwind willreturn memory(write, argmem: readwrite) uwtable
define dso_local noundef zeroext i1 @speedreducer_bb(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, ptr nocapture noundef writeonly %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef readnone %5) local_unnamed_addr #1 {
  %7 = load double, ptr %1, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 8
  %9 = load double, ptr %8, align 8, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %1, i64 16
  %11 = load double, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %1, i64 24
  %13 = getelementptr inbounds i8, ptr %1, i64 40
  %14 = fmul double %11, 3.333300e+00
  %15 = fmul double %11, 1.493340e+01
  %16 = tail call double @llvm.fmuladd.f64(double %14, double %11, double %15)
  %17 = fadd double %16, -4.309340e+01
  %18 = fmul double %7, 7.854000e-01
  %19 = fmul double %18, %9
  %20 = fmul double %9, %19
  %21 = fmul double %7, -1.508000e+00
  %22 = fmul double %9, 1.690000e+07
  %23 = fmul double %9, %22
  %24 = fmul double %11, %23
  %25 = fmul double %11, %24
  %26 = fmul double %9, 1.575000e+08
  %27 = fmul double %9, %26
  %28 = fmul double %11, %27
  %29 = fmul double %11, %28
  %30 = fneg double %7
  %31 = fmul double %9, %30
  %32 = fneg double %9
  %33 = fmul double %9, -1.100000e+02
  %34 = fmul double %33, %11
  %35 = fmul double %9, -8.500000e+01
  %36 = fmul double %35, %11
  %37 = getelementptr inbounds i8, ptr %3, i64 16
  %38 = getelementptr inbounds i8, ptr %3, i64 32
  %39 = getelementptr inbounds i8, ptr %3, i64 48
  %40 = getelementptr inbounds i8, ptr %3, i64 64
  %41 = getelementptr inbounds i8, ptr %3, i64 80
  %42 = load <2 x double>, ptr %12, align 8, !tbaa !5
  %43 = load <2 x double>, ptr %13, align 8, !tbaa !5
  %44 = extractelement <2 x double> %43, i64 1
  %45 = fmul double %44, %44
  %46 = extractelement <2 x double> %43, i64 0
  %47 = tail call double @llvm.fmuladd.f64(double %46, double %46, double %45)
  %48 = fmul <2 x double> %43, %43
  %49 = extractelement <2 x double> %48, i64 0
  %50 = fmul double %44, %45
  %51 = tail call double @llvm.fmuladd.f64(double %49, double %46, double %50)
  %52 = extractelement <2 x double> %42, i64 0
  %53 = fmul <2 x double> %42, %43
  %54 = extractelement <2 x double> %53, i64 0
  %55 = extractelement <2 x double> %42, i64 1
  %56 = fmul double %55, %44
  %57 = fmul double %44, %56
  %58 = tail call double @llvm.fmuladd.f64(double %54, double %46, double %57)
  %59 = fmul double %21, %47
  %60 = tail call double @llvm.fmuladd.f64(double %20, double %17, double %59)
  %61 = tail call double @llvm.fmuladd.f64(double %51, double 7.477000e+00, double %60)
  %62 = fmul double %52, 7.450000e+02
  %63 = fmul double %62, 7.450000e+02
  %64 = tail call double @llvm.fmuladd.f64(double %63, double %52, double %25)
  %65 = tail call double @sqrt(double noundef %64) #4
  %66 = fmul double %55, 7.450000e+02
  %67 = fmul double %66, 7.450000e+02
  %68 = tail call double @llvm.fmuladd.f64(double %67, double %55, double %29)
  %69 = tail call double @sqrt(double noundef %68) #4
  %70 = fmul double %46, %32
  %71 = fmul double %46, %70
  %72 = fmul double %46, %71
  %73 = fmul double %46, %72
  %74 = fmul double %11, %73
  %75 = fmul double %44, %32
  %76 = fmul double %44, %75
  %77 = fmul double %44, %76
  %78 = fmul double %44, %77
  %79 = fmul double %11, %78
  %80 = fmul double %36, %44
  %81 = fmul double %44, %80
  %82 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %43, <2 x double> <double 1.500000e+00, double 1.100000e+00>, <2 x double> <double 1.900000e+00, double 1.900000e+00>)
  %83 = fsub <2 x double> %82, %42
  %84 = insertelement <2 x double> poison, double %58, i64 0
  %85 = insertelement <2 x double> %84, double %11, i64 1
  %86 = insertelement <2 x double> <double poison, double 2.700000e+01>, double %61, i64 0
  %87 = shufflevector <2 x double> %42, <2 x double> poison, <2 x i32> <i32 poison, i32 0>
  %88 = insertelement <2 x double> %87, double %9, i64 0
  %89 = insertelement <2 x double> <double poison, double 1.930000e+00>, double %31, i64 0
  %90 = fmul <2 x double> %88, %89
  %91 = insertelement <2 x double> %87, double %11, i64 0
  %92 = fmul <2 x double> %91, %90
  %93 = insertelement <2 x double> <double 3.975000e+02, double poison>, double %74, i64 1
  %94 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %92, <2 x double> %91, <2 x double> %93)
  %95 = shufflevector <2 x double> <double 7.854000e-01, double poison>, <2 x double> %90, <2 x i32> <i32 0, i32 2>
  %96 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %95, <2 x double> %85, <2 x double> %86)
  store <2 x double> %96, ptr %3, align 8, !tbaa !5
  store <2 x double> %94, ptr %37, align 8, !tbaa !5
  %97 = insertelement <2 x double> <double 1.930000e+00, double poison>, double %34, i64 1
  %98 = shufflevector <2 x double> %42, <2 x double> %43, <2 x i32> <i32 1, i32 2>
  %99 = fmul <2 x double> %97, %98
  %100 = fmul <2 x double> %98, %99
  %101 = insertelement <2 x double> poison, double %79, i64 0
  %102 = insertelement <2 x double> %101, double %65, i64 1
  %103 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %100, <2 x double> %98, <2 x double> %102)
  store <2 x double> %103, ptr %38, align 8, !tbaa !5
  %104 = insertelement <2 x double> poison, double %81, i64 0
  %105 = insertelement <2 x double> %104, double %9, i64 1
  %106 = shufflevector <2 x double> %43, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %107 = insertelement <2 x double> %106, double %11, i64 1
  %108 = insertelement <2 x double> <double poison, double -4.000000e+01>, double %69, i64 0
  %109 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %105, <2 x double> %107, <2 x double> %108)
  store <2 x double> %109, ptr %39, align 8, !tbaa !5
  %110 = insertelement <2 x double> poison, double %9, i64 0
  %111 = shufflevector <2 x double> %110, <2 x double> poison, <2 x i32> zeroinitializer
  %112 = insertelement <2 x double> poison, double %30, i64 0
  %113 = insertelement <2 x double> %112, double %7, i64 1
  %114 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %111, <2 x double> <double 5.000000e+00, double -1.200000e+01>, <2 x double> %113)
  store <2 x double> %114, ptr %40, align 8, !tbaa !5
  store <2 x double> %83, ptr %41, align 8, !tbaa !5
  store i8 1, ptr %4, align 1, !tbaa !9
  ret i1 true
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { mustprogress nofree nounwind willreturn memory(write, argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "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 speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"_Bool", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass,VectorCombinePass