; LLVM IR from softmin/ReHLine-SVM :: liblinear/newton.ll (ZN6NEWTON3pcgEPdS0_S0_S0_)

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

%class.NEWTON = type { double, double, i32, ptr, ptr }

@.str.6 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [46 x i8], align 1

; 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 { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #1

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #2

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6NEWTON4infoEPKcz(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ...) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6NEWTON3pcgEPdS0_S0_S0_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #4 align 2 {
  %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 i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca double, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, 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 ptr, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca i32, align 4
  %29 = 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
  %30 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 1, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %31 = getelementptr inbounds %class.NEWTON, ptr %30, i32 0, i32 3
  %32 = load ptr, ptr %31, align 8, !tbaa !11
  %33 = load ptr, ptr %32, align 8, !tbaa !14
  %34 = getelementptr inbounds ptr, ptr %33, i64 3
  %35 = load ptr, ptr %34, align 8
  %36 = call noundef i32 %35(ptr noundef nonnull align 8 dereferenceable(8) %32)
  store i32 %36, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store double 1.000000e+00, ptr %14, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %37 = load i32, ptr %13, align 4, !tbaa !9
  %38 = sext i32 %37 to i64
  %39 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %38, i64 8)
  %40 = extractvalue { i64, i1 } %39, 1
  %41 = extractvalue { i64, i1 } %39, 0
  %42 = select i1 %40, i64 -1, i64 %41
  %43 = call noalias noundef nonnull ptr @_Znam(i64 noundef %42) #9
  store ptr %43, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %44 = load i32, ptr %13, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %45, i64 8)
  %47 = extractvalue { i64, i1 } %46, 1
  %48 = extractvalue { i64, i1 } %46, 0
  %49 = select i1 %47, i64 -1, i64 %48
  %50 = call noalias noundef nonnull ptr @_Znam(i64 noundef %49) #9
  store ptr %50, ptr %16, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = sext i32 %51 to i64
  %53 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %52, i64 8)
  %54 = extractvalue { i64, i1 } %53, 1
  %55 = extractvalue { i64, i1 } %53, 0
  %56 = select i1 %54, i64 -1, i64 %55
  %57 = call noalias noundef nonnull ptr @_Znam(i64 noundef %56) #9
  store ptr %57, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  store double 0.000000e+00, ptr %24, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %101, %5
  %59 = load i32, ptr %11, align 4, !tbaa !9
  %60 = load i32, ptr %13, align 4, !tbaa !9
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %62, label %104

62:                                               ; preds = %58
  %63 = load ptr, ptr %9, align 8, !tbaa !5
  %64 = load i32, ptr %11, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds double, ptr %63, i64 %65
  store double 0.000000e+00, ptr %66, align 8, !tbaa !16
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds double, ptr %67, i64 %69
  %71 = load double, ptr %70, align 8, !tbaa !16
  %72 = fneg double %71
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = load i32, ptr %11, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds double, ptr %73, i64 %75
  store double %72, ptr %76, align 8, !tbaa !16
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = load i32, ptr %11, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds double, ptr %77, i64 %79
  %81 = load double, ptr %80, align 8, !tbaa !16
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = load i32, ptr %11, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds double, ptr %82, i64 %84
  %86 = load double, ptr %85, align 8, !tbaa !16
  %87 = fdiv double %81, %86
  %88 = load ptr, ptr %23, align 8, !tbaa !5
  %89 = load i32, ptr %11, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds double, ptr %88, i64 %90
  store double %87, ptr %91, align 8, !tbaa !16
  %92 = load ptr, ptr %23, align 8, !tbaa !5
  %93 = load i32, ptr %11, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds double, ptr %92, i64 %94
  %96 = load double, ptr %95, align 8, !tbaa !16
  %97 = load ptr, ptr %15, align 8, !tbaa !5
  %98 = load i32, ptr %11, align 4, !tbaa !9
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds double, ptr %97, i64 %99
  store double %96, ptr %100, align 8, !tbaa !16
  br label %101

101:                                              ; preds = %62
  %102 = load i32, ptr %11, align 4, !tbaa !9
  %103 = add nsw i32 %102, 1
  store i32 %103, ptr %11, align 4, !tbaa !9
  br label %58, !llvm.loop !17

104:                                              ; preds = %58
  %105 = load ptr, ptr %23, align 8, !tbaa !5
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = call double @ddot_(ptr noundef %13, ptr noundef %105, ptr noundef %12, ptr noundef %106, ptr noundef %12)
  store double %107, ptr %17, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  %108 = load double, ptr %17, align 8, !tbaa !16
  %109 = call double @sqrt(double noundef %108) #8
  store double %109, ptr %27, align 8, !tbaa !16
  %110 = getelementptr inbounds %class.NEWTON, ptr %30, i32 0, i32 1
  %111 = load double, ptr %110, align 8, !tbaa !19
  %112 = load double, ptr %27, align 8, !tbaa !16
  %113 = call double @sqrt(double noundef %112) #8
  %114 = call noundef double @_ZL3minIdET_S0_S0_(double noundef %111, double noundef %113)
  store double %114, ptr %21, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %115 = load i32, ptr %13, align 4, !tbaa !9
  %116 = call noundef i32 @_ZL3maxIiET_S0_S0_(i32 noundef %115, i32 noundef 5)
  store i32 %116, ptr %29, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %202, %104
  %118 = load i32, ptr %28, align 4, !tbaa !9
  %119 = load i32, ptr %29, align 4, !tbaa !9
  %120 = icmp slt i32 %118, %119
  br i1 %120, label %121, label %215

121:                                              ; preds = %117
  %122 = load i32, ptr %28, align 4, !tbaa !9
  %123 = add nsw i32 %122, 1
  store i32 %123, ptr %28, align 4, !tbaa !9
  %124 = getelementptr inbounds %class.NEWTON, ptr %30, i32 0, i32 3
  %125 = load ptr, ptr %124, align 8, !tbaa !11
  %126 = load ptr, ptr %15, align 8, !tbaa !5
  %127 = load ptr, ptr %16, align 8, !tbaa !5
  %128 = load ptr, ptr %125, align 8, !tbaa !14
  %129 = getelementptr inbounds ptr, ptr %128, i64 2
  %130 = load ptr, ptr %129, align 8
  call void %130(ptr noundef nonnull align 8 dereferenceable(8) %125, ptr noundef %126, ptr noundef %127)
  %131 = load ptr, ptr %15, align 8, !tbaa !5
  %132 = load ptr, ptr %16, align 8, !tbaa !5
  %133 = call double @ddot_(ptr noundef %13, ptr noundef %131, ptr noundef %12, ptr noundef %132, ptr noundef %12)
  store double %133, ptr %22, align 8, !tbaa !16
  %134 = load double, ptr %22, align 8, !tbaa !16
  %135 = fcmp ole double %134, 0x3C9CD2B297D889BC
  br i1 %135, label %136, label %137

136:                                              ; preds = %121
  br label %215

137:                                              ; preds = %121
  %138 = load double, ptr %17, align 8, !tbaa !16
  %139 = load double, ptr %22, align 8, !tbaa !16
  %140 = fdiv double %138, %139
  store double %140, ptr %19, align 8, !tbaa !16
  %141 = load ptr, ptr %15, align 8, !tbaa !5
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = call i32 @daxpy_(ptr noundef %13, ptr noundef %19, ptr noundef %141, ptr noundef %12, ptr noundef %142, ptr noundef %12)
  %144 = load double, ptr %19, align 8, !tbaa !16
  %145 = fneg double %144
  store double %145, ptr %19, align 8, !tbaa !16
  %146 = load ptr, ptr %16, align 8, !tbaa !5
  %147 = load ptr, ptr %10, align 8, !tbaa !5
  %148 = call i32 @daxpy_(ptr noundef %13, ptr noundef %19, ptr noundef %146, ptr noundef %12, ptr noundef %147, ptr noundef %12)
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = load ptr, ptr %10, align 8, !tbaa !5
  %151 = call double @ddot_(ptr noundef %13, ptr noundef %149, ptr noundef %12, ptr noundef %150, ptr noundef %12)
  %152 = load ptr, ptr %9, align 8, !tbaa !5
  %153 = load ptr, ptr %7, align 8, !tbaa !5
  %154 = call double @ddot_(ptr noundef %13, ptr noundef %152, ptr noundef %12, ptr noundef %153, ptr noundef %12)
  %155 = fsub double %151, %154
  %156 = fmul double -5.000000e-01, %155
  store double %156, ptr %25, align 8, !tbaa !16
  %157 = load double, ptr %25, align 8, !tbaa !16
  %158 = load double, ptr %24, align 8, !tbaa !16
  %159 = fsub double %157, %158
  store double %159, ptr %26, align 8, !tbaa !16
  %160 = load double, ptr %25, align 8, !tbaa !16
  %161 = fcmp ole double %160, 0.000000e+00
  br i1 %161, label %162, label %176

162:                                              ; preds = %137
  %163 = load double, ptr %26, align 8, !tbaa !16
  %164 = fcmp ole double %163, 0.000000e+00
  br i1 %164, label %165, label %176

165:                                              ; preds = %162
  %166 = load i32, ptr %28, align 4, !tbaa !9
  %167 = sitofp i32 %166 to double
  %168 = load double, ptr %26, align 8, !tbaa !16
  %169 = fmul double %167, %168
  %170 = load double, ptr %21, align 8, !tbaa !16
  %171 = load double, ptr %25, align 8, !tbaa !16
  %172 = fmul double %170, %171
  %173 = fcmp oge double %169, %172
  br i1 %173, label %174, label %175

174:                                              ; preds = %165
  br label %215

175:                                              ; preds = %165
  br label %177

176:                                              ; preds = %162, %137
  call void (ptr, ptr, ...) @_ZN6NEWTON4infoEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef @.str.6)
  br label %215

177:                                              ; preds = %175
  %178 = load double, ptr %25, align 8, !tbaa !16
  store double %178, ptr %24, align 8, !tbaa !16
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %179

179:                                              ; preds = %199, %177
  %180 = load i32, ptr %11, align 4, !tbaa !9
  %181 = load i32, ptr %13, align 4, !tbaa !9
  %182 = icmp slt i32 %180, %181
  br i1 %182, label %183, label %202

183:                                              ; preds = %179
  %184 = load ptr, ptr %10, align 8, !tbaa !5
  %185 = load i32, ptr %11, align 4, !tbaa !9
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds double, ptr %184, i64 %186
  %188 = load double, ptr %187, align 8, !tbaa !16
  %189 = load ptr, ptr %8, align 8, !tbaa !5
  %190 = load i32, ptr %11, align 4, !tbaa !9
  %191 = sext i32 %190 to i64
  %192 = getelementptr inbounds double, ptr %189, i64 %191
  %193 = load double, ptr %192, align 8, !tbaa !16
  %194 = fdiv double %188, %193
  %195 = load ptr, ptr %23, align 8, !tbaa !5
  %196 = load i32, ptr %11, align 4, !tbaa !9
  %197 = sext i32 %196 to i64
  %198 = getelementptr inbounds double, ptr %195, i64 %197
  store double %194, ptr %198, align 8, !tbaa !16
  br label %199

199:                                              ; preds = %183
  %200 = load i32, ptr %11, align 4, !tbaa !9
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %11, align 4, !tbaa !9
  br label %179, !llvm.loop !20

202:                                              ; preds = %179
  %203 = load ptr, ptr %23, align 8, !tbaa !5
  %204 = load ptr, ptr %10, align 8, !tbaa !5
  %205 = call double @ddot_(ptr noundef %13, ptr noundef %203, ptr noundef %12, ptr noundef %204, ptr noundef %12)
  store double %205, ptr %18, align 8, !tbaa !16
  %206 = load double, ptr %18, align 8, !tbaa !16
  %207 = load double, ptr %17, align 8, !tbaa !16
  %208 = fdiv double %206, %207
  store double %208, ptr %20, align 8, !tbaa !16
  %209 = load ptr, ptr %15, align 8, !tbaa !5
  %210 = call i32 @dscal_(ptr noundef %13, ptr noundef %20, ptr noundef %209, ptr noundef %12)
  %211 = load ptr, ptr %23, align 8, !tbaa !5
  %212 = load ptr, ptr %15, align 8, !tbaa !5
  %213 = call i32 @daxpy_(ptr noundef %13, ptr noundef %14, ptr noundef %211, ptr noundef %12, ptr noundef %212, ptr noundef %12)
  %214 = load double, ptr %18, align 8, !tbaa !16
  store double %214, ptr %17, align 8, !tbaa !16
  br label %117, !llvm.loop !21

215:                                              ; preds = %176, %174, %136, %117
  %216 = load i32, ptr %28, align 4, !tbaa !9
  %217 = load i32, ptr %29, align 4, !tbaa !9
  %218 = icmp eq i32 %216, %217
  br i1 %218, label %219, label %220

219:                                              ; preds = %215
  call void (ptr, ptr, ...) @_ZN6NEWTON4infoEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %30, ptr noundef @.str.7)
  br label %220

220:                                              ; preds = %219, %215
  %221 = load ptr, ptr %15, align 8, !tbaa !5
  %222 = icmp eq ptr %221, null
  br i1 %222, label %224, label %223

223:                                              ; preds = %220
  call void @_ZdaPv(ptr noundef %221) #10
  br label %224

224:                                              ; preds = %223, %220
  %225 = load ptr, ptr %16, align 8, !tbaa !5
  %226 = icmp eq ptr %225, null
  br i1 %226, label %228, label %227

227:                                              ; preds = %224
  call void @_ZdaPv(ptr noundef %225) #10
  br label %228

228:                                              ; preds = %227, %224
  %229 = load ptr, ptr %23, align 8, !tbaa !5
  %230 = icmp eq ptr %229, null
  br i1 %230, label %232, label %231

231:                                              ; preds = %228
  call void @_ZdaPv(ptr noundef %229) #10
  br label %232

232:                                              ; preds = %231, %228
  %233 = load i32, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #8
  ret i32 %233
}

declare double @ddot_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZL3minIdET_S0_S0_(double noundef, double noundef) #7

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3maxIiET_S0_S0_(i32 noundef, i32 noundef) #7

declare i32 @daxpy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

declare i32 @dscal_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #5

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nobuiltin allocsize(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 = { nobuiltin 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 = { 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 #5 = { "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 #6 = { 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 #7 = { 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 #8 = { nounwind }
attributes #9 = { builtin allocsize(0) }
attributes #10 = { builtin 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 24}
!12 = !{!"_ZTS6NEWTON", !13, i64 0, !13, i64 8, !10, i64 16, !6, i64 24, !6, i64 32}
!13 = !{!"double", !7, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"vtable pointer", !8, i64 0}
!16 = !{!13, !13, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!12, !13, i64 8}
!20 = distinct !{!20, !18}
!21 = distinct !{!21, !18}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str.6 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [46 x i8], align 1

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #1

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6NEWTON4infoEPKcz(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef, ...) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN6NEWTON3pcgEPdS0_S0_S0_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %1, ptr nocapture noundef readonly %2, ptr noundef %3, ptr noundef %4) local_unnamed_addr #3 align 2 {
  %6 = ptrtoint ptr %2 to i64
  %7 = ptrtoint ptr %1 to i64
  %8 = ptrtoint ptr %3 to i64
  %9 = ptrtoint ptr %4 to i64
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #7
  store i32 1, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #7
  %15 = getelementptr inbounds i8, ptr %0, i64 24
  %16 = load ptr, ptr %15, align 8, !tbaa !9
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  %18 = getelementptr inbounds i8, ptr %17, i64 24
  %19 = load ptr, ptr %18, align 8
  %20 = tail call noundef i32 %19(ptr noundef nonnull align 8 dereferenceable(8) %16)
  store i32 %20, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #7
  store double 1.000000e+00, ptr %12, align 8, !tbaa !15
  %21 = zext i32 %20 to i64
  %22 = icmp slt i32 %20, 0
  %23 = shl nuw nsw i64 %21, 3
  %24 = select i1 %22, i64 -1, i64 %23
  %25 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %24) #8
  %26 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %24) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #7
  %27 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %24) #8
  %28 = icmp sgt i32 %20, 0
  br i1 %28, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %5
  %min.iters.check = icmp ult i32 %20, 4
  br i1 %min.iters.check, label %.lr.ph.preheader131, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %29 = sub i64 %9, %8
  %diff.check = icmp ult i64 %29, 16
  %30 = sub i64 %7, %8
  %diff.check107 = icmp ult i64 %30, 16
  %conflict.rdx = or i1 %diff.check, %diff.check107
  %31 = sub i64 %6, %8
  %diff.check108 = icmp ult i64 %31, 16
  %conflict.rdx109 = or i1 %conflict.rdx, %diff.check108
  %32 = sub i64 %9, %7
  %diff.check110 = icmp ult i64 %32, 16
  %conflict.rdx111 = or i1 %conflict.rdx109, %diff.check110
  %33 = sub i64 %6, %9
  %diff.check112 = icmp ult i64 %33, 16
  %conflict.rdx113 = or i1 %conflict.rdx111, %diff.check112
  br i1 %conflict.rdx113, label %.lr.ph.preheader131, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %21, 2147483646
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %34 = getelementptr inbounds double, ptr %3, i64 %index
  store <2 x double> zeroinitializer, ptr %34, align 8, !tbaa !15
  %35 = getelementptr inbounds double, ptr %1, i64 %index
  %wide.load = load <2 x double>, ptr %35, align 8, !tbaa !15
  %36 = fneg <2 x double> %wide.load
  %37 = getelementptr inbounds double, ptr %4, i64 %index
  store <2 x double> %36, ptr %37, align 8, !tbaa !15
  %38 = getelementptr inbounds double, ptr %2, i64 %index
  %wide.load114 = load <2 x double>, ptr %38, align 8, !tbaa !15
  %39 = fdiv <2 x double> %36, %wide.load114
  %40 = getelementptr inbounds double, ptr %27, i64 %index
  store <2 x double> %39, ptr %40, align 8, !tbaa !15
  %41 = getelementptr inbounds double, ptr %25, i64 %index
  store <2 x double> %39, ptr %41, align 8, !tbaa !15
  %index.next = add nuw i64 %index, 2
  %42 = icmp eq i64 %index.next, %n.vec
  br i1 %42, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %21
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader131

.lr.ph.preheader131:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %21, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader131
  %43 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.ph
  store double 0.000000e+00, ptr %43, align 8, !tbaa !15
  %44 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.ph
  %45 = load double, ptr %44, align 8, !tbaa !15
  %46 = fneg double %45
  %47 = getelementptr inbounds double, ptr %4, i64 %indvars.iv.ph
  store double %46, ptr %47, align 8, !tbaa !15
  %48 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.ph
  %49 = load double, ptr %48, align 8, !tbaa !15
  %50 = fdiv double %46, %49
  %51 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.ph
  store double %50, ptr %51, align 8, !tbaa !15
  %52 = getelementptr inbounds double, ptr %25, i64 %indvars.iv.ph
  store double %50, ptr %52, align 8, !tbaa !15
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader131
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader131 ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %53 = add nsw i64 %21, -1
  %54 = icmp eq i64 %indvars.iv.ph, %53
  br i1 %54, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %55 = getelementptr inbounds double, ptr %3, i64 %indvars.iv
  store double 0.000000e+00, ptr %55, align 8, !tbaa !15
  %56 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  %57 = load double, ptr %56, align 8, !tbaa !15
  %58 = fneg double %57
  %59 = getelementptr inbounds double, ptr %4, i64 %indvars.iv
  store double %58, ptr %59, align 8, !tbaa !15
  %60 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  %61 = load double, ptr %60, align 8, !tbaa !15
  %62 = fdiv double %58, %61
  %63 = getelementptr inbounds double, ptr %27, i64 %indvars.iv
  store double %62, ptr %63, align 8, !tbaa !15
  %64 = getelementptr inbounds double, ptr %25, i64 %indvars.iv
  store double %62, ptr %64, align 8, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %65 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.next
  store double 0.000000e+00, ptr %65, align 8, !tbaa !15
  %66 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next
  %67 = load double, ptr %66, align 8, !tbaa !15
  %68 = fneg double %67
  %69 = getelementptr inbounds double, ptr %4, i64 %indvars.iv.next
  store double %68, ptr %69, align 8, !tbaa !15
  %70 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.next
  %71 = load double, ptr %70, align 8, !tbaa !15
  %72 = fdiv double %68, %71
  %73 = getelementptr inbounds double, ptr %27, i64 %indvars.iv.next
  store double %72, ptr %73, align 8, !tbaa !15
  %74 = getelementptr inbounds double, ptr %25, i64 %indvars.iv.next
  store double %72, ptr %74, align 8, !tbaa !15
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %21
  br i1 %exitcond.not.1, label %._crit_edge, label %.lr.ph, !llvm.loop !20

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %5
  %75 = call double @ddot_(ptr noundef nonnull %11, ptr noundef nonnull %27, ptr noundef nonnull %10, ptr noundef %4, ptr noundef nonnull %10)
  %76 = call double @sqrt(double noundef %75) #7
  %77 = getelementptr inbounds i8, ptr %0, i64 8
  %78 = load double, ptr %77, align 8, !tbaa !21
  %79 = call double @sqrt(double noundef %76) #7
  %80 = call noundef double @_ZL3minIdET_S0_S0_(double noundef %78, double noundef %79)
  %81 = load i32, ptr %11, align 4, !tbaa !5
  %82 = call noundef i32 @_ZL3maxIiET_S0_S0_(i32 noundef %81, i32 noundef 5)
  %83 = icmp sgt i32 %82, 0
  br i1 %83, label %.lr.ph87, label %.loopexit

.lr.ph87:                                         ; preds = %._crit_edge, %._crit_edge82
  %.07285 = phi i32 [ %84, %._crit_edge82 ], [ 0, %._crit_edge ]
  %.07484 = phi double [ %123, %._crit_edge82 ], [ %75, %._crit_edge ]
  %.07583 = phi double [ %100, %._crit_edge82 ], [ 0.000000e+00, %._crit_edge ]
  %84 = add nuw nsw i32 %.07285, 1
  %85 = load ptr, ptr %15, align 8, !tbaa !9
  %86 = load ptr, ptr %85, align 8, !tbaa !13
  %87 = getelementptr inbounds i8, ptr %86, i64 16
  %88 = load ptr, ptr %87, align 8
  call void %88(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull %25, ptr noundef nonnull %26)
  %89 = call double @ddot_(ptr noundef nonnull %11, ptr noundef nonnull %25, ptr noundef nonnull %10, ptr noundef nonnull %26, ptr noundef nonnull %10)
  %90 = fcmp ugt double %89, 0x3C9CD2B297D889BC
  br i1 %90, label %91, label %.loopexit

91:                                               ; preds = %.lr.ph87
  %92 = fdiv double %.07484, %89
  store double %92, ptr %13, align 8, !tbaa !15
  %93 = call i32 @daxpy_(ptr noundef nonnull %11, ptr noundef nonnull %13, ptr noundef nonnull %25, ptr noundef nonnull %10, ptr noundef %3, ptr noundef nonnull %10)
  %94 = load double, ptr %13, align 8, !tbaa !15
  %95 = fneg double %94
  store double %95, ptr %13, align 8, !tbaa !15
  %96 = call i32 @daxpy_(ptr noundef nonnull %11, ptr noundef nonnull %13, ptr noundef nonnull %26, ptr noundef nonnull %10, ptr noundef %4, ptr noundef nonnull %10)
  %97 = call double @ddot_(ptr noundef nonnull %11, ptr noundef %3, ptr noundef nonnull %10, ptr noundef %4, ptr noundef nonnull %10)
  %98 = call double @ddot_(ptr noundef nonnull %11, ptr noundef %3, ptr noundef nonnull %10, ptr noundef %1, ptr noundef nonnull %10)
  %99 = fsub double %97, %98
  %100 = fmul double %99, -5.000000e-01
  %101 = fsub double %100, %.07583
  %102 = fcmp ole double %100, 0.000000e+00
  %103 = fcmp ole double %101, 0.000000e+00
  %or.cond = and i1 %102, %103
  br i1 %or.cond, label %104, label %116

104:                                              ; preds = %91
  %105 = uitofp nneg i32 %84 to double
  %106 = fmul double %101, %105
  %107 = fmul double %80, %100
  %108 = fcmp ult double %106, %107
  br i1 %108, label %.preheader, label %.loopexit

.preheader:                                       ; preds = %104
  %109 = load i32, ptr %11, align 4, !tbaa !5
  %110 = icmp sgt i32 %109, 0
  br i1 %110, label %.lr.ph81.preheader, label %._crit_edge82

.lr.ph81.preheader:                               ; preds = %.preheader
  %wide.trip.count97 = zext nneg i32 %109 to i64
  %min.iters.check117 = icmp eq i32 %109, 1
  br i1 %min.iters.check117, label %.lr.ph81.preheader128, label %vector.ph118

.lr.ph81.preheader128:                            ; preds = %middle.block115, %.lr.ph81.preheader
  %indvars.iv94.ph = phi i64 [ 0, %.lr.ph81.preheader ], [ %n.vec120, %middle.block115 ]
  br label %.lr.ph81

vector.ph118:                                     ; preds = %.lr.ph81.preheader
  %n.vec120 = and i64 %wide.trip.count97, 2147483646
  br label %vector.body122

vector.body122:                                   ; preds = %vector.body122, %vector.ph118
  %index123 = phi i64 [ 0, %vector.ph118 ], [ %index.next126, %vector.body122 ]
  %111 = getelementptr inbounds double, ptr %4, i64 %index123
  %wide.load124 = load <2 x double>, ptr %111, align 8, !tbaa !15
  %112 = getelementptr inbounds double, ptr %2, i64 %index123
  %wide.load125 = load <2 x double>, ptr %112, align 8, !tbaa !15
  %113 = fdiv <2 x double> %wide.load124, %wide.load125
  %114 = getelementptr inbounds double, ptr %27, i64 %index123
  store <2 x double> %113, ptr %114, align 8, !tbaa !15
  %index.next126 = add nuw i64 %index123, 2
  %115 = icmp eq i64 %index.next126, %n.vec120
  br i1 %115, label %middle.block115, label %vector.body122, !llvm.loop !22

middle.block115:                                  ; preds = %vector.body122
  %cmp.n127 = icmp eq i64 %n.vec120, %wide.trip.count97
  br i1 %cmp.n127, label %._crit_edge82, label %.lr.ph81.preheader128

116:                                              ; preds = %91
  call void (ptr, ptr, ...) @_ZN6NEWTON4infoEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull @.str.6)
  br label %.loopexit

.lr.ph81:                                         ; preds = %.lr.ph81.preheader128, %.lr.ph81
  %indvars.iv94 = phi i64 [ %indvars.iv.next95, %.lr.ph81 ], [ %indvars.iv94.ph, %.lr.ph81.preheader128 ]
  %117 = getelementptr inbounds double, ptr %4, i64 %indvars.iv94
  %118 = load double, ptr %117, align 8, !tbaa !15
  %119 = getelementptr inbounds double, ptr %2, i64 %indvars.iv94
  %120 = load double, ptr %119, align 8, !tbaa !15
  %121 = fdiv double %118, %120
  %122 = getelementptr inbounds double, ptr %27, i64 %indvars.iv94
  store double %121, ptr %122, align 8, !tbaa !15
  %indvars.iv.next95 = add nuw nsw i64 %indvars.iv94, 1
  %exitcond98.not = icmp eq i64 %indvars.iv.next95, %wide.trip.count97
  br i1 %exitcond98.not, label %._crit_edge82, label %.lr.ph81, !llvm.loop !23

._crit_edge82:                                    ; preds = %.lr.ph81, %middle.block115, %.preheader
  %123 = call double @ddot_(ptr noundef nonnull %11, ptr noundef nonnull %27, ptr noundef nonnull %10, ptr noundef %4, ptr noundef nonnull %10)
  %124 = fdiv double %123, %.07484
  store double %124, ptr %14, align 8, !tbaa !15
  %125 = call i32 @dscal_(ptr noundef nonnull %11, ptr noundef nonnull %14, ptr noundef nonnull %25, ptr noundef nonnull %10)
  %126 = call i32 @daxpy_(ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %27, ptr noundef nonnull %10, ptr noundef nonnull %25, ptr noundef nonnull %10)
  %exitcond99.not = icmp eq i32 %84, %82
  br i1 %exitcond99.not, label %.loopexit.thread, label %.lr.ph87, !llvm.loop !24

.loopexit:                                        ; preds = %.lr.ph87, %104, %._crit_edge, %116
  %.173 = phi i32 [ %84, %116 ], [ 0, %._crit_edge ], [ %84, %104 ], [ %84, %.lr.ph87 ]
  %127 = icmp eq i32 %.173, %82
  br i1 %127, label %.loopexit.thread, label %128

.loopexit.thread:                                 ; preds = %._crit_edge82, %.loopexit
  %.173102 = phi i32 [ %.173, %.loopexit ], [ %82, %._crit_edge82 ]
  call void (ptr, ptr, ...) @_ZN6NEWTON4infoEPKcz(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull @.str.7)
  br label %128

128:                                              ; preds = %.loopexit, %.loopexit.thread
  %.173101 = phi i32 [ %.173, %.loopexit ], [ %.173102, %.loopexit.thread ]
  call void @_ZdaPv(ptr noundef nonnull %25) #9
  call void @_ZdaPv(ptr noundef nonnull %26) #9
  call void @_ZdaPv(ptr noundef nonnull %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #7
  ret i32 %.173101
}

declare double @ddot_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef double @_ZL3minIdET_S0_S0_(double noundef, double noundef) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare hidden noundef i32 @_ZL3maxIiET_S0_S0_(i32 noundef, i32 noundef) local_unnamed_addr #6

declare i32 @daxpy_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

declare i32 @dscal_(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress 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 = { "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 = { 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 #6 = { 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 #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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, !12, i64 24}
!10 = !{!"_ZTS6NEWTON", !11, i64 0, !11, i64 8, !6, i64 16, !12, i64 24, !12, i64 32}
!11 = !{!"double", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"vtable pointer", !8, i64 0}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !17, !18}
!21 = !{!10, !11, i64 8}
!22 = distinct !{!22, !17, !18, !19}
!23 = distinct !{!23, !17, !19, !18}
!24 = distinct !{!24, !17}


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