; LLVM IR from doyubkim/fluid-engine-dev :: src/jet (bcc_lattice_point_generator)

; 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.jet::Vector" = type { double, double, double }
%"class.jet::BoundingBox" = type { %"class.jet::Vector", %"class.jet::Vector" }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3jet24BccLatticePointGenerator12forEachPointERKNS_11BoundingBoxIdLm3EEEdRKSt8functionIFbRKNS_6VectorIdLm3EEEEE(ptr noundef nonnull align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, double noundef %2, ptr noundef nonnull align 8 dereferenceable(32) %3) unnamed_addr #0 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca double, align 8
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca double, align 8
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca %"class.jet::Vector", align 8
  %14 = alloca i8, align 1
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store double %2, ptr %7, align 8, !tbaa !9
  store ptr %3, ptr %8, align 8, !tbaa !5
  %21 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %22 = load double, ptr %7, align 8, !tbaa !9
  %23 = fdiv double %22, 2.000000e+00
  store double %23, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %24 = load ptr, ptr %6, align 8, !tbaa !5
  %25 = call noundef double @_ZNK3jet11BoundingBoxIdLm3EE5widthEv(ptr noundef nonnull align 8 dereferenceable(48) %24)
  store double %25, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = call noundef double @_ZNK3jet11BoundingBoxIdLm3EE6heightEv(ptr noundef nonnull align 8 dereferenceable(48) %26)
  store double %27, ptr %11, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = call noundef double @_ZNK3jet11BoundingBoxIdLm3EE5depthEv(ptr noundef nonnull align 8 dereferenceable(48) %28)
  store double %29, ptr %12, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #4
  call void @_ZN3jet6VectorIdLm3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13)
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #4
  store i8 0, ptr %14, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  store i8 0, ptr %15, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  store i32 0, ptr %16, align 4, !tbaa !13
  br label %30

30:                                               ; preds = %126, %4
  %31 = load i32, ptr %16, align 4, !tbaa !13
  %32 = sitofp i32 %31 to double
  %33 = load double, ptr %9, align 8, !tbaa !9
  %34 = fmul double %32, %33
  %35 = load double, ptr %12, align 8, !tbaa !9
  %36 = fcmp ole double %34, %35
  br i1 %36, label %37, label %41

37:                                               ; preds = %30
  %38 = load i8, ptr %15, align 1, !tbaa !11, !range !15, !noundef !16
  %39 = trunc i8 %38 to i1
  %40 = xor i1 %39, true
  br label %41

41:                                               ; preds = %37, %30
  %42 = phi i1 [ false, %30 ], [ %40, %37 ]
  br i1 %42, label %44, label %43

43:                                               ; preds = %41
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %129

44:                                               ; preds = %41
  %45 = load i32, ptr %16, align 4, !tbaa !13
  %46 = sitofp i32 %45 to double
  %47 = load double, ptr %9, align 8, !tbaa !9
  %48 = load ptr, ptr %6, align 8, !tbaa !5
  %49 = getelementptr inbounds %"class.jet::BoundingBox", ptr %48, i32 0, i32 0
  %50 = getelementptr inbounds %"class.jet::Vector", ptr %49, i32 0, i32 2
  %51 = load double, ptr %50, align 8, !tbaa !17
  %52 = call double @llvm.fmuladd.f64(double %46, double %47, double %51)
  %53 = getelementptr inbounds %"class.jet::Vector", ptr %13, i32 0, i32 2
  store double %52, ptr %53, align 8, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %54 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %55 = trunc i8 %54 to i1
  br i1 %55, label %56, label %58

56:                                               ; preds = %44
  %57 = load double, ptr %9, align 8, !tbaa !9
  br label %59

58:                                               ; preds = %44
  br label %59

59:                                               ; preds = %58, %56
  %60 = phi double [ %57, %56 ], [ 0.000000e+00, %58 ]
  store double %60, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !13
  br label %61

61:                                               ; preds = %118, %59
  %62 = load i32, ptr %19, align 4, !tbaa !13
  %63 = sitofp i32 %62 to double
  %64 = load double, ptr %7, align 8, !tbaa !9
  %65 = load double, ptr %18, align 8, !tbaa !9
  %66 = call double @llvm.fmuladd.f64(double %63, double %64, double %65)
  %67 = load double, ptr %11, align 8, !tbaa !9
  %68 = fcmp ole double %66, %67
  br i1 %68, label %69, label %73

69:                                               ; preds = %61
  %70 = load i8, ptr %15, align 1, !tbaa !11, !range !15, !noundef !16
  %71 = trunc i8 %70 to i1
  %72 = xor i1 %71, true
  br label %73

73:                                               ; preds = %69, %61
  %74 = phi i1 [ false, %61 ], [ %72, %69 ]
  br i1 %74, label %76, label %75

75:                                               ; preds = %73
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %121

76:                                               ; preds = %73
  %77 = load i32, ptr %19, align 4, !tbaa !13
  %78 = sitofp i32 %77 to double
  %79 = load double, ptr %7, align 8, !tbaa !9
  %80 = load double, ptr %18, align 8, !tbaa !9
  %81 = call double @llvm.fmuladd.f64(double %78, double %79, double %80)
  %82 = load ptr, ptr %6, align 8, !tbaa !5
  %83 = getelementptr inbounds %"class.jet::BoundingBox", ptr %82, i32 0, i32 0
  %84 = getelementptr inbounds %"class.jet::Vector", ptr %83, i32 0, i32 1
  %85 = load double, ptr %84, align 8, !tbaa !21
  %86 = fadd double %81, %85
  %87 = getelementptr inbounds %"class.jet::Vector", ptr %13, i32 0, i32 1
  store double %86, ptr %87, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !13
  br label %88

88:                                               ; preds = %113, %76
  %89 = load i32, ptr %20, align 4, !tbaa !13
  %90 = sitofp i32 %89 to double
  %91 = load double, ptr %7, align 8, !tbaa !9
  %92 = load double, ptr %18, align 8, !tbaa !9
  %93 = call double @llvm.fmuladd.f64(double %90, double %91, double %92)
  %94 = load double, ptr %10, align 8, !tbaa !9
  %95 = fcmp ole double %93, %94
  br i1 %95, label %97, label %96

96:                                               ; preds = %88
  store i32 8, ptr %17, align 4
  br label %116

97:                                               ; preds = %88
  %98 = load i32, ptr %20, align 4, !tbaa !13
  %99 = sitofp i32 %98 to double
  %100 = load double, ptr %7, align 8, !tbaa !9
  %101 = load double, ptr %18, align 8, !tbaa !9
  %102 = call double @llvm.fmuladd.f64(double %99, double %100, double %101)
  %103 = load ptr, ptr %6, align 8, !tbaa !5
  %104 = getelementptr inbounds %"class.jet::BoundingBox", ptr %103, i32 0, i32 0
  %105 = getelementptr inbounds %"class.jet::Vector", ptr %104, i32 0, i32 0
  %106 = load double, ptr %105, align 8, !tbaa !23
  %107 = fadd double %102, %106
  %108 = getelementptr inbounds %"class.jet::Vector", ptr %13, i32 0, i32 0
  store double %107, ptr %108, align 8, !tbaa !24
  %109 = load ptr, ptr %8, align 8, !tbaa !5
  %110 = call noundef zeroext i1 @_ZNKSt8functionIFbRKN3jet6VectorIdLm3EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32) %109, ptr noundef nonnull align 8 dereferenceable(24) %13)
  br i1 %110, label %112, label %111

111:                                              ; preds = %97
  store i8 1, ptr %15, align 1, !tbaa !11
  store i32 8, ptr %17, align 4
  br label %116

112:                                              ; preds = %97
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr %20, align 4, !tbaa !13
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %20, align 4, !tbaa !13
  br label %88, !llvm.loop !25

116:                                              ; preds = %111, %96
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %117

117:                                              ; preds = %116
  br label %118

118:                                              ; preds = %117
  %119 = load i32, ptr %19, align 4, !tbaa !13
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %19, align 4, !tbaa !13
  br label %61, !llvm.loop !27

121:                                              ; preds = %75
  %122 = load i8, ptr %14, align 1, !tbaa !11, !range !15, !noundef !16
  %123 = trunc i8 %122 to i1
  %124 = xor i1 %123, true
  %125 = zext i1 %124 to i8
  store i8 %125, ptr %14, align 1, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %126

126:                                              ; preds = %121
  %127 = load i32, ptr %16, align 4, !tbaa !13
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %16, align 4, !tbaa !13
  br label %30, !llvm.loop !28

129:                                              ; preds = %43
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet11BoundingBoxIdLm3EE5widthEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet11BoundingBoxIdLm3EE6heightEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet11BoundingBoxIdLm3EE5depthEv(ptr noundef nonnull align 8 dereferenceable(48)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet6VectorIdLm3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFbRKN3jet6VectorIdLm3EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) #0 align 2

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

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!18, !10, i64 16}
!18 = !{!"_ZTSN3jet11BoundingBoxIdLm3EEE", !19, i64 0, !19, i64 24}
!19 = !{!"_ZTSN3jet6VectorIdLm3EEE", !10, i64 0, !10, i64 8, !10, i64 16}
!20 = !{!19, !10, i64 16}
!21 = !{!18, !10, i64 8}
!22 = !{!19, !10, i64 8}
!23 = !{!18, !10, i64 0}
!24 = !{!19, !10, i64 0}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}
!27 = distinct !{!27, !26}
!28 = distinct !{!28, !26}


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

%"class.jet::Vector" = type { double, double, double }

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3jet24BccLatticePointGenerator12forEachPointERKNS_11BoundingBoxIdLm3EEEdRKSt8functionIFbRKNS_6VectorIdLm3EEEEE(ptr nocapture noundef nonnull readnone align 8 dereferenceable(8) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, double noundef %2, ptr noundef nonnull align 8 dereferenceable(32) %3) unnamed_addr #0 align 2 {
  %5 = alloca %"class.jet::Vector", align 8
  %6 = fmul double %2, 5.000000e-01
  %7 = tail call noundef double @_ZNK3jet11BoundingBoxIdLm3EE5widthEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %8 = tail call noundef double @_ZNK3jet11BoundingBoxIdLm3EE6heightEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  %9 = tail call noundef double @_ZNK3jet11BoundingBoxIdLm3EE5depthEv(ptr noundef nonnull align 8 dereferenceable(48) %1)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #4
  call void @_ZN3jet6VectorIdLm3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5)
  %10 = fmul double %6, 0.000000e+00
  %11 = fcmp ugt double %10, %9
  br i1 %11, label %._crit_edge60, label %.lr.ph59

.lr.ph59:                                         ; preds = %4
  %12 = getelementptr inbounds i8, ptr %1, i64 16
  %13 = getelementptr inbounds i8, ptr %5, i64 16
  %14 = getelementptr inbounds i8, ptr %1, i64 8
  %15 = getelementptr inbounds i8, ptr %5, i64 8
  br label %16

._crit_edge60:                                    ; preds = %._crit_edge51, %43, %4
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #4
  ret void

16:                                               ; preds = %.lr.ph59, %._crit_edge51
  %17 = phi double [ 0.000000e+00, %.lr.ph59 ], [ %32, %._crit_edge51 ]
  %.03756 = phi i32 [ 0, %.lr.ph59 ], [ %31, %._crit_edge51 ]
  %indvars61 = trunc i32 %.03756 to i1
  %18 = load double, ptr %12, align 8, !tbaa !5
  %19 = call double @llvm.fmuladd.f64(double %17, double %6, double %18)
  store double %19, ptr %13, align 8, !tbaa !11
  %20 = select i1 %indvars61, double %6, double 0.000000e+00
  %21 = call double @llvm.fmuladd.f64(double %2, double 0.000000e+00, double %20)
  %22 = fcmp ugt double %21, %8
  br i1 %22, label %._crit_edge51, label %.lr.ph50

.lr.ph50:                                         ; preds = %16
  %23 = fcmp ugt double %21, %7
  br i1 %23, label %.lr.ph50.split.us.split.preheader, label %.lr.ph

.lr.ph50.split.us.split.preheader:                ; preds = %.lr.ph50
  %24 = load double, ptr %14, align 8, !tbaa !12
  br label %.lr.ph50.split.us.split

.lr.ph50.split.us.split:                          ; preds = %.lr.ph50.split.us.split.preheader, %.lr.ph50.split.us.split
  %25 = phi double [ %28, %.lr.ph50.split.us.split ], [ %21, %.lr.ph50.split.us.split.preheader ]
  %.03548.us = phi i32 [ %26, %.lr.ph50.split.us.split ], [ 0, %.lr.ph50.split.us.split.preheader ]
  %26 = add nuw nsw i32 %.03548.us, 1
  %27 = uitofp nneg i32 %26 to double
  %28 = call double @llvm.fmuladd.f64(double %27, double %2, double %20)
  %29 = fcmp ugt double %28, %8
  br i1 %29, label %._crit_edge51.split.us, label %.lr.ph50.split.us.split, !llvm.loop !13

._crit_edge51.split.us:                           ; preds = %.lr.ph50.split.us.split
  %30 = fadd double %25, %24
  store double %30, ptr %15, align 8, !tbaa !15
  br label %._crit_edge51

._crit_edge51:                                    ; preds = %._crit_edge, %._crit_edge51.split.us, %16
  %31 = add nuw i32 %.03756, 1
  %32 = uitofp nneg i32 %31 to double
  %33 = fmul double %6, %32
  %34 = fcmp ugt double %33, %9
  br i1 %34, label %._crit_edge60, label %16, !llvm.loop !16

.lr.ph:                                           ; preds = %.lr.ph50, %._crit_edge
  %35 = phi double [ %50, %._crit_edge ], [ %21, %.lr.ph50 ]
  %.03548 = phi i32 [ %48, %._crit_edge ], [ 0, %.lr.ph50 ]
  %36 = load double, ptr %14, align 8, !tbaa !12
  %37 = fadd double %35, %36
  store double %37, ptr %15, align 8, !tbaa !15
  br label %43

38:                                               ; preds = %43
  %39 = add nuw nsw i32 %.043, 1
  %40 = uitofp nneg i32 %39 to double
  %41 = call double @llvm.fmuladd.f64(double %40, double %2, double %20)
  %42 = fcmp ugt double %41, %7
  br i1 %42, label %._crit_edge, label %43, !llvm.loop !17

43:                                               ; preds = %.lr.ph, %38
  %44 = phi double [ %21, %.lr.ph ], [ %41, %38 ]
  %.043 = phi i32 [ 0, %.lr.ph ], [ %39, %38 ]
  %45 = load double, ptr %1, align 8, !tbaa !18
  %46 = fadd double %44, %45
  store double %46, ptr %5, align 8, !tbaa !19
  %47 = call noundef zeroext i1 @_ZNKSt8functionIFbRKN3jet6VectorIdLm3EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32) %3, ptr noundef nonnull align 8 dereferenceable(24) %5)
  br i1 %47, label %38, label %._crit_edge60

._crit_edge:                                      ; preds = %38
  %48 = add nuw nsw i32 %.03548, 1
  %49 = uitofp nneg i32 %48 to double
  %50 = call double @llvm.fmuladd.f64(double %49, double %2, double %20)
  %51 = fcmp ugt double %50, %8
  br i1 %51, label %._crit_edge51, label %.lr.ph, !llvm.loop !13
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet11BoundingBoxIdLm3EE5widthEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet11BoundingBoxIdLm3EE6heightEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK3jet11BoundingBoxIdLm3EE5depthEv(ptr noundef nonnull align 8 dereferenceable(48)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3jet6VectorIdLm3EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNKSt8functionIFbRKN3jet6VectorIdLm3EEEEEclES4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

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

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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !8, i64 16}
!6 = !{!"_ZTSN3jet11BoundingBoxIdLm3EEE", !7, i64 0, !7, i64 24}
!7 = !{!"_ZTSN3jet6VectorIdLm3EEE", !8, i64 0, !8, i64 8, !8, i64 16}
!8 = !{!"double", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!7, !8, i64 16}
!12 = !{!6, !8, i64 8}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = !{!7, !8, i64 8}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = !{!6, !8, i64 0}
!19 = !{!7, !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass