; LLVM IR from chromia/lichtenberg :: src/core.ll (ZN11lichtenberg10CellList2DaSERKS0_)

; 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.lichtenberg::CellList2D" = type { ptr, i32, i32 }
%"struct.lichtenberg::CellInfo" = type { i32, i32, i8, i8 }

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN11lichtenberg10CellList2DaSERKS0_(ptr noundef nonnull align 8 dereferenceable(16) %0, ptr noundef nonnull align 8 dereferenceable(16) %1) #4 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %8 = load ptr, ptr %3, align 8
  %9 = load ptr, ptr %4, align 8, !tbaa !5
  %10 = icmp ne ptr %8, %9
  br i1 %10, label %11, label %98

11:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %12, i32 0, i32 1
  %14 = load i32, ptr %13, align 8, !tbaa !9
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %15, i32 0, i32 2
  %17 = load i32, ptr %16, align 4, !tbaa !12
  %18 = mul nsw i32 %14, %17
  store i32 %18, ptr %5, align 4, !tbaa !13
  %19 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %8, i32 0, i32 1
  %20 = load i32, ptr %19, align 8, !tbaa !9
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %21, i32 0, i32 1
  %23 = load i32, ptr %22, align 8, !tbaa !9
  %24 = icmp ne i32 %20, %23
  br i1 %24, label %32, label %25

25:                                               ; preds = %11
  %26 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %8, i32 0, i32 2
  %27 = load i32, ptr %26, align 4, !tbaa !12
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %28, i32 0, i32 2
  %30 = load i32, ptr %29, align 4, !tbaa !12
  %31 = icmp ne i32 %27, %30
  br i1 %31, label %32, label %75

32:                                               ; preds = %25, %11
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %33, i32 0, i32 1
  %35 = load i32, ptr %34, align 8, !tbaa !9
  %36 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %8, i32 0, i32 1
  store i32 %35, ptr %36, align 8, !tbaa !9
  %37 = load ptr, ptr %4, align 8, !tbaa !5
  %38 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %37, i32 0, i32 2
  %39 = load i32, ptr %38, align 4, !tbaa !12
  %40 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %8, i32 0, i32 2
  store i32 %39, ptr %40, align 4, !tbaa !12
  %41 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %8, i32 0, i32 0
  %42 = load ptr, ptr %41, align 8, !tbaa !14
  %43 = icmp eq ptr %42, null
  br i1 %43, label %45, label %44

44:                                               ; preds = %32
  call void @_ZdaPv(ptr noundef %42) #7
  br label %45

45:                                               ; preds = %44, %32
  %46 = load i32, ptr %5, align 4, !tbaa !13
  %47 = sext i32 %46 to i64
  %48 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %47, i64 12)
  %49 = extractvalue { i64, i1 } %48, 1
  %50 = extractvalue { i64, i1 } %48, 0
  %51 = select i1 %49, i64 -1, i64 %50
  %52 = call noalias noundef nonnull ptr @_Znam(i64 noundef %51) #8
  %53 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %8, i32 0, i32 0
  store ptr %52, ptr %53, align 8, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !13
  br label %54

54:                                               ; preds = %71, %45
  %55 = load i32, ptr %6, align 4, !tbaa !13
  %56 = load i32, ptr %5, align 4, !tbaa !13
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  br label %74

59:                                               ; preds = %54
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %60, i32 0, i32 0
  %62 = load ptr, ptr %61, align 8, !tbaa !14
  %63 = load i32, ptr %6, align 4, !tbaa !13
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %62, i64 %64
  %66 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %8, i32 0, i32 0
  %67 = load ptr, ptr %66, align 8, !tbaa !14
  %68 = load i32, ptr %6, align 4, !tbaa !13
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %67, i64 %69
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %70, ptr align 4 %65, i64 12, i1 false), !tbaa.struct !15
  br label %71

71:                                               ; preds = %59
  %72 = load i32, ptr %6, align 4, !tbaa !13
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %6, align 4, !tbaa !13
  br label %54, !llvm.loop !20

74:                                               ; preds = %58
  br label %97

75:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !13
  br label %76

76:                                               ; preds = %93, %75
  %77 = load i32, ptr %7, align 4, !tbaa !13
  %78 = load i32, ptr %5, align 4, !tbaa !13
  %79 = icmp slt i32 %77, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %76
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %96

81:                                               ; preds = %76
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %82, i32 0, i32 0
  %84 = load ptr, ptr %83, align 8, !tbaa !14
  %85 = load i32, ptr %7, align 4, !tbaa !13
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %84, i64 %86
  %88 = getelementptr inbounds %"class.lichtenberg::CellList2D", ptr %8, i32 0, i32 0
  %89 = load ptr, ptr %88, align 8, !tbaa !14
  %90 = load i32, ptr %7, align 4, !tbaa !13
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %89, i64 %91
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %92, ptr align 4 %87, i64 12, i1 false), !tbaa.struct !15
  br label %93

93:                                               ; preds = %81
  %94 = load i32, ptr %7, align 4, !tbaa !13
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %7, align 4, !tbaa !13
  br label %76, !llvm.loop !22

96:                                               ; preds = %80
  br label %97

97:                                               ; preds = %96, %74
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %98

98:                                               ; preds = %97, %2
  ret ptr %8
}

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #5

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nobuiltin 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { nobuiltin nounwind "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 = { nounwind }
attributes #7 = { builtin nounwind }
attributes #8 = { builtin 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, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"_ZTSN11lichtenberg10CellList2DE", !6, i64 0, !11, i64 8, !11, i64 12}
!11 = !{!"int", !7, i64 0}
!12 = !{!10, !11, i64 12}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 0}
!15 = !{i64 0, i64 4, !16, i64 4, i64 4, !13, i64 8, i64 1, !18, i64 9, i64 1, !18}
!16 = !{!17, !17, i64 0}
!17 = !{!"_ZTSN11lichtenberg9DirectionE", !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"bool", !7, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = distinct !{!22, !21}


; 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.lichtenberg::CellInfo" = type { i32, i32, i8, i8 }

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #0

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #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: mustprogress uwtable
define dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZN11lichtenberg10CellList2DaSERKS0_(ptr noundef nonnull returned align 8 dereferenceable(16) %0, ptr noundef nonnull readonly align 8 dereferenceable(16) %1) local_unnamed_addr #3 align 2 {
  %.not = icmp eq ptr %0, %1
  br i1 %.not, label %.loopexit, label %3

3:                                                ; preds = %2
  %4 = getelementptr inbounds i8, ptr %1, i64 8
  %5 = load i32, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 12
  %7 = load i32, ptr %6, align 4, !tbaa !11
  %8 = mul i32 %7, %5
  %9 = getelementptr inbounds i8, ptr %0, i64 8
  %10 = load i32, ptr %9, align 8, !tbaa !5
  %.not24 = icmp eq i32 %10, %5
  %11 = getelementptr inbounds i8, ptr %0, i64 12
  %12 = load i32, ptr %11, align 4
  %.not25 = icmp eq i32 %12, %7
  %or.cond = select i1 %.not24, i1 %.not25, i1 false
  br i1 %or.cond, label %.preheader, label %15

.preheader:                                       ; preds = %3
  %13 = icmp sgt i32 %8, 0
  br i1 %13, label %.lr.ph30.preheader, label %.loopexit

.lr.ph30.preheader:                               ; preds = %.preheader
  %wide.trip.count36 = zext nneg i32 %8 to i64
  %xtraiter41 = and i64 %wide.trip.count36, 1
  %14 = icmp eq i32 %8, 1
  br i1 %14, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph30.preheader.new

.lr.ph30.preheader.new:                           ; preds = %.lr.ph30.preheader
  %unroll_iter43 = and i64 %wide.trip.count36, 2147483646
  br label %.lr.ph30

15:                                               ; preds = %3
  store i32 %5, ptr %9, align 8, !tbaa !5
  store i32 %7, ptr %11, align 4, !tbaa !11
  %16 = load ptr, ptr %0, align 8, !tbaa !12
  %17 = icmp eq ptr %16, null
  br i1 %17, label %19, label %18

18:                                               ; preds = %15
  tail call void @_ZdaPv(ptr noundef nonnull %16) #5
  br label %19

19:                                               ; preds = %18, %15
  %20 = sext i32 %8 to i64
  %21 = tail call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %20, i64 12)
  %22 = extractvalue { i64, i1 } %21, 1
  %23 = extractvalue { i64, i1 } %21, 0
  %24 = select i1 %22, i64 -1, i64 %23
  %25 = tail call noalias noundef nonnull ptr @_Znam(i64 noundef %24) #6
  store ptr %25, ptr %0, align 8, !tbaa !12
  %26 = icmp sgt i32 %8, 0
  br i1 %26, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %19
  %wide.trip.count = zext nneg i32 %8 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %27 = icmp eq i32 %8, 1
  br i1 %27, label %.loopexit.loopexit40.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %.lr.ph ]
  %28 = load ptr, ptr %1, align 8, !tbaa !12
  %29 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %28, i64 %indvars.iv
  %30 = load ptr, ptr %0, align 8, !tbaa !12
  %31 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %30, i64 %indvars.iv
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %31, ptr noundef nonnull align 4 dereferenceable(12) %29, i64 12, i1 false), !tbaa.struct !13
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %32 = load ptr, ptr %1, align 8, !tbaa !12
  %33 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %32, i64 %indvars.iv.next
  %34 = load ptr, ptr %0, align 8, !tbaa !12
  %35 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %34, i64 %indvars.iv.next
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %35, ptr noundef nonnull align 4 dereferenceable(12) %33, i64 12, i1 false), !tbaa.struct !13
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit.loopexit40.unr-lcssa, label %.lr.ph, !llvm.loop !19

.lr.ph30:                                         ; preds = %.lr.ph30, %.lr.ph30.preheader.new
  %indvars.iv33 = phi i64 [ 0, %.lr.ph30.preheader.new ], [ %indvars.iv.next34.1, %.lr.ph30 ]
  %niter44 = phi i64 [ 0, %.lr.ph30.preheader.new ], [ %niter44.next.1, %.lr.ph30 ]
  %36 = load ptr, ptr %1, align 8, !tbaa !12
  %37 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %36, i64 %indvars.iv33
  %38 = load ptr, ptr %0, align 8, !tbaa !12
  %39 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %38, i64 %indvars.iv33
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %39, ptr noundef nonnull align 4 dereferenceable(12) %37, i64 12, i1 false), !tbaa.struct !13
  %indvars.iv.next34 = or disjoint i64 %indvars.iv33, 1
  %40 = load ptr, ptr %1, align 8, !tbaa !12
  %41 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %40, i64 %indvars.iv.next34
  %42 = load ptr, ptr %0, align 8, !tbaa !12
  %43 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %42, i64 %indvars.iv.next34
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %43, ptr noundef nonnull align 4 dereferenceable(12) %41, i64 12, i1 false), !tbaa.struct !13
  %indvars.iv.next34.1 = add nuw nsw i64 %indvars.iv33, 2
  %niter44.next.1 = add i64 %niter44, 2
  %niter44.ncmp.1 = icmp eq i64 %niter44.next.1, %unroll_iter43
  br i1 %niter44.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph30, !llvm.loop !21

.loopexit.loopexit.unr-lcssa:                     ; preds = %.lr.ph30, %.lr.ph30.preheader
  %indvars.iv33.unr = phi i64 [ 0, %.lr.ph30.preheader ], [ %indvars.iv.next34.1, %.lr.ph30 ]
  %lcmp.mod42.not = icmp eq i64 %xtraiter41, 0
  br i1 %lcmp.mod42.not, label %.loopexit, label %.lr.ph30.epil

.lr.ph30.epil:                                    ; preds = %.loopexit.loopexit.unr-lcssa
  %44 = load ptr, ptr %1, align 8, !tbaa !12
  %45 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %44, i64 %indvars.iv33.unr
  %46 = load ptr, ptr %0, align 8, !tbaa !12
  %47 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %46, i64 %indvars.iv33.unr
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %47, ptr noundef nonnull align 4 dereferenceable(12) %45, i64 12, i1 false), !tbaa.struct !13
  br label %.loopexit

.loopexit.loopexit40.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.loopexit.loopexit40.unr-lcssa
  %48 = load ptr, ptr %1, align 8, !tbaa !12
  %49 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %48, i64 %indvars.iv.unr
  %50 = load ptr, ptr %0, align 8, !tbaa !12
  %51 = getelementptr inbounds %"struct.lichtenberg::CellInfo", ptr %50, i64 %indvars.iv.unr
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %51, ptr noundef nonnull align 4 dereferenceable(12) %49, i64 12, i1 false), !tbaa.struct !13
  br label %.loopexit

.loopexit:                                        ; preds = %.lr.ph.epil, %.loopexit.loopexit40.unr-lcssa, %.lr.ph30.epil, %.loopexit.loopexit.unr-lcssa, %19, %.preheader, %2
  ret ptr %0
}

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nobuiltin 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 #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { nobuiltin nounwind "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 = { builtin nounwind }
attributes #6 = { builtin 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, !10, i64 8}
!6 = !{!"_ZTSN11lichtenberg10CellList2DE", !7, i64 0, !10, i64 8, !10, i64 12}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 12}
!12 = !{!6, !7, i64 0}
!13 = !{i64 0, i64 4, !14, i64 4, i64 4, !16, i64 8, i64 1, !17, i64 9, i64 1, !17}
!14 = !{!15, !15, i64 0}
!15 = !{!"_ZTSN11lichtenberg9DirectionE", !8, i64 0}
!16 = !{!10, !10, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"bool", !8, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


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