; LLVM IR from kazunetakahashi/atcoder :: 201510_201609/1024_KUPC2015/E.ll (Z5solvev)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"struct.std::_Setprecision" = type { i32 }

@H = external dso_local global double, align 8
@W = external dso_local global double, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() #0 {
  %1 = alloca double, align 8
  %2 = alloca double, align 8
  %3 = alloca double, align 8
  %4 = alloca i8, align 1
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %"struct.std::_Setprecision", align 4
  %10 = load double, ptr @H, align 8, !tbaa !5
  %11 = load double, ptr @W, align 8, !tbaa !5
  %12 = fcmp olt double %10, %11
  br i1 %12, label %13, label %14

13:                                               ; preds = %0
  call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) @H, ptr noundef nonnull align 8 dereferenceable(8) @W) #6
  br label %14

14:                                               ; preds = %13, %0
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #6
  %15 = load double, ptr @W, align 8, !tbaa !5
  store double %15, ptr %1, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  %16 = load double, ptr @H, align 8, !tbaa !5
  %17 = load double, ptr @H, align 8, !tbaa !5
  %18 = load double, ptr @W, align 8, !tbaa !5
  %19 = load double, ptr @W, align 8, !tbaa !5
  %20 = fmul double %18, %19
  %21 = call double @llvm.fmuladd.f64(double %16, double %17, double %20)
  %22 = call double @sqrt(double noundef %21) #6
  %23 = fmul double 2.000000e+00, %22
  store double %23, ptr %2, align 8, !tbaa !5
  br label %24

24:                                               ; preds = %84, %14
  %25 = load double, ptr %2, align 8, !tbaa !5
  %26 = load double, ptr %1, align 8, !tbaa !5
  %27 = fsub double %25, %26
  %28 = fcmp ogt double %27, 0x3E7AD7F29ABCAF48
  br i1 %28, label %29, label %85

29:                                               ; preds = %24
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #6
  %30 = load double, ptr %2, align 8, !tbaa !5
  %31 = load double, ptr %1, align 8, !tbaa !5
  %32 = fadd double %30, %31
  %33 = fdiv double %32, 2.000000e+00
  store double %33, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %4) #6
  store i8 1, ptr %4, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %34 = load double, ptr %3, align 8, !tbaa !5
  %35 = load double, ptr @W, align 8, !tbaa !5
  %36 = fcmp olt double %34, %35
  br i1 %36, label %37, label %38

37:                                               ; preds = %29
  store i8 1, ptr %4, align 1, !tbaa !9
  br label %77

38:                                               ; preds = %29
  %39 = load double, ptr %3, align 8, !tbaa !5
  %40 = load double, ptr %3, align 8, !tbaa !5
  %41 = load double, ptr @W, align 8, !tbaa !5
  %42 = load double, ptr @W, align 8, !tbaa !5
  %43 = fmul double %41, %42
  %44 = fneg double %43
  %45 = call double @llvm.fmuladd.f64(double %39, double %40, double %44)
  %46 = call double @sqrt(double noundef %45) #6
  store double %46, ptr %6, align 8, !tbaa !5
  %47 = load double, ptr %3, align 8, !tbaa !5
  %48 = load double, ptr @H, align 8, !tbaa !5
  %49 = fcmp olt double %47, %48
  br i1 %49, label %50, label %51

50:                                               ; preds = %38
  store double 0.000000e+00, ptr %5, align 8, !tbaa !5
  br label %60

51:                                               ; preds = %38
  %52 = load double, ptr %3, align 8, !tbaa !5
  %53 = load double, ptr %3, align 8, !tbaa !5
  %54 = load double, ptr @H, align 8, !tbaa !5
  %55 = load double, ptr @H, align 8, !tbaa !5
  %56 = fmul double %54, %55
  %57 = fneg double %56
  %58 = call double @llvm.fmuladd.f64(double %52, double %53, double %57)
  %59 = call double @sqrt(double noundef %58) #6
  store double %59, ptr %5, align 8, !tbaa !5
  br label %60

60:                                               ; preds = %51, %50
  %61 = load double, ptr @W, align 8, !tbaa !5
  %62 = load double, ptr %5, align 8, !tbaa !5
  %63 = fsub double %61, %62
  store double %63, ptr %7, align 8, !tbaa !5
  %64 = load double, ptr @H, align 8, !tbaa !5
  %65 = load double, ptr %6, align 8, !tbaa !5
  %66 = fsub double %64, %65
  store double %66, ptr %8, align 8, !tbaa !5
  %67 = load double, ptr %7, align 8, !tbaa !5
  %68 = load double, ptr %7, align 8, !tbaa !5
  %69 = load double, ptr %8, align 8, !tbaa !5
  %70 = load double, ptr %8, align 8, !tbaa !5
  %71 = fmul double %69, %70
  %72 = call double @llvm.fmuladd.f64(double %67, double %68, double %71)
  %73 = call double @sqrt(double noundef %72) #6
  %74 = load double, ptr %3, align 8, !tbaa !5
  %75 = fcmp ogt double %73, %74
  %76 = zext i1 %75 to i8
  store i8 %76, ptr %4, align 1, !tbaa !9
  br label %77

77:                                               ; preds = %60, %37
  %78 = load i8, ptr %4, align 1, !tbaa !9, !range !11, !noundef !12
  %79 = trunc i8 %78 to i1
  br i1 %79, label %80, label %82

80:                                               ; preds = %77
  %81 = load double, ptr %3, align 8, !tbaa !5
  store double %81, ptr %1, align 8, !tbaa !5
  br label %84

82:                                               ; preds = %77
  %83 = load double, ptr %3, align 8, !tbaa !5
  store double %83, ptr %2, align 8, !tbaa !5
  br label %84

