; LLVM IR from mackorone/mms :: old/v2/src/mouse/mackAlgo/CellHeap.ll (ZN8mackAlgo8CellHeap11heapifyDownEi)

; 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.mackAlgo::CellHeap" = type { i32, i32, ptr }

; 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: mustprogress uwtable
define dso_local void @_ZN8mackAlgo8CellHeap11heapifyDownEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %1) #1 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  %8 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %9 = load i32, ptr %4, align 4, !tbaa !9
  %10 = call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %9)
  %11 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 0
  %12 = load i32, ptr %11, align 8, !tbaa !11
  %13 = icmp slt i32 %10, %12
  br i1 %13, label %14, label %22

14:                                               ; preds = %2
  %15 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 2
  %16 = load ptr, ptr %15, align 8, !tbaa !13
  %17 = load i32, ptr %4, align 4, !tbaa !9
  %18 = call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %17)
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds ptr, ptr %16, i64 %19
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  br label %23

22:                                               ; preds = %2
  br label %23

23:                                               ; preds = %22, %14
  %24 = phi ptr [ %21, %14 ], [ null, %22 ]
  store ptr %24, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %25 = load i32, ptr %4, align 4, !tbaa !9
  %26 = call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %25)
  %27 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 0
  %28 = load i32, ptr %27, align 8, !tbaa !11
  %29 = icmp slt i32 %26, %28
  br i1 %29, label %30, label %38

30:                                               ; preds = %23
  %31 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 2
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %33 = load i32, ptr %4, align 4, !tbaa !9
  %34 = call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %33)
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds ptr, ptr %32, i64 %35
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  br label %39

38:                                               ; preds = %23
  br label %39

39:                                               ; preds = %38, %30
  %40 = phi ptr [ %37, %30 ], [ null, %38 ]
  store ptr %40, ptr %6, align 8, !tbaa !5
  br label %41

41:                                               ; preds = %126, %39
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %55

44:                                               ; preds = %41
  %45 = load ptr, ptr %5, align 8, !tbaa !5
  %46 = call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %45)
  %47 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 2
  %48 = load ptr, ptr %47, align 8, !tbaa !13
  %49 = load i32, ptr %4, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds ptr, ptr %48, i64 %50
  %52 = load ptr, ptr %51, align 8, !tbaa !5
  %53 = call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %52)
  %54 = fcmp olt float %46, %53
  br i1 %54, label %71, label %55

55:                                               ; preds = %44, %41
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = icmp ne ptr %56, null
  br i1 %57, label %58, label %69

58:                                               ; preds = %55
  %59 = load ptr, ptr %6, align 8, !tbaa !5
  %60 = call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %59)
  %61 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 2
  %62 = load ptr, ptr %61, align 8, !tbaa !13
  %63 = load i32, ptr %4, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds ptr, ptr %62, i64 %64
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %66)
  %68 = fcmp olt float %60, %67
  br label %69

69:                                               ; preds = %58, %55
  %70 = phi i1 [ false, %55 ], [ %68, %58 ]
  br label %71

71:                                               ; preds = %69, %44
  %72 = phi i1 [ true, %44 ], [ %70, %69 ]
  br i1 %72, label %73, label %128

73:                                               ; preds = %71
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %74 = load i32, ptr %4, align 4, !tbaa !9
  %75 = call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %74)
  store i32 %75, ptr %7, align 4, !tbaa !9
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = icmp ne ptr %76, null
  br i1 %77, label %78, label %92

78:                                               ; preds = %73
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %79)
  %81 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 2
  %82 = load ptr, ptr %81, align 8, !tbaa !13
  %83 = load i32, ptr %7, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds ptr, ptr %82, i64 %84
  %86 = load ptr, ptr %85, align 8, !tbaa !5
  %87 = call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %86)
  %88 = fcmp olt float %80, %87
  br i1 %88, label %89, label %92

89:                                               ; preds = %78
  %90 = load i32, ptr %4, align 4, !tbaa !9
  %91 = call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %90)
  store i32 %91, ptr %7, align 4, !tbaa !9
  br label %92

92:                                               ; preds = %89, %78, %73
  %93 = load i32, ptr %4, align 4, !tbaa !9
  %94 = load i32, ptr %7, align 4, !tbaa !9
  call void @_ZN8mackAlgo8CellHeap4swapEii(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %93, i32 noundef %94)
  %95 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %95, ptr %4, align 4, !tbaa !9
  %96 = load i32, ptr %4, align 4, !tbaa !9
  %97 = call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %96)
  %98 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 0
  %99 = load i32, ptr %98, align 8, !tbaa !11
  %100 = icmp slt i32 %97, %99
  br i1 %100, label %101, label %109

101:                                              ; preds = %92
  %102 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 2
  %103 = load ptr, ptr %102, align 8, !tbaa !13
  %104 = load i32, ptr %4, align 4, !tbaa !9
  %105 = call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %104)
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds ptr, ptr %103, i64 %106
  %108 = load ptr, ptr %107, align 8, !tbaa !5
  br label %110

109:                                              ; preds = %92
  br label %110

110:                                              ; preds = %109, %101
  %111 = phi ptr [ %108, %101 ], [ null, %109 ]
  store ptr %111, ptr %5, align 8, !tbaa !5
  %112 = load i32, ptr %4, align 4, !tbaa !9
  %113 = call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %112)
  %114 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 0
  %115 = load i32, ptr %114, align 8, !tbaa !11
  %116 = icmp slt i32 %113, %115
  br i1 %116, label %117, label %125

117:                                              ; preds = %110
  %118 = getelementptr inbounds %"class.mackAlgo::CellHeap", ptr %8, i32 0, i32 2
  %119 = load ptr, ptr %118, align 8, !tbaa !13
  %120 = load i32, ptr %4, align 4, !tbaa !9
  %121 = call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %8, i32 noundef %120)
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds ptr, ptr %119, i64 %122
  %124 = load ptr, ptr %123, align 8, !tbaa !5
  br label %126

125:                                              ; preds = %110
  br label %126

126:                                              ; preds = %125, %117
  %127 = phi ptr [ %124, %117 ], [ null, %125 ]
  store ptr %127, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %41, !llvm.loop !14

128:                                              ; preds = %71
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8mackAlgo8CellHeap4swapEii(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) #1 align 2

declare noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53)) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 #3 = { "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 = { 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, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTSN8mackAlgo8CellHeapE", !10, i64 0, !10, i64 4, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}


; 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 uwtable
define dso_local void @_ZN8mackAlgo8CellHeap11heapifyDownEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %1) local_unnamed_addr #0 align 2 {
  %3 = tail call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %1)
  %4 = load i32, ptr %0, align 8, !tbaa !5
  %5 = icmp slt i32 %3, %4
  br i1 %5, label %6, label %13

6:                                                ; preds = %2
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load ptr, ptr %7, align 8, !tbaa !11
  %9 = tail call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %1)
  %10 = sext i32 %9 to i64
  %11 = getelementptr inbounds ptr, ptr %8, i64 %10
  %12 = load ptr, ptr %11, align 8, !tbaa !12
  br label %13

13:                                               ; preds = %2, %6
  %14 = phi ptr [ %12, %6 ], [ null, %2 ]
  %15 = tail call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %1)
  %16 = load i32, ptr %0, align 8, !tbaa !5
  %17 = icmp slt i32 %15, %16
  br i1 %17, label %18, label %25

18:                                               ; preds = %13
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  %20 = load ptr, ptr %19, align 8, !tbaa !11
  %21 = tail call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %1)
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds ptr, ptr %20, i64 %22
  %24 = load ptr, ptr %23, align 8, !tbaa !12
  br label %25

25:                                               ; preds = %13, %18
  %26 = phi ptr [ %24, %18 ], [ null, %13 ]
  %27 = getelementptr inbounds i8, ptr %0, i64 8
  br label %28

28:                                               ; preds = %.backedge, %25
  %.026 = phi i32 [ %1, %25 ], [ %.0, %.backedge ]
  %.025 = phi ptr [ %14, %25 ], [ %70, %.backedge ]
  %.024 = phi ptr [ %26, %25 ], [ %.024.be, %.backedge ]
  %.not = icmp eq ptr %.025, null
  br i1 %.not, label %37, label %29

29:                                               ; preds = %28
  %30 = tail call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %.025)
  %31 = load ptr, ptr %27, align 8, !tbaa !11
  %32 = sext i32 %.026 to i64
  %33 = getelementptr inbounds ptr, ptr %31, i64 %32
  %34 = load ptr, ptr %33, align 8, !tbaa !12
  %35 = tail call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %34)
  %36 = fcmp olt float %30, %35
  br i1 %36, label %.critedge, label %37

37:                                               ; preds = %29, %28
  %.not27 = icmp eq ptr %.024, null
  br i1 %.not27, label %.critedge2, label %38

38:                                               ; preds = %37
  %39 = tail call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %.024)
  %40 = load ptr, ptr %27, align 8, !tbaa !11
  %41 = sext i32 %.026 to i64
  %42 = getelementptr inbounds ptr, ptr %40, i64 %41
  %43 = load ptr, ptr %42, align 8, !tbaa !12
  %44 = tail call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %43)
  %45 = fcmp olt float %39, %44
  br i1 %45, label %.critedge.thread, label %.critedge2

.critedge.thread:                                 ; preds = %38
  %46 = tail call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.026)
  br label %48

.critedge:                                        ; preds = %29
  %47 = tail call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.026)
  %.not28 = icmp eq ptr %.024, null
  br i1 %.not28, label %59, label %48

48:                                               ; preds = %.critedge.thread, %.critedge
  %49 = phi i32 [ %46, %.critedge.thread ], [ %47, %.critedge ]
  %50 = tail call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %.024)
  %51 = load ptr, ptr %27, align 8, !tbaa !11
  %52 = sext i32 %49 to i64
  %53 = getelementptr inbounds ptr, ptr %51, i64 %52
  %54 = load ptr, ptr %53, align 8, !tbaa !12
  %55 = tail call noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53) %54)
  %56 = fcmp olt float %50, %55
  br i1 %56, label %57, label %59

57:                                               ; preds = %48
  %58 = tail call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.026)
  br label %59

59:                                               ; preds = %57, %48, %.critedge
  %.0 = phi i32 [ %58, %57 ], [ %49, %48 ], [ %47, %.critedge ]
  tail call void @_ZN8mackAlgo8CellHeap4swapEii(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.026, i32 noundef %.0)
  %60 = tail call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.0)
  %61 = load i32, ptr %0, align 8, !tbaa !5
  %62 = icmp slt i32 %60, %61
  br i1 %62, label %63, label %69

63:                                               ; preds = %59
  %64 = load ptr, ptr %27, align 8, !tbaa !11
  %65 = tail call noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.0)
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds ptr, ptr %64, i64 %66
  %68 = load ptr, ptr %67, align 8, !tbaa !12
  br label %69

69:                                               ; preds = %59, %63
  %70 = phi ptr [ %68, %63 ], [ null, %59 ]
  %71 = tail call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.0)
  %72 = load i32, ptr %0, align 8, !tbaa !5
  %73 = icmp slt i32 %71, %72
  br i1 %73, label %74, label %.backedge

.backedge:                                        ; preds = %69, %74
  %.024.be = phi ptr [ null, %69 ], [ %79, %74 ]
  br label %28, !llvm.loop !13

74:                                               ; preds = %69
  %75 = load ptr, ptr %27, align 8, !tbaa !11
  %76 = tail call noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16) %0, i32 noundef %.0)
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds ptr, ptr %75, i64 %77
  %79 = load ptr, ptr %78, align 8, !tbaa !12
  br label %.backedge

.critedge2:                                       ; preds = %37, %38
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8mackAlgo8CellHeap17getLeftChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZN8mackAlgo8CellHeap18getRightChildIndexEi(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8mackAlgo8CellHeap4swapEii(ptr noundef nonnull align 8 dereferenceable(16), i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

declare noundef float @_ZNK8mackAlgo4Cell11getDistanceEv(ptr noundef nonnull align 8 dereferenceable(53)) local_unnamed_addr #2

attributes #0 = { 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 #1 = { 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 #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" }

!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 = !{!"_ZTSN8mackAlgo8CellHeapE", !7, i64 0, !7, i64 4, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!10, !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass