; LLVM IR from mesbahamin/star-sim :: src (barnes_hut)

; 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.QuadTreeNode = type { ptr, ptr, ptr, ptr, ptr }
%struct.Cell = type { float, float, float, float, float, float, float, float, float, ptr }
%struct.Star = type { float, float, float, float, float, float, i32 }

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @cell_contains_star(ptr noundef, ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @cell_is_empty(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @quad_tree_node_is_leaf(ptr noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @quad_tree_node_subdivide(ptr noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @quad_tree_node_insert_star(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %7 = load ptr, ptr %3, align 8, !tbaa !5
  %8 = icmp ne ptr %7, null
  br i1 %8, label %9, label %167

9:                                                ; preds = %2
  %10 = load ptr, ptr %3, align 8, !tbaa !5
  %11 = getelementptr inbounds %struct.QuadTreeNode, ptr %10, i32 0, i32 0
  %12 = load ptr, ptr %11, align 8, !tbaa !9
  %13 = load ptr, ptr %4, align 8, !tbaa !5
  %14 = call zeroext i1 @cell_contains_star(ptr noundef %12, ptr noundef %13)
  br i1 %14, label %15, label %167

15:                                               ; preds = %9
  %16 = load ptr, ptr %3, align 8, !tbaa !5
  %17 = call zeroext i1 @quad_tree_node_is_leaf(ptr noundef %16)
  br i1 %17, label %18, label %84

18:                                               ; preds = %15
  %19 = load ptr, ptr %3, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.QuadTreeNode, ptr %19, i32 0, i32 0
  %21 = load ptr, ptr %20, align 8, !tbaa !9
  %22 = call zeroext i1 @cell_is_empty(ptr noundef %21)
  br i1 %22, label %23, label %29

23:                                               ; preds = %18
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.QuadTreeNode, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = getelementptr inbounds %struct.Cell, ptr %27, i32 0, i32 9
  store ptr %24, ptr %28, align 8, !tbaa !11
  br label %83

29:                                               ; preds = %18
  %30 = load ptr, ptr %3, align 8, !tbaa !5
  call void @quad_tree_node_subdivide(ptr noundef %30)
  %31 = load ptr, ptr %3, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.QuadTreeNode, ptr %31, i32 0, i32 1
  %33 = load ptr, ptr %32, align 8, !tbaa !14
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.QuadTreeNode, ptr %34, i32 0, i32 0
  %36 = load ptr, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds %struct.Cell, ptr %36, i32 0, i32 9
  %38 = load ptr, ptr %37, align 8, !tbaa !11
  call void @quad_tree_node_insert_star(ptr noundef %33, ptr noundef %38)
  %39 = load ptr, ptr %3, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.QuadTreeNode, ptr %39, i32 0, i32 2
  %41 = load ptr, ptr %40, align 8, !tbaa !15
  %42 = load ptr, ptr %3, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.QuadTreeNode, ptr %42, i32 0, i32 0
  %44 = load ptr, ptr %43, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.Cell, ptr %44, i32 0, i32 9
  %46 = load ptr, ptr %45, align 8, !tbaa !11
  call void @quad_tree_node_insert_star(ptr noundef %41, ptr noundef %46)
  %47 = load ptr, ptr %3, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.QuadTreeNode, ptr %47, i32 0, i32 3
  %49 = load ptr, ptr %48, align 8, !tbaa !16
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.QuadTreeNode, ptr %50, i32 0, i32 0
  %52 = load ptr, ptr %51, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.Cell, ptr %52, i32 0, i32 9
  %54 = load ptr, ptr %53, align 8, !tbaa !11
  call void @quad_tree_node_insert_star(ptr noundef %49, ptr noundef %54)
  %55 = load ptr, ptr %3, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.QuadTreeNode, ptr %55, i32 0, i32 4
  %57 = load ptr, ptr %56, align 8, !tbaa !17
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.QuadTreeNode, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !9
  %61 = getelementptr inbounds %struct.Cell, ptr %60, i32 0, i32 9
  %62 = load ptr, ptr %61, align 8, !tbaa !11
  call void @quad_tree_node_insert_star(ptr noundef %57, ptr noundef %62)
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.QuadTreeNode, ptr %63, i32 0, i32 1
  %65 = load ptr, ptr %64, align 8, !tbaa !14
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  call void @quad_tree_node_insert_star(ptr noundef %65, ptr noundef %66)
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.QuadTreeNode, ptr %67, i32 0, i32 2
  %69 = load ptr, ptr %68, align 8, !tbaa !15
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  call void @quad_tree_node_insert_star(ptr noundef %69, ptr noundef %70)
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.QuadTreeNode, ptr %71, i32 0, i32 3
  %73 = load ptr, ptr %72, align 8, !tbaa !16
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  call void @quad_tree_node_insert_star(ptr noundef %73, ptr noundef %74)
  %75 = load ptr, ptr %3, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.QuadTreeNode, ptr %75, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !17
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  call void @quad_tree_node_insert_star(ptr noundef %77, ptr noundef %78)
  %79 = load ptr, ptr %3, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.QuadTreeNode, ptr %79, i32 0, i32 0
  %81 = load ptr, ptr %80, align 8, !tbaa !9
  %82 = getelementptr inbounds %struct.Cell, ptr %81, i32 0, i32 9
  store ptr null, ptr %82, align 8, !tbaa !11
  br label %83

83:                                               ; preds = %29, %23
  br label %166

84:                                               ; preds = %15
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.Star, ptr %85, i32 0, i32 2
  %87 = load float, ptr %86, align 4, !tbaa !18
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.QuadTreeNode, ptr %88, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  %91 = getelementptr inbounds %struct.Cell, ptr %90, i32 0, i32 4
  %92 = load float, ptr %91, align 8, !tbaa !21
  %93 = fadd float %92, %87
  store float %93, ptr %91, align 8, !tbaa !21
  %94 = load ptr, ptr %4, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.Star, ptr %94, i32 0, i32 4
  %96 = load float, ptr %95, align 4, !tbaa !22
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.Star, ptr %97, i32 0, i32 2
  %99 = load float, ptr %98, align 4, !tbaa !18
  %100 = load ptr, ptr %3, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.QuadTreeNode, ptr %100, i32 0, i32 0
  %102 = load ptr, ptr %101, align 8, !tbaa !9
  %103 = getelementptr inbounds %struct.Cell, ptr %102, i32 0, i32 7
  %104 = load float, ptr %103, align 4, !tbaa !23
  %105 = call float @llvm.fmuladd.f32(float %96, float %99, float %104)
  store float %105, ptr %103, align 4, !tbaa !23
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.Star, ptr %106, i32 0, i32 5
  %108 = load float, ptr %107, align 4, !tbaa !24
  %109 = load ptr, ptr %4, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.Star, ptr %109, i32 0, i32 2
  %111 = load float, ptr %110, align 4, !tbaa !18
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.QuadTreeNode, ptr %112, i32 0, i32 0
  %114 = load ptr, ptr %113, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.Cell, ptr %114, i32 0, i32 8
  %116 = load float, ptr %115, align 8, !tbaa !25
  %117 = call float @llvm.fmuladd.f32(float %108, float %111, float %116)
  store float %117, ptr %115, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %118 = load ptr, ptr %3, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.QuadTreeNode, ptr %118, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8, !tbaa !9
  %121 = getelementptr inbounds %struct.Cell, ptr %120, i32 0, i32 7
  %122 = load float, ptr %121, align 4, !tbaa !23
  %123 = load ptr, ptr %3, align 8, !tbaa !5
  %124 = getelementptr inbounds %struct.QuadTreeNode, ptr %123, i32 0, i32 0
  %125 = load ptr, ptr %124, align 8, !tbaa !9
  %126 = getelementptr inbounds %struct.Cell, ptr %125, i32 0, i32 4
  %127 = load float, ptr %126, align 8, !tbaa !21
  %128 = fdiv float %122, %127
  store float %128, ptr %5, align 4, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %129 = load ptr, ptr %3, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.QuadTreeNode, ptr %129, i32 0, i32 0
  %131 = load ptr, ptr %130, align 8, !tbaa !9
  %132 = getelementptr inbounds %struct.Cell, ptr %131, i32 0, i32 8
  %133 = load float, ptr %132, align 8, !tbaa !25
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.QuadTreeNode, ptr %134, i32 0, i32 0
  %136 = load ptr, ptr %135, align 8, !tbaa !9
  %137 = getelementptr inbounds %struct.Cell, ptr %136, i32 0, i32 4
  %138 = load float, ptr %137, align 8, !tbaa !21
  %139 = fdiv float %133, %138
  store float %139, ptr %6, align 4, !tbaa !26
  %140 = load float, ptr %5, align 4, !tbaa !26
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.QuadTreeNode, ptr %141, i32 0, i32 0
  %143 = load ptr, ptr %142, align 8, !tbaa !9
  %144 = getelementptr inbounds %struct.Cell, ptr %143, i32 0, i32 5
  store float %140, ptr %144, align 4, !tbaa !27
  %145 = load float, ptr %6, align 4, !tbaa !26
  %146 = load ptr, ptr %3, align 8, !tbaa !5
  %147 = getelementptr inbounds %struct.QuadTreeNode, ptr %146, i32 0, i32 0
  %148 = load ptr, ptr %147, align 8, !tbaa !9
  %149 = getelementptr inbounds %struct.Cell, ptr %148, i32 0, i32 6
  store float %145, ptr %149, align 8, !tbaa !28
  %150 = load ptr, ptr %3, align 8, !tbaa !5
  %151 = getelementptr inbounds %struct.QuadTreeNode, ptr %150, i32 0, i32 1
  %152 = load ptr, ptr %151, align 8, !tbaa !14
  %153 = load ptr, ptr %4, align 8, !tbaa !5
  call void @quad_tree_node_insert_star(ptr noundef %152, ptr noundef %153)
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.QuadTreeNode, ptr %154, i32 0, i32 2
  %156 = load ptr, ptr %155, align 8, !tbaa !15
  %157 = load ptr, ptr %4, align 8, !tbaa !5
  call void @quad_tree_node_insert_star(ptr noundef %156, ptr noundef %157)
  %158 = load ptr, ptr %3, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.QuadTreeNode, ptr %158, i32 0, i32 3
  %160 = load ptr, ptr %159, align 8, !tbaa !16
  %161 = load ptr, ptr %4, align 8, !tbaa !5
  call void @quad_tree_node_insert_star(ptr noundef %160, ptr noundef %161)
  %162 = load ptr, ptr %3, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.QuadTreeNode, ptr %162, i32 0, i32 4
  %164 = load ptr, ptr %163, align 8, !tbaa !17
  %165 = load ptr, ptr %4, align 8, !tbaa !5
  call void @quad_tree_node_insert_star(ptr noundef %164, ptr noundef %165)
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %166

166:                                              ; preds = %84, %83
  br label %167

167:                                              ; preds = %166, %9, %2
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 speculatable willreturn memory(none) }
attributes #3 = { 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/C++ TBAA"}
!9 = !{!10, !6, i64 0}
!10 = !{!"QuadTreeNode", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32}
!11 = !{!12, !6, i64 40}
!12 = !{!"Cell", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !13, i64 24, !13, i64 28, !13, i64 32, !6, i64 40}
!13 = !{!"float", !7, i64 0}
!14 = !{!10, !6, i64 8}
!15 = !{!10, !6, i64 16}
!16 = !{!10, !6, i64 24}
!17 = !{!10, !6, i64 32}
!18 = !{!19, !13, i64 8}
!19 = !{!"Star", !13, i64 0, !13, i64 4, !13, i64 8, !13, i64 12, !13, i64 16, !13, i64 20, !20, i64 24}
!20 = !{!"int", !7, i64 0}
!21 = !{!12, !13, i64 16}
!22 = !{!19, !13, i64 16}
!23 = !{!12, !13, i64 28}
!24 = !{!19, !13, i64 20}
!25 = !{!12, !13, i64 32}
!26 = !{!13, !13, i64 0}
!27 = !{!12, !13, i64 20}
!28 = !{!12, !13, i64 24}


; 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: nounwind uwtable
declare dso_local zeroext i1 @cell_contains_star(ptr noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @cell_is_empty(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @quad_tree_node_is_leaf(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @quad_tree_node_subdivide(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @quad_tree_node_insert_star(ptr noundef %0, ptr noundef %1) local_unnamed_addr #0 {
  %.not51 = icmp eq ptr %0, null
  br i1 %.not51, label %common.ret, label %.lr.ph

.lr.ph:                                           ; preds = %2
  %3 = getelementptr inbounds i8, ptr %1, i64 8
  %4 = getelementptr inbounds i8, ptr %1, i64 16
  br label %5

5:                                                ; preds = %.lr.ph, %tailrecurse
  %.tr52 = phi ptr [ %0, %.lr.ph ], [ %62, %tailrecurse ]
  %6 = load ptr, ptr %.tr52, align 8, !tbaa !5
  %7 = tail call zeroext i1 @cell_contains_star(ptr noundef %6, ptr noundef %1)
  br i1 %7, label %8, label %common.ret

8:                                                ; preds = %5
  %9 = tail call zeroext i1 @quad_tree_node_is_leaf(ptr noundef nonnull %.tr52)
  br i1 %9, label %10, label %tailrecurse

10:                                               ; preds = %8
  %11 = load ptr, ptr %.tr52, align 8, !tbaa !5
  %12 = tail call zeroext i1 @cell_is_empty(ptr noundef %11)
  br i1 %12, label %common.ret.sink.split, label %15

common.ret.sink.split:                            ; preds = %10, %15
  %.sink = phi ptr [ null, %15 ], [ %1, %10 ]
  %13 = load ptr, ptr %.tr52, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %13, i64 40
  store ptr %.sink, ptr %14, align 8, !tbaa !10
  br label %common.ret

common.ret:                                       ; preds = %5, %tailrecurse, %common.ret.sink.split, %2
  ret void

15:                                               ; preds = %10
  tail call void @quad_tree_node_subdivide(ptr noundef nonnull %.tr52)
  %16 = getelementptr inbounds i8, ptr %.tr52, i64 8
  %17 = load ptr, ptr %16, align 8, !tbaa !13
  %18 = load ptr, ptr %.tr52, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 40
  %20 = load ptr, ptr %19, align 8, !tbaa !10
  tail call void @quad_tree_node_insert_star(ptr noundef %17, ptr noundef %20)
  %21 = getelementptr inbounds i8, ptr %.tr52, i64 16
  %22 = load ptr, ptr %21, align 8, !tbaa !14
  %23 = load ptr, ptr %.tr52, align 8, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %23, i64 40
  %25 = load ptr, ptr %24, align 8, !tbaa !10
  tail call void @quad_tree_node_insert_star(ptr noundef %22, ptr noundef %25)
  %26 = getelementptr inbounds i8, ptr %.tr52, i64 24
  %27 = load ptr, ptr %26, align 8, !tbaa !15
  %28 = load ptr, ptr %.tr52, align 8, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %28, i64 40
  %30 = load ptr, ptr %29, align 8, !tbaa !10
  tail call void @quad_tree_node_insert_star(ptr noundef %27, ptr noundef %30)
  %31 = getelementptr inbounds i8, ptr %.tr52, i64 32
  %32 = load ptr, ptr %31, align 8, !tbaa !16
  %33 = load ptr, ptr %.tr52, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %33, i64 40
  %35 = load ptr, ptr %34, align 8, !tbaa !10
  tail call void @quad_tree_node_insert_star(ptr noundef %32, ptr noundef %35)
  %36 = load ptr, ptr %16, align 8, !tbaa !13
  tail call void @quad_tree_node_insert_star(ptr noundef %36, ptr noundef %1)
  %37 = load ptr, ptr %21, align 8, !tbaa !14
  tail call void @quad_tree_node_insert_star(ptr noundef %37, ptr noundef %1)
  %38 = load ptr, ptr %26, align 8, !tbaa !15
  tail call void @quad_tree_node_insert_star(ptr noundef %38, ptr noundef %1)
  %39 = load ptr, ptr %31, align 8, !tbaa !16
  tail call void @quad_tree_node_insert_star(ptr noundef %39, ptr noundef %1)
  br label %common.ret.sink.split

tailrecurse:                                      ; preds = %8
  %40 = load float, ptr %3, align 4, !tbaa !17
  %41 = load ptr, ptr %.tr52, align 8, !tbaa !5
  %42 = getelementptr inbounds i8, ptr %41, i64 16
  %43 = load float, ptr %42, align 8, !tbaa !20
  %44 = fadd float %40, %43
  store float %44, ptr %42, align 8, !tbaa !20
  %45 = getelementptr inbounds i8, ptr %41, i64 28
  %46 = getelementptr inbounds i8, ptr %41, i64 20
  %47 = load <2 x float>, ptr %4, align 4, !tbaa !21
  %48 = load <2 x float>, ptr %45, align 4, !tbaa !21
  %49 = insertelement <2 x float> poison, float %40, i64 0
  %50 = shufflevector <2 x float> %49, <2 x float> poison, <2 x i32> zeroinitializer
  %51 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %47, <2 x float> %50, <2 x float> %48)
  store <2 x float> %51, ptr %45, align 4, !tbaa !21
  %52 = insertelement <2 x float> poison, float %44, i64 0
  %53 = shufflevector <2 x float> %52, <2 x float> poison, <2 x i32> zeroinitializer
  %54 = fdiv <2 x float> %51, %53
  store <2 x float> %54, ptr %46, align 4, !tbaa !21
  %55 = getelementptr inbounds i8, ptr %.tr52, i64 8
  %56 = load ptr, ptr %55, align 8, !tbaa !13
  tail call void @quad_tree_node_insert_star(ptr noundef %56, ptr noundef %1)
  %57 = getelementptr inbounds i8, ptr %.tr52, i64 16
  %58 = load ptr, ptr %57, align 8, !tbaa !14
  tail call void @quad_tree_node_insert_star(ptr noundef %58, ptr noundef %1)
  %59 = getelementptr inbounds i8, ptr %.tr52, i64 24
  %60 = load ptr, ptr %59, align 8, !tbaa !15
  tail call void @quad_tree_node_insert_star(ptr noundef %60, ptr noundef %1)
  %61 = getelementptr inbounds i8, ptr %.tr52, i64 32
  %62 = load ptr, ptr %61, align 8, !tbaa !16
  %.not = icmp eq ptr %62, null
  br i1 %.not, label %common.ret, label %5
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #1

attributes #0 = { 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 speculatable 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, !7, i64 0}
!6 = !{!"QuadTreeNode", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24, !7, i64 32}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!11, !7, i64 40}
!11 = !{!"Cell", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !12, i64 24, !12, i64 28, !12, i64 32, !7, i64 40}
!12 = !{!"float", !8, i64 0}
!13 = !{!6, !7, i64 8}
!14 = !{!6, !7, i64 16}
!15 = !{!6, !7, i64 24}
!16 = !{!6, !7, i64 32}
!17 = !{!18, !12, i64 8}
!18 = !{!"Star", !12, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !12, i64 20, !19, i64 24}
!19 = !{!"int", !8, i64 0}
!20 = !{!11, !12, i64 16}
!21 = !{!12, !12, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalDCEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass