; LLVM IR from yangfengzzz/DigitalVox3 :: vox.geometry (fdm_utils)

; 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.vox::geometry::Matrix.12" = type { i64, i64, i64 }
%"class.vox::geometry::Matrix.7" = type { double, double, double }

; 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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef, i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3vox8geometry6squareIdEENSt9enable_ifIXsr3std13is_arithmeticIT_EE5valueES3_E4typeES3_(double noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3vox8geometry10laplacian3ERKNS0_9ArrayViewIKdLm3EEERKNS0_6MatrixIdLm3ELm1EEEmmm(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca double, align 8
  %12 = alloca ptr, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  store i64 %3, ptr %9, align 8, !tbaa !9
  store i64 %4, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %19 = load ptr, ptr %6, align 8, !tbaa !5
  %20 = load i64, ptr %8, align 8, !tbaa !9
  %21 = load i64, ptr %9, align 8, !tbaa !9
  %22 = load i64, ptr %10, align 8, !tbaa !9
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %19, i64 noundef %20, i64 noundef %21, i64 noundef %22)
  %24 = load double, ptr %23, align 8, !tbaa !11
  store double %24, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %25 = load ptr, ptr %6, align 8, !tbaa !5
  %26 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %25)
  store ptr %26, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  store double 0.000000e+00, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  store double 0.000000e+00, ptr %14, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  store double 0.000000e+00, ptr %15, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  store double 0.000000e+00, ptr %16, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  store double 0.000000e+00, ptr %17, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  store double 0.000000e+00, ptr %18, align 8, !tbaa !11
  %27 = load i64, ptr %8, align 8, !tbaa !9
  %28 = icmp ugt i64 %27, 0
  br i1 %28, label %29, label %39

29:                                               ; preds = %5
  %30 = load double, ptr %11, align 8, !tbaa !11
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = load i64, ptr %8, align 8, !tbaa !9
  %33 = sub i64 %32, 1
  %34 = load i64, ptr %9, align 8, !tbaa !9
  %35 = load i64, ptr %10, align 8, !tbaa !9
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %31, i64 noundef %33, i64 noundef %34, i64 noundef %35)
  %37 = load double, ptr %36, align 8, !tbaa !11
  %38 = fsub double %30, %37
  store double %38, ptr %13, align 8, !tbaa !11
  br label %39

39:                                               ; preds = %29, %5
  %40 = load i64, ptr %8, align 8, !tbaa !9
  %41 = add i64 %40, 1
  %42 = load ptr, ptr %12, align 8, !tbaa !5
  %43 = getelementptr inbounds %"class.vox::geometry::Matrix.12", ptr %42, i32 0, i32 0
  %44 = load i64, ptr %43, align 8, !tbaa !13
  %45 = icmp ult i64 %41, %44
  br i1 %45, label %46, label %56

46:                                               ; preds = %39
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = load i64, ptr %8, align 8, !tbaa !9
  %49 = add i64 %48, 1
  %50 = load i64, ptr %9, align 8, !tbaa !9
  %51 = load i64, ptr %10, align 8, !tbaa !9
  %52 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %47, i64 noundef %49, i64 noundef %50, i64 noundef %51)
  %53 = load double, ptr %52, align 8, !tbaa !11
  %54 = load double, ptr %11, align 8, !tbaa !11
  %55 = fsub double %53, %54
  store double %55, ptr %14, align 8, !tbaa !11
  br label %56

56:                                               ; preds = %46, %39
  %57 = load i64, ptr %9, align 8, !tbaa !9
  %58 = icmp ugt i64 %57, 0
  br i1 %58, label %59, label %69

59:                                               ; preds = %56
  %60 = load double, ptr %11, align 8, !tbaa !11
  %61 = load ptr, ptr %6, align 8, !tbaa !5
  %62 = load i64, ptr %8, align 8, !tbaa !9
  %63 = load i64, ptr %9, align 8, !tbaa !9
  %64 = sub i64 %63, 1
  %65 = load i64, ptr %10, align 8, !tbaa !9
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %61, i64 noundef %62, i64 noundef %64, i64 noundef %65)
  %67 = load double, ptr %66, align 8, !tbaa !11
  %68 = fsub double %60, %67
  store double %68, ptr %15, align 8, !tbaa !11
  br label %69

69:                                               ; preds = %59, %56
  %70 = load i64, ptr %9, align 8, !tbaa !9
  %71 = add i64 %70, 1
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = getelementptr inbounds %"class.vox::geometry::Matrix.12", ptr %72, i32 0, i32 1
  %74 = load i64, ptr %73, align 8, !tbaa !15
  %75 = icmp ult i64 %71, %74
  br i1 %75, label %76, label %86

76:                                               ; preds = %69
  %77 = load ptr, ptr %6, align 8, !tbaa !5
  %78 = load i64, ptr %8, align 8, !tbaa !9
  %79 = load i64, ptr %9, align 8, !tbaa !9
  %80 = add i64 %79, 1
  %81 = load i64, ptr %10, align 8, !tbaa !9
  %82 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %77, i64 noundef %78, i64 noundef %80, i64 noundef %81)
  %83 = load double, ptr %82, align 8, !tbaa !11
  %84 = load double, ptr %11, align 8, !tbaa !11
  %85 = fsub double %83, %84
  store double %85, ptr %16, align 8, !tbaa !11
  br label %86

86:                                               ; preds = %76, %69
  %87 = load i64, ptr %10, align 8, !tbaa !9
  %88 = icmp ugt i64 %87, 0
  br i1 %88, label %89, label %99

89:                                               ; preds = %86
  %90 = load double, ptr %11, align 8, !tbaa !11
  %91 = load ptr, ptr %6, align 8, !tbaa !5
  %92 = load i64, ptr %8, align 8, !tbaa !9
  %93 = load i64, ptr %9, align 8, !tbaa !9
  %94 = load i64, ptr %10, align 8, !tbaa !9
  %95 = sub i64 %94, 1
  %96 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %91, i64 noundef %92, i64 noundef %93, i64 noundef %95)
  %97 = load double, ptr %96, align 8, !tbaa !11
  %98 = fsub double %90, %97
  store double %98, ptr %17, align 8, !tbaa !11
  br label %99

99:                                               ; preds = %89, %86
  %100 = load i64, ptr %10, align 8, !tbaa !9
  %101 = add i64 %100, 1
  %102 = load ptr, ptr %12, align 8, !tbaa !5
  %103 = getelementptr inbounds %"class.vox::geometry::Matrix.12", ptr %102, i32 0, i32 2
  %104 = load i64, ptr %103, align 8, !tbaa !16
  %105 = icmp ult i64 %101, %104
  br i1 %105, label %106, label %116

106:                                              ; preds = %99
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = load i64, ptr %8, align 8, !tbaa !9
  %109 = load i64, ptr %9, align 8, !tbaa !9
  %110 = load i64, ptr %10, align 8, !tbaa !9
  %111 = add i64 %110, 1
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %107, i64 noundef %108, i64 noundef %109, i64 noundef %111)
  %113 = load double, ptr %112, align 8, !tbaa !11
  %114 = load double, ptr %11, align 8, !tbaa !11
  %115 = fsub double %113, %114
  store double %115, ptr %18, align 8, !tbaa !11
  br label %116

116:                                              ; preds = %106, %99
  %117 = load double, ptr %14, align 8, !tbaa !11
  %118 = load double, ptr %13, align 8, !tbaa !11
  %119 = fsub double %117, %118
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %120, i32 0, i32 0
  %122 = load double, ptr %121, align 8, !tbaa !17
  %123 = call noundef double @_ZN3vox8geometry6squareIdEENSt9enable_ifIXsr3std13is_arithmeticIT_EE5valueES3_E4typeES3_(double noundef %122)
  %124 = fdiv double %119, %123
  %125 = load double, ptr %16, align 8, !tbaa !11
  %126 = load double, ptr %15, align 8, !tbaa !11
  %127 = fsub double %125, %126
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %128, i32 0, i32 1
  %130 = load double, ptr %129, align 8, !tbaa !19
  %131 = call noundef double @_ZN3vox8geometry6squareIdEENSt9enable_ifIXsr3std13is_arithmeticIT_EE5valueES3_E4typeES3_(double noundef %130)
  %132 = fdiv double %127, %131
  %133 = fadd double %124, %132
  %134 = load double, ptr %18, align 8, !tbaa !11
  %135 = load double, ptr %17, align 8, !tbaa !11
  %136 = fsub double %134, %135
  %137 = load ptr, ptr %7, align 8, !tbaa !5
  %138 = getelementptr inbounds %"class.vox::geometry::Matrix.7", ptr %137, i32 0, i32 2
  %139 = load double, ptr %138, align 8, !tbaa !20
  %140 = call noundef double @_ZN3vox8geometry6squareIdEENSt9enable_ifIXsr3std13is_arithmeticIT_EE5valueES3_E4typeES3_(double noundef %139)
  %141 = fdiv double %136, %140
  %142 = fadd double %133, %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  ret double %142
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !10, i64 0}
!14 = !{!"_ZTSN3vox8geometry6MatrixImLm3ELm1EEE", !10, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!14, !10, i64 8}
!16 = !{!14, !10, i64 16}
!17 = !{!18, !12, i64 0}
!18 = !{!"_ZTSN3vox8geometry6MatrixIdLm3ELm1EEE", !12, i64 0, !12, i64 8, !12, i64 16}
!19 = !{!18, !12, i64 8}
!20 = !{!18, !12, i64 16}


; 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 noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN3vox8geometry6squareIdEENSt9enable_ifIXsr3std13is_arithmeticIT_EE5valueES3_E4typeES3_(double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN3vox8geometry10laplacian3ERKNS0_9ArrayViewIKdLm3EEERKNS0_6MatrixIdLm3ELm1EEEmmm(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr nocapture noundef nonnull readonly align 8 dereferenceable(24) %1, i64 noundef %2, i64 noundef %3, i64 noundef %4) local_unnamed_addr #1 {
  %6 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %2, i64 noundef %3, i64 noundef %4)
  %7 = load double, ptr %6, align 8, !tbaa !5
  %8 = tail call noundef nonnull align 8 dereferenceable(24) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %0)
  %.not = icmp eq i64 %2, 0
  br i1 %.not, label %14, label %9

9:                                                ; preds = %5
  %10 = add i64 %2, -1
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %10, i64 noundef %3, i64 noundef %4)
  %12 = load double, ptr %11, align 8, !tbaa !5
  %13 = fsub double %7, %12
  br label %14

14:                                               ; preds = %9, %5
  %.056 = phi double [ %13, %9 ], [ 0.000000e+00, %5 ]
  %15 = add i64 %2, 1
  %16 = load i64, ptr %8, align 8, !tbaa !9
  %17 = icmp ult i64 %15, %16
  br i1 %17, label %18, label %22

18:                                               ; preds = %14
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %15, i64 noundef %3, i64 noundef %4)
  %20 = load double, ptr %19, align 8, !tbaa !5
  %21 = fsub double %20, %7
  br label %22

22:                                               ; preds = %18, %14
  %.055 = phi double [ %21, %18 ], [ 0.000000e+00, %14 ]
  %.not63 = icmp eq i64 %3, 0
  br i1 %.not63, label %28, label %23

23:                                               ; preds = %22
  %24 = add i64 %3, -1
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %2, i64 noundef %24, i64 noundef %4)
  %26 = load double, ptr %25, align 8, !tbaa !5
  %27 = fsub double %7, %26
  br label %28

28:                                               ; preds = %23, %22
  %.054 = phi double [ %27, %23 ], [ 0.000000e+00, %22 ]
  %29 = add i64 %3, 1
  %30 = getelementptr inbounds i8, ptr %8, i64 8
  %31 = load i64, ptr %30, align 8, !tbaa !12
  %32 = icmp ult i64 %29, %31
  br i1 %32, label %33, label %37

33:                                               ; preds = %28
  %34 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %2, i64 noundef %29, i64 noundef %4)
  %35 = load double, ptr %34, align 8, !tbaa !5
  %36 = fsub double %35, %7
  br label %37

37:                                               ; preds = %33, %28
  %.053 = phi double [ %36, %33 ], [ 0.000000e+00, %28 ]
  %.not64 = icmp eq i64 %4, 0
  br i1 %.not64, label %43, label %38

38:                                               ; preds = %37
  %39 = add i64 %4, -1
  %40 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %2, i64 noundef %3, i64 noundef %39)
  %41 = load double, ptr %40, align 8, !tbaa !5
  %42 = fsub double %7, %41
  br label %43

43:                                               ; preds = %38, %37
  %.052 = phi double [ %42, %38 ], [ 0.000000e+00, %37 ]
  %44 = add i64 %4, 1
  %45 = getelementptr inbounds i8, ptr %8, i64 16
  %46 = load i64, ptr %45, align 8, !tbaa !13
  %47 = icmp ult i64 %44, %46
  br i1 %47, label %48, label %52

48:                                               ; preds = %43
  %49 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK3vox8geometry9ArrayBaseIKdLm3ENS0_9ArrayViewIS2_Lm3EEEEclIJmmEEERS2_mDpT_(ptr noundef nonnull align 8 dereferenceable(40) %0, i64 noundef %2, i64 noundef %3, i64 noundef %44)
  %50 = load double, ptr %49, align 8, !tbaa !5
  %51 = fsub double %50, %7
  br label %52

52:                                               ; preds = %48, %43
  %.0 = phi double [ %51, %48 ], [ 0.000000e+00, %43 ]
  %53 = insertelement <2 x double> poison, double %.055, i64 0
  %54 = insertelement <2 x double> %53, double %.0, i64 1
  %55 = insertelement <2 x double> poison, double %.056, i64 0
  %56 = insertelement <2 x double> %55, double %.052, i64 1
  %57 = fsub <2 x double> %54, %56
  %58 = load double, ptr %1, align 8, !tbaa !14
  %59 = tail call noundef double @_ZN3vox8geometry6squareIdEENSt9enable_ifIXsr3std13is_arithmeticIT_EE5valueES3_E4typeES3_(double noundef %58)
  %60 = fsub double %.053, %.054
  %61 = getelementptr inbounds i8, ptr %1, i64 8
  %62 = load double, ptr %61, align 8, !tbaa !16
  %63 = tail call noundef double @_ZN3vox8geometry6squareIdEENSt9enable_ifIXsr3std13is_arithmeticIT_EE5valueES3_E4typeES3_(double noundef %62)
  %64 = fdiv double %60, %63
  %65 = getelementptr inbounds i8, ptr %1, i64 16
  %66 = load double, ptr %65, align 8, !tbaa !17
  %67 = tail call noundef double @_ZN3vox8geometry6squareIdEENSt9enable_ifIXsr3std13is_arithmeticIT_EE5valueES3_E4typeES3_(double noundef %66)
  %68 = insertelement <2 x double> poison, double %59, i64 0
  %69 = insertelement <2 x double> %68, double %67, i64 1
  %70 = fdiv <2 x double> %57, %69
  %71 = extractelement <2 x double> %70, i64 0
  %72 = fadd double %71, %64
  %73 = extractelement <2 x double> %70, i64 1
  %74 = fadd double %72, %73
  ret double %74
}

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 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" }

!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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSN3vox8geometry6MatrixImLm3ELm1EEE", !11, i64 0, !11, i64 8, !11, i64 16}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 8}
!13 = !{!10, !11, i64 16}
!14 = !{!15, !6, i64 0}
!15 = !{!"_ZTSN3vox8geometry6MatrixIdLm3ELm1EEE", !6, i64 0, !6, i64 8, !6, i64 16}
!16 = !{!15, !6, i64 8}
!17 = !{!15, !6, i64 16}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,TailCallElimPass