; LLVM IR from kylewray/nova :: src/mdp/algorithms (ssp_rtdp_cpu)

; 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.nova::NovaMDP" = type { i32, i32, i32, float, i32, float, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%"struct.nova::NovaSSPRTDPCPU" = type { ptr, i32, i32, i32, ptr, ptr }

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4nova33ssp_rtdp_bellman_update_state_cpuEjjjPKiPKfS3_jPfPj(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, 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 nounwind uwtable
declare dso_local void @_ZN4nova26ssp_rtdp_mark_expanded_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4nova29ssp_rtdp_random_successor_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEjjRj(ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4nova20ssp_rtdp_is_goal_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4nova24ssp_rtdp_is_dead_end_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef, ptr noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local i32 @ssp_rtdp_update_cpu(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %7 = alloca i8, align 1
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #2
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %"struct.nova::NovaMDP", ptr %10, i32 0, i32 6
  %12 = load i32, ptr %11, align 8, !tbaa !9
  store i32 %12, ptr %5, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #2
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = load i32, ptr %5, align 4, !tbaa !13
  %16 = call noundef zeroext i1 @_ZN4nova20ssp_rtdp_is_goal_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef %13, ptr noundef %14, i32 noundef %15)
  %17 = zext i1 %16 to i8
  store i8 %17, ptr %6, align 1, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 1, ptr %7) #2
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  %20 = load i32, ptr %5, align 4, !tbaa !13
  %21 = call noundef zeroext i1 @_ZN4nova24ssp_rtdp_is_dead_end_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef %18, ptr noundef %19, i32 noundef %20)
  %22 = zext i1 %21 to i8
  store i8 %22, ptr %7, align 1, !tbaa !14
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.nova::NovaSSPRTDPCPU", ptr %23, i32 0, i32 3
  store i32 0, ptr %24, align 8, !tbaa !16
  br label %25

25:                                               ; preds = %41, %2
  %26 = load i8, ptr %6, align 1, !tbaa !14, !range !18, !noundef !19
  %27 = trunc i8 %26 to i1
  br i1 %27, label %39, label %28

28:                                               ; preds = %25
  %29 = load i8, ptr %7, align 1, !tbaa !14, !range !18, !noundef !19
  %30 = trunc i8 %29 to i1
  br i1 %30, label %39, label %31

31:                                               ; preds = %28
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.nova::NovaSSPRTDPCPU", ptr %32, i32 0, i32 3
  %34 = load i32, ptr %33, align 8, !tbaa !16
  %35 = load ptr, ptr %3, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.nova::NovaMDP", ptr %35, i32 0, i32 4
  %37 = load i32, ptr %36, align 8, !tbaa !20
  %38 = icmp ult i32 %34, %37
  br label %39

39:                                               ; preds = %31, %28, %25
  %40 = phi i1 [ false, %28 ], [ false, %25 ], [ %38, %31 ]
  br i1 %40, label %41, label %93

41:                                               ; preds = %39
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %"struct.nova::NovaMDP", ptr %42, i32 0, i32 0
  %44 = load i32, ptr %43, align 8, !tbaa !21
  %45 = load ptr, ptr %3, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.nova::NovaMDP", ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 4, !tbaa !22
  %48 = load ptr, ptr %3, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.nova::NovaMDP", ptr %48, i32 0, i32 2
  %50 = load i32, ptr %49, align 8, !tbaa !23
  %51 = load ptr, ptr %3, align 8, !tbaa !5
  %52 = getelementptr inbounds %"struct.nova::NovaMDP", ptr %51, i32 0, i32 9
  %53 = load ptr, ptr %52, align 8, !tbaa !24
  %54 = load ptr, ptr %3, align 8, !tbaa !5
  %55 = getelementptr inbounds %"struct.nova::NovaMDP", ptr %54, i32 0, i32 10
  %56 = load ptr, ptr %55, align 8, !tbaa !25
  %57 = load ptr, ptr %3, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.nova::NovaMDP", ptr %57, i32 0, i32 11
  %59 = load ptr, ptr %58, align 8, !tbaa !26
  %60 = load i32, ptr %5, align 4, !tbaa !13
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.nova::NovaSSPRTDPCPU", ptr %61, i32 0, i32 4
  %63 = load ptr, ptr %62, align 8, !tbaa !27
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.nova::NovaSSPRTDPCPU", ptr %64, i32 0, i32 5
  %66 = load ptr, ptr %65, align 8, !tbaa !28
  call void @_ZN4nova33ssp_rtdp_bellman_update_state_cpuEjjjPKiPKfS3_jPfPj(i32 noundef %44, i32 noundef %47, i32 noundef %50, ptr noundef %53, ptr noundef %56, ptr noundef %59, i32 noundef %60, ptr noundef %63, ptr noundef %66)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %"struct.nova::NovaSSPRTDPCPU", ptr %67, i32 0, i32 5
  %69 = load ptr, ptr %68, align 8, !tbaa !28
  %70 = load i32, ptr %5, align 4, !tbaa !13
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds i32, ptr %69, i64 %71
  %73 = load i32, ptr %72, align 4, !tbaa !13
  store i32 %73, ptr %8, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  store i32 0, ptr %9, align 4, !tbaa !13
  %74 = load ptr, ptr %3, align 8, !tbaa !5
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = load i32, ptr %5, align 4, !tbaa !13
  %77 = load i32, ptr %8, align 4, !tbaa !13
  call void @_ZN4nova29ssp_rtdp_random_successor_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEjjRj(ptr noundef %74, ptr noundef %75, i32 noundef %76, i32 noundef %77, ptr noundef nonnull align 4 dereferenceable(4) %9)
  %78 = load i32, ptr %9, align 4, !tbaa !13
  store i32 %78, ptr %5, align 4, !tbaa !13
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = load ptr, ptr %4, align 8, !tbaa !5
  %81 = load i32, ptr %5, align 4, !tbaa !13
  %82 = call noundef zeroext i1 @_ZN4nova20ssp_rtdp_is_goal_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef %79, ptr noundef %80, i32 noundef %81)
  %83 = zext i1 %82 to i8
  store i8 %83, ptr %6, align 1, !tbaa !14
  %84 = load ptr, ptr %3, align 8, !tbaa !5
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = load i32, ptr %5, align 4, !tbaa !13
  %87 = call noundef zeroext i1 @_ZN4nova24ssp_rtdp_is_dead_end_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef %84, ptr noundef %85, i32 noundef %86)
  %88 = zext i1 %87 to i8
  store i8 %88, ptr %7, align 1, !tbaa !14
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.nova::NovaSSPRTDPCPU", ptr %89, i32 0, i32 3
  %91 = load i32, ptr %90, align 8, !tbaa !16
  %92 = add i32 %91, 1
  store i32 %92, ptr %90, align 8, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  br label %25, !llvm.loop !29

93:                                               ; preds = %39
  %94 = load i8, ptr %6, align 1, !tbaa !14, !range !18, !noundef !19
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %103

96:                                               ; preds = %93
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %"struct.nova::NovaSSPRTDPCPU", ptr %97, i32 0, i32 4
  %99 = load ptr, ptr %98, align 8, !tbaa !27
  %100 = load i32, ptr %5, align 4, !tbaa !13
  %101 = zext i32 %100 to i64
  %102 = getelementptr inbounds float, ptr %99, i64 %101
  store float 0.000000e+00, ptr %102, align 4, !tbaa !31
  br label %103

103:                                              ; preds = %96, %93
  %104 = load i8, ptr %7, align 1, !tbaa !14, !range !18, !noundef !19
  %105 = trunc i8 %104 to i1
  br i1 %105, label %106, label %113

106:                                              ; preds = %103
  %107 = load ptr, ptr %4, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.nova::NovaSSPRTDPCPU", ptr %107, i32 0, i32 4
  %109 = load ptr, ptr %108, align 8, !tbaa !27
  %110 = load i32, ptr %5, align 4, !tbaa !13
  %111 = zext i32 %110 to i64
  %112 = getelementptr inbounds float, ptr %109, i64 %111
  store float 1.000000e+10, ptr %112, align 4, !tbaa !31
  br label %113

113:                                              ; preds = %106, %103
  %114 = load ptr, ptr %3, align 8, !tbaa !5
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  %116 = load i32, ptr %5, align 4, !tbaa !13
  call void @_ZN4nova26ssp_rtdp_mark_expanded_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef %114, ptr noundef %115, i32 noundef %116)
  call void @llvm.lifetime.end.p0(i64 1, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #2
  ret i32 0
}

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 = { 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, !11, i64 24}
!10 = !{!"_ZTSN4nova7NovaMDPE", !11, i64 0, !11, i64 4, !11, i64 8, !12, i64 12, !11, i64 16, !12, i64 20, !11, i64 24, !11, i64 28, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88}
!11 = !{!"int", !7, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"bool", !7, i64 0}
!16 = !{!17, !11, i64 16}
!17 = !{!"_ZTSN4nova14NovaSSPRTDPCPUE", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !6, i64 24, !6, i64 32}
!18 = !{i8 0, i8 2}
!19 = !{}
!20 = !{!10, !11, i64 16}
!21 = !{!10, !11, i64 0}
!22 = !{!10, !11, i64 4}
!23 = !{!10, !11, i64 8}
!24 = !{!10, !6, i64 40}
!25 = !{!10, !6, i64 48}
!26 = !{!10, !6, i64 56}
!27 = !{!17, !6, i64 24}
!28 = !{!17, !6, i64 32}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!12, !12, 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"

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4nova33ssp_rtdp_bellman_update_state_cpuEjjjPKiPKfS3_jPfPj(i32 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, 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 nounwind uwtable
declare dso_local void @_ZN4nova26ssp_rtdp_mark_expanded_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4nova20ssp_rtdp_is_goal_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN4nova24ssp_rtdp_is_dead_end_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef i32 @ssp_rtdp_update_cpu(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %3 = alloca i32, align 4
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = tail call noundef zeroext i1 @_ZN4nova20ssp_rtdp_is_goal_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef %0, ptr noundef %1, i32 noundef %5)
  %7 = tail call noundef zeroext i1 @_ZN4nova24ssp_rtdp_is_dead_end_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef %0, ptr noundef %1, i32 noundef %5)
  %8 = getelementptr inbounds i8, ptr %1, i64 16
  store i32 0, ptr %8, align 8, !tbaa !12
  %brmerge44 = or i1 %6, %7
  br i1 %brmerge44, label %.critedge, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %9 = getelementptr inbounds i8, ptr %0, i64 16
  %10 = getelementptr inbounds i8, ptr %0, i64 4
  %11 = getelementptr inbounds i8, ptr %0, i64 8
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = getelementptr inbounds i8, ptr %0, i64 48
  %14 = getelementptr inbounds i8, ptr %0, i64 56
  %15 = getelementptr inbounds i8, ptr %1, i64 24
  %16 = getelementptr inbounds i8, ptr %1, i64 32
  br label %17

17:                                               ; preds = %.lr.ph, %21
  %18 = phi i32 [ 0, %.lr.ph ], [ %38, %21 ]
  %.047 = phi i32 [ %5, %.lr.ph ], [ %34, %21 ]
  %19 = load i32, ptr %9, align 8, !tbaa !14
  %20 = icmp ult i32 %18, %19
  br i1 %20, label %21, label %.thread

21:                                               ; preds = %17
  %22 = load i32, ptr %0, align 8, !tbaa !15
  %23 = load i32, ptr %10, align 4, !tbaa !16
  %24 = load i32, ptr %11, align 8, !tbaa !17
  %25 = load ptr, ptr %12, align 8, !tbaa !18
  %26 = load ptr, ptr %13, align 8, !tbaa !19
  %27 = load ptr, ptr %14, align 8, !tbaa !20
  %28 = load ptr, ptr %15, align 8, !tbaa !21
  %29 = load ptr, ptr %16, align 8, !tbaa !22
  call void @_ZN4nova33ssp_rtdp_bellman_update_state_cpuEjjjPKiPKfS3_jPfPj(i32 noundef %22, i32 noundef %23, i32 noundef %24, ptr noundef %25, ptr noundef %26, ptr noundef %27, i32 noundef %.047, ptr noundef %28, ptr noundef %29)
  %30 = load ptr, ptr %16, align 8, !tbaa !22
  %31 = zext i32 %.047 to i64
  %32 = getelementptr inbounds i32, ptr %30, i64 %31
  %33 = load i32, ptr %32, align 4, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #2
  store i32 0, ptr %3, align 4, !tbaa !23
  call void @_ZN4nova29ssp_rtdp_random_successor_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEjjRj(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %.047, i32 noundef %33, ptr noundef nonnull align 4 dereferenceable(4) %3)
  %34 = load i32, ptr %3, align 4, !tbaa !23
  %35 = call noundef zeroext i1 @_ZN4nova20ssp_rtdp_is_goal_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34)
  %36 = call noundef zeroext i1 @_ZN4nova24ssp_rtdp_is_dead_end_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %34)
  %37 = load i32, ptr %8, align 8, !tbaa !12
  %38 = add i32 %37, 1
  store i32 %38, ptr %8, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #2
  %brmerge = or i1 %35, %36
  br i1 %brmerge, label %.critedge, label %17, !llvm.loop !24

.critedge:                                        ; preds = %21, %2
  %.043.in.lcssa = phi i1 [ %6, %2 ], [ %35, %21 ]
  %.042.in.lcssa = phi i1 [ %7, %2 ], [ %36, %21 ]
  %.0.lcssa = phi i32 [ %5, %2 ], [ %34, %21 ]
  br i1 %.043.in.lcssa, label %39, label %44

39:                                               ; preds = %.critedge
  %40 = getelementptr inbounds i8, ptr %1, i64 24
  %41 = load ptr, ptr %40, align 8, !tbaa !21
  %42 = zext i32 %.0.lcssa to i64
  %43 = getelementptr inbounds float, ptr %41, i64 %42
  store float 0.000000e+00, ptr %43, align 4, !tbaa !26
  br i1 %.042.in.lcssa, label %45, label %.thread

44:                                               ; preds = %.critedge
  br i1 %.042.in.lcssa, label %45, label %.thread

45:                                               ; preds = %39, %44
  %46 = getelementptr inbounds i8, ptr %1, i64 24
  %47 = load ptr, ptr %46, align 8, !tbaa !21
  %48 = zext i32 %.0.lcssa to i64
  %49 = getelementptr inbounds float, ptr %47, i64 %48
  store float 1.000000e+10, ptr %49, align 4, !tbaa !26
  br label %.thread

.thread:                                          ; preds = %17, %39, %45, %44
  %.0.lcssa5861 = phi i32 [ %.0.lcssa, %45 ], [ %.0.lcssa, %44 ], [ %.0.lcssa, %39 ], [ %.047, %17 ]
  call void @_ZN4nova26ssp_rtdp_mark_expanded_cpuEPKNS_7NovaMDPEPNS_14NovaSSPRTDPCPUEj(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %.0.lcssa5861)
  ret i32 0
}

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


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