; LLVM IR from buresjan/optim_lbm :: nomad/examples/advanced/library/Restart_VNS/problems/7_WILD3/bb.ll (Z5dfoxsiidPd)

; 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: nounwind
declare double @sqrt(double noundef) #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5dfoxsiidPd(i32 noundef %0, i32 noundef %1, double noundef %2, ptr noundef %3) #2 {
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  store i32 %0, ptr %5, align 4, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !5
  store double %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %13 = load i32, ptr %6, align 4, !tbaa !5
  switch i32 %13, label %235 [
    i32 1, label %14
    i32 2, label %14
    i32 3, label %14
    i32 8, label %14
    i32 19, label %14
    i32 4, label %28
    i32 5, label %33
    i32 6, label %49
    i32 7, label %58
    i32 9, label %63
    i32 10, label %72
    i32 11, label %79
    i32 16, label %79
    i32 20, label %79
    i32 12, label %93
    i32 13, label %100
    i32 14, label %105
    i32 15, label %114
    i32 17, label %135
    i32 18, label %146
    i32 21, label %169
    i32 22, label %218
  ]

14:                                               ; preds = %4, %4, %4, %4, %4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %24, %14
  %16 = load i32, ptr %9, align 4, !tbaa !5
  %17 = load i32, ptr %5, align 4, !tbaa !5
  %18 = icmp slt i32 %16, %17
  br i1 %18, label %19, label %27

19:                                               ; preds = %15
  %20 = load ptr, ptr %8, align 8, !tbaa !11
  %21 = load i32, ptr %9, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds double, ptr %20, i64 %22
  store double 1.000000e+00, ptr %23, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %19
  %25 = load i32, ptr %9, align 4, !tbaa !5
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %9, align 4, !tbaa !5
  br label %15, !llvm.loop !13

27:                                               ; preds = %15
  br label %235

28:                                               ; preds = %4
  %29 = load ptr, ptr %8, align 8, !tbaa !11
  %30 = getelementptr inbounds double, ptr %29, i64 0
  store double -1.200000e+00, ptr %30, align 8, !tbaa !9
  %31 = load ptr, ptr %8, align 8, !tbaa !11
  %32 = getelementptr inbounds double, ptr %31, i64 1
  store double 1.000000e+00, ptr %32, align 8, !tbaa !9
  br label %235

33:                                               ; preds = %4
  %34 = load ptr, ptr %8, align 8, !tbaa !11
  %35 = getelementptr inbounds double, ptr %34, i64 0
  store double -1.000000e+00, ptr %35, align 8, !tbaa !9
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %36

36:                                               ; preds = %45, %33
  %37 = load i32, ptr %9, align 4, !tbaa !5
  %38 = load i32, ptr %5, align 4, !tbaa !5
  %39 = icmp slt i32 %37, %38
  br i1 %39, label %40, label %48

40:                                               ; preds = %36
  %41 = load ptr, ptr %8, align 8, !tbaa !11
  %42 = load i32, ptr %9, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds double, ptr %41, i64 %43
  store double 0.000000e+00, ptr %44, align 8, !tbaa !9
  br label %45

45:                                               ; preds = %40
  %46 = load i32, ptr %9, align 4, !tbaa !5
  %47 = add nsw i32 %46, 1
  store i32 %47, ptr %9, align 4, !tbaa !5
  br label %36, !llvm.loop !15

48:                                               ; preds = %36
  br label %235

49:                                               ; preds = %4
  %50 = load ptr, ptr %8, align 8, !tbaa !11
  %51 = getelementptr inbounds double, ptr %50, i64 0
  store double 3.000000e+00, ptr %51, align 8, !tbaa !9
  %52 = load ptr, ptr %8, align 8, !tbaa !11
  %53 = getelementptr inbounds double, ptr %52, i64 1
  store double -1.000000e+00, ptr %53, align 8, !tbaa !9
  %54 = load ptr, ptr %8, align 8, !tbaa !11
  %55 = getelementptr inbounds double, ptr %54, i64 2
  store double 0.000000e+00, ptr %55, align 8, !tbaa !9
  %56 = load ptr, ptr %8, align 8, !tbaa !11
  %57 = getelementptr inbounds double, ptr %56, i64 3
  store double 1.000000e+00, ptr %57, align 8, !tbaa !9
  br label %235

58:                                               ; preds = %4
  %59 = load ptr, ptr %8, align 8, !tbaa !11
  %60 = getelementptr inbounds double, ptr %59, i64 0
  store double 5.000000e-01, ptr %60, align 8, !tbaa !9
  %61 = load ptr, ptr %8, align 8, !tbaa !11
  %62 = getelementptr inbounds double, ptr %61, i64 1
  store double -2.000000e+00, ptr %62, align 8, !tbaa !9
  br label %235

63:                                               ; preds = %4
  %64 = load ptr, ptr %8, align 8, !tbaa !11
  %65 = getelementptr inbounds double, ptr %64, i64 0
  store double 2.500000e-01, ptr %65, align 8, !tbaa !9
  %66 = load ptr, ptr %8, align 8, !tbaa !11
  %67 = getelementptr inbounds double, ptr %66, i64 1
  store double 3.900000e-01, ptr %67, align 8, !tbaa !9
  %68 = load ptr, ptr %8, align 8, !tbaa !11
  %69 = getelementptr inbounds double, ptr %68, i64 2
  store double 4.150000e-01, ptr %69, align 8, !tbaa !9
  %70 = load ptr, ptr %8, align 8, !tbaa !11
  %71 = getelementptr inbounds double, ptr %70, i64 3
  store double 3.900000e-01, ptr %71, align 8, !tbaa !9
  br label %235

72:                                               ; preds = %4
  %73 = load ptr, ptr %8, align 8, !tbaa !11
  %74 = getelementptr inbounds double, ptr %73, i64 0
  store double 2.000000e-02, ptr %74, align 8, !tbaa !9
  %75 = load ptr, ptr %8, align 8, !tbaa !11
  %76 = getelementptr inbounds double, ptr %75, i64 1
  store double 4.000000e+03, ptr %76, align 8, !tbaa !9
  %77 = load ptr, ptr %8, align 8, !tbaa !11
  %78 = getelementptr inbounds double, ptr %77, i64 2
  store double 2.500000e+02, ptr %78, align 8, !tbaa !9
  br label %235

79:                                               ; preds = %4, %4, %4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %89, %79
  %81 = load i32, ptr %9, align 4, !tbaa !5
  %82 = load i32, ptr %5, align 4, !tbaa !5
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %84, label %92

84:                                               ; preds = %80
  %85 = load ptr, ptr %8, align 8, !tbaa !11
  %86 = load i32, ptr %9, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds double, ptr %85, i64 %87
  store double 5.000000e-01, ptr %88, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %84
  %90 = load i32, ptr %9, align 4, !tbaa !5
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %9, align 4, !tbaa !5
  br label %80, !llvm.loop !16

92:                                               ; preds = %80
  br label %235

93:                                               ; preds = %4
  %94 = load ptr, ptr %8, align 8, !tbaa !11
  %95 = getelementptr inbounds double, ptr %94, i64 0
  store double 0.000000e+00, ptr %95, align 8, !tbaa !9
  %96 = load ptr, ptr %8, align 8, !tbaa !11
  %97 = getelementptr inbounds double, ptr %96, i64 1
  store double 1.000000e+01, ptr %97, align 8, !tbaa !9
  %98 = load ptr, ptr %8, align 8, !tbaa !11
  %99 = getelementptr inbounds double, ptr %98, i64 2
  store double 2.000000e+01, ptr %99, align 8, !tbaa !9
  br label %235

100:                                              ; preds = %4
  %101 = load ptr, ptr %8, align 8, !tbaa !11
  %102 = getelementptr inbounds double, ptr %101, i64 0
  store double 3.000000e-01, ptr %102, align 8, !tbaa !9
  %103 = load ptr, ptr %8, align 8, !tbaa !11
  %104 = getelementptr inbounds double, ptr %103, i64 1
  store double 4.000000e-01, ptr %104, align 8, !tbaa !9
  br label %235

105:                                              ; preds = %4
  %106 = load ptr, ptr %8, align 8, !tbaa !11
  %107 = getelementptr inbounds double, ptr %106, i64 0
  store double 2.500000e+01, ptr %107, align 8, !tbaa !9
  %108 = load ptr, ptr %8, align 8, !tbaa !11
  %109 = getelementptr inbounds double, ptr %108, i64 1
  store double 5.000000e+00, ptr %109, align 8, !tbaa !9
  %110 = load ptr, ptr %8, align 8, !tbaa !11
  %111 = getelementptr inbounds double, ptr %110, i64 2
  store double -5.000000e+00, ptr %111, align 8, !tbaa !9
  %112 = load ptr, ptr %8, align 8, !tbaa !11
  %113 = getelementptr inbounds double, ptr %112, i64 3
  store double -1.000000e+00, ptr %113, align 8, !tbaa !9
  br label %235

114:                                              ; preds = %4
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %115

115:                                              ; preds = %131, %114
  %116 = load i32, ptr %9, align 4, !tbaa !5
  %117 = load i32, ptr %5, align 4, !tbaa !5
  %118 = icmp sle i32 %116, %117
  br i1 %118, label %119, label %134

119:                                              ; preds = %115
  %120 = load i32, ptr %9, align 4, !tbaa !5
  %121 = sitofp i32 %120 to double
  %122 = load i32, ptr %5, align 4, !tbaa !5
  %123 = sitofp i32 %122 to double
  %124 = fadd double %123, 1.000000e+00
  %125 = fdiv double %121, %124
  %126 = load ptr, ptr %8, align 8, !tbaa !11
  %127 = load i32, ptr %9, align 4, !tbaa !5
  %128 = sub nsw i32 %127, 1
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %126, i64 %129
  store double %125, ptr %130, align 8, !tbaa !9
  br label %131

