; LLVM IR from TheAlgorithms/C-Plus-Plus :: machine_learning/kohonen_som_trace.ll (Z15test_3d_classesPSt6vectorISt8valarrayIdESaIS1_EE)

; 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.std::array.5" = type { [3 x double] }
%"struct.std::array" = type { [8 x %"struct.std::array.5"] }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<std::valarray<double>, std::allocator<std::valarray<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::valarray<double>, std::allocator<std::valarray<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::valarray<double>, std::allocator<std::valarray<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::valarray<double>, std::allocator<std::valarray<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@constinit = external hidden constant [8 x %"struct.std::array.5"], align 8

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

; Function Attrs: nounwind
declare i32 @rand() #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt8valarrayIdESaIS1_EE4sizeEv(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) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt8valarrayIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) #3 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z15test_3d_classesPSt6vectorISt8valarrayIdESaIS1_EE(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca %"struct.std::array", align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  %9 = load ptr, ptr %2, align 8, !tbaa !5
  %10 = call noundef i64 @_ZNKSt6vectorISt8valarrayIdESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #5
  %11 = trunc i64 %10 to i32
  store i32 %11, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  store double 1.000000e-01, ptr %4, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 8, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 192, ptr %7) #5
  %12 = getelementptr inbounds %"struct.std::array", ptr %7, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %12, ptr align 8 @constinit, i64 192, i1 false), !tbaa.struct !13
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %77, %1
  %14 = load i32, ptr %5, align 4, !tbaa !9
  %15 = load i32, ptr %3, align 4, !tbaa !9
  %16 = icmp slt i32 %14, %15
  br i1 %16, label %17, label %80

17:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %18 = call i32 @rand() #5
  %19 = srem i32 %18, 8
  store i32 %19, ptr %8, align 4, !tbaa !9
  %20 = load i32, ptr %8, align 4, !tbaa !9
  %21 = sext i32 %20 to i64
  %22 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %7, i64 noundef %21) #5
  %23 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef 0) #5
  %24 = load double, ptr %23, align 8, !tbaa !11
  %25 = fsub double %24, 1.000000e-01
  %26 = load i32, ptr %8, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %7, i64 noundef %27) #5
  %29 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %28, i64 noundef 0) #5
  %30 = load double, ptr %29, align 8, !tbaa !11
  %31 = fadd double %30, 1.000000e-01
  %32 = call noundef double @_Z7_randomdd(double noundef %25, double noundef %31)
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %"class.std::vector", ptr %33, i64 0
  %35 = load i32, ptr %5, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt8valarrayIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %34, i64 noundef %36) #5
  %38 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %37, i64 noundef 0) #5
  store double %32, ptr %38, align 8, !tbaa !11
  %39 = load i32, ptr %8, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %7, i64 noundef %40) #5
  %42 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %41, i64 noundef 1) #5
  %43 = load double, ptr %42, align 8, !tbaa !11
  %44 = fsub double %43, 1.000000e-01
  %45 = load i32, ptr %8, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %7, i64 noundef %46) #5
  %48 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %47, i64 noundef 1) #5
  %49 = load double, ptr %48, align 8, !tbaa !11
  %50 = fadd double %49, 1.000000e-01
  %51 = call noundef double @_Z7_randomdd(double noundef %44, double noundef %50)
  %52 = load ptr, ptr %2, align 8, !tbaa !5
  %53 = getelementptr inbounds %"class.std::vector", ptr %52, i64 0
  %54 = load i32, ptr %5, align 4, !tbaa !9
  %55 = sext i32 %54 to i64
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt8valarrayIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %53, i64 noundef %55) #5
  %57 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %56, i64 noundef 1) #5
  store double %51, ptr %57, align 8, !tbaa !11
  %58 = load i32, ptr %8, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %7, i64 noundef %59) #5
  %61 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %60, i64 noundef 2) #5
  %62 = load double, ptr %61, align 8, !tbaa !11
  %63 = fsub double %62, 1.000000e-01
  %64 = load i32, ptr %8, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %7, i64 noundef %65) #5
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef 2) #5
  %68 = load double, ptr %67, align 8, !tbaa !11
  %69 = fadd double %68, 1.000000e-01
  %70 = call noundef double @_Z7_randomdd(double noundef %63, double noundef %69)
  %71 = load ptr, ptr %2, align 8, !tbaa !5
  %72 = getelementptr inbounds %"class.std::vector", ptr %71, i64 0
  %73 = load i32, ptr %5, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt8valarrayIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %72, i64 noundef %74) #5
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %75, i64 noundef 2) #5
  store double %70, ptr %76, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %77

77:                                               ; preds = %17
  %78 = load i32, ptr %5, align 4, !tbaa !9
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %5, align 4, !tbaa !9
  br label %13, !llvm.loop !15

80:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 192, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192), i64 noundef) #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #0 align 2

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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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, !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, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{i64 0, i64 192, !14}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"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"

%"struct.std::array.5" = type { [3 x double] }
%"struct.std::array" = type { [8 x %"struct.std::array.5"] }

@constinit = external hidden local_unnamed_addr constant [8 x %"struct.std::array.5"], align 8

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

; Function Attrs: nounwind
declare i32 @rand() local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNKSt6vectorISt8valarrayIdESaIS1_EE4sizeEv(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) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt8valarrayIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z15test_3d_classesPSt6vectorISt8valarrayIdESaIS1_EE(ptr noundef nonnull %0) local_unnamed_addr #0 {
  %2 = alloca %"struct.std::array", align 8
  %3 = tail call noundef i64 @_ZNKSt6vectorISt8valarrayIdESaIS1_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %4 = trunc i64 %3 to i32
  call void @llvm.lifetime.start.p0(i64 192, ptr nonnull %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(192) %2, ptr noundef nonnull align 8 dereferenceable(192) @constinit, i64 192, i1 false), !tbaa.struct !5
  %5 = icmp sgt i32 %4, 0
  br i1 %5, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %1
  %wide.trip.count = and i64 %3, 2147483647
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %6 = call i32 @rand() #5
  %7 = srem i32 %6, 8
  %8 = sext i32 %7 to i64
  %9 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %2, i64 noundef %8) #5
  %10 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef 0) #5
  %11 = load double, ptr %10, align 8, !tbaa !9
  %12 = fadd double %11, -1.000000e-01
  %13 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %2, i64 noundef %8) #5
  %14 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef 0) #5
  %15 = load double, ptr %14, align 8, !tbaa !9
  %16 = fadd double %15, 1.000000e-01
  %17 = call noundef double @_Z7_randomdd(double noundef %12, double noundef %16)
  %18 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt8valarrayIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #5
  %19 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %18, i64 noundef 0) #5
  store double %17, ptr %19, align 8, !tbaa !9
  %20 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %2, i64 noundef %8) #5
  %21 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef 1) #5
  %22 = load double, ptr %21, align 8, !tbaa !9
  %23 = fadd double %22, -1.000000e-01
  %24 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %2, i64 noundef %8) #5
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 1) #5
  %26 = load double, ptr %25, align 8, !tbaa !9
  %27 = fadd double %26, 1.000000e-01
  %28 = call noundef double @_Z7_randomdd(double noundef %23, double noundef %27)
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt8valarrayIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #5
  %30 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %29, i64 noundef 1) #5
  store double %28, ptr %30, align 8, !tbaa !9
  %31 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %2, i64 noundef %8) #5
  %32 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef 2) #5
  %33 = load double, ptr %32, align 8, !tbaa !9
  %34 = fadd double %33, -1.000000e-01
  %35 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192) %2, i64 noundef %8) #5
  %36 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef 2) #5
  %37 = load double, ptr %36, align 8, !tbaa !9
  %38 = fadd double %37, 1.000000e-01
  %39 = call noundef double @_Z7_randomdd(double noundef %34, double noundef %38)
  %40 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6vectorISt8valarrayIdESaIS1_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %indvars.iv) #5
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt8valarrayIdEixEm(ptr noundef nonnull align 8 dereferenceable(16) %40, i64 noundef 2) #5
  store double %39, ptr %41, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !11

._crit_edge:                                      ; preds = %.lr.ph, %1
  call void @llvm.lifetime.end.p0(i64 192, ptr nonnull %2) #5
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNKSt5arrayIKS_IdLm3EELm8EEixEm(ptr noundef nonnull align 8 dereferenceable(192), i64 noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt5arrayIdLm3EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

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 = { 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 #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint 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 #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{i64 0, i64 192, !6}
!6 = !{!7, !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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