; LLVM IR from mvr/jiggle :: src (Area)

; 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.jgVector2 = type { float, float }
%struct.jgArea = type { ptr, %struct.jgAABB, %struct.jgVector2, ptr, i8, %struct.jgVector2, %struct.jgVector2, float, i8, float, float, i8 }
%struct.jgAABB = type { %struct.jgVector2, %struct.jgVector2, i8 }
%struct.jgList = type { ptr, i32, i32 }
%struct.jgParticle = type { float, %struct.jgVector2, %struct.jgVector2, %struct.jgVector2, %struct.jgVector2, %struct.jgVector2, float, float, i8, i8, ptr }

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local ptr @jgAreaInit(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca %struct.jgVector2, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca %struct.jgVector2, align 4
  %11 = alloca %struct.jgVector2, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.jgVector2, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = load i32, ptr %6, align 4, !tbaa !9
  %16 = call ptr @jgListNewFromArray(ptr noundef %14, i32 noundef %15)
  %17 = load ptr, ptr %4, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.jgArea, ptr %17, i32 0, i32 0
  store ptr %16, ptr %18, align 8, !tbaa !11
  %19 = load i32, ptr %6, align 4, !tbaa !9
  %20 = sext i32 %19 to i64
  %21 = mul i64 %20, 64
  %22 = call noalias ptr @malloc(i64 noundef %21) #7
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.jgArea, ptr %23, i32 0, i32 3
  store ptr %22, ptr %24, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.jgArea, ptr %25, i32 0, i32 0
  %27 = load ptr, ptr %26, align 8, !tbaa !11
  %28 = call ptr @jgListGet(ptr noundef %27, i32 noundef 0)
  store ptr %28, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %48, %3
  %30 = load i32, ptr %9, align 4, !tbaa !9
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.jgArea, ptr %31, i32 0, i32 0
  %33 = load ptr, ptr %32, align 8, !tbaa !11
  %34 = getelementptr inbounds %struct.jgList, ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !18
  %36 = icmp slt i32 %30, %35
  br i1 %36, label %38, label %37

37:                                               ; preds = %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  br label %56

38:                                               ; preds = %29
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.jgParticle, ptr %39, i32 0, i32 10
  %41 = load ptr, ptr %40, align 8, !tbaa !20
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  call void @jgListAdd(ptr noundef %41, ptr noundef %42)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #8
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.jgParticle, ptr %43, i32 0, i32 1
  %45 = load <2 x float>, ptr %7, align 4
  %46 = load <2 x float>, ptr %44, align 4
  %47 = call <2 x float> @jgVector2Add(<2 x float> %45, <2 x float> %46)
  store <2 x float> %47, ptr %10, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %10, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #8
  br label %48

48:                                               ; preds = %38
  %49 = load i32, ptr %9, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %9, align 4, !tbaa !9
  %51 = load ptr, ptr %4, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.jgArea, ptr %51, i32 0, i32 0
  %53 = load ptr, ptr %52, align 8, !tbaa !11
  %54 = load i32, ptr %9, align 4, !tbaa !9
  %55 = call ptr @jgListGet(ptr noundef %53, i32 noundef %54)
  store ptr %55, ptr %8, align 8, !tbaa !5
  br label %29, !llvm.loop !24

56:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #8
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = sitofp i32 %57 to float
  %59 = load <2 x float>, ptr %7, align 4
  %60 = call <2 x float> @jgVector2Divide(<2 x float> %59, float noundef %58)
  store <2 x float> %60, ptr %11, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %7, ptr align 4 %11, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #8
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.jgArea, ptr %61, i32 0, i32 0
  %63 = load ptr, ptr %62, align 8, !tbaa !11
  %64 = call ptr @jgListGet(ptr noundef %63, i32 noundef 0)
  store ptr %64, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %86, %56
  %66 = load i32, ptr %12, align 4, !tbaa !9
  %67 = load ptr, ptr %4, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.jgArea, ptr %67, i32 0, i32 0
  %69 = load ptr, ptr %68, align 8, !tbaa !11
  %70 = getelementptr inbounds %struct.jgList, ptr %69, i32 0, i32 1
  %71 = load i32, ptr %70, align 8, !tbaa !18
  %72 = icmp slt i32 %66, %71
  br i1 %72, label %74, label %73

73:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  br label %94

74:                                               ; preds = %65
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.jgArea, ptr %75, i32 0, i32 3
  %77 = load ptr, ptr %76, align 8, !tbaa !17
  %78 = load i32, ptr %12, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds %struct.jgVector2, ptr %77, i64 %79
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #8
  %81 = load ptr, ptr %8, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.jgParticle, ptr %81, i32 0, i32 1
  %83 = load <2 x float>, ptr %82, align 4
  %84 = load <2 x float>, ptr %7, align 4
  %85 = call <2 x float> @jgVector2Subtract(<2 x float> %83, <2 x float> %84)
  store <2 x float> %85, ptr %13, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %80, ptr align 4 %13, i64 8, i1 false), !tbaa.struct !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #8
  br label %86

86:                                               ; preds = %74
  %87 = load i32, ptr %12, align 4, !tbaa !9
  %88 = add nsw i32 %87, 1
  store i32 %88, ptr %12, align 4, !tbaa !9
  %89 = load ptr, ptr %4, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.jgArea, ptr %89, i32 0, i32 0
  %91 = load ptr, ptr %90, align 8, !tbaa !11
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = call ptr @jgListGet(ptr noundef %91, i32 noundef %92)
  store ptr %93, ptr %8, align 8, !tbaa !5
  br label %65, !llvm.loop !26

94:                                               ; preds = %73
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.jgArea, ptr %95, i32 0, i32 8
  store i8 0, ptr %96, align 8, !tbaa !27
  %97 = load ptr, ptr %4, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.jgArea, ptr %97, i32 0, i32 9
  store float 2.000000e+01, ptr %98, align 4, !tbaa !28
  %99 = load ptr, ptr %4, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.jgArea, ptr %99, i32 0, i32 10
  store float 5.000000e+00, ptr %100, align 8, !tbaa !29
  %101 = load ptr, ptr %4, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.jgArea, ptr %101, i32 0, i32 4
  store i8 0, ptr %102, align 8, !tbaa !30
  %103 = load ptr, ptr %4, align 8, !tbaa !5
  call void @jgAreaDerive(ptr noundef %103)
  %104 = load ptr, ptr %4, align 8, !tbaa !5
  call void @jgAreaUpdateAABB(ptr noundef %104, float noundef 0.000000e+00)
  %105 = load ptr, ptr %4, align 8, !tbaa !5
  call void @jgAreaUpdateCenterOfMass(ptr noundef %105)
  %106 = load ptr, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #8
  ret ptr %106
}

declare ptr @jgListNewFromArray(ptr noundef, i32 noundef) #2

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @jgListGet(ptr noundef, i32 noundef) #4

declare void @jgListAdd(ptr noundef, ptr noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @jgVector2Add(<2 x float>, <2 x float>) #5

; 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) #6

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @jgVector2Divide(<2 x float>, float noundef) #5

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @jgVector2Subtract(<2 x float>, <2 x float>) #5

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

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

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

attributes #0 = { nounwind allocsize(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 = { nounwind 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 #2 = { "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 willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint 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 #5 = { inlinehint nounwind 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 #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind allocsize(0) }
attributes #8 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"jgArea", !6, i64 0, !13, i64 8, !14, i64 28, !6, i64 40, !16, i64 48, !14, i64 52, !14, i64 60, !15, i64 68, !16, i64 72, !15, i64 76, !15, i64 80, !16, i64 84}
!13 = !{!"jgAABB", !14, i64 0, !14, i64 8, !16, i64 16}
!14 = !{!"jgVector2", !15, i64 0, !15, i64 4}
!15 = !{!"float", !7, i64 0}
!16 = !{!"_Bool", !7, i64 0}
!17 = !{!12, !6, i64 40}
!18 = !{!19, !10, i64 8}
!19 = !{!"jgList", !6, i64 0, !10, i64 8, !10, i64 12}
!20 = !{!21, !6, i64 56}
!21 = !{!"jgParticle", !15, i64 0, !14, i64 4, !14, i64 12, !14, i64 20, !14, i64 28, !14, i64 36, !15, i64 44, !15, i64 48, !16, i64 52, !16, i64 53, !6, i64 56}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !23}
!23 = !{!15, !15, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}
!26 = distinct !{!26, !25}
!27 = !{!12, !16, i64 72}
!28 = !{!12, !15, i64 76}
!29 = !{!12, !15, i64 80}
!30 = !{!12, !16, i64 48}


; 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.jgVector2 = type { float, float }

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @jgAreaInit(ptr noundef returned %0, ptr noundef %1, i32 noundef %2) local_unnamed_addr #1 {
  %4 = tail call ptr @jgListNewFromArray(ptr noundef %1, i32 noundef %2) #5
  store ptr %4, ptr %0, align 8, !tbaa !5
  %5 = sext i32 %2 to i64
  %6 = shl nsw i64 %5, 6
  %7 = tail call noalias ptr @malloc(i64 noundef %6) #6
  %8 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %7, ptr %8, align 8, !tbaa !14
  %9 = tail call ptr @jgListGet(ptr noundef %4, i32 noundef 0)
  %10 = load ptr, ptr %0, align 8, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %10, i64 8
  %12 = load i32, ptr %11, align 8, !tbaa !15
  %13 = icmp sgt i32 %12, 0
  br i1 %13, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %3
  %.sroa.011.0.lcssa = phi <2 x float> [ undef, %3 ], [ %26, %.lr.ph ]
  %14 = sitofp i32 %2 to float
  %15 = tail call <2 x float> @jgVector2Divide(<2 x float> %.sroa.011.0.lcssa, float noundef %14)
  %16 = load ptr, ptr %0, align 8, !tbaa !5
  %17 = tail call ptr @jgListGet(ptr noundef %16, i32 noundef 0)
  %18 = load ptr, ptr %0, align 8, !tbaa !5
  %19 = getelementptr inbounds i8, ptr %18, i64 8
  %20 = load i32, ptr %19, align 8, !tbaa !15
  %21 = icmp sgt i32 %20, 0
  br i1 %21, label %.lr.ph44, label %._crit_edge45

.lr.ph:                                           ; preds = %3, %.lr.ph
  %.sroa.011.040 = phi <2 x float> [ %26, %.lr.ph ], [ undef, %3 ]
  %.03639 = phi ptr [ %29, %.lr.ph ], [ %9, %3 ]
  %.03738 = phi i32 [ %27, %.lr.ph ], [ 0, %3 ]
  %22 = getelementptr inbounds i8, ptr %.03639, i64 56
  %23 = load ptr, ptr %22, align 8, !tbaa !18
  tail call void @jgListAdd(ptr noundef %23, ptr noundef nonnull %0) #5
  %24 = getelementptr inbounds i8, ptr %.03639, i64 4
  %25 = load <2 x float>, ptr %24, align 4
  %26 = tail call <2 x float> @jgVector2Add(<2 x float> %.sroa.011.040, <2 x float> %25)
  %27 = add nuw nsw i32 %.03738, 1
  %28 = load ptr, ptr %0, align 8, !tbaa !5
  %29 = tail call ptr @jgListGet(ptr noundef %28, i32 noundef %27)
  %30 = load ptr, ptr %0, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %30, i64 8
  %32 = load i32, ptr %31, align 8, !tbaa !15
  %33 = icmp slt i32 %27, %32
  br i1 %33, label %.lr.ph, label %._crit_edge, !llvm.loop !20

._crit_edge45:                                    ; preds = %.lr.ph44, %._crit_edge
  %34 = getelementptr inbounds i8, ptr %0, i64 72
  store i8 0, ptr %34, align 8, !tbaa !22
  %35 = getelementptr inbounds i8, ptr %0, i64 76
  store <2 x float> <float 2.000000e+01, float 5.000000e+00>, ptr %35, align 4, !tbaa !23
  %36 = getelementptr inbounds i8, ptr %0, i64 48
  store i8 0, ptr %36, align 8, !tbaa !24
  tail call void @jgAreaDerive(ptr noundef nonnull %0)
  tail call void @jgAreaUpdateAABB(ptr noundef nonnull %0, float noundef 0.000000e+00)
  tail call void @jgAreaUpdateCenterOfMass(ptr noundef nonnull %0)
  ret ptr %0

.lr.ph44:                                         ; preds = %._crit_edge, %.lr.ph44
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph44 ], [ 0, %._crit_edge ]
  %.141 = phi ptr [ %44, %.lr.ph44 ], [ %17, %._crit_edge ]
  %37 = load ptr, ptr %8, align 8, !tbaa !14
  %38 = getelementptr inbounds %struct.jgVector2, ptr %37, i64 %indvars.iv
  %39 = getelementptr inbounds i8, ptr %.141, i64 4
  %40 = load <2 x float>, ptr %39, align 4
  %41 = tail call <2 x float> @jgVector2Subtract(<2 x float> %40, <2 x float> %15)
  store <2 x float> %41, ptr %38, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %42 = load ptr, ptr %0, align 8, !tbaa !5
  %43 = trunc nuw nsw i64 %indvars.iv.next to i32
  %44 = tail call ptr @jgListGet(ptr noundef %42, i32 noundef %43)
  %45 = load ptr, ptr %0, align 8, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %45, i64 8
  %47 = load i32, ptr %46, align 8, !tbaa !15
  %48 = sext i32 %47 to i64
  %49 = icmp slt i64 %indvars.iv.next, %48
  br i1 %49, label %.lr.ph44, label %._crit_edge45, !llvm.loop !25
}

declare ptr @jgListNewFromArray(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden ptr @jgListGet(ptr noundef, i32 noundef) local_unnamed_addr #3

declare void @jgListAdd(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @jgVector2Add(<2 x float>, <2 x float>) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @jgVector2Divide(<2 x float>, float noundef) local_unnamed_addr #4

; Function Attrs: inlinehint nounwind uwtable
declare hidden <2 x float> @jgVector2Subtract(<2 x float>, <2 x float>) local_unnamed_addr #4

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

; Function Attrs: nounwind uwtable
declare dso_local void @jgAreaUpdateAABB(ptr noundef, float noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { nounwind 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 #2 = { "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 = { inlinehint 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 #4 = { inlinehint nounwind 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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0) }

!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 = !{!"jgArea", !7, i64 0, !10, i64 8, !11, i64 28, !7, i64 40, !13, i64 48, !11, i64 52, !11, i64 60, !12, i64 68, !13, i64 72, !12, i64 76, !12, i64 80, !13, i64 84}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"jgAABB", !11, i64 0, !11, i64 8, !13, i64 16}
!11 = !{!"jgVector2", !12, i64 0, !12, i64 4}
!12 = !{!"float", !8, i64 0}
!13 = !{!"_Bool", !8, i64 0}
!14 = !{!6, !7, i64 40}
!15 = !{!16, !17, i64 8}
!16 = !{!"jgList", !7, i64 0, !17, i64 8, !17, i64 12}
!17 = !{!"int", !8, i64 0}
!18 = !{!19, !7, i64 56}
!19 = !{!"jgParticle", !12, i64 0, !11, i64 4, !11, i64 12, !11, i64 20, !11, i64 28, !11, i64 36, !12, i64 44, !12, i64 48, !13, i64 52, !13, i64 53, !7, i64 56}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!6, !13, i64 72}
!23 = !{!12, !12, i64 0}
!24 = !{!6, !13, i64 48}
!25 = distinct !{!25, !21}


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