; LLVM IR from Dimandragon/non-parametric-dsp :: 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_obj_array" = type { i64, i64, i8, ptr, ptr, ptr, ptr, %"struct.alglib_impl::ae_lock", %"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_smart_ptr" = type { ptr, ptr, i8, i8, i64, ptr, ptr, %"struct.alglib_impl::ae_dyn_block" }

@.str.26 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl23ae_unsafe_volatile_readEPKl(ptr noundef) #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl25ae_obj_array_set_transferEPNS_12ae_obj_arrayElPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef %0, i64 noundef %1, ptr noundef %2, ptr noundef %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i64 %1, ptr %6, align 8, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %9 = load i64, ptr %6, align 8, !tbaa !9
  %10 = icmp slt i64 %9, 0
  br i1 %10, label %17, label %11

11:                                               ; preds = %4
  %12 = load i64, ptr %6, align 8, !tbaa !9
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %13, i32 0, i32 0
  %15 = call noundef i64 @_ZN11alglib_impl23ae_unsafe_volatile_readEPKl(ptr noundef %14)
  %16 = icmp sge i64 %12, %15
  br i1 %16, label %17, label %19

17:                                               ; preds = %11, %4
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef @.str.26, ptr noundef %18)
  br label %19

19:                                               ; preds = %17, %11
  %20 = load ptr, ptr %7, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %20, i32 0, i32 1
  %22 = load ptr, ptr %21, align 8, !tbaa !11
  %23 = icmp eq ptr %22, null
  br i1 %23, label %29, label %24

24:                                               ; preds = %19
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %25, i32 0, i32 2
  %27 = load i8, ptr %26, align 8, !tbaa !15, !range !16, !noundef !17
  %28 = trunc i8 %27 to i1
  br label %29

29:                                               ; preds = %24, %19
  %30 = phi i1 [ true, %19 ], [ %28, %24 ]
  %31 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %30, ptr noundef @.str.27, ptr noundef %31)
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %32, i32 0, i32 1
  %34 = load ptr, ptr %33, align 8, !tbaa !11
  %35 = icmp eq ptr %34, null
  br i1 %35, label %41, label %36

36:                                               ; preds = %29
  %37 = load ptr, ptr %7, align 8, !tbaa !5
  %38 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %37, i32 0, i32 3
  %39 = load i8, ptr %38, align 1, !tbaa !18, !range !16, !noundef !17
  %40 = trunc i8 %39 to i1
  br label %41

41:                                               ; preds = %36, %29
  %42 = phi i1 [ true, %29 ], [ %40, %36 ]
  %43 = load ptr, ptr %8, align 8, !tbaa !5
  call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %42, ptr noundef @.str.28, ptr noundef %43)
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %44, i32 0, i32 3
  %46 = load ptr, ptr %45, align 8, !tbaa !19
  %47 = load i64, ptr %6, align 8, !tbaa !9
  %48 = getelementptr inbounds ptr, ptr %46, i64 %47
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = icmp ne ptr %49, null
  br i1 %50, label %51, label %90

51:                                               ; preds = %41
  %52 = load ptr, ptr %5, align 8, !tbaa !5
  %53 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %52, i32 0, i32 6
  %54 = load ptr, ptr %53, align 8, !tbaa !22
  %55 = load i64, ptr %6, align 8, !tbaa !9
  %56 = getelementptr inbounds ptr, ptr %54, i64 %55
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = load ptr, ptr %5, align 8, !tbaa !5
  %59 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %58, i32 0, i32 3
  %60 = load ptr, ptr %59, align 8, !tbaa !19
  %61 = load i64, ptr %6, align 8, !tbaa !9
  %62 = getelementptr inbounds ptr, ptr %60, i64 %61
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  call void %57(ptr noundef %63)
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %64, i32 0, i32 3
  %66 = load ptr, ptr %65, align 8, !tbaa !19
  %67 = load i64, ptr %6, align 8, !tbaa !9
  %68 = getelementptr inbounds ptr, ptr %66, i64 %67
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  call void @_ZN11alglib_impl7ae_freeEPv(ptr noundef %69)
  %70 = load ptr, ptr %5, align 8, !tbaa !5
  %71 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %70, i32 0, i32 3
  %72 = load ptr, ptr %71, align 8, !tbaa !19
  %73 = load i64, ptr %6, align 8, !tbaa !9
  %74 = getelementptr inbounds ptr, ptr %72, i64 %73
  store ptr null, ptr %74, align 8, !tbaa !5
  %75 = load ptr, ptr %5, align 8, !tbaa !5
  %76 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %75, i32 0, i32 4
  %77 = load ptr, ptr %76, align 8, !tbaa !23
  %78 = load i64, ptr %6, align 8, !tbaa !9
  %79 = getelementptr inbounds i64, ptr %77, i64 %78
  store i64 0, ptr %79, align 8, !tbaa !9
  %80 = load ptr, ptr %5, align 8, !tbaa !5
  %81 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %80, i32 0, i32 5
  %82 = load ptr, ptr %81, align 8, !tbaa !24
  %83 = load i64, ptr %6, align 8, !tbaa !9
  %84 = getelementptr inbounds ptr, ptr %82, i64 %83
  store ptr null, ptr %84, align 8, !tbaa !5
  %85 = load ptr, ptr %5, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %85, i32 0, i32 6
  %87 = load ptr, ptr %86, align 8, !tbaa !22
  %88 = load i64, ptr %6, align 8, !tbaa !9
  %89 = getelementptr inbounds ptr, ptr %87, i64 %88
  store ptr null, ptr %89, align 8, !tbaa !5
  br label %90

90:                                               ; preds = %51, %41
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %91, i32 0, i32 1
  %93 = load ptr, ptr %92, align 8, !tbaa !11
  %94 = icmp ne ptr %93, null
  br i1 %94, label %95, label %138

95:                                               ; preds = %90
  %96 = load ptr, ptr %7, align 8, !tbaa !5
  %97 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %96, i32 0, i32 1
  %98 = load ptr, ptr %97, align 8, !tbaa !11
  %99 = load ptr, ptr %5, align 8, !tbaa !5
  %100 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %99, i32 0, i32 3
  %101 = load ptr, ptr %100, align 8, !tbaa !19
  %102 = load i64, ptr %6, align 8, !tbaa !9
  %103 = getelementptr inbounds ptr, ptr %101, i64 %102
  store ptr %98, ptr %103, align 8, !tbaa !5
  %104 = load ptr, ptr %7, align 8, !tbaa !5
  %105 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %104, i32 0, i32 4
  %106 = load i64, ptr %105, align 8, !tbaa !25
  %107 = load ptr, ptr %5, align 8, !tbaa !5
  %108 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %107, i32 0, i32 4
  %109 = load ptr, ptr %108, align 8, !tbaa !23
  %110 = load i64, ptr %6, align 8, !tbaa !9
  %111 = getelementptr inbounds i64, ptr %109, i64 %110
  store i64 %106, ptr %111, align 8, !tbaa !9
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %112, i32 0, i32 5
  %114 = load ptr, ptr %113, align 8, !tbaa !26
  %115 = load ptr, ptr %5, align 8, !tbaa !5
  %116 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %115, i32 0, i32 5
  %117 = load ptr, ptr %116, align 8, !tbaa !24
  %118 = load i64, ptr %6, align 8, !tbaa !9
  %119 = getelementptr inbounds ptr, ptr %117, i64 %118
  store ptr %114, ptr %119, align 8, !tbaa !5
  %120 = load ptr, ptr %7, align 8, !tbaa !5
  %121 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %120, i32 0, i32 6
  %122 = load ptr, ptr %121, align 8, !tbaa !27
  %123 = load ptr, ptr %5, align 8, !tbaa !5
  %124 = getelementptr inbounds %"struct.alglib_impl::ae_obj_array", ptr %123, i32 0, i32 6
  %125 = load ptr, ptr %124, align 8, !tbaa !22
  %126 = load i64, ptr %6, align 8, !tbaa !9
  %127 = getelementptr inbounds ptr, ptr %125, i64 %126
  store ptr %122, ptr %127, align 8, !tbaa !5
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %128, i32 0, i32 2
  store i8 0, ptr %129, align 8, !tbaa !15
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %130, i32 0, i32 3
  store i8 0, ptr %131, align 1, !tbaa !18
  %132 = load ptr, ptr %7, align 8, !tbaa !5
  %133 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %132, i32 0, i32 4
  store i64 0, ptr %133, align 8, !tbaa !25
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %134, i32 0, i32 5
  store ptr null, ptr %135, align 8, !tbaa !26
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %"struct.alglib_impl::ae_smart_ptr", ptr %136, i32 0, i32 6
  store ptr null, ptr %137, align 8, !tbaa !27
  br label %138

138:                                              ; preds = %95, %90
  ret void
}

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 = !{!"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, !6, i64 8}
!12 = !{!"_ZTSN11alglib_impl12ae_smart_ptrE", !6, i64 0, !6, i64 8, !13, i64 16, !13, i64 17, !10, i64 24, !6, i64 32, !6, i64 40, !14, i64 48}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!15 = !{!12, !13, i64 16}
!16 = !{i8 0, i8 2}
!17 = !{}
!18 = !{!12, !13, i64 17}
!19 = !{!20, !6, i64 24}
!20 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !10, i64 0, !10, i64 8, !13, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !21, i64 56, !14, i64 104}
!21 = !{!"_ZTSN11alglib_impl7ae_lockE", !6, i64 0, !14, i64 8, !13, i64 40}
!22 = !{!20, !6, i64 48}
!23 = !{!20, !6, i64 32}
!24 = !{!20, !6, i64 40}
!25 = !{!12, !10, i64 24}
!26 = !{!12, !6, i64 32}
!27 = !{!12, !6, i64 40}


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

@.str.26 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [56 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN11alglib_impl23ae_unsafe_volatile_readEPKl(ptr noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11alglib_impl25ae_obj_array_set_transferEPNS_12ae_obj_arrayElPNS_12ae_smart_ptrEPNS_8ae_stateE(ptr noundef %0, i64 noundef %1, ptr nocapture noundef %2, ptr noundef %3) local_unnamed_addr #1 {
  %5 = icmp slt i64 %1, 0
  br i1 %5, label %8, label %6

6:                                                ; preds = %4
  %7 = tail call noundef i64 @_ZN11alglib_impl23ae_unsafe_volatile_readEPKl(ptr noundef %0)
  %.not = icmp sgt i64 %7, %1
  br i1 %.not, label %9, label %8

8:                                                ; preds = %6, %4
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext false, ptr noundef nonnull @.str.26, ptr noundef %3)
  br label %9

9:                                                ; preds = %8, %6
  %10 = getelementptr inbounds i8, ptr %2, i64 8
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = icmp eq ptr %11, null
  br i1 %12, label %17, label %13

13:                                               ; preds = %9
  %14 = getelementptr inbounds i8, ptr %2, i64 16
  %15 = load i8, ptr %14, align 8, !tbaa !13, !range !14, !noundef !15
  %16 = trunc nuw i8 %15 to i1
  br label %17

17:                                               ; preds = %13, %9
  %18 = phi i1 [ true, %9 ], [ %16, %13 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %18, ptr noundef nonnull @.str.27, ptr noundef %3)
  %19 = load ptr, ptr %10, align 8, !tbaa !5
  %20 = icmp eq ptr %19, null
  br i1 %20, label %25, label %21

21:                                               ; preds = %17
  %22 = getelementptr inbounds i8, ptr %2, i64 17
  %23 = load i8, ptr %22, align 1, !tbaa !16, !range !14, !noundef !15
  %24 = trunc nuw i8 %23 to i1
  br label %25

25:                                               ; preds = %21, %17
  %26 = phi i1 [ true, %17 ], [ %24, %21 ]
  tail call void @_ZN11alglib_impl9ae_assertEbPKcPNS_8ae_stateE(i1 noundef zeroext %26, ptr noundef nonnull @.str.28, ptr noundef %3)
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !17
  %29 = getelementptr inbounds ptr, ptr %28, i64 %1
  %30 = load ptr, ptr %29, align 8, !tbaa !20
  %.not45 = icmp eq ptr %30, null
  br i1 %.not45, label %49, label %31

31:                                               ; preds = %25
  %32 = getelementptr inbounds i8, ptr %0, i64 48
  %33 = load ptr, ptr %32, align 8, !tbaa !21
  %34 = getelementptr inbounds ptr, ptr %33, i64 %1
  %35 = load ptr, ptr %34, align 8, !tbaa !20
  tail call void %35(ptr noundef nonnull %30)
  %36 = load ptr, ptr %27, align 8, !tbaa !17
  %37 = getelementptr inbounds ptr, ptr %36, i64 %1
  %38 = load ptr, ptr %37, align 8, !tbaa !20
  tail call void @_ZN11alglib_impl7ae_freeEPv(ptr noundef %38)
  %39 = load ptr, ptr %27, align 8, !tbaa !17
  %40 = getelementptr inbounds ptr, ptr %39, i64 %1
  store ptr null, ptr %40, align 8, !tbaa !20
  %41 = getelementptr inbounds i8, ptr %0, i64 32
  %42 = load ptr, ptr %41, align 8, !tbaa !22
  %43 = getelementptr inbounds i64, ptr %42, i64 %1
  store i64 0, ptr %43, align 8, !tbaa !23
  %44 = getelementptr inbounds i8, ptr %0, i64 40
  %45 = load ptr, ptr %44, align 8, !tbaa !24
  %46 = getelementptr inbounds ptr, ptr %45, i64 %1
  store ptr null, ptr %46, align 8, !tbaa !20
  %47 = load ptr, ptr %32, align 8, !tbaa !21
  %48 = getelementptr inbounds ptr, ptr %47, i64 %1
  store ptr null, ptr %48, align 8, !tbaa !20
  br label %49

49:                                               ; preds = %31, %25
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %.not46 = icmp eq ptr %50, null
  br i1 %.not46, label %71, label %51

51:                                               ; preds = %49
  %52 = load ptr, ptr %27, align 8, !tbaa !17
  %53 = getelementptr inbounds ptr, ptr %52, i64 %1
  store ptr %50, ptr %53, align 8, !tbaa !20
  %54 = getelementptr inbounds i8, ptr %2, i64 24
  %55 = load i64, ptr %54, align 8, !tbaa !25
  %56 = getelementptr inbounds i8, ptr %0, i64 32
  %57 = load ptr, ptr %56, align 8, !tbaa !22
  %58 = getelementptr inbounds i64, ptr %57, i64 %1
  store i64 %55, ptr %58, align 8, !tbaa !23
  %59 = getelementptr inbounds i8, ptr %2, i64 32
  %60 = load ptr, ptr %59, align 8, !tbaa !26
  %61 = getelementptr inbounds i8, ptr %0, i64 40
  %62 = load ptr, ptr %61, align 8, !tbaa !24
  %63 = getelementptr inbounds ptr, ptr %62, i64 %1
  store ptr %60, ptr %63, align 8, !tbaa !20
  %64 = getelementptr inbounds i8, ptr %2, i64 40
  %65 = load ptr, ptr %64, align 8, !tbaa !27
  %66 = getelementptr inbounds i8, ptr %0, i64 48
  %67 = load ptr, ptr %66, align 8, !tbaa !21
  %68 = getelementptr inbounds ptr, ptr %67, i64 %1
  store ptr %65, ptr %68, align 8, !tbaa !20
  %69 = getelementptr inbounds i8, ptr %2, i64 16
  store i8 0, ptr %69, align 8, !tbaa !13
  %70 = getelementptr inbounds i8, ptr %2, i64 17
  store i8 0, ptr %70, align 1, !tbaa !16
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %54, i8 0, i64 24, i1 false)
  br label %71

71:                                               ; preds = %51, %49
  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 = { 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" }
attributes #2 = { 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, !7, i64 8}
!6 = !{!"_ZTSN11alglib_impl12ae_smart_ptrE", !7, i64 0, !7, i64 8, !10, i64 16, !10, i64 17, !11, i64 24, !7, i64 32, !7, i64 40, !12, i64 48}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"bool", !8, i64 0}
!11 = !{!"long", !8, i64 0}
!12 = !{!"_ZTSN11alglib_impl12ae_dyn_blockE", !7, i64 0, !7, i64 8, !7, i64 16, !7, i64 24}
!13 = !{!6, !10, i64 16}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!6, !10, i64 17}
!17 = !{!18, !7, i64 24}
!18 = !{!"_ZTSN11alglib_impl12ae_obj_arrayE", !11, i64 0, !11, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !19, i64 56, !12, i64 104}
!19 = !{!"_ZTSN11alglib_impl7ae_lockE", !7, i64 0, !12, i64 8, !10, i64 40}
!20 = !{!7, !7, i64 0}
!21 = !{!18, !7, i64 48}
!22 = !{!18, !7, i64 32}
!23 = !{!11, !11, i64 0}
!24 = !{!18, !7, i64 40}
!25 = !{!6, !11, i64 24}
!26 = !{!6, !7, i64 32}
!27 = !{!6, !7, i64 40}


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