131:                                              ; preds = %119
  %132 = load i32, ptr %9, align 4, !tbaa !5
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %9, align 4, !tbaa !5
  br label %115, !llvm.loop !17

134:                                              ; preds = %115
  br label %235

135:                                              ; preds = %4
  %136 = load ptr, ptr %8, align 8, !tbaa !11
  %137 = getelementptr inbounds double, ptr %136, i64 0
  store double 5.000000e-01, ptr %137, align 8, !tbaa !9
  %138 = load ptr, ptr %8, align 8, !tbaa !11
  %139 = getelementptr inbounds double, ptr %138, i64 1
  store double 1.500000e+00, ptr %139, align 8, !tbaa !9
  %140 = load ptr, ptr %8, align 8, !tbaa !11
  %141 = getelementptr inbounds double, ptr %140, i64 2
  store double 1.000000e+00, ptr %141, align 8, !tbaa !9
  %142 = load ptr, ptr %8, align 8, !tbaa !11
  %143 = getelementptr inbounds double, ptr %142, i64 3
  store double 1.000000e-02, ptr %143, align 8, !tbaa !9
  %144 = load ptr, ptr %8, align 8, !tbaa !11
  %145 = getelementptr inbounds double, ptr %144, i64 4
  store double 2.000000e-02, ptr %145, align 8, !tbaa !9
  br label %235

146:                                              ; preds = %4
  %147 = load ptr, ptr %8, align 8, !tbaa !11
  %148 = getelementptr inbounds double, ptr %147, i64 0
  store double 1.300000e+00, ptr %148, align 8, !tbaa !9
  %149 = load ptr, ptr %8, align 8, !tbaa !11
  %150 = getelementptr inbounds double, ptr %149, i64 1
  store double 6.500000e-01, ptr %150, align 8, !tbaa !9
  %151 = load ptr, ptr %8, align 8, !tbaa !11
  %152 = getelementptr inbounds double, ptr %151, i64 2
  store double 6.500000e-01, ptr %152, align 8, !tbaa !9
  %153 = load ptr, ptr %8, align 8, !tbaa !11
  %154 = getelementptr inbounds double, ptr %153, i64 3
  store double 0x3FE6666666666666, ptr %154, align 8, !tbaa !9
  %155 = load ptr, ptr %8, align 8, !tbaa !11
  %156 = getelementptr inbounds double, ptr %155, i64 4
  store double 6.000000e-01, ptr %156, align 8, !tbaa !9
  %157 = load ptr, ptr %8, align 8, !tbaa !11
  %158 = getelementptr inbounds double, ptr %157, i64 5
  store double 3.000000e+00, ptr %158, align 8, !tbaa !9
  %159 = load ptr, ptr %8, align 8, !tbaa !11
  %160 = getelementptr inbounds double, ptr %159, i64 6
  store double 5.000000e+00, ptr %160, align 8, !tbaa !9
  %161 = load ptr, ptr %8, align 8, !tbaa !11
  %162 = getelementptr inbounds double, ptr %161, i64 7
  store double 7.000000e+00, ptr %162, align 8, !tbaa !9
  %163 = load ptr, ptr %8, align 8, !tbaa !11
  %164 = getelementptr inbounds double, ptr %163, i64 8
  store double 2.000000e+00, ptr %164, align 8, !tbaa !9
  %165 = load ptr, ptr %8, align 8, !tbaa !11
  %166 = getelementptr inbounds double, ptr %165, i64 9
  store double 4.500000e+00, ptr %166, align 8, !tbaa !9
  %167 = load ptr, ptr %8, align 8, !tbaa !11
  %168 = getelementptr inbounds double, ptr %167, i64 10
  store double 5.500000e+00, ptr %168, align 8, !tbaa !9
  br label %235

169:                                              ; preds = %4
  store i32 1, ptr %9, align 4, !tbaa !5
  br label %170

170:                                              ; preds = %214, %169
  %171 = load i32, ptr %9, align 4, !tbaa !5
  %172 = load i32, ptr %5, align 4, !tbaa !5
  %173 = icmp sle i32 %171, %172
  br i1 %173, label %174, label %217

174:                                              ; preds = %170
  store double 0.000000e+00, ptr %11, align 8, !tbaa !9
  store i32 1, ptr %10, align 4, !tbaa !5
  br label %175

175:                                              ; preds = %199, %174
  %176 = load i32, ptr %10, align 4, !tbaa !5
  %177 = load i32, ptr %5, align 4, !tbaa !5
  %178 = icmp sle i32 %176, %177
  br i1 %178, label %179, label %202

179:                                              ; preds = %175
  %180 = load i32, ptr %9, align 4, !tbaa !5
  %181 = sitofp i32 %180 to double
  store double %181, ptr %12, align 8, !tbaa !9
  %182 = load double, ptr %12, align 8, !tbaa !9
  %183 = load i32, ptr %10, align 4, !tbaa !5
  %184 = sitofp i32 %183 to double
  %185 = fdiv double %182, %184
  %186 = call double @sqrt(double noundef %185) #5
  store double %186, ptr %12, align 8, !tbaa !9
  %187 = load double, ptr %12, align 8, !tbaa !9
  %188 = load double, ptr %12, align 8, !tbaa !9
  %189 = call double @log(double noundef %188) #5
  %190 = call double @sin(double noundef %189) #5
  %191 = call double @pow(double noundef %190, double noundef 5.000000e+00) #5
  %192 = load double, ptr %12, align 8, !tbaa !9
  %193 = call double @log(double noundef %192) #5
  %194 = call double @cos(double noundef %193) #5
  %195 = call double @pow(double noundef %194, double noundef 5.000000e+00) #5
  %196 = fadd double %191, %195
  %197 = load double, ptr %11, align 8, !tbaa !9
  %198 = call double @llvm.fmuladd.f64(double %187, double %196, double %197)
  store double %198, ptr %11, align 8, !tbaa !9
  br label %199

199:                                              ; preds = %179
  %200 = load i32, ptr %10, align 4, !tbaa !5
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %10, align 4, !tbaa !5
  br label %175, !llvm.loop !18

202:                                              ; preds = %175
  %203 = load i32, ptr %9, align 4, !tbaa !5
  %204 = sub nsw i32 %203, 50
  %205 = call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef %204, double noundef 3.000000e+00)
  %206 = load double, ptr %11, align 8, !tbaa !9
  %207 = fadd double %205, %206
  %208 = fmul double 0xBF4C8B50259354B4, %207
  %209 = load ptr, ptr %8, align 8, !tbaa !11
  %210 = load i32, ptr %9, align 4, !tbaa !5
  %211 = sub nsw i32 %210, 1
  %212 = sext i32 %211 to i64
  %213 = getelementptr inbounds double, ptr %209, i64 %212
  store double %208, ptr %213, align 8, !tbaa !9
  br label %214

214:                                              ; preds = %202
  %215 = load i32, ptr %9, align 4, !tbaa !5
  %216 = add nsw i32 %215, 1
  store i32 %216, ptr %9, align 4, !tbaa !5
  br label %170, !llvm.loop !19

217:                                              ; preds = %170
  br label %235

218:                                              ; preds = %4
  %219 = load ptr, ptr %8, align 8, !tbaa !11
  %220 = getelementptr inbounds double, ptr %219, i64 0
  store double -3.000000e-01, ptr %220, align 8, !tbaa !9
  %221 = load ptr, ptr %8, align 8, !tbaa !11
  %222 = getelementptr inbounds double, ptr %221, i64 1
  store double -3.900000e-01, ptr %222, align 8, !tbaa !9
  %223 = load ptr, ptr %8, align 8, !tbaa !11
  %224 = getelementptr inbounds double, ptr %223, i64 2
  store double 3.000000e-01, ptr %224, align 8, !tbaa !9
  %225 = load ptr, ptr %8, align 8, !tbaa !11
  %226 = getelementptr inbounds double, ptr %225, i64 3
  store double -3.440000e-01, ptr %226, align 8, !tbaa !9
  %227 = load ptr, ptr %8, align 8, !tbaa !11
  %228 = getelementptr inbounds double, ptr %227, i64 4
  store double -1.200000e+00, ptr %228, align 8, !tbaa !9
  %229 = load ptr, ptr %8, align 8, !tbaa !11
  %230 = getelementptr inbounds double, ptr %229, i64 5
  store double 2.690000e+00, ptr %230, align 8, !tbaa !9
  %231 = load ptr, ptr %8, align 8, !tbaa !11
  %232 = getelementptr inbounds double, ptr %231, i64 6
  store double 1.590000e+00, ptr %232, align 8, !tbaa !9
  %233 = load ptr, ptr %8, align 8, !tbaa !11
  %234 = getelementptr inbounds double, ptr %233, i64 7
  store double -1.500000e+00, ptr %234, align 8, !tbaa !9
  br label %235

235:                                              ; preds = %218, %217, %146, %135, %134, %105, %100, %93, %92, %72, %63, %58, %49, %48, %28, %27, %4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %236

236:                                              ; preds = %248, %235
  %237 = load i32, ptr %9, align 4, !tbaa !5
  %238 = load i32, ptr %5, align 4, !tbaa !5
  %239 = icmp slt i32 %237, %238
  br i1 %239, label %240, label %251

240:                                              ; preds = %236
  %241 = load double, ptr %7, align 8, !tbaa !9
  %242 = load ptr, ptr %8, align 8, !tbaa !11
  %243 = load i32, ptr %9, align 4, !tbaa !5
  %244 = sext i32 %243 to i64
  %245 = getelementptr inbounds double, ptr %242, i64 %244
  %246 = load double, ptr %245, align 8, !tbaa !9
  %247 = fmul double %246, %241
  store double %247, ptr %245, align 8, !tbaa !9
  br label %248

248:                                              ; preds = %240
  %249 = load i32, ptr %9, align 4, !tbaa !5
  %250 = add nsw i32 %249, 1
  store i32 %250, ptr %9, align 4, !tbaa !5
  br label %236, !llvm.loop !20

251:                                              ; preds = %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret void
}

; Function Attrs: nounwind
declare double @pow(double noundef, double noundef) #0

; Function Attrs: nounwind
declare double @sin(double noundef) #0

; Function Attrs: nounwind
declare double @log(double noundef) #0

; Function Attrs: nounwind
declare double @cos(double noundef) #0

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef, double noundef) #4

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint mustprogress 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !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}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !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"

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z5dfoxsiidPd(i32 noundef %0, i32 noundef %1, double noundef %2, ptr nocapture noundef %3) local_unnamed_addr #0 {
  switch i32 %1, label %.loopexit [
    i32 1, label %14
    i32 2, label %14
    i32 3, label %14
    i32 8, label %14
    i32 19, label %14
    i32 4, label %20
    i32 5, label %21
    i32 6, label %26
    i32 7, label %28
    i32 9, label %29
    i32 10, label %31
    i32 11, label %32
    i32 16, label %32
    i32 20, label %32
    i32 12, label %38
    i32 13, label %39
    i32 14, label %40
    i32 15, label %.preheader
    i32 17, label %45
    i32 18, label %47
    i32 21, label %.preheader104
    i32 22, label %71
  ]

.preheader104:                                    ; preds = %4
  %invariant.gep = getelementptr i8, ptr %3, i64 -8
  %.not109 = icmp slt i32 %0, 1
  br i1 %.not109, label %._crit_edge127, label %.preheader103.preheader

.preheader103.preheader:                          ; preds = %.preheader104
  %5 = add nuw i32 %0, 1
  %wide.trip.count = zext i32 %5 to i64
  br label %.preheader103

.preheader:                                       ; preds = %4
  %invariant.gep111 = getelementptr i8, ptr %3, i64 -8
  %.not99113 = icmp slt i32 %0, 1
  br i1 %.not99113, label %._crit_edge127, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %6 = add nuw i32 %0, 1
  %7 = uitofp i32 %6 to double
  %8 = add nuw i32 %0, 1
  %wide.trip.count137 = zext i32 %8 to i64
  %9 = zext nneg i32 %0 to i64
  %min.iters.check = icmp eq i32 %0, 1
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

scalar.ph.preheader:                              ; preds = %middle.block, %.lr.ph
  %indvars.iv134.ph = phi i64 [ 1, %.lr.ph ], [ %ind.end, %middle.block ]
  br label %scalar.ph

vector.ph:                                        ; preds = %.lr.ph
  %n.vec = and i64 %9, 2147483646
  %ind.end = or i64 %9, 1
  %broadcast.splatinsert = insertelement <2 x double> poison, double %7, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %vec.ind = phi <2 x i32> [ <i32 1, i32 2>, %vector.ph ], [ %vec.ind.next, %vector.body ]
  %10 = uitofp <2 x i32> %vec.ind to <2 x double>
  %11 = fdiv <2 x double> %10, %broadcast.splat
  %12 = getelementptr double, ptr %3, i64 %index
  store <2 x double> %11, ptr %12, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 2
  %vec.ind.next = add <2 x i32> %vec.ind, <i32 2, i32 2>
  %13 = icmp eq i64 %index.next, %n.vec
  br i1 %13, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %9
  br i1 %cmp.n, label %.loopexit, label %scalar.ph.preheader

14:                                               ; preds = %4, %4, %4, %4, %4
  %15 = icmp sgt i32 %0, 0
  br i1 %15, label %.lr.ph123.preheader, label %._crit_edge127

.lr.ph123.preheader:                              ; preds = %14
  %wide.trip.count150 = zext nneg i32 %0 to i64
  %min.iters.check179 = icmp ult i32 %0, 4
  br i1 %min.iters.check179, label %.lr.ph123.preheader203, label %vector.ph180

vector.ph180:                                     ; preds = %.lr.ph123.preheader
  %n.vec182 = and i64 %wide.trip.count150, 2147483644
  br label %vector.body184

vector.body184:                                   ; preds = %vector.body184, %vector.ph180
  %index185 = phi i64 [ 0, %vector.ph180 ], [ %index.next186, %vector.body184 ]
  %16 = getelementptr inbounds double, ptr %3, i64 %index185
  %17 = getelementptr inbounds i8, ptr %16, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %16, align 8, !tbaa !5
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %17, align 8, !tbaa !5
  %index.next186 = add nuw i64 %index185, 4
  %18 = icmp eq i64 %index.next186, %n.vec182
  br i1 %18, label %middle.block177, label %vector.body184, !llvm.loop !13

middle.block177:                                  ; preds = %vector.body184
  %cmp.n187 = icmp eq i64 %n.vec182, %wide.trip.count150
  br i1 %cmp.n187, label %.loopexit, label %.lr.ph123.preheader203

.lr.ph123.preheader203:                           ; preds = %middle.block177, %.lr.ph123.preheader
  %indvars.iv147.ph = phi i64 [ 0, %.lr.ph123.preheader ], [ %n.vec182, %middle.block177 ]
  br label %.lr.ph123

.lr.ph123:                                        ; preds = %.lr.ph123.preheader203, %.lr.ph123
  %indvars.iv147 = phi i64 [ %indvars.iv.next148, %.lr.ph123 ], [ %indvars.iv147.ph, %.lr.ph123.preheader203 ]
  %19 = getelementptr inbounds double, ptr %3, i64 %indvars.iv147
  store double 1.000000e+00, ptr %19, align 8, !tbaa !5
  %indvars.iv.next148 = add nuw nsw i64 %indvars.iv147, 1
  %exitcond151.not = icmp eq i64 %indvars.iv.next148, %wide.trip.count150
  br i1 %exitcond151.not, label %.loopexit, label %.lr.ph123, !llvm.loop !14

20:                                               ; preds = %4
  store double -1.200000e+00, ptr %3, align 8, !tbaa !5
  br label %.loopexit.sink.split

21:                                               ; preds = %4
  store double -1.000000e+00, ptr %3, align 8, !tbaa !5
  %22 = icmp sgt i32 %0, 1
  br i1 %22, label %.loopexit.thread157, label %.loopexit

.loopexit.thread157:                              ; preds = %21
  %scevgep = getelementptr i8, ptr %3, i64 8
  %23 = add nsw i32 %0, -1
  %24 = zext nneg i32 %23 to i64
  %25 = shl nuw nsw i64 %24, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %scevgep, i8 0, i64 %25, i1 false), !tbaa !5
  br label %.lr.ph126.preheader

26:                                               ; preds = %4
  store <2 x double> <double 3.000000e+00, double -1.000000e+00>, ptr %3, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %3, i64 16
  store double 0.000000e+00, ptr %27, align 8, !tbaa !5
  br label %.loopexit.sink.split

28:                                               ; preds = %4
  store double 5.000000e-01, ptr %3, align 8, !tbaa !5
  br label %.loopexit.sink.split

29:                                               ; preds = %4
  store <2 x double> <double 2.500000e-01, double 3.900000e-01>, ptr %3, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %3, i64 16
  store double 4.150000e-01, ptr %30, align 8, !tbaa !5
  br label %.loopexit.sink.split

31:                                               ; preds = %4
  store <2 x double> <double 2.000000e-02, double 4.000000e+03>, ptr %3, align 8, !tbaa !5
  br label %.loopexit.sink.split

32:                                               ; preds = %4, %4, %4
  %33 = icmp sgt i32 %0, 0
  br i1 %33, label %.lr.ph117.preheader, label %._crit_edge127

.lr.ph117.preheader:                              ; preds = %32
  %wide.trip.count142 = zext nneg i32 %0 to i64
  %min.iters.check168 = icmp ult i32 %0, 4
  br i1 %min.iters.check168, label %.lr.ph117.preheader204, label %vector.ph169

vector.ph169:                                     ; preds = %.lr.ph117.preheader
  %n.vec171 = and i64 %wide.trip.count142, 2147483644
  br label %vector.body173

vector.body173:                                   ; preds = %vector.body173, %vector.ph169
  %index174 = phi i64 [ 0, %vector.ph169 ], [ %index.next175, %vector.body173 ]
  %34 = getelementptr inbounds double, ptr %3, i64 %index174
  %35 = getelementptr inbounds i8, ptr %34, i64 16
  store <2 x double> <double 5.000000e-01, double 5.000000e-01>, ptr %34, align 8, !tbaa !5
  store <2 x double> <double 5.000000e-01, double 5.000000e-01>, ptr %35, align 8, !tbaa !5
  %index.next175 = add nuw i64 %index174, 4
  %36 = icmp eq i64 %index.next175, %n.vec171
  br i1 %36, label %middle.block166, label %vector.body173, !llvm.loop !15

middle.block166:                                  ; preds = %vector.body173
  %cmp.n176 = icmp eq i64 %n.vec171, %wide.trip.count142
  br i1 %cmp.n176, label %.loopexit, label %.lr.ph117.preheader204

.lr.ph117.preheader204:                           ; preds = %middle.block166, %.lr.ph117.preheader
  %indvars.iv139.ph = phi i64 [ 0, %.lr.ph117.preheader ], [ %n.vec171, %middle.block166 ]
  br label %.lr.ph117

.lr.ph117:                                        ; preds = %.lr.ph117.preheader204, %.lr.ph117
  %indvars.iv139 = phi i64 [ %indvars.iv.next140, %.lr.ph117 ], [ %indvars.iv139.ph, %.lr.ph117.preheader204 ]
  %37 = getelementptr inbounds double, ptr %3, i64 %indvars.iv139
  store double 5.000000e-01, ptr %37, align 8, !tbaa !5
  %indvars.iv.next140 = add nuw nsw i64 %indvars.iv139, 1
  %exitcond143.not = icmp eq i64 %indvars.iv.next140, %wide.trip.count142
  br i1 %exitcond143.not, label %.loopexit, label %.lr.ph117, !llvm.loop !16

38:                                               ; preds = %4
  store <2 x double> <double 0.000000e+00, double 1.000000e+01>, ptr %3, align 8, !tbaa !5
  br label %.loopexit.sink.split

39:                                               ; preds = %4
  store double 3.000000e-01, ptr %3, align 8, !tbaa !5
  br label %.loopexit.sink.split

40:                                               ; preds = %4
  store <2 x double> <double 2.500000e+01, double 5.000000e+00>, ptr %3, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %3, i64 16
  store double -5.000000e+00, ptr %41, align 8, !tbaa !5
  br label %.loopexit.sink.split

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv134 = phi i64 [ %indvars.iv.next135, %scalar.ph ], [ %indvars.iv134.ph, %scalar.ph.preheader ]
  %42 = trunc nuw nsw i64 %indvars.iv134 to i32
  %43 = uitofp nneg i32 %42 to double
  %44 = fdiv double %43, %7
  %gep112 = getelementptr double, ptr %invariant.gep111, i64 %indvars.iv134
  store double %44, ptr %gep112, align 8, !tbaa !5
  %indvars.iv.next135 = add nuw nsw i64 %indvars.iv134, 1
  %exitcond138.not = icmp eq i64 %indvars.iv.next135, %wide.trip.count137
  br i1 %exitcond138.not, label %.loopexit, label %scalar.ph, !llvm.loop !17

45:                                               ; preds = %4
  store <2 x double> <double 5.000000e-01, double 1.500000e+00>, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %3, i64 16
  store <2 x double> <double 1.000000e+00, double 1.000000e-02>, ptr %46, align 8, !tbaa !5
  br label %.loopexit.sink.split

47:                                               ; preds = %4
  store <2 x double> <double 1.300000e+00, double 6.500000e-01>, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %3, i64 16
  store <2 x double> <double 6.500000e-01, double 0x3FE6666666666666>, ptr %48, align 8, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %3, i64 32
  store <2 x double> <double 6.000000e-01, double 3.000000e+00>, ptr %49, align 8, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %3, i64 48
  store <2 x double> <double 5.000000e+00, double 7.000000e+00>, ptr %50, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %3, i64 64
  store <2 x double> <double 2.000000e+00, double 4.500000e+00>, ptr %51, align 8, !tbaa !5
  br label %.loopexit.sink.split

.preheader103:                                    ; preds = %.preheader103.preheader, %._crit_edge
  %indvars.iv = phi i64 [ 1, %.preheader103.preheader ], [ %indvars.iv.next, %._crit_edge ]
  %52 = trunc nuw nsw i64 %indvars.iv to i32
  %53 = uitofp nneg i32 %52 to double
  br label %54

54:                                               ; preds = %.preheader103, %54
  %.094108 = phi double [ 0.000000e+00, %.preheader103 ], [ %64, %54 ]
  %.095107 = phi i32 [ 1, %.preheader103 ], [ %65, %54 ]
  %55 = uitofp nneg i32 %.095107 to double
  %56 = fdiv double %53, %55
  %sqrt = tail call double @llvm.sqrt.f64(double %56)
  %57 = tail call double @log(double noundef %sqrt) #6
  %58 = tail call double @sin(double noundef %57) #6
  %59 = tail call double @pow(double noundef %58, double noundef 5.000000e+00) #6
  %60 = tail call double @log(double noundef %sqrt) #6
  %61 = tail call double @cos(double noundef %60) #6
  %62 = tail call double @pow(double noundef %61, double noundef 5.000000e+00) #6
  %63 = fadd double %59, %62
  %64 = tail call double @llvm.fmuladd.f64(double %sqrt, double %63, double %.094108)
  %65 = add nuw i32 %.095107, 1
  %exitcond.not = icmp eq i32 %.095107, %0
  br i1 %exitcond.not, label %._crit_edge, label %54, !llvm.loop !18

._crit_edge:                                      ; preds = %54
  %66 = trunc i64 %indvars.iv to i32
  %67 = add i32 %66, -50
  %68 = tail call noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef %67, double noundef 3.000000e+00)
  %69 = fadd double %64, %68
  %70 = fmul double %69, 0xBF4C8B50259354B4
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv
  store double %70, ptr %gep, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond133.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond133.not, label %.loopexit, label %.preheader103, !llvm.loop !19

71:                                               ; preds = %4
  store <2 x double> <double -3.000000e-01, double -3.900000e-01>, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds i8, ptr %3, i64 16
  store <2 x double> <double 3.000000e-01, double -3.440000e-01>, ptr %72, align 8, !tbaa !5
  %73 = getelementptr inbounds i8, ptr %3, i64 32
  store <2 x double> <double -1.200000e+00, double 2.690000e+00>, ptr %73, align 8, !tbaa !5
  %74 = getelementptr inbounds i8, ptr %3, i64 48
  store double 1.590000e+00, ptr %74, align 8, !tbaa !5
  br label %.loopexit.sink.split

.loopexit.sink.split:                             ; preds = %20, %26, %28, %29, %31, %38, %39, %40, %45, %47, %71
  %.sink162 = phi i64 [ 56, %71 ], [ 80, %47 ], [ 32, %45 ], [ 24, %40 ], [ 8, %39 ], [ 16, %38 ], [ 16, %31 ], [ 24, %29 ], [ 8, %28 ], [ 24, %26 ], [ 8, %20 ]
  %.sink = phi double [ -1.500000e+00, %71 ], [ 5.500000e+00, %47 ], [ 2.000000e-02, %45 ], [ -1.000000e+00, %40 ], [ 4.000000e-01, %39 ], [ 2.000000e+01, %38 ], [ 2.500000e+02, %31 ], [ 3.900000e-01, %29 ], [ -2.000000e+00, %28 ], [ 1.000000e+00, %26 ], [ 1.000000e+00, %20 ]
  %75 = getelementptr inbounds i8, ptr %3, i64 %.sink162
  store double %.sink, ptr %75, align 8, !tbaa !5
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge, %scalar.ph, %.lr.ph117, %.lr.ph123, %middle.block, %middle.block166, %middle.block177, %.loopexit.sink.split, %21, %4
  %76 = icmp sgt i32 %0, 0
  br i1 %76, label %.lr.ph126.preheader, label %._crit_edge127

.lr.ph126.preheader:                              ; preds = %.loopexit.thread157, %.loopexit
  %wide.trip.count155 = zext nneg i32 %0 to i64
  %min.iters.check190 = icmp ult i32 %0, 4
  br i1 %min.iters.check190, label %.lr.ph126.preheader202, label %vector.ph191

vector.ph191:                                     ; preds = %.lr.ph126.preheader
  %n.vec193 = and i64 %wide.trip.count155, 2147483644
  %broadcast.splatinsert198 = insertelement <2 x double> poison, double %2, i64 0
  %broadcast.splat199 = shufflevector <2 x double> %broadcast.splatinsert198, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body195

vector.body195:                                   ; preds = %vector.body195, %vector.ph191
  %index196 = phi i64 [ 0, %vector.ph191 ], [ %index.next200, %vector.body195 ]
  %77 = getelementptr inbounds double, ptr %3, i64 %index196
  %78 = getelementptr inbounds i8, ptr %77, i64 16
  %wide.load = load <2 x double>, ptr %77, align 8, !tbaa !5
  %wide.load197 = load <2 x double>, ptr %78, align 8, !tbaa !5
  %79 = fmul <2 x double> %wide.load, %broadcast.splat199
  %80 = fmul <2 x double> %wide.load197, %broadcast.splat199
  store <2 x double> %79, ptr %77, align 8, !tbaa !5
  store <2 x double> %80, ptr %78, align 8, !tbaa !5
  %index.next200 = add nuw i64 %index196, 4
  %81 = icmp eq i64 %index.next200, %n.vec193
  br i1 %81, label %middle.block188, label %vector.body195, !llvm.loop !20

middle.block188:                                  ; preds = %vector.body195
  %cmp.n201 = icmp eq i64 %n.vec193, %wide.trip.count155
  br i1 %cmp.n201, label %._crit_edge127, label %.lr.ph126.preheader202

.lr.ph126.preheader202:                           ; preds = %middle.block188, %.lr.ph126.preheader
  %indvars.iv152.ph = phi i64 [ 0, %.lr.ph126.preheader ], [ %n.vec193, %middle.block188 ]
  br label %.lr.ph126

.lr.ph126:                                        ; preds = %.lr.ph126.preheader202, %.lr.ph126
  %indvars.iv152 = phi i64 [ %indvars.iv.next153, %.lr.ph126 ], [ %indvars.iv152.ph, %.lr.ph126.preheader202 ]
  %82 = getelementptr inbounds double, ptr %3, i64 %indvars.iv152
  %83 = load double, ptr %82, align 8, !tbaa !5
  %84 = fmul double %83, %2
  store double %84, ptr %82, align 8, !tbaa !5
  %indvars.iv.next153 = add nuw nsw i64 %indvars.iv152, 1
  %exitcond156.not = icmp eq i64 %indvars.iv.next153, %wide.trip.count155
  br i1 %exitcond156.not, label %._crit_edge127, label %.lr.ph126, !llvm.loop !21

._crit_edge127:                                   ; preds = %.lr.ph126, %middle.block188, %14, %32, %.preheader, %.preheader104, %.loopexit
  ret void
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @pow(double noundef, double noundef) local_unnamed_addr #1

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

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIidEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(i32 noundef, double noundef) local_unnamed_addr #3

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

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

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { inlinehint mustprogress 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !11, !12}
!14 = distinct !{!14, !10, !12, !11}
!15 = distinct !{!15, !10, !11, !12}
!16 = distinct !{!16, !10, !12, !11}
!17 = distinct !{!17, !10, !12, !11}
!18 = distinct !{!18, !10}
!19 = distinct !{!19, !10}
!20 = distinct !{!20, !10, !11, !12}
!21 = distinct !{!21, !10, !12, !11}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass