; LLVM IR from TheAlgorithms/C-Plus-Plus :: numerical_methods/ode_midpoint_euler.ll (Z19midpoint_euler_stepdRKdPSt8valarrayIdES3_)

; 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::valarray" = type { i64, ptr }
%"class.std::_Expr" = type { %"struct.std::__detail::_BinClos" }
%"struct.std::__detail::_BinClos" = type { %"class.std::__detail::_BinBase" }
%"class.std::__detail::_BinBase" = type { ptr, %"struct.std::__detail::_BinClos.0" }
%"struct.std::__detail::_BinClos.0" = type { %"class.std::__detail::_BinBase2" }
%"class.std::__detail::_BinBase2" = type { ptr, double }
%"class.std::_Expr.1" = type { %"struct.std::__detail::_BinClos.0" }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z7problemRKdPSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(8), 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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19midpoint_euler_stepdRKdPSt8valarrayIdES3_(double noundef %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef %2, ptr noundef %3) #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca double, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca %"class.std::valarray", align 8
  %11 = alloca %"class.std::_Expr", align 8
  %12 = alloca %"class.std::_Expr.1", align 8
  %13 = alloca double, align 8
  %14 = alloca %"class.std::_Expr.1", align 8
  %15 = alloca ptr, align 8
  %16 = alloca i32, align 4
  store double %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !9
  %17 = load ptr, ptr %6, align 8, !tbaa !9
  %18 = load ptr, ptr %7, align 8, !tbaa !9
  %19 = load ptr, ptr %8, align 8, !tbaa !9
  call void @_Z7problemRKdPSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef %18, ptr noundef %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %20 = load ptr, ptr %6, align 8, !tbaa !9
  %21 = load double, ptr %20, align 8, !tbaa !5
  %22 = load double, ptr %5, align 8, !tbaa !5
  %23 = call double @llvm.fmuladd.f64(double 5.000000e-01, double %22, double %21)
  store double %23, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #6
  %24 = load ptr, ptr %7, align 8, !tbaa !9
  %25 = getelementptr inbounds %"class.std::valarray", ptr %24, i64 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #6
  %26 = load ptr, ptr %8, align 8, !tbaa !9
  %27 = getelementptr inbounds %"class.std::valarray", ptr %26, i64 0
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %28 = load double, ptr %5, align 8, !tbaa !5
  %29 = fmul double 5.000000e-01, %28
  store double %29, ptr %13, align 8, !tbaa !5
  %30 = call { ptr, double } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantT_S6_EENSt5__funIS3_S6_E11result_typeEERKSt8valarrayIS6_ERKNSD_10value_typeE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr noundef nonnull align 8 dereferenceable(8) %13)
  %31 = getelementptr inbounds %"class.std::_Expr.1", ptr %12, i32 0, i32 0
  %32 = getelementptr inbounds %"struct.std::__detail::_BinClos.0", ptr %31, i32 0, i32 0
  %33 = getelementptr inbounds { ptr, double }, ptr %32, i32 0, i32 0
  %34 = extractvalue { ptr, double } %30, 0
  store ptr %34, ptr %33, align 8
  %35 = getelementptr inbounds { ptr, double }, ptr %32, i32 0, i32 1
  %36 = extractvalue { ptr, double } %30, 1
  store double %36, ptr %35, align 8
  call void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantddEEESt5_ExprINS1_ISt6__plusS3_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind writable sret(%"class.std::_Expr") align 8 %11, ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %12)
  call void @_ZNSt8valarrayIdEC2INSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesS5_St9_ConstantddEEEEEERKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(24) %11)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #6
  %37 = load ptr, ptr %8, align 8, !tbaa !9
  call void @_Z7problemRKdPSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef %10, ptr noundef %37)
  call void @llvm.lifetime.start.p0(i64 16, ptr %14) #6
  %38 = load ptr, ptr %8, align 8, !tbaa !9
  %39 = getelementptr inbounds %"class.std::valarray", ptr %38, i64 0
  %40 = invoke { ptr, double } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantT_S6_EENSt5__funIS3_S6_E11result_typeEERKSt8valarrayIS6_ERKNSD_10value_typeE(ptr noundef nonnull align 8 dereferenceable(16) %39, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %41 unwind label %52

41:                                               ; preds = %4
  %42 = getelementptr inbounds %"class.std::_Expr.1", ptr %14, i32 0, i32 0
  %43 = getelementptr inbounds %"struct.std::__detail::_BinClos.0", ptr %42, i32 0, i32 0
  %44 = getelementptr inbounds { ptr, double }, ptr %43, i32 0, i32 0
  %45 = extractvalue { ptr, double } %40, 0
  store ptr %45, ptr %44, align 8
  %46 = getelementptr inbounds { ptr, double }, ptr %43, i32 0, i32 1
  %47 = extractvalue { ptr, double } %40, 1
  store double %47, ptr %46, align 8
  %48 = load ptr, ptr %7, align 8, !tbaa !9
  %49 = getelementptr inbounds %"class.std::valarray", ptr %48, i64 0
  %50 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEpLINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %51 unwind label %52

51:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  ret void

52:                                               ; preds = %41, %4
  %53 = landingpad { ptr, i32 }
          cleanup
  %54 = extractvalue { ptr, i32 } %53, 0
  store ptr %54, ptr %15, align 8
  %55 = extractvalue { ptr, i32 } %53, 1
  store i32 %55, ptr %16, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %14) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  br label %56

56:                                               ; preds = %52
  %57 = load ptr, ptr %15, align 8
  %58 = load i32, ptr %16, align 4
  %59 = insertvalue { ptr, i32 } poison, ptr %57, 0
  %60 = insertvalue { ptr, i32 } %59, i32 %58, 1
  resume { ptr, i32 } %60
}

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantddEEESt5_ExprINS1_ISt6__plusS3_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind noalias writable sret(%"class.std::_Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, double } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantT_S6_EENSt5__funIS3_S6_E11result_typeEERKSt8valarrayIS6_ERKNSD_10value_typeE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIdEC2INSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesS5_St9_ConstantddEEEEEERKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEpLINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

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


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

%"class.std::valarray" = type { i64, ptr }
%"class.std::_Expr" = type { %"struct.std::__detail::_BinClos" }
%"struct.std::__detail::_BinClos" = type { %"class.std::__detail::_BinBase" }
%"class.std::__detail::_BinBase" = type { ptr, %"struct.std::__detail::_BinClos.0" }
%"struct.std::__detail::_BinClos.0" = type { %"class.std::__detail::_BinBase2" }
%"class.std::__detail::_BinBase2" = type { ptr, double }
%"class.std::_Expr.1" = type { %"struct.std::__detail::_BinClos.0" }

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z19midpoint_euler_stepdRKdPSt8valarrayIdES3_(double noundef %0, ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  %7 = alloca %"class.std::valarray", align 8
  %8 = alloca %"class.std::_Expr", align 8
  %9 = alloca %"class.std::_Expr.1", align 8
  %10 = alloca double, align 8
  %11 = alloca %"class.std::_Expr.1", align 8
  store double %0, ptr %5, align 8, !tbaa !5
  tail call void @_Z7problemRKdPSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(8) %1, ptr noundef %2, ptr noundef %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #6
  %12 = load double, ptr %1, align 8, !tbaa !5
  %13 = tail call double @llvm.fmuladd.f64(double %0, double 5.000000e-01, double %12)
  store double %13, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %14 = fmul double %0, 5.000000e-01
  store double %14, ptr %10, align 8, !tbaa !5
  %15 = call { ptr, double } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantT_S6_EENSt5__funIS3_S6_E11result_typeEERKSt8valarrayIS6_ERKNSD_10value_typeE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(8) %10)
  %16 = extractvalue { ptr, double } %15, 0
  store ptr %16, ptr %9, align 8
  %17 = getelementptr inbounds i8, ptr %9, i64 8
  %18 = extractvalue { ptr, double } %15, 1
  store double %18, ptr %17, align 8
  call void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantddEEESt5_ExprINS1_ISt6__plusS3_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind nonnull writable sret(%"class.std::_Expr") align 8 %8, ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %9)
  call void @_ZNSt8valarrayIdEC2INSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesS5_St9_ConstantddEEEEEERKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(24) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  call void @_Z7problemRKdPSt8valarrayIdES3_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull %7, ptr noundef nonnull %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %11) #6
  %19 = invoke { ptr, double } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantT_S6_EENSt5__funIS3_S6_E11result_typeEERKSt8valarrayIS6_ERKNSD_10value_typeE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr noundef nonnull align 8 dereferenceable(8) %5)
          to label %20 unwind label %26

20:                                               ; preds = %4
  %21 = extractvalue { ptr, double } %19, 0
  store ptr %21, ptr %11, align 8
  %22 = getelementptr inbounds i8, ptr %11, i64 8
  %23 = extractvalue { ptr, double } %19, 1
  store double %23, ptr %22, align 8
  %24 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEpLINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 8 dereferenceable(16) %11)
          to label %25 unwind label %26

25:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  ret void

26:                                               ; preds = %20, %4
  %27 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %11) #6
  call void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #6
  resume { ptr, i32 } %27
}

; 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 dso_local void @_ZStplINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantddEEESt5_ExprINS1_ISt6__plusS3_S6_NT_10value_typeES8_EENSt5__funIS7_S9_E11result_typeEERKSt8valarrayIS9_ERKS6_IS8_S9_E(ptr dead_on_unwind noalias writable sret(%"class.std::_Expr") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { ptr, double } @_ZStmlIdESt5_ExprINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantT_S6_EENSt5__funIS3_S6_E11result_typeEERKSt8valarrayIS6_ERKNSD_10value_typeE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIdEC2INSt8__detail8_BinClosISt6__plusSt9_ValArraySt5_ExprdNS3_ISt12__multipliesS5_St9_ConstantddEEEEEERKS6_IT_dE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt8valarrayIdEpLINSt8__detail8_BinClosISt12__multipliesSt9_ValArraySt9_ConstantddEEEERS0_RKSt5_ExprIT_dE(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt8valarrayIdED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5 align 2

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass