; LLVM IR from yangfengzzz/Arche-webgpu :: vox.geometry/collocated_vector_grid2.ll (ZNK3vox21CollocatedVectorGrid215curlAtDataPointEmm)

; 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.vox::Size2" = type { i64, i64 }
%"struct.vox::Vector" = type { double, double }
%"class.vox::CollocatedVectorGrid2" = type { %"class.vox::VectorGrid2", %"class.vox::Array", %"class.vox::LinearArraySampler", %"class.std::function" }
%"class.vox::VectorGrid2" = type { %"class.vox::VectorField2", %"class.vox::Grid2" }
%"class.vox::VectorField2" = type { %"class.vox::Field2" }
%"class.vox::Field2" = type { ptr }
%"class.vox::Grid2" = type { ptr, %"struct.vox::Size2", %"struct.vox::Vector", %"struct.vox::Point", %"struct.vox::BoundingBox" }
%"struct.vox::Point" = type { double, double }
%"struct.vox::BoundingBox" = type { %"struct.vox::Point", %"struct.vox::Point" }
%"class.vox::Array" = type { %"struct.vox::Size2", %"class.std::vector" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vox::Vector<double, 2>, std::allocator<vox::Vector<double, 2>>>::_Vector_impl" }
%"struct.std::_Vector_base<vox::Vector<double, 2>, std::allocator<vox::Vector<double, 2>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vox::Vector<double, 2>, std::allocator<vox::Vector<double, 2>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vox::Vector<double, 2>, std::allocator<vox::Vector<double, 2>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.vox::LinearArraySampler" = type { %"struct.vox::Vector", %"struct.vox::Vector", %"struct.vox::Point", %"class.vox::ConstArrayAccessor" }
%"class.vox::ConstArrayAccessor" = type { %"struct.vox::Size2", ptr }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }

; 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(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local { i64, i64 } @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40)) #1 align 2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88)) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZNK3vox21CollocatedVectorGrid215curlAtDataPointEmm(ptr noundef nonnull align 8 dereferenceable(240) %0, i64 noundef %1, i64 noundef %2) #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca %"struct.vox::Size2", align 8
  %8 = alloca ptr, align 8
  %9 = alloca %"struct.vox::Vector", align 8
  %10 = alloca %"struct.vox::Vector", align 8
  %11 = alloca %"struct.vox::Vector", align 8
  %12 = alloca %"struct.vox::Vector", align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i64 %1, ptr %5, align 8, !tbaa !9
  store i64 %2, ptr %6, align 8, !tbaa !9
  %17 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #4
  %18 = getelementptr inbounds %"class.vox::CollocatedVectorGrid2", ptr %17, i32 0, i32 1
  %19 = call { i64, i64 } @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %18)
  %20 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 0
  %21 = extractvalue { i64, i64 } %19, 0
  store i64 %21, ptr %20, align 8
  %22 = getelementptr inbounds { i64, i64 }, ptr %7, i32 0, i32 1
  %23 = extractvalue { i64, i64 } %19, 1
  store i64 %23, ptr %22, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %24 = getelementptr inbounds i8, ptr %17, i64 8
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %24)
  store ptr %25, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #4
  %26 = getelementptr inbounds %"class.vox::CollocatedVectorGrid2", ptr %17, i32 0, i32 1
  %27 = load i64, ptr %5, align 8, !tbaa !9
  %28 = icmp ugt i64 %27, 0
  br i1 %28, label %29, label %32

29:                                               ; preds = %3
  %30 = load i64, ptr %5, align 8, !tbaa !9
  %31 = sub i64 %30, 1
  br label %34

32:                                               ; preds = %3
  %33 = load i64, ptr %5, align 8, !tbaa !9
  br label %34

34:                                               ; preds = %32, %29
  %35 = phi i64 [ %31, %29 ], [ %33, %32 ]
  %36 = load i64, ptr %6, align 8, !tbaa !9
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40) %26, i64 noundef %35, i64 noundef %36)
  call void @_ZN3vox6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %9, ptr noundef nonnull align 8 dereferenceable(16) %37)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #4
  %38 = getelementptr inbounds %"class.vox::CollocatedVectorGrid2", ptr %17, i32 0, i32 1
  %39 = load i64, ptr %5, align 8, !tbaa !9
  %40 = add i64 %39, 1
  %41 = getelementptr inbounds %"struct.vox::Size2", ptr %7, i32 0, i32 0
  %42 = load i64, ptr %41, align 8, !tbaa !11
  %43 = icmp ult i64 %40, %42
  br i1 %43, label %44, label %47

44:                                               ; preds = %34
  %45 = load i64, ptr %5, align 8, !tbaa !9
  %46 = add i64 %45, 1
  br label %49

47:                                               ; preds = %34
  %48 = load i64, ptr %5, align 8, !tbaa !9
  br label %49

49:                                               ; preds = %47, %44
  %50 = phi i64 [ %46, %44 ], [ %48, %47 ]
  %51 = load i64, ptr %6, align 8, !tbaa !9
  %52 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40) %38, i64 noundef %50, i64 noundef %51)
  call void @_ZN3vox6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %10, ptr noundef nonnull align 8 dereferenceable(16) %52)
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #4
  %53 = getelementptr inbounds %"class.vox::CollocatedVectorGrid2", ptr %17, i32 0, i32 1
  %54 = load i64, ptr %5, align 8, !tbaa !9
  %55 = load i64, ptr %6, align 8, !tbaa !9
  %56 = icmp ugt i64 %55, 0
  br i1 %56, label %57, label %60

57:                                               ; preds = %49
  %58 = load i64, ptr %6, align 8, !tbaa !9
  %59 = sub i64 %58, 1
  br label %62

60:                                               ; preds = %49
  %61 = load i64, ptr %6, align 8, !tbaa !9
  br label %62

62:                                               ; preds = %60, %57
  %63 = phi i64 [ %59, %57 ], [ %61, %60 ]
  %64 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40) %53, i64 noundef %54, i64 noundef %63)
  call void @_ZN3vox6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %11, ptr noundef nonnull align 8 dereferenceable(16) %64)
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #4
  %65 = getelementptr inbounds %"class.vox::CollocatedVectorGrid2", ptr %17, i32 0, i32 1
  %66 = load i64, ptr %5, align 8, !tbaa !9
  %67 = load i64, ptr %6, align 8, !tbaa !9
  %68 = add i64 %67, 1
  %69 = getelementptr inbounds %"struct.vox::Size2", ptr %7, i32 0, i32 1
  %70 = load i64, ptr %69, align 8, !tbaa !13
  %71 = icmp ult i64 %68, %70
  br i1 %71, label %72, label %75

72:                                               ; preds = %62
  %73 = load i64, ptr %6, align 8, !tbaa !9
  %74 = add i64 %73, 1
  br label %77

75:                                               ; preds = %62
  %76 = load i64, ptr %6, align 8, !tbaa !9
  br label %77

77:                                               ; preds = %75, %72
  %78 = phi i64 [ %74, %72 ], [ %76, %75 ]
  %79 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40) %65, i64 noundef %66, i64 noundef %78)
  call void @_ZN3vox6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %12, ptr noundef nonnull align 8 dereferenceable(16) %79)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %80 = getelementptr inbounds %"struct.vox::Vector", ptr %11, i32 0, i32 0
  %81 = load double, ptr %80, align 8, !tbaa !14
  store double %81, ptr %13, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %82 = getelementptr inbounds %"struct.vox::Vector", ptr %12, i32 0, i32 0
  %83 = load double, ptr %82, align 8, !tbaa !14
  store double %83, ptr %14, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #4
  %84 = getelementptr inbounds %"struct.vox::Vector", ptr %9, i32 0, i32 1
  %85 = load double, ptr %84, align 8, !tbaa !18
  store double %85, ptr %15, align 8, !tbaa !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %86 = getelementptr inbounds %"struct.vox::Vector", ptr %10, i32 0, i32 1
  %87 = load double, ptr %86, align 8, !tbaa !18
  store double %87, ptr %16, align 8, !tbaa !17
  %88 = load double, ptr %16, align 8, !tbaa !17
  %89 = load double, ptr %15, align 8, !tbaa !17
  %90 = fsub double %88, %89
  %91 = fmul double 5.000000e-01, %90
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = getelementptr inbounds %"struct.vox::Vector", ptr %92, i32 0, i32 0
  %94 = load double, ptr %93, align 8, !tbaa !14
  %95 = fdiv double %91, %94
  %96 = load double, ptr %14, align 8, !tbaa !17
  %97 = load double, ptr %13, align 8, !tbaa !17
  %98 = fsub double %96, %97
  %99 = fmul double 5.000000e-01, %98
  %100 = load ptr, ptr %8, align 8, !tbaa !5
  %101 = getelementptr inbounds %"struct.vox::Vector", ptr %100, i32 0, i32 1
  %102 = load double, ptr %101, align 8, !tbaa !18
  %103 = fdiv double %99, %102
  %104 = fsub double %95, %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #4
  ret double %104
}

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

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 = { "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 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 = { 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, !10, i64 0}
!12 = !{!"_ZTSN3vox5Size2E", !10, i64 0, !10, i64 8}
!13 = !{!12, !10, i64 8}
!14 = !{!15, !16, i64 0}
!15 = !{!"_ZTSN3vox6VectorIdLm2EEE", !16, i64 0, !16, i64 8}
!16 = !{!"double", !7, i64 0}
!17 = !{!16, !16, i64 0}
!18 = !{!15, !16, i64 8}


; 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.vox::Vector" = type { double, double }

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

; Function Attrs: mustprogress 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(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef) local_unnamed_addr #1 align 2

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZNK3vox21CollocatedVectorGrid215curlAtDataPointEmm(ptr noundef nonnull align 8 dereferenceable(240) %0, i64 noundef %1, i64 noundef %2) local_unnamed_addr #3 align 2 {
  %4 = alloca %"struct.vox::Vector", align 16
  %5 = alloca %"struct.vox::Vector", align 16
  %6 = alloca %"struct.vox::Vector", align 8
  %7 = alloca %"struct.vox::Vector", align 8
  %8 = getelementptr inbounds i8, ptr %0, i64 96
  %9 = tail call { i64, i64 } @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(40) %8)
  %10 = extractvalue { i64, i64 } %9, 0
  %11 = extractvalue { i64, i64 } %9, 1
  %12 = getelementptr inbounds i8, ptr %0, i64 8
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5Grid211gridSpacingEv(ptr noundef nonnull align 8 dereferenceable(88) %12)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  %14 = tail call i64 @llvm.usub.sat.i64(i64 %1, i64 1)
  %15 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40) %8, i64 noundef %14, i64 noundef %2)
  call void @_ZN3vox6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef nonnull align 8 dereferenceable(16) %15)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %5) #5
  %16 = add i64 %1, 1
  %17 = icmp ult i64 %16, %10
  %18 = select i1 %17, i64 %16, i64 %1
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40) %8, i64 noundef %18, i64 noundef %2)
  call void @_ZN3vox6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %5, ptr noundef nonnull align 8 dereferenceable(16) %19)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6) #5
  %20 = call i64 @llvm.usub.sat.i64(i64 %2, i64 1)
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40) %8, i64 noundef %1, i64 noundef %20)
  call void @_ZN3vox6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %6, ptr noundef nonnull align 8 dereferenceable(16) %21)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7) #5
  %22 = add i64 %2, 1
  %23 = icmp ult i64 %22, %11
  %24 = select i1 %23, i64 %22, i64 %2
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNK3vox5ArrayINS_6VectorIdLm2EEELm2EEclEmm(ptr noundef nonnull align 8 dereferenceable(40) %8, i64 noundef %1, i64 noundef %24)
  call void @_ZN3vox6VectorIdLm2EEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef nonnull align 8 dereferenceable(16) %25)
  %26 = load double, ptr %6, align 8, !tbaa !5
  %27 = load double, ptr %7, align 8, !tbaa !5
  %28 = load <2 x double>, ptr %4, align 16
  %29 = shufflevector <2 x double> %28, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %30 = load <2 x double>, ptr %5, align 16
  %31 = shufflevector <2 x double> %30, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %32 = insertelement <2 x double> %31, double %27, i64 1
  %33 = insertelement <2 x double> %29, double %26, i64 1
  %34 = fsub <2 x double> %32, %33
  %35 = fmul <2 x double> %34, <double 5.000000e-01, double 5.000000e-01>
  %36 = load <2 x double>, ptr %13, align 8, !tbaa !10
  %37 = fdiv <2 x double> %35, %36
  %shift = shufflevector <2 x double> %37, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %38 = fsub <2 x double> %37, %shift
  %39 = extractelement <2 x double> %38, i64 0
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %6) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  ret double %39
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.usub.sat.i64(i64, i64) #4

attributes #0 = { mustprogress 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 = { "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 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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, !7, i64 0}
!6 = !{!"_ZTSN3vox6VectorIdLm2EEE", !7, i64 0, !7, i64 8}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass