; LLVM IR from stivalaa/EstimNetDirected :: src/Random123-1.09/examples (ut_ua)

; 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.r123array4x64 = type { [4 x i64] }
%"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.r123::Threefry4x64_R" = type { i8 }
%"struct.std::array" = type { [4 x float] }
%"struct.std::array.0" = type { [4 x double] }

@__const.main.c = external hidden unnamed_addr constant %struct.r123array4x64, align 8
@__const.main.uk = external hidden unnamed_addr constant %struct.r123array4x64, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr noundef %1) #0 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca %"struct.r123::Threefry4x64_R", align 1
  %7 = alloca %struct.r123array4x64, align 8
  %8 = alloca %struct.r123array4x64, align 8
  %9 = alloca %struct.r123array4x64, align 8
  %10 = alloca %"struct.std::array", align 4
  %11 = alloca %struct.r123array4x64, align 8
  %12 = alloca %struct.r123array4x64, align 8
  %13 = alloca %struct.r123array4x64, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca float, align 4
  %18 = alloca %"struct.std::array.0", align 8
  %19 = alloca %struct.r123array4x64, align 8
  %20 = alloca %struct.r123array4x64, align 8
  %21 = alloca %struct.r123array4x64, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca double, align 8
  store i32 0, ptr %3, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %7) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %7, ptr align 8 @__const.main.c, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %8) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %8, ptr align 8 @__const.main.uk, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 32, ptr %9) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %9, ptr align 8 %8, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 %7, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %13, ptr align 8 %9, i64 32, i1 false), !tbaa.struct !11
  call void @_ZN4r12314Threefry4x64_RILj20EEclE13r123array4x64S2_(ptr dead_on_unwind writable sret(%struct.r123array4x64) align 8 %11, ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef byval(%struct.r123array4x64) align 8 %12, ptr noundef byval(%struct.r123array4x64) align 8 %13)
  %26 = call { <2 x float>, <2 x float> } @_ZN4r123L4ua01If13r123array4x64EESt5arrayIT_XsrT0_11static_sizeEES4_(ptr noundef byval(%struct.r123array4x64) align 8 %11)
  %27 = getelementptr inbounds %"struct.std::array", ptr %10, i32 0, i32 0
  %28 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 0
  %29 = extractvalue { <2 x float>, <2 x float> } %26, 0
  store <2 x float> %29, ptr %28, align 4
  %30 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %27, i32 0, i32 1
  %31 = extractvalue { <2 x float>, <2 x float> } %26, 1
  store <2 x float> %31, ptr %30, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #8
  store ptr %10, ptr %14, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %32 = load ptr, ptr %14, align 8, !tbaa !9
  %33 = call noundef ptr @_ZNSt5arrayIfLm4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(16) %32) #9
  store ptr %33, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #8
  %34 = load ptr, ptr %14, align 8, !tbaa !9
  %35 = call noundef ptr @_ZNSt5arrayIfLm4EE3endEv(ptr noundef nonnull align 4 dereferenceable(16) %34) #9
  store ptr %35, ptr %16, align 8, !tbaa !9
  br label %36

36:                                               ; preds = %47, %2
  %37 = load ptr, ptr %15, align 8, !tbaa !9
  %38 = load ptr, ptr %16, align 8, !tbaa !9
  %39 = icmp ne ptr %37, %38
  br i1 %39, label %41, label %40

40:                                               ; preds = %36
  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
  br label %50

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  %42 = load ptr, ptr %15, align 8, !tbaa !9
  %43 = load float, ptr %42, align 4, !tbaa !13
  store float %43, ptr %17, align 4, !tbaa !13
  %44 = load float, ptr %17, align 4, !tbaa !13
  %45 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %44)
  %46 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef @.str)
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %47

47:                                               ; preds = %41
  %48 = load ptr, ptr %15, align 8, !tbaa !9
  %49 = getelementptr inbounds float, ptr %48, i32 1
  store ptr %49, ptr %15, align 8, !tbaa !9
  br label %36

50:                                               ; preds = %40
  %51 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN13r123array4x644incrEy(ptr noundef nonnull align 8 dereferenceable(32) %7, i64 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %7, i64 32, i1 false), !tbaa.struct !11
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %21, ptr align 8 %9, i64 32, i1 false), !tbaa.struct !11
  call void @_ZN4r12314Threefry4x64_RILj20EEclE13r123array4x64S2_(ptr dead_on_unwind writable sret(%struct.r123array4x64) align 8 %19, ptr noundef nonnull align 1 dereferenceable(1) %6, ptr noundef byval(%struct.r123array4x64) align 8 %20, ptr noundef byval(%struct.r123array4x64) align 8 %21)
  call void @_ZN4r123L4ua01Id13r123array4x64EESt5arrayIT_XsrT0_11static_sizeEES4_(ptr dead_on_unwind writable sret(%"struct.std::array.0") align 8 %18, ptr noundef byval(%struct.r123array4x64) align 8 %19)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  store ptr %18, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  %52 = load ptr, ptr %22, align 8, !tbaa !9
  %53 = call noundef ptr @_ZNSt5arrayIdLm4EE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  store ptr %53, ptr %23, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %54 = load ptr, ptr %22, align 8, !tbaa !9
  %55 = call noundef ptr @_ZNSt5arrayIdLm4EE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %54) #9
  store ptr %55, ptr %24, align 8, !tbaa !9
  br label %56

56:                                               ; preds = %67, %50
  %57 = load ptr, ptr %23, align 8, !tbaa !9
  %58 = load ptr, ptr %24, align 8, !tbaa !9
  %59 = icmp ne ptr %57, %58
  br i1 %59, label %61, label %60

60:                                               ; preds = %56
  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
  br label %70

61:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %62 = load ptr, ptr %23, align 8, !tbaa !9
  %63 = load double, ptr %62, align 8, !tbaa !15
  store double %63, ptr %25, align 8, !tbaa !15
  %64 = load double, ptr %25, align 8, !tbaa !15
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %64)
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef @.str)
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %67

67:                                               ; preds = %61
  %68 = load ptr, ptr %23, align 8, !tbaa !9
  %69 = getelementptr inbounds double, ptr %68, i32 1
  store ptr %69, ptr %23, align 8, !tbaa !9
  br label %56

70:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #8
  ret i32 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN4r123L4ua01If13r123array4x64EESt5arrayIT_XsrT0_11static_sizeEES4_(ptr noundef byval(%struct.r123array4x64) align 8) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4r12314Threefry4x64_RILj20EEclE13r123array4x64S2_(ptr dead_on_unwind noalias writable sret(%struct.r123array4x64) align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef byval(%struct.r123array4x64) align 8, ptr noundef byval(%struct.r123array4x64) align 8) #4 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIfLm4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(16)) #5 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIfLm4EE3endEv(ptr noundef nonnull align 4 dereferenceable(16)) #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #6 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN13r123array4x644incrEy(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN4r123L4ua01Id13r123array4x64EESt5arrayIT_XsrT0_11static_sizeEES4_(ptr dead_on_unwind noalias writable sret(%"struct.std::array.0") align 8, ptr noundef byval(%struct.r123array4x64) align 8) #3

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIdLm4EE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

; Function Attrs: mustprogress nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIdLm4EE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

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

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="64" "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { alwaysinline 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 = { mustprogress nounwind willreturn memory(none) 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 = { 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 #7 = { 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 = { nounwind willreturn memory(none) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{i64 0, i64 32, !12}
!12 = !{!7, !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"double", !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"

%struct.r123array4x64 = type { [4 x i64] }
%"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.r123::Threefry4x64_R" = type { i8 }
%"struct.std::array" = type { [4 x float] }
%"struct.std::array.0" = type { [4 x double] }

@__const.main.c = external hidden unnamed_addr constant %struct.r123array4x64, align 8
@__const.main.uk = external hidden unnamed_addr constant %struct.r123array4x64, align 8
@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
  %3 = alloca %"struct.r123::Threefry4x64_R", align 1
  %4 = alloca %struct.r123array4x64, align 8
  %5 = alloca %"struct.std::array", align 8
  %6 = alloca %struct.r123array4x64, align 8
  %7 = alloca %"struct.std::array.0", align 8
  %8 = alloca %struct.r123array4x64, align 8
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 8 dereferenceable(32) @__const.main.c, i64 32, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #8
  call void @_ZN4r12314Threefry4x64_RILj20EEclE13r123array4x64S2_(ptr dead_on_unwind nonnull writable sret(%struct.r123array4x64) align 8 %6, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull byval(%struct.r123array4x64) align 8 @__const.main.c, ptr noundef nonnull byval(%struct.r123array4x64) align 8 @__const.main.uk)
  %9 = call { <2 x float>, <2 x float> } @_ZN4r123L4ua01If13r123array4x64EESt5arrayIT_XsrT0_11static_sizeEES4_(ptr noundef nonnull byval(%struct.r123array4x64) align 8 %6)
  %10 = extractvalue { <2 x float>, <2 x float> } %9, 0
  store <2 x float> %10, ptr %5, align 8
  %11 = getelementptr inbounds i8, ptr %5, i64 8
  %12 = extractvalue { <2 x float>, <2 x float> } %9, 1
  store <2 x float> %12, ptr %11, align 8
  %13 = call noundef ptr @_ZNSt5arrayIfLm4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(16) %5) #9
  %14 = call noundef ptr @_ZNSt5arrayIfLm4EE3endEv(ptr noundef nonnull align 4 dereferenceable(16) %5) #9
  %.not17 = icmp eq ptr %13, %14
  br i1 %.not17, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph, %2
  %15 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZN13r123array4x644incrEy(ptr noundef nonnull align 8 dereferenceable(32) %4, i64 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #8
  call void @_ZN4r12314Threefry4x64_RILj20EEclE13r123array4x64S2_(ptr dead_on_unwind nonnull writable sret(%struct.r123array4x64) align 8 %8, ptr noundef nonnull align 1 dereferenceable(1) %3, ptr noundef nonnull byval(%struct.r123array4x64) align 8 %4, ptr noundef nonnull byval(%struct.r123array4x64) align 8 @__const.main.uk)
  call void @_ZN4r123L4ua01Id13r123array4x64EESt5arrayIT_XsrT0_11static_sizeEES4_(ptr dead_on_unwind nonnull writable sret(%"struct.std::array.0") align 8 %7, ptr noundef nonnull byval(%struct.r123array4x64) align 8 %8)
  %16 = call noundef ptr @_ZNSt5arrayIdLm4EE5beginEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  %17 = call noundef ptr @_ZNSt5arrayIdLm4EE3endEv(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  %.not1619 = icmp eq ptr %16, %17
  br i1 %.not1619, label %._crit_edge23, label %.lr.ph22

.lr.ph:                                           ; preds = %2, %.lr.ph
  %.018 = phi ptr [ %21, %.lr.ph ], [ %13, %2 ]
  %18 = load float, ptr %.018, align 4, !tbaa !5
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, float noundef %18)
  %20 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull @.str)
  %21 = getelementptr inbounds i8, ptr %.018, i64 4
  %.not = icmp eq ptr %21, %14
  br i1 %.not, label %._crit_edge, label %.lr.ph

._crit_edge23:                                    ; preds = %.lr.ph22, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #8
  ret i32 0

.lr.ph22:                                         ; preds = %._crit_edge, %.lr.ph22
  %.01520 = phi ptr [ %25, %.lr.ph22 ], [ %16, %._crit_edge ]
  %22 = load double, ptr %.01520, align 8, !tbaa !9
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, double noundef %22)
  %24 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %23, ptr noundef nonnull @.str)
  %25 = getelementptr inbounds i8, ptr %.01520, i64 8
  %.not16 = icmp eq ptr %25, %17
  br i1 %.not16, label %._crit_edge23, label %.lr.ph22
}

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden { <2 x float>, <2 x float> } @_ZN4r123L4ua01If13r123array4x64EESt5arrayIT_XsrT0_11static_sizeEES4_(ptr noundef byval(%struct.r123array4x64) align 8) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4r12314Threefry4x64_RILj20EEclE13r123array4x64S2_(ptr dead_on_unwind noalias writable sret(%struct.r123array4x64) align 8, ptr noundef nonnull align 1 dereferenceable(1), ptr noundef byval(%struct.r123array4x64) align 8, ptr noundef byval(%struct.r123array4x64) align 8) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIfLm4EE5beginEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIfLm4EE3endEv(ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3

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

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZN13r123array4x644incrEy(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZN4r123L4ua01Id13r123array4x64EESt5arrayIT_XsrT0_11static_sizeEES4_(ptr dead_on_unwind noalias writable sret(%"struct.std::array.0") align 8, ptr noundef byval(%struct.r123array4x64) align 8) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIdLm4EE5beginEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nofree nosync nounwind willreturn memory(none) uwtable
declare dso_local noundef ptr @_ZNSt5arrayIdLm4EE3endEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

; 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 #6 align 2

attributes #0 = { mustprogress norecurse uwtable "min-legal-vector-width"="64" "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 #4 = { alwaysinline 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 = { mustprogress nofree nosync nounwind willreturn memory(none) 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 = { 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 #7 = { 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 = { nounwind willreturn memory(none) }

!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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass