; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src (ap)

; 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.alglib_impl::ae_shared_pool" = type { %"struct.alglib_impl::ae_lock", ptr, ptr, ptr, ptr, i64, ptr, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }
%"struct.alglib_impl::ae_lock" = type { ptr, %"struct.alglib_impl::ae_dyn_block", i8 }
%"struct.alglib_impl::ae_dyn_block" = type { ptr, ptr, ptr, ptr }
%"struct.alglib_impl::ae_shared_pool_entry" = type { ptr, ptr }

; 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 uwtable
declare dso_local noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef, ptr noundef) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl19ae_shared_pool_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl22ae_shared_pool_destroyEPv(ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl24ae_shared_pool_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i8, align 1
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  %13 = zext i1 %3 to i8
  store i8 %13, ptr %8, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  store ptr %14, ptr %9, align 8, !tbaa !5
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %15, ptr %10, align 8, !tbaa !5
  %16 = load ptr, ptr %9, align 8, !tbaa !5
  %17 = load ptr, ptr %7, align 8, !tbaa !5
  %18 = load i8, ptr %8, align 1, !tbaa !9, !range !11, !noundef !12
  %19 = trunc i8 %18 to i1
  call void @_ZN11alglib_impl19ae_shared_pool_initEPvPNS_8ae_stateEb(ptr noundef %16, ptr noundef %17, i1 noundef zeroext %19)
  %20 = load ptr, ptr %10, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %20, i32 0, i32 5
  %22 = load i64, ptr %21, align 8, !tbaa !13
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %23, i32 0, i32 5
  store i64 %22, ptr %24, align 8, !tbaa !13
  %25 = load ptr, ptr %10, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %25, i32 0, i32 6
  %27 = load ptr, ptr %26, align 8, !tbaa !18
  %28 = load ptr, ptr %9, align 8, !tbaa !5
  %29 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %28, i32 0, i32 6
  store ptr %27, ptr %29, align 8, !tbaa !18
  %30 = load ptr, ptr %10, align 8, !tbaa !5
  %31 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %30, i32 0, i32 7
  %32 = load ptr, ptr %31, align 8, !tbaa !19
  %33 = load ptr, ptr %9, align 8, !tbaa !5
  %34 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %33, i32 0, i32 7
  store ptr %32, ptr %34, align 8, !tbaa !19
  %35 = load ptr, ptr %10, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %35, i32 0, i32 8
  %37 = load ptr, ptr %36, align 8, !tbaa !20
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %38, i32 0, i32 8
  store ptr %37, ptr %39, align 8, !tbaa !20
  %40 = load ptr, ptr %10, align 8, !tbaa !5
  %41 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %40, i32 0, i32 1
  %42 = load volatile ptr, ptr %41, align 8, !tbaa !21
  %43 = icmp ne ptr %42, null
  br i1 %43, label %44, label %68

44:                                               ; preds = %4
  %45 = load ptr, ptr %9, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %45, i32 0, i32 5
  %47 = load i64, ptr %46, align 8, !tbaa !13
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = call noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef %47, ptr noundef %48)
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %50, i32 0, i32 1
  store volatile ptr %49, ptr %51, align 8, !tbaa !21
  %52 = load ptr, ptr %9, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %52, i32 0, i32 1
  %54 = load volatile ptr, ptr %53, align 8, !tbaa !21
  %55 = load ptr, ptr %9, align 8, !tbaa !5
  %56 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %55, i32 0, i32 5
  %57 = load i64, ptr %56, align 8, !tbaa !13
  call void @llvm.memset.p0.i64(ptr align 1 %54, i8 0, i64 %57, i1 false)
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %58, i32 0, i32 7
  %60 = load ptr, ptr %59, align 8, !tbaa !19
  %61 = load ptr, ptr %9, align 8, !tbaa !5
  %62 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %61, i32 0, i32 1
  %63 = load volatile ptr, ptr %62, align 8, !tbaa !21
  %64 = load ptr, ptr %10, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %64, i32 0, i32 1
  %66 = load volatile ptr, ptr %65, align 8, !tbaa !21
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  call void %60(ptr noundef %63, ptr noundef %66, ptr noundef %67, i1 noundef zeroext false)
  br label %68

68:                                               ; preds = %44, %4
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %69, i32 0, i32 2
  store volatile ptr null, ptr %70, align 8, !tbaa !22
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %71, i32 0, i32 2
  %73 = load volatile ptr, ptr %72, align 8, !tbaa !22
  store ptr %73, ptr %11, align 8, !tbaa !5
  br label %74

74:                                               ; preds = %112, %68
  %75 = load ptr, ptr %11, align 8, !tbaa !5
  %76 = icmp ne ptr %75, null
  br i1 %76, label %77, label %116

77:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %78 = load ptr, ptr %7, align 8, !tbaa !5
  %79 = call noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef 16, ptr noundef %78)
  store ptr %79, ptr %12, align 8, !tbaa !5
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memset.p0.i64(ptr align 8 %80, i8 0, i64 16, i1 false)
  %81 = load ptr, ptr %9, align 8, !tbaa !5
  %82 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %81, i32 0, i32 2
  %83 = load volatile ptr, ptr %82, align 8, !tbaa !22
  %84 = load ptr, ptr %12, align 8, !tbaa !5
  %85 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool_entry", ptr %84, i32 0, i32 1
  store volatile ptr %83, ptr %85, align 8, !tbaa !23
  %86 = load ptr, ptr %12, align 8, !tbaa !5
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %87, i32 0, i32 2
  store volatile ptr %86, ptr %88, align 8, !tbaa !22
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %89, i32 0, i32 5
  %91 = load i64, ptr %90, align 8, !tbaa !13
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = call noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef %91, ptr noundef %92)
  %94 = load ptr, ptr %12, align 8, !tbaa !5
  %95 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool_entry", ptr %94, i32 0, i32 0
  store volatile ptr %93, ptr %95, align 8, !tbaa !25
  %96 = load ptr, ptr %12, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool_entry", ptr %96, i32 0, i32 0
  %98 = load volatile ptr, ptr %97, align 8, !tbaa !25
  %99 = load ptr, ptr %9, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %99, i32 0, i32 5
  %101 = load i64, ptr %100, align 8, !tbaa !13
  call void @llvm.memset.p0.i64(ptr align 1 %98, i8 0, i64 %101, i1 false)
  %102 = load ptr, ptr %9, align 8, !tbaa !5
  %103 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %102, i32 0, i32 7
  %104 = load ptr, ptr %103, align 8, !tbaa !19
  %105 = load ptr, ptr %12, align 8, !tbaa !5
  %106 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool_entry", ptr %105, i32 0, i32 0
  %107 = load volatile ptr, ptr %106, align 8, !tbaa !25
  %108 = load ptr, ptr %11, align 8, !tbaa !5
  %109 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool_entry", ptr %108, i32 0, i32 0
  %110 = load volatile ptr, ptr %109, align 8, !tbaa !25
  %111 = load ptr, ptr %7, align 8, !tbaa !5
  call void %104(ptr noundef %107, ptr noundef %110, ptr noundef %111, i1 noundef zeroext false)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %112

112:                                              ; preds = %77
  %113 = load ptr, ptr %11, align 8, !tbaa !5
  %114 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool_entry", ptr %113, i32 0, i32 1
  %115 = load volatile ptr, ptr %114, align 8, !tbaa !23
  store ptr %115, ptr %11, align 8, !tbaa !5
  br label %74, !llvm.loop !26

116:                                              ; preds = %74
  %117 = load ptr, ptr %9, align 8, !tbaa !5
  %118 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %117, i32 0, i32 3
  store volatile ptr null, ptr %118, align 8, !tbaa !28
  %119 = load ptr, ptr %9, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %119, i32 0, i32 4
  store volatile ptr null, ptr %120, align 8, !tbaa !29
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %121, i32 0, i32 9
  %123 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %122, i32 0, i32 1
  store ptr @_ZN11alglib_impl22ae_shared_pool_destroyEPv, ptr %123, align 8, !tbaa !30
  %124 = load ptr, ptr %9, align 8, !tbaa !5
  %125 = load ptr, ptr %9, align 8, !tbaa !5
  %126 = getelementptr inbounds %"struct.alglib_impl::ae_shared_pool", ptr %125, i32 0, i32 9
  %127 = getelementptr inbounds %"struct.alglib_impl::ae_dyn_block", ptr %126, i32 0, i32 2
  store volatile ptr %124, ptr %127, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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" }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"bool", !7, i64 0}
!11 = !{i8 0, i8 2}
!12 = !{}
!13 = !{!14, !17, i64 80}
!14 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !15, i64 0, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !17, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !16, i64 112}
!15 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !16, i64 8, !10, i64 40}
!16 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!17 = !{!"long", !7, i64 0}
!18 = !{!14, !6, i64 88}
!19 = !{!14, !6, i64 96}
!20 = !{!14, !6, i64 104}
!21 = !{!14, !6, i64 48}
!22 = !{!14, !6, i64 56}
!23 = !{!24, !6, i64 8}
!24 = !{!"_ZTSN11alglib_impl20ae_shared_pool_entryE", !6, i64 0, !6, i64 8}
!25 = !{!24, !6, i64 0}
!26 = distinct !{!26, !27}
!27 = !{!"llvm.loop.mustprogress"}
!28 = !{!14, !6, i64 64}
!29 = !{!14, !6, i64 72}
!30 = !{!14, !6, i64 120}
!31 = !{!14, !6, i64 128}


; 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 uwtable
declare dso_local noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl19ae_shared_pool_initEPvPNS_8ae_stateEb(ptr noundef, ptr noundef, i1 noundef zeroext) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN11alglib_impl22ae_shared_pool_destroyEPv(ptr noundef) #0

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl24ae_shared_pool_init_copyEPvS0_PNS_8ae_stateEb(ptr noundef %0, ptr noundef %1, ptr noundef %2, i1 noundef zeroext %3) local_unnamed_addr #0 {
  tail call void @_ZN11alglib_impl19ae_shared_pool_initEPvPNS_8ae_stateEb(ptr noundef %0, ptr noundef %2, i1 noundef zeroext %3)
  %5 = getelementptr inbounds i8, ptr %1, i64 80
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 80
  store i64 %6, ptr %7, align 8, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 88
  %9 = getelementptr inbounds i8, ptr %0, i64 88
  %10 = getelementptr inbounds i8, ptr %0, i64 96
  %11 = load <2 x ptr>, ptr %8, align 8, !tbaa !14
  store <2 x ptr> %11, ptr %9, align 8, !tbaa !14
  %12 = getelementptr inbounds i8, ptr %1, i64 104
  %13 = load ptr, ptr %12, align 8, !tbaa !15
  %14 = getelementptr inbounds i8, ptr %0, i64 104
  store ptr %13, ptr %14, align 8, !tbaa !15
  %15 = getelementptr inbounds i8, ptr %1, i64 48
  %16 = load volatile ptr, ptr %15, align 8, !tbaa !16
  %.not = icmp eq ptr %16, null
  br i1 %.not, label %25, label %17

17:                                               ; preds = %4
  %18 = tail call noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef %6, ptr noundef %2)
  %19 = getelementptr inbounds i8, ptr %0, i64 48
  store volatile ptr %18, ptr %19, align 8, !tbaa !16
  %20 = load volatile ptr, ptr %19, align 8, !tbaa !16
  %21 = load i64, ptr %7, align 8, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr align 1 %20, i8 0, i64 %21, i1 false)
  %22 = load ptr, ptr %10, align 8, !tbaa !17
  %23 = load volatile ptr, ptr %19, align 8, !tbaa !16
  %24 = load volatile ptr, ptr %15, align 8, !tbaa !16
  tail call void %22(ptr noundef %23, ptr noundef %24, ptr noundef %2, i1 noundef zeroext false)
  br label %25

25:                                               ; preds = %17, %4
  %26 = getelementptr inbounds i8, ptr %0, i64 56
  store volatile ptr null, ptr %26, align 8, !tbaa !18
  %27 = getelementptr inbounds i8, ptr %1, i64 56
  %.047 = load volatile ptr, ptr %27, align 8, !tbaa !14
  %.not4648 = icmp eq ptr %.047, null
  br i1 %.not4648, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %25, %.lr.ph
  %.049 = phi ptr [ %.0, %.lr.ph ], [ %.047, %25 ]
  %28 = tail call noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef 16, ptr noundef %2)
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %28, i8 0, i64 16, i1 false)
  %29 = load volatile ptr, ptr %26, align 8, !tbaa !18
  %30 = getelementptr inbounds i8, ptr %28, i64 8
  store volatile ptr %29, ptr %30, align 8, !tbaa !19
  store volatile ptr %28, ptr %26, align 8, !tbaa !18
  %31 = load i64, ptr %7, align 8, !tbaa !5
  %32 = tail call noundef ptr @_ZN11alglib_impl9ae_mallocEmPNS_8ae_stateE(i64 noundef %31, ptr noundef %2)
  store volatile ptr %32, ptr %28, align 8, !tbaa !21
  %33 = load volatile ptr, ptr %28, align 8, !tbaa !21
  %34 = load i64, ptr %7, align 8, !tbaa !5
  tail call void @llvm.memset.p0.i64(ptr align 1 %33, i8 0, i64 %34, i1 false)
  %35 = load ptr, ptr %10, align 8, !tbaa !17
  %36 = load volatile ptr, ptr %28, align 8, !tbaa !21
  %37 = load volatile ptr, ptr %.049, align 8, !tbaa !21
  tail call void %35(ptr noundef %36, ptr noundef %37, ptr noundef %2, i1 noundef zeroext false)
  %38 = getelementptr inbounds i8, ptr %.049, i64 8
  %.0 = load volatile ptr, ptr %38, align 8, !tbaa !14
  %.not46 = icmp eq ptr %.0, null
  br i1 %.not46, label %._crit_edge, label %.lr.ph, !llvm.loop !22

._crit_edge:                                      ; preds = %.lr.ph, %25
  %39 = getelementptr inbounds i8, ptr %0, i64 64
  store volatile ptr null, ptr %39, align 8, !tbaa !24
  %40 = getelementptr inbounds i8, ptr %0, i64 72
  store volatile ptr null, ptr %40, align 8, !tbaa !25
  %41 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr @_ZN11alglib_impl22ae_shared_pool_destroyEPv, ptr %41, align 8, !tbaa !26
  %42 = getelementptr inbounds i8, ptr %0, i64 128
  store volatile ptr %0, ptr %42, align 8, !tbaa !27
  ret void
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #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 nounwind willreturn memory(argmem: write) }

!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, !13, i64 80}
!6 = !{!"_ZTSN11alglib_impl14ae_shared_poolE", !7, i64 0, !8, i64 48, !8, i64 56, !8, i64 64, !8, i64 72, !13, i64 80, !8, i64 88, !8, i64 96, !8, i64 104, !11, i64 112}
!7 = !{!"_ZTSN11alglib_impl7ae_lockE", !8, i64 0, !11, i64 8, !12, i64 40}
!8 = !{!"any pointer", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !8, i64 0, !8, i64 8, !8, i64 16, !8, i64 24}
!12 = !{!"bool", !9, i64 0}
!13 = !{!"long", !9, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!6, !8, i64 104}
!16 = !{!6, !8, i64 48}
!17 = !{!6, !8, i64 96}
!18 = !{!6, !8, i64 56}
!19 = !{!20, !8, i64 8}
!20 = !{!"_ZTSN11alglib_impl20ae_shared_pool_entryE", !8, i64 0, !8, i64 8}
!21 = !{!20, !8, i64 0}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!6, !8, i64 64}
!25 = !{!6, !8, i64 72}
!26 = !{!6, !8, i64 120}
!27 = !{!6, !8, i64 128}


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