84:                                               ; preds = %82, %80
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #6
  br label %24, !llvm.loop !13

85:                                               ; preds = %24
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @_ZSt5fixedRSt8ios_base)
  %87 = call i32 @_ZSt12setprecisioni(i32 noundef 10)
  %88 = getelementptr inbounds %"struct.std::_Setprecision", ptr %9, i32 0, i32 0
  store i32 %87, ptr %88, align 4
  %89 = getelementptr inbounds %"struct.std::_Setprecision", ptr %9, i32 0, i32 0
  %90 = load i32, ptr %89, align 4
  %91 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %86, i32 %90)
  %92 = load double, ptr %1, align 8, !tbaa !5
  %93 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %91, double noundef %92)
  %94 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %93, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #6
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #5

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

attributes #0 = { 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 #1 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { inlinehint 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 #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 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@H = external dso_local global double, align 8
@W = external dso_local global double, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5solvev() local_unnamed_addr #0 {
  %1 = load double, ptr @H, align 8, !tbaa !5
  %2 = load double, ptr @W, align 8, !tbaa !5
  %3 = fcmp olt double %1, %2
  br i1 %3, label %4, label %5

4:                                                ; preds = %0
  tail call void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8) @H, ptr noundef nonnull align 8 dereferenceable(8) @W) #6
  %.pre = load double, ptr @W, align 8, !tbaa !5
  %.pre39 = load double, ptr @H, align 8, !tbaa !5
  br label %5

5:                                                ; preds = %4, %0
  %6 = phi double [ %.pre39, %4 ], [ %1, %0 ]
  %7 = phi double [ %.pre, %4 ], [ %2, %0 ]
  %8 = fmul double %7, %7
  %9 = tail call double @llvm.fmuladd.f64(double %6, double %6, double %8)
  %sqrt = tail call double @llvm.sqrt.f64(double %9)
  %10 = fmul double %sqrt, 2.000000e+00
  %11 = fsub double %10, %7
  %12 = fcmp ogt double %11, 0x3E7AD7F29ABCAF48
  br i1 %12, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %5, %38
  %13 = phi double [ %39, %38 ], [ %7, %5 ]
  %.038 = phi double [ %41, %38 ], [ %7, %5 ]
  %.02037 = phi double [ %40, %38 ], [ %10, %5 ]
  %14 = fadd double %.02037, %.038
  %15 = fmul double %14, 5.000000e-01
  %16 = fcmp olt double %15, %13
  br i1 %16, label %38, label %17

17:                                               ; preds = %.lr.ph
  %18 = fneg double %13
  %19 = fmul double %13, %18
  %20 = tail call double @llvm.fmuladd.f64(double %15, double %15, double %19)
  %21 = tail call double @sqrt(double noundef %20) #6
  %22 = load double, ptr @H, align 8, !tbaa !5
  %23 = fcmp olt double %15, %22
  br i1 %23, label %29, label %24

24:                                               ; preds = %17
  %25 = fneg double %22
  %26 = fmul double %22, %25
  %27 = tail call double @llvm.fmuladd.f64(double %15, double %15, double %26)
  %28 = tail call double @sqrt(double noundef %27) #6
  %.pre40 = load double, ptr @H, align 8, !tbaa !5
  br label %29

29:                                               ; preds = %24, %17
  %30 = phi double [ %.pre40, %24 ], [ %22, %17 ]
  %.023 = phi double [ %28, %24 ], [ 0.000000e+00, %17 ]
  %31 = load double, ptr @W, align 8, !tbaa !5
  %32 = fsub double %31, %.023
  %33 = fsub double %30, %21
  %34 = fmul double %33, %33
  %35 = tail call double @llvm.fmuladd.f64(double %32, double %32, double %34)
  %sqrt36 = tail call double @llvm.sqrt.f64(double %35)
  %36 = fcmp ogt double %sqrt36, %15
  %cond.fr27 = freeze i1 %36
  br i1 %cond.fr27, label %38, label %37

37:                                               ; preds = %29
  br label %38

38:                                               ; preds = %37, %.lr.ph, %29
  %39 = phi double [ %31, %37 ], [ %13, %.lr.ph ], [ %31, %29 ]
  %40 = phi double [ %15, %37 ], [ %.02037, %.lr.ph ], [ %.02037, %29 ]
  %41 = phi double [ %.038, %37 ], [ %15, %.lr.ph ], [ %15, %29 ]
  %42 = fsub double %40, %41
  %43 = fcmp ogt double %42, 0x3E7AD7F29ABCAF48
  br i1 %43, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge:                                      ; preds = %38, %5
  %.0.lcssa = phi double [ %7, %5 ], [ %41, %38 ]
  %44 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @_ZSt5fixedRSt8ios_base)
  %45 = tail call i32 @_ZSt12setprecisioni(i32 noundef 10)
  %46 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8) %44, i32 %45)
  %47 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %46, double noundef %.0.lcssa)
  %48 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt4swapIdENSt9enable_ifIXsr6__and_ISt6__not_ISt15__is_tuple_likeIT_EESt21is_move_constructibleIS3_ESt18is_move_assignableIS3_EEE5valueEvE4typeERS3_SC_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double 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: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_St13_Setprecision(ptr noundef nonnull align 8 dereferenceable(8), i32) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSt8ios_baseS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(216) ptr @_ZSt5fixedRSt8ios_base(ptr noundef nonnull align 8 dereferenceable(216)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local i32 @_ZSt12setprecisioni(i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #4

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

attributes #0 = { 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 #1 = { 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 #2 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { inlinehint 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 = { 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: AggressiveInstCombinePass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass