; LLVM IR from csviragh/robotsim :: src (algo_spp_evol_stat)

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

%struct.sit_parameters_t = type { i32, double, double, double, double, double, double, double, i32, double }
%struct.phase_t = type { ptr, ptr, ptr, ptr, i32, i32 }
%struct.stat_utils_t = type { double, double, ptr, i32 }

@TimeElapsedNearArena = external dso_local global double, align 8
@Data_DistanceFromArena_Sum = external dso_local global double, align 8
@Data_DistanceFromArenaMin_Sum = external dso_local global double, align 8
@Data_DistanceFromArenaMax_Sum = external dso_local global double, align 8
@Data_DistanceFromArenaStd_Sum = external dso_local global double, align 8
@Data_DistanceFromArena_StDev = external dso_local global double, align 8
@Data_DistanceFromArenaMin_StDev = external dso_local global double, align 8
@Data_DistanceFromArenaMax_StDev = external dso_local global double, align 8
@Data_DistanceFromArenaStd_StDev = external dso_local global double, align 8
@n_Avg = external dso_local global double, align 8
@n_StDev = external dso_local global double, align 8
@f_DistanceFromArenaFile = external dso_local global ptr, align 8
@SaveModelSpecificStats.n = external hidden global i32, align 4
@SaveModelSpecificStats.avg = external hidden global double, align 8
@SaveModelSpecificStats.stdev = external hidden global double, align 8
@SaveModelSpecificStats.min = external hidden global double, align 8
@SaveModelSpecificStats.max = external hidden global double, align 8
@SaveModelSpecificStats.ArenaCoordinates = external hidden global [3 x double], align 16
@SaveModelSpecificStats.TempCoords = external hidden global [3 x double], align 16
@ArenaCenterX = external dso_local global double, align 8
@ArenaCenterY = external dso_local global double, align 8
@SaveModelSpecificStats.dist = external hidden global double, align 8
@ArenaShape = external dso_local global double, align 8
@ArenaRadius = external dso_local global double, align 8
@SaveModelSpecificStats.FromSide = external hidden global [3 x double], align 16
@.str.18 = external hidden unnamed_addr constant [24 x i8], align 1

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

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

declare void @VectDifference(ptr noundef, ptr noundef, ptr noundef) #2

declare double @VectAbs(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: nounwind uwtable
declare dso_local void @SaveClusterDependentParams(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: nounwind uwtable
define dso_local void @SaveModelSpecificStats(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  store double 2.000000e+222, ptr @SaveModelSpecificStats.min, align 8, !tbaa !11
  store double 0.000000e+00, ptr @SaveModelSpecificStats.max, align 8, !tbaa !11
  store double 0.000000e+00, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  store double 0.000000e+00, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %14 = load double, ptr @ArenaCenterX, align 8, !tbaa !11
  %15 = load double, ptr @ArenaCenterY, align 8, !tbaa !11
  call void @FillVect(ptr noundef @SaveModelSpecificStats.ArenaCoordinates, double noundef %14, double noundef %15, double noundef 0.000000e+00)
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %16

16:                                               ; preds = %114, %5
  %17 = load i32, ptr %11, align 4, !tbaa !9
  %18 = load ptr, ptr %10, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.sit_parameters_t, ptr %18, i32 0, i32 0
  %20 = load i32, ptr %19, align 8, !tbaa !13
  %21 = icmp slt i32 %17, %20
  br i1 %21, label %22, label %117

22:                                               ; preds = %16
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.phase_t, ptr %23, i32 0, i32 0
  %25 = load ptr, ptr %24, align 8, !tbaa !15
  %26 = load i32, ptr %11, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds ptr, ptr %25, i64 %27
  %29 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %29, ptr %12, align 8, !tbaa !5
  %30 = load double, ptr @ArenaShape, align 8, !tbaa !11
  %31 = fcmp oeq double 0.000000e+00, %30
  br i1 %31, label %32, label %45

32:                                               ; preds = %22
  %33 = load ptr, ptr %12, align 8, !tbaa !5
  call void @VectDifference(ptr noundef @SaveModelSpecificStats.TempCoords, ptr noundef @SaveModelSpecificStats.ArenaCoordinates, ptr noundef %33)
  %34 = call double @VectAbs(ptr noundef @SaveModelSpecificStats.TempCoords)
  store double %34, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  %35 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  %36 = load double, ptr @ArenaRadius, align 8, !tbaa !11
  %37 = fcmp ogt double %35, %36
  br i1 %37, label %38, label %42

38:                                               ; preds = %32
  %39 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  %40 = load double, ptr @ArenaRadius, align 8, !tbaa !11
  %41 = fsub double %39, %40
  br label %43

42:                                               ; preds = %32
  br label %43

43:                                               ; preds = %42, %38
  %44 = phi double [ %41, %38 ], [ 0.000000e+00, %42 ]
  store double %44, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  br label %88

45:                                               ; preds = %22
  %46 = load double, ptr @ArenaShape, align 8, !tbaa !11
  %47 = fcmp oeq double 1.000000e+00, %46
  br i1 %47, label %48, label %87

48:                                               ; preds = %45
  %49 = load ptr, ptr %12, align 8, !tbaa !5
  call void @VectDifference(ptr noundef @SaveModelSpecificStats.TempCoords, ptr noundef @SaveModelSpecificStats.ArenaCoordinates, ptr noundef %49)
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %82, %48
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = icmp slt i32 %51, 3
  br i1 %52, label %53, label %85

53:                                               ; preds = %50
  %54 = load i32, ptr %13, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [3 x double], ptr @SaveModelSpecificStats.TempCoords, i64 0, i64 %55
  %57 = load double, ptr %56, align 8, !tbaa !11
  %58 = load double, ptr @ArenaRadius, align 8, !tbaa !11
  %59 = fcmp olt double %57, %58
  br i1 %59, label %60, label %69

60:                                               ; preds = %53
  %61 = load i32, ptr %13, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [3 x double], ptr @SaveModelSpecificStats.TempCoords, i64 0, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !11
  %65 = load double, ptr @ArenaRadius, align 8, !tbaa !11
  %66 = fneg double %65
  %67 = fcmp ogt double %64, %66
  br i1 %67, label %68, label %69

68:                                               ; preds = %60
  br label %77

69:                                               ; preds = %60, %53
  %70 = load i32, ptr %13, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [3 x double], ptr @SaveModelSpecificStats.TempCoords, i64 0, i64 %71
  %73 = load double, ptr %72, align 8, !tbaa !11
  %74 = call double @llvm.fabs.f64(double %73)
  %75 = load double, ptr @ArenaRadius, align 8, !tbaa !11
  %76 = fsub double %74, %75
  br label %77

77:                                               ; preds = %69, %68
  %78 = phi double [ 0.000000e+00, %68 ], [ %76, %69 ]
  %79 = load i32, ptr %13, align 4, !tbaa !9
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [3 x double], ptr @SaveModelSpecificStats.FromSide, i64 0, i64 %80
  store double %78, ptr %81, align 8, !tbaa !11
  br label %82

82:                                               ; preds = %77
  %83 = load i32, ptr %13, align 4, !tbaa !9
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %13, align 4, !tbaa !9
  br label %50, !llvm.loop !17

85:                                               ; preds = %50
  %86 = call double @VectAbs(ptr noundef @SaveModelSpecificStats.FromSide)
  store double %86, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %87

87:                                               ; preds = %85, %45
  br label %88

88:                                               ; preds = %87, %43
  %89 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  %90 = fcmp ogt double %89, 0.000000e+00
  br i1 %90, label %91, label %113

91:                                               ; preds = %88
  %92 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  %93 = load double, ptr @SaveModelSpecificStats.max, align 8, !tbaa !11
  %94 = fcmp ogt double %92, %93
  br i1 %94, label %95, label %97

95:                                               ; preds = %91
  %96 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  store double %96, ptr @SaveModelSpecificStats.max, align 8, !tbaa !11
  br label %97

97:                                               ; preds = %95, %91
  %98 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  %99 = load double, ptr @SaveModelSpecificStats.min, align 8, !tbaa !11
  %100 = fcmp olt double %98, %99
  br i1 %100, label %101, label %103

101:                                              ; preds = %97
  %102 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  store double %102, ptr @SaveModelSpecificStats.min, align 8, !tbaa !11
  br label %103

103:                                              ; preds = %101, %97
  %104 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  %105 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %106 = fadd double %105, %104
  store double %106, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %107 = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !11
  %108 = call double @pow(double noundef %107, double noundef 2.000000e+00) #5
  %109 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %110 = fadd double %109, %108
  store double %110, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %111 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  br label %113

113:                                              ; preds = %103, %88
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %11, align 4, !tbaa !9
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %11, align 4, !tbaa !9
  br label %16, !llvm.loop !19

117:                                              ; preds = %16
  %118 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  %119 = sitofp i32 %118 to double
  %120 = fcmp une double %119, 0.000000e+00
  br i1 %120, label %121, label %135

121:                                              ; preds = %117
  %122 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  %123 = sitofp i32 %122 to double
  %124 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %125 = fdiv double %124, %123
  store double %125, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %126 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  %127 = sitofp i32 %126 to double
  %128 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %129 = fdiv double %128, %127
  store double %129, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %130 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %131 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %132 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %133 = fneg double %130
  %134 = call double @llvm.fmuladd.f64(double %133, double %131, double %132)
  store double %134, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  br label %136

135:                                              ; preds = %117
  store double 0.000000e+00, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  store double 0.000000e+00, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  store double 0.000000e+00, ptr @SaveModelSpecificStats.max, align 8, !tbaa !11
  store double 0.000000e+00, ptr @SaveModelSpecificStats.min, align 8, !tbaa !11
  br label %136

136:                                              ; preds = %135, %121
  %137 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %138 = fcmp olt double %137, 0.000000e+00
  br i1 %138, label %139, label %140

139:                                              ; preds = %136
  store double 0.000000e+00, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  br label %140

140:                                              ; preds = %139, %136
  %141 = load ptr, ptr %7, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.stat_utils_t, ptr %141, i32 0, i32 3
  %143 = load i32, ptr %142, align 8, !tbaa !20
  %144 = icmp eq i32 1, %143
  br i1 %144, label %145, label %166

145:                                              ; preds = %140
  %146 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %147 = fcmp ogt double %146, 0.000000e+00
  br i1 %147, label %153, label %148

148:                                              ; preds = %145
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.stat_utils_t, ptr %149, i32 0, i32 0
  %151 = load double, ptr %150, align 8, !tbaa !22
  %152 = fcmp oeq double 0.000000e+00, %151
  br i1 %152, label %153, label %165

153:                                              ; preds = %148, %145
  %154 = load ptr, ptr @f_DistanceFromArenaFile, align 8, !tbaa !5
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.stat_utils_t, ptr %155, i32 0, i32 0
  %157 = load double, ptr %156, align 8, !tbaa !22
  %158 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %159 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %160 = call double @sqrt(double noundef %159) #5
  %161 = load double, ptr @SaveModelSpecificStats.min, align 8, !tbaa !11
  %162 = load double, ptr @SaveModelSpecificStats.max, align 8, !tbaa !11
  %163 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  %164 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %154, ptr noundef @.str.18, double noundef %157, double noundef %158, double noundef %160, double noundef %161, double noundef %162, i32 noundef %163) #5
  br label %165

165:                                              ; preds = %153, %148
  br label %264

166:                                              ; preds = %140
  %167 = load ptr, ptr %7, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.stat_utils_t, ptr %167, i32 0, i32 3
  %169 = load i32, ptr %168, align 8, !tbaa !20
  %170 = icmp ne i32 %169, 3
  br i1 %170, label %179, label %171

171:                                              ; preds = %166
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.stat_utils_t, ptr %172, i32 0, i32 0
  %174 = load double, ptr %173, align 8, !tbaa !22
  %175 = load ptr, ptr %10, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.sit_parameters_t, ptr %175, i32 0, i32 9
  %177 = load double, ptr %176, align 8, !tbaa !23
  %178 = fcmp ogt double %174, %177
  br i1 %178, label %179, label %263

179:                                              ; preds = %171, %166
  %180 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %181 = fcmp ogt double %180, 0.000000e+00
  br i1 %181, label %185, label %182

182:                                              ; preds = %179
  %183 = load double, ptr @n_Avg, align 8, !tbaa !11
  %184 = fcmp oeq double 0.000000e+00, %183
  br i1 %184, label %185, label %262

185:                                              ; preds = %182, %179
  %186 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %187 = load ptr, ptr %10, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.sit_parameters_t, ptr %187, i32 0, i32 5
  %189 = load double, ptr %188, align 8, !tbaa !24
  %190 = load double, ptr @Data_DistanceFromArena_Sum, align 8, !tbaa !11
  %191 = call double @llvm.fmuladd.f64(double %186, double %189, double %190)
  store double %191, ptr @Data_DistanceFromArena_Sum, align 8, !tbaa !11
  %192 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %193 = call double @sqrt(double noundef %192) #5
  %194 = load ptr, ptr %10, align 8, !tbaa !5
  %195 = getelementptr inbounds %struct.sit_parameters_t, ptr %194, i32 0, i32 5
  %196 = load double, ptr %195, align 8, !tbaa !24
  %197 = load double, ptr @Data_DistanceFromArenaStd_Sum, align 8, !tbaa !11
  %198 = call double @llvm.fmuladd.f64(double %193, double %196, double %197)
  store double %198, ptr @Data_DistanceFromArenaStd_Sum, align 8, !tbaa !11
  %199 = load double, ptr @SaveModelSpecificStats.min, align 8, !tbaa !11
  %200 = load ptr, ptr %10, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.sit_parameters_t, ptr %200, i32 0, i32 5
  %202 = load double, ptr %201, align 8, !tbaa !24
  %203 = load double, ptr @Data_DistanceFromArenaMin_Sum, align 8, !tbaa !11
  %204 = call double @llvm.fmuladd.f64(double %199, double %202, double %203)
  store double %204, ptr @Data_DistanceFromArenaMin_Sum, align 8, !tbaa !11
  %205 = load double, ptr @SaveModelSpecificStats.max, align 8, !tbaa !11
  %206 = load ptr, ptr %10, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.sit_parameters_t, ptr %206, i32 0, i32 5
  %208 = load double, ptr %207, align 8, !tbaa !24
  %209 = load double, ptr @Data_DistanceFromArenaMax_Sum, align 8, !tbaa !11
  %210 = call double @llvm.fmuladd.f64(double %205, double %208, double %209)
  store double %210, ptr @Data_DistanceFromArenaMax_Sum, align 8, !tbaa !11
  %211 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %212 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !11
  %213 = fmul double %211, %212
  %214 = load ptr, ptr %10, align 8, !tbaa !5
  %215 = getelementptr inbounds %struct.sit_parameters_t, ptr %214, i32 0, i32 5
  %216 = load double, ptr %215, align 8, !tbaa !24
  %217 = load double, ptr @Data_DistanceFromArena_StDev, align 8, !tbaa !11
  %218 = call double @llvm.fmuladd.f64(double %213, double %216, double %217)
  store double %218, ptr @Data_DistanceFromArena_StDev, align 8, !tbaa !11
  %219 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !11
  %220 = load ptr, ptr %10, align 8, !tbaa !5
  %221 = getelementptr inbounds %struct.sit_parameters_t, ptr %220, i32 0, i32 5
  %222 = load double, ptr %221, align 8, !tbaa !24
  %223 = load double, ptr @Data_DistanceFromArenaStd_StDev, align 8, !tbaa !11
  %224 = call double @llvm.fmuladd.f64(double %219, double %222, double %223)
  store double %224, ptr @Data_DistanceFromArenaStd_StDev, align 8, !tbaa !11
  %225 = load double, ptr @SaveModelSpecificStats.min, align 8, !tbaa !11
  %226 = load double, ptr @SaveModelSpecificStats.min, align 8, !tbaa !11
  %227 = fmul double %225, %226
  %228 = load ptr, ptr %10, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.sit_parameters_t, ptr %228, i32 0, i32 5
  %230 = load double, ptr %229, align 8, !tbaa !24
  %231 = load double, ptr @Data_DistanceFromArenaMin_StDev, align 8, !tbaa !11
  %232 = call double @llvm.fmuladd.f64(double %227, double %230, double %231)
  store double %232, ptr @Data_DistanceFromArenaMin_StDev, align 8, !tbaa !11
  %233 = load double, ptr @SaveModelSpecificStats.max, align 8, !tbaa !11
  %234 = load double, ptr @SaveModelSpecificStats.max, align 8, !tbaa !11
  %235 = fmul double %233, %234
  %236 = load ptr, ptr %10, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.sit_parameters_t, ptr %236, i32 0, i32 5
  %238 = load double, ptr %237, align 8, !tbaa !24
  %239 = load double, ptr @Data_DistanceFromArenaMax_StDev, align 8, !tbaa !11
  %240 = call double @llvm.fmuladd.f64(double %235, double %238, double %239)
  store double %240, ptr @Data_DistanceFromArenaMax_StDev, align 8, !tbaa !11
  %241 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  %242 = sitofp i32 %241 to double
  %243 = load ptr, ptr %10, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.sit_parameters_t, ptr %243, i32 0, i32 5
  %245 = load double, ptr %244, align 8, !tbaa !24
  %246 = load double, ptr @n_Avg, align 8, !tbaa !11
  %247 = call double @llvm.fmuladd.f64(double %242, double %245, double %246)
  store double %247, ptr @n_Avg, align 8, !tbaa !11
  %248 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  %249 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !9
  %250 = mul nsw i32 %248, %249
  %251 = sitofp i32 %250 to double
  %252 = load ptr, ptr %10, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.sit_parameters_t, ptr %252, i32 0, i32 5
  %254 = load double, ptr %253, align 8, !tbaa !24
  %255 = load double, ptr @n_StDev, align 8, !tbaa !11
  %256 = call double @llvm.fmuladd.f64(double %251, double %254, double %255)
  store double %256, ptr @n_StDev, align 8, !tbaa !11
  %257 = load ptr, ptr %10, align 8, !tbaa !5
  %258 = getelementptr inbounds %struct.sit_parameters_t, ptr %257, i32 0, i32 5
  %259 = load double, ptr %258, align 8, !tbaa !24
  %260 = load double, ptr @TimeElapsedNearArena, align 8, !tbaa !11
  %261 = fadd double %260, %259
  store double %261, ptr @TimeElapsedNearArena, align 8, !tbaa !11
  br label %262

262:                                              ; preds = %185, %182
  br label %263

263:                                              ; preds = %262, %171
  br label %264

264:                                              ; preds = %263, %165
  %265 = load ptr, ptr %6, align 8, !tbaa !5
  %266 = load ptr, ptr %10, align 8, !tbaa !5
  %267 = load ptr, ptr %8, align 8, !tbaa !5
  %268 = load ptr, ptr %7, align 8, !tbaa !5
  call void @SaveClusterDependentParams(ptr noundef %265, ptr noundef %266, ptr noundef %267, ptr noundef %268)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  ret void
}

declare void @FillVect(ptr noundef, double noundef, double noundef, double noundef) #2

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

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

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 = { "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 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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"", !10, i64 0, !12, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !12, i64 48, !12, i64 56, !10, i64 64, !12, i64 72}
!15 = !{!16, !6, i64 0}
!16 = !{!"", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !10, i64 32, !10, i64 36}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!21, !10, i64 24}
!21 = !{!"", !12, i64 0, !12, i64 8, !6, i64 16, !10, i64 24}
!22 = !{!21, !12, i64 0}
!23 = !{!14, !12, i64 72}
!24 = !{!14, !12, i64 40}


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

@TimeElapsedNearArena = external dso_local local_unnamed_addr global double, align 8
@Data_DistanceFromArena_Sum = external dso_local local_unnamed_addr global double, align 8
@Data_DistanceFromArenaMin_Sum = external dso_local local_unnamed_addr global double, align 8
@Data_DistanceFromArenaMax_Sum = external dso_local local_unnamed_addr global double, align 8
@Data_DistanceFromArenaStd_Sum = external dso_local local_unnamed_addr global double, align 8
@Data_DistanceFromArena_StDev = external dso_local local_unnamed_addr global double, align 8
@Data_DistanceFromArenaMin_StDev = external dso_local local_unnamed_addr global double, align 8
@Data_DistanceFromArenaMax_StDev = external dso_local local_unnamed_addr global double, align 8
@Data_DistanceFromArenaStd_StDev = external dso_local local_unnamed_addr global double, align 8
@n_Avg = external dso_local local_unnamed_addr global double, align 8
@n_StDev = external dso_local local_unnamed_addr global double, align 8
@f_DistanceFromArenaFile = external dso_local local_unnamed_addr global ptr, align 8
@SaveModelSpecificStats.n = external hidden local_unnamed_addr global i32, align 4
@SaveModelSpecificStats.avg = external hidden local_unnamed_addr global double, align 8
@SaveModelSpecificStats.stdev = external hidden local_unnamed_addr global double, align 8
@SaveModelSpecificStats.min = external hidden local_unnamed_addr global double, align 8
@SaveModelSpecificStats.max = external hidden local_unnamed_addr global double, align 8
@SaveModelSpecificStats.ArenaCoordinates = external hidden global [3 x double], align 16
@SaveModelSpecificStats.TempCoords = external hidden global [3 x double], align 16
@ArenaCenterX = external dso_local local_unnamed_addr global double, align 8
@ArenaCenterY = external dso_local local_unnamed_addr global double, align 8
@SaveModelSpecificStats.dist = external hidden local_unnamed_addr global double, align 8
@ArenaShape = external dso_local local_unnamed_addr global double, align 8
@ArenaRadius = external dso_local local_unnamed_addr global double, align 8
@SaveModelSpecificStats.FromSide = external hidden global [3 x double], align 16
@.str.18 = external hidden unnamed_addr constant [24 x i8], align 1

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

declare void @VectDifference(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

declare double @VectAbs(ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @SaveClusterDependentParams(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local void @SaveModelSpecificStats(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readnone %3, ptr noundef %4) local_unnamed_addr #2 {
  store i32 0, ptr @SaveModelSpecificStats.n, align 4, !tbaa !5
  store double 2.000000e+222, ptr @SaveModelSpecificStats.min, align 8, !tbaa !9
  store double 0.000000e+00, ptr @SaveModelSpecificStats.max, align 8, !tbaa !9
  store double 0.000000e+00, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !9
  store double 0.000000e+00, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !9
  %6 = load double, ptr @ArenaCenterX, align 8, !tbaa !9
  %7 = load double, ptr @ArenaCenterY, align 8, !tbaa !9
  tail call void @FillVect(ptr noundef nonnull @SaveModelSpecificStats.ArenaCoordinates, double noundef %6, double noundef %7, double noundef 0.000000e+00) #6
  %8 = load i32, ptr %4, align 8, !tbaa !11
  %9 = icmp sgt i32 %8, 0
  br i1 %9, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %5, %62
  %indvars.iv = phi i64 [ %indvars.iv.next, %62 ], [ 0, %5 ]
  %10 = load ptr, ptr %0, align 8, !tbaa !13
  %11 = getelementptr inbounds ptr, ptr %10, i64 %indvars.iv
  %12 = load ptr, ptr %11, align 8, !tbaa !16
  %13 = load double, ptr @ArenaShape, align 8, !tbaa !9
  %14 = fcmp oeq double %13, 0.000000e+00
  br i1 %14, label %15, label %21

15:                                               ; preds = %.lr.ph
  tail call void @VectDifference(ptr noundef nonnull @SaveModelSpecificStats.TempCoords, ptr noundef nonnull @SaveModelSpecificStats.ArenaCoordinates, ptr noundef %12) #6
  %16 = tail call double @VectAbs(ptr noundef nonnull @SaveModelSpecificStats.TempCoords) #6
  %17 = load double, ptr @ArenaRadius, align 8
  %18 = fcmp ogt double %16, %17
  %19 = fsub double %16, %17
  %20 = select i1 %18, double %19, double 0.000000e+00
  store double %20, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !9
  br label %44

21:                                               ; preds = %.lr.ph
  %22 = fcmp oeq double %13, 1.000000e+00
  br i1 %22, label %23, label %thread-pre-split

23:                                               ; preds = %21
  tail call void @VectDifference(ptr noundef nonnull @SaveModelSpecificStats.TempCoords, ptr noundef nonnull @SaveModelSpecificStats.ArenaCoordinates, ptr noundef %12) #6
  %24 = load double, ptr @ArenaRadius, align 8, !tbaa !9
  %25 = fneg double %24
  %26 = load <2 x double>, ptr @SaveModelSpecificStats.TempCoords, align 16, !tbaa !9
  %27 = insertelement <2 x double> poison, double %24, i64 0
  %28 = shufflevector <2 x double> %27, <2 x double> poison, <2 x i32> zeroinitializer
  %29 = fcmp olt <2 x double> %26, %28
  %30 = insertelement <2 x double> poison, double %25, i64 0
  %31 = shufflevector <2 x double> %30, <2 x double> poison, <2 x i32> zeroinitializer
  %32 = fcmp ogt <2 x double> %26, %31
  %33 = and <2 x i1> %29, %32
  %34 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %26)
  %35 = fsub <2 x double> %34, %28
  %36 = select <2 x i1> %33, <2 x double> zeroinitializer, <2 x double> %35
  store <2 x double> %36, ptr @SaveModelSpecificStats.FromSide, align 16, !tbaa !9
  %37 = load double, ptr getelementptr inbounds (i8, ptr @SaveModelSpecificStats.TempCoords, i64 16), align 16, !tbaa !9
  %38 = fcmp olt double %37, %24
  %39 = fcmp ogt double %37, %25
  %or.cond44.2 = and i1 %38, %39
  %40 = tail call double @llvm.fabs.f64(double %37)
  %41 = fsub double %40, %24
  %42 = select i1 %or.cond44.2, double 0.000000e+00, double %41
  store double %42, ptr getelementptr inbounds (i8, ptr @SaveModelSpecificStats.FromSide, i64 16), align 16, !tbaa !9
  %43 = tail call double @VectAbs(ptr noundef nonnull @SaveModelSpecificStats.FromSide) #6
  store double %43, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !9
  br label %44

thread-pre-split:                                 ; preds = %21
  %.pr = load double, ptr @SaveModelSpecificStats.dist, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %thread-pre-split, %23, %15
  %45 = phi double [ %.pr, %thread-pre-split ], [ %43, %23 ], [ %20, %15 ]
  %46 = fcmp ogt double %45, 0.000000e+00
  br i1 %46, label %47, label %62

47:                                               ; preds = %44
  %48 = load double, ptr @SaveModelSpecificStats.max, align 8, !tbaa !9
  %49 = fcmp ogt double %45, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %47
  store double %45, ptr @SaveModelSpecificStats.max, align 8, !tbaa !9
  br label %51

51:                                               ; preds = %50, %47
  %52 = load double, ptr @SaveModelSpecificStats.min, align 8, !tbaa !9
  %53 = fcmp olt double %45, %52
  br i1 %53, label %54, label %55

54:                                               ; preds = %51
  store double %45, ptr @SaveModelSpecificStats.min, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %54, %51
  %56 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !9
  %57 = fadd double %45, %56
  store double %57, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !9
  %square = fmul double %45, %45
  %58 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !9
  %59 = fadd double %square, %58
  store double %59, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !9
  %60 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !5
  %61 = add nsw i32 %60, 1
  store i32 %61, ptr @SaveModelSpecificStats.n, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %44, %55
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %63 = load i32, ptr %4, align 8, !tbaa !11
  %64 = sext i32 %63 to i64
  %65 = icmp slt i64 %indvars.iv.next, %64
  br i1 %65, label %.lr.ph, label %._crit_edge, !llvm.loop !17

._crit_edge:                                      ; preds = %62, %5
  %66 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !5
  %.not = icmp eq i32 %66, 0
  br i1 %.not, label %.thread, label %67

.thread:                                          ; preds = %._crit_edge
  store double 0.000000e+00, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !9
  store double 0.000000e+00, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !9
  store double 0.000000e+00, ptr @SaveModelSpecificStats.max, align 8, !tbaa !9
  br label %.sink.split

67:                                               ; preds = %._crit_edge
  %68 = sitofp i32 %66 to double
  %69 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !9
  %70 = fdiv double %69, %68
  store double %70, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !9
  %71 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !9
  %72 = fdiv double %71, %68
  %73 = fneg double %70
  %74 = tail call double @llvm.fmuladd.f64(double %73, double %70, double %72)
  store double %74, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !9
  %75 = fcmp olt double %74, 0.000000e+00
  br i1 %75, label %.sink.split, label %76

.sink.split:                                      ; preds = %67, %.thread
  %SaveModelSpecificStats.min.sink = phi ptr [ @SaveModelSpecificStats.min, %.thread ], [ @SaveModelSpecificStats.stdev, %67 ]
  %.ph = phi double [ 0.000000e+00, %.thread ], [ %70, %67 ]
  store double 0.000000e+00, ptr %SaveModelSpecificStats.min.sink, align 8, !tbaa !9
  br label %76

76:                                               ; preds = %.sink.split, %67
  %77 = phi double [ %74, %67 ], [ 0.000000e+00, %.sink.split ]
  %78 = phi double [ %70, %67 ], [ %.ph, %.sink.split ]
  %79 = getelementptr inbounds i8, ptr %1, i64 24
  %80 = load i32, ptr %79, align 8, !tbaa !19
  switch i32 %80, label %96 [
    i32 1, label %81
    i32 3, label %91
  ]

81:                                               ; preds = %76
  %82 = fcmp ogt double %78, 0.000000e+00
  %.pre = load double, ptr %1, align 8, !tbaa !21
  %83 = fcmp oeq double %.pre, 0.000000e+00
  %or.cond49 = select i1 %82, i1 true, i1 %83
  br i1 %or.cond49, label %84, label %138

84:                                               ; preds = %81
  %85 = load ptr, ptr @f_DistanceFromArenaFile, align 8, !tbaa !16
  %86 = tail call double @sqrt(double noundef %77) #6
  %87 = load double, ptr @SaveModelSpecificStats.min, align 8, !tbaa !9
  %88 = load double, ptr @SaveModelSpecificStats.max, align 8, !tbaa !9
  %89 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !5
  %90 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %85, ptr noundef nonnull @.str.18, double noundef %.pre, double noundef %78, double noundef %86, double noundef %87, double noundef %88, i32 noundef %89) #6
  br label %138

91:                                               ; preds = %76
  %92 = load double, ptr %1, align 8, !tbaa !21
  %93 = getelementptr inbounds i8, ptr %4, i64 72
  %94 = load double, ptr %93, align 8, !tbaa !22
  %95 = fcmp ogt double %92, %94
  br i1 %95, label %96, label %138

96:                                               ; preds = %76, %91
  %97 = fcmp ogt double %78, 0.000000e+00
  %98 = load double, ptr @n_Avg, align 8
  %99 = fcmp oeq double %98, 0.000000e+00
  %or.cond = select i1 %97, i1 true, i1 %99
  br i1 %or.cond, label %100, label %138

100:                                              ; preds = %96
  %101 = getelementptr inbounds i8, ptr %4, i64 40
  %102 = load double, ptr %101, align 8, !tbaa !23
  %103 = load double, ptr @Data_DistanceFromArena_Sum, align 8, !tbaa !9
  %104 = tail call double @llvm.fmuladd.f64(double %78, double %102, double %103)
  store double %104, ptr @Data_DistanceFromArena_Sum, align 8, !tbaa !9
  %105 = tail call double @sqrt(double noundef %77) #6
  %106 = load double, ptr %101, align 8, !tbaa !23
  %107 = load double, ptr @Data_DistanceFromArenaStd_Sum, align 8, !tbaa !9
  %108 = tail call double @llvm.fmuladd.f64(double %105, double %106, double %107)
  store double %108, ptr @Data_DistanceFromArenaStd_Sum, align 8, !tbaa !9
  %109 = load double, ptr @SaveModelSpecificStats.min, align 8, !tbaa !9
  %110 = load double, ptr @Data_DistanceFromArenaMin_Sum, align 8, !tbaa !9
  %111 = tail call double @llvm.fmuladd.f64(double %109, double %106, double %110)
  store double %111, ptr @Data_DistanceFromArenaMin_Sum, align 8, !tbaa !9
  %112 = load double, ptr @SaveModelSpecificStats.max, align 8, !tbaa !9
  %113 = load double, ptr @Data_DistanceFromArenaMax_Sum, align 8, !tbaa !9
  %114 = tail call double @llvm.fmuladd.f64(double %112, double %106, double %113)
  store double %114, ptr @Data_DistanceFromArenaMax_Sum, align 8, !tbaa !9
  %115 = load double, ptr @SaveModelSpecificStats.avg, align 8, !tbaa !9
  %116 = fmul double %115, %115
  %117 = load double, ptr @Data_DistanceFromArena_StDev, align 8, !tbaa !9
  %118 = tail call double @llvm.fmuladd.f64(double %116, double %106, double %117)
  store double %118, ptr @Data_DistanceFromArena_StDev, align 8, !tbaa !9
  %119 = load double, ptr @SaveModelSpecificStats.stdev, align 8, !tbaa !9
  %120 = load double, ptr @Data_DistanceFromArenaStd_StDev, align 8, !tbaa !9
  %121 = tail call double @llvm.fmuladd.f64(double %119, double %106, double %120)
  store double %121, ptr @Data_DistanceFromArenaStd_StDev, align 8, !tbaa !9
  %122 = fmul double %109, %109
  %123 = load double, ptr @Data_DistanceFromArenaMin_StDev, align 8, !tbaa !9
  %124 = tail call double @llvm.fmuladd.f64(double %122, double %106, double %123)
  store double %124, ptr @Data_DistanceFromArenaMin_StDev, align 8, !tbaa !9
  %125 = fmul double %112, %112
  %126 = load double, ptr @Data_DistanceFromArenaMax_StDev, align 8, !tbaa !9
  %127 = tail call double @llvm.fmuladd.f64(double %125, double %106, double %126)
  store double %127, ptr @Data_DistanceFromArenaMax_StDev, align 8, !tbaa !9
  %128 = load i32, ptr @SaveModelSpecificStats.n, align 4, !tbaa !5
  %129 = sitofp i32 %128 to double
  %130 = load double, ptr @n_Avg, align 8, !tbaa !9
  %131 = tail call double @llvm.fmuladd.f64(double %129, double %106, double %130)
  store double %131, ptr @n_Avg, align 8, !tbaa !9
  %132 = mul nsw i32 %128, %128
  %133 = uitofp nneg i32 %132 to double
  %134 = load double, ptr @n_StDev, align 8, !tbaa !9
  %135 = tail call double @llvm.fmuladd.f64(double %133, double %106, double %134)
  store double %135, ptr @n_StDev, align 8, !tbaa !9
  %136 = load double, ptr @TimeElapsedNearArena, align 8, !tbaa !9
  %137 = fadd double %106, %136
  store double %137, ptr @TimeElapsedNearArena, align 8, !tbaa !9
  br label %138

138:                                              ; preds = %81, %91, %96, %100, %84
  tail call void @SaveClusterDependentParams(ptr noundef %0, ptr noundef nonnull %4, ptr noundef %2, ptr noundef nonnull %1)
  ret void
}

declare void @FillVect(ptr noundef, double noundef, double noundef, double noundef) local_unnamed_addr #1

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

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

attributes #0 = { 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 #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 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"", !6, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !6, i64 64, !10, i64 72}
!13 = !{!14, !15, i64 0}
!14 = !{!"", !15, i64 0, !15, i64 8, !15, i64 16, !15, i64 24, !6, i64 32, !6, i64 36}
!15 = !{!"any pointer", !7, i64 0}
!16 = !{!15, !15, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!20, !6, i64 24}
!20 = !{!"", !10, i64 0, !10, i64 8, !15, i64 16, !6, i64 24}
!21 = !{!20, !10, i64 0}
!22 = !{!12, !10, i64 72}
!23 = !{!12, !10, i64 40}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass