; LLVM IR from beagleboard/librobotcontrol :: examples/src (rc_test_vector)

; 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.rc_vector_t = type { i32, ptr, i32 }

@.str = external hidden unnamed_addr constant [27 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca %struct.rc_vector_t, align 8
  %4 = alloca %struct.rc_vector_t, align 8
  %5 = alloca [6 x double], align 16
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #4
  call void @llvm.memset.p0.i64(ptr align 8 %3, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #4
  call void @llvm.memset.p0.i64(ptr align 8 %4, i8 0, i64 24, i1 false)
  %6 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %7 = call i32 @rc_vector_ones(ptr noundef %3, i32 noundef 4)
  %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %9 = call i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  %10 = call i32 @rc_vector_zeros(ptr noundef %3, i32 noundef 4)
  %11 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %12 = call i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  %13 = call i32 @rc_vector_random(ptr noundef %3, i32 noundef 4)
  %14 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %15 = call i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  %16 = call i32 @rc_vector_duplicate(ptr noundef byval(%struct.rc_vector_t) align 8 %3, ptr noundef %4)
  %17 = call i32 (ptr, ...) @printf(ptr noundef @.str.4)
  %18 = call i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8 %4)
  %19 = call i32 @rc_vector_times_scalar(ptr noundef %4, double noundef 2.000000e+00)
  %20 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  %21 = call i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8 %4)
  %22 = call i32 @rc_vector_sum_inplace(ptr noundef %4, ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  %23 = call i32 (ptr, ...) @printf(ptr noundef @.str.6)
  %24 = call i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8 %4)
  call void @llvm.lifetime.start.p0(i64 48, ptr %5) #4
  call void @llvm.memset.p0.i64(ptr align 16 %5, i8 0, i64 48, i1 false)
  %25 = getelementptr inbounds [6 x double], ptr %5, i32 0, i32 0
  store double 1.000000e+00, ptr %25, align 16
  %26 = getelementptr inbounds [6 x double], ptr %5, i32 0, i32 1
  store double 1.000000e+00, ptr %26, align 8
  %27 = getelementptr inbounds [6 x double], ptr %5, i32 0, i32 2
  store double 2.000000e+00, ptr %27, align 16
  %28 = getelementptr inbounds [6 x double], ptr %5, i32 0, i32 3
  store double 3.000000e+00, ptr %28, align 8
  %29 = getelementptr inbounds [6 x double], ptr %5, i32 0, i32 4
  store double 5.000000e+00, ptr %29, align 16
  %30 = getelementptr inbounds [6 x double], ptr %5, i32 0, i32 5
  store double 8.000000e+00, ptr %30, align 8
  %31 = getelementptr inbounds [6 x double], ptr %5, i64 0, i64 0
  %32 = call i32 @rc_vector_from_array(ptr noundef %3, ptr noundef %31, i32 noundef 6)
  %33 = call i32 (ptr, ...) @printf(ptr noundef @.str.7)
  %34 = call i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  %35 = call i32 @rc_vector_fibonnaci(ptr noundef %3, i32 noundef 6)
  %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.8)
  %37 = call i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  %38 = call double @rc_vector_norm(ptr noundef byval(%struct.rc_vector_t) align 8 %3, double noundef 1.000000e+00)
  %39 = call i32 (ptr, ...) @printf(ptr noundef @.str.9, double noundef %38)
  %40 = call double @rc_vector_norm(ptr noundef byval(%struct.rc_vector_t) align 8 %3, double noundef 2.000000e+00)
  %41 = call i32 (ptr, ...) @printf(ptr noundef @.str.10, double noundef %40)
  %42 = call double @rc_vector_norm(ptr noundef byval(%struct.rc_vector_t) align 8 %3, double noundef 3.000000e+00)
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.11, double noundef %42)
  %44 = call i32 @rc_vector_max(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  store i32 %44, ptr %2, align 4, !tbaa !5
  %45 = getelementptr inbounds %struct.rc_vector_t, ptr %3, i32 0, i32 1
  %46 = load ptr, ptr %45, align 8, !tbaa !9
  %47 = load i32, ptr %2, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds double, ptr %46, i64 %48
  %50 = load double, ptr %49, align 8, !tbaa !12
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = call i32 (ptr, ...) @printf(ptr noundef @.str.12, double noundef %50, i32 noundef %51)
  %53 = call i32 @rc_vector_min(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  store i32 %53, ptr %2, align 4, !tbaa !5
  %54 = getelementptr inbounds %struct.rc_vector_t, ptr %3, i32 0, i32 1
  %55 = load ptr, ptr %54, align 8, !tbaa !9
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds double, ptr %55, i64 %57
  %59 = load double, ptr %58, align 8, !tbaa !12
  %60 = load i32, ptr %2, align 4, !tbaa !5
  %61 = call i32 (ptr, ...) @printf(ptr noundef @.str.13, double noundef %59, i32 noundef %60)
  %62 = call double @rc_vector_std_dev(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  %63 = call i32 (ptr, ...) @printf(ptr noundef @.str.14, double noundef %62)
  %64 = call double @rc_vector_mean(ptr noundef byval(%struct.rc_vector_t) align 8 %3)
  %65 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, double noundef %64)
  %66 = call i32 @rc_vector_free(ptr noundef %3)
  %67 = call i32 @rc_vector_free(ptr noundef %4)
  %68 = call i32 (ptr, ...) @printf(ptr noundef @.str.16)
  call void @llvm.lifetime.end.p0(i64 48, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

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

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

declare i32 @printf(ptr noundef, ...) #3

declare i32 @rc_vector_ones(ptr noundef, i32 noundef) #3

declare i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8) #3

declare i32 @rc_vector_zeros(ptr noundef, i32 noundef) #3

declare i32 @rc_vector_random(ptr noundef, i32 noundef) #3

declare i32 @rc_vector_duplicate(ptr noundef byval(%struct.rc_vector_t) align 8, ptr noundef) #3

declare i32 @rc_vector_times_scalar(ptr noundef, double noundef) #3

declare i32 @rc_vector_sum_inplace(ptr noundef, ptr noundef byval(%struct.rc_vector_t) align 8) #3

declare i32 @rc_vector_from_array(ptr noundef, ptr noundef, i32 noundef) #3

declare i32 @rc_vector_fibonnaci(ptr noundef, i32 noundef) #3

declare double @rc_vector_norm(ptr noundef byval(%struct.rc_vector_t) align 8, double noundef) #3

declare i32 @rc_vector_max(ptr noundef byval(%struct.rc_vector_t) align 8) #3

declare i32 @rc_vector_min(ptr noundef byval(%struct.rc_vector_t) align 8) #3

declare double @rc_vector_std_dev(ptr noundef byval(%struct.rc_vector_t) align 8) #3

declare double @rc_vector_mean(ptr noundef byval(%struct.rc_vector_t) align 8) #3

declare i32 @rc_vector_free(ptr noundef) #3

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

attributes #0 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { "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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"rc_vector_t", !6, i64 0, !11, i64 8, !6, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"double", !7, i64 0}


; 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.rc_vector_t = type { i32, ptr, i32 }

@.str = external hidden unnamed_addr constant [27 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [38 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca %struct.rc_vector_t, align 8
  %2 = alloca %struct.rc_vector_t, align 8
  %3 = alloca [6 x double], align 16
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %1, i8 0, i64 24, i1 false)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %2, i8 0, i64 24, i1 false)
  %4 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %5 = call i32 @rc_vector_ones(ptr noundef nonnull %1, i32 noundef 4) #5
  %6 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %7 = call i32 @rc_vector_print(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %8 = call i32 @rc_vector_zeros(ptr noundef nonnull %1, i32 noundef 4) #5
  %9 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %10 = call i32 @rc_vector_print(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %11 = call i32 @rc_vector_random(ptr noundef nonnull %1, i32 noundef 4) #5
  %12 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %13 = call i32 @rc_vector_print(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %14 = call i32 @rc_vector_duplicate(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1, ptr noundef nonnull %2) #5
  %15 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4)
  %16 = call i32 @rc_vector_print(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %2) #5
  %17 = call i32 @rc_vector_times_scalar(ptr noundef nonnull %2, double noundef 2.000000e+00) #5
  %18 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  %19 = call i32 @rc_vector_print(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %2) #5
  %20 = call i32 @rc_vector_sum_inplace(ptr noundef nonnull %2, ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %21 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.6)
  %22 = call i32 @rc_vector_print(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %2) #5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3) #5
  store <2 x double> <double 1.000000e+00, double 1.000000e+00>, ptr %3, align 16
  %23 = getelementptr inbounds i8, ptr %3, i64 16
  store <2 x double> <double 2.000000e+00, double 3.000000e+00>, ptr %23, align 16
  %24 = getelementptr inbounds i8, ptr %3, i64 32
  store <2 x double> <double 5.000000e+00, double 8.000000e+00>, ptr %24, align 16
  %25 = call i32 @rc_vector_from_array(ptr noundef nonnull %1, ptr noundef nonnull %3, i32 noundef 6) #5
  %26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.7)
  %27 = call i32 @rc_vector_print(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %28 = call i32 @rc_vector_fibonnaci(ptr noundef nonnull %1, i32 noundef 6) #5
  %29 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8)
  %30 = call i32 @rc_vector_print(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %31 = call double @rc_vector_norm(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1, double noundef 1.000000e+00) #5
  %32 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.9, double noundef %31)
  %33 = call double @rc_vector_norm(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1, double noundef 2.000000e+00) #5
  %34 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.10, double noundef %33)
  %35 = call double @rc_vector_norm(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1, double noundef 3.000000e+00) #5
  %36 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.11, double noundef %35)
  %37 = call i32 @rc_vector_max(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %38 = getelementptr inbounds i8, ptr %1, i64 8
  %39 = load ptr, ptr %38, align 8, !tbaa !5
  %40 = sext i32 %37 to i64
  %41 = getelementptr inbounds double, ptr %39, i64 %40
  %42 = load double, ptr %41, align 8, !tbaa !11
  %43 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.12, double noundef %42, i32 noundef %37)
  %44 = call i32 @rc_vector_min(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %45 = load ptr, ptr %38, align 8, !tbaa !5
  %46 = sext i32 %44 to i64
  %47 = getelementptr inbounds double, ptr %45, i64 %46
  %48 = load double, ptr %47, align 8, !tbaa !11
  %49 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.13, double noundef %48, i32 noundef %44)
  %50 = call double @rc_vector_std_dev(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.14, double noundef %50)
  %52 = call double @rc_vector_mean(ptr noundef nonnull byval(%struct.rc_vector_t) align 8 %1) #5
  %53 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, double noundef %52)
  %54 = call i32 @rc_vector_free(ptr noundef nonnull %1) #5
  %55 = call i32 @rc_vector_free(ptr noundef nonnull %2) #5
  %56 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.16)
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #5
  ret i32 0
}

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

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare i32 @rc_vector_ones(ptr noundef, i32 noundef) local_unnamed_addr #4

declare i32 @rc_vector_print(ptr noundef byval(%struct.rc_vector_t) align 8) local_unnamed_addr #4

declare i32 @rc_vector_zeros(ptr noundef, i32 noundef) local_unnamed_addr #4

declare i32 @rc_vector_random(ptr noundef, i32 noundef) local_unnamed_addr #4

declare i32 @rc_vector_duplicate(ptr noundef byval(%struct.rc_vector_t) align 8, ptr noundef) local_unnamed_addr #4

declare i32 @rc_vector_times_scalar(ptr noundef, double noundef) local_unnamed_addr #4

declare i32 @rc_vector_sum_inplace(ptr noundef, ptr noundef byval(%struct.rc_vector_t) align 8) local_unnamed_addr #4

declare i32 @rc_vector_from_array(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

declare i32 @rc_vector_fibonnaci(ptr noundef, i32 noundef) local_unnamed_addr #4

declare double @rc_vector_norm(ptr noundef byval(%struct.rc_vector_t) align 8, double noundef) local_unnamed_addr #4

declare i32 @rc_vector_max(ptr noundef byval(%struct.rc_vector_t) align 8) local_unnamed_addr #4

declare i32 @rc_vector_min(ptr noundef byval(%struct.rc_vector_t) align 8) local_unnamed_addr #4

declare double @rc_vector_std_dev(ptr noundef byval(%struct.rc_vector_t) align 8) local_unnamed_addr #4

declare double @rc_vector_mean(ptr noundef byval(%struct.rc_vector_t) align 8) local_unnamed_addr #4

declare i32 @rc_vector_free(ptr noundef) local_unnamed_addr #4

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

attributes #0 = { 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #3 = { nofree 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 #4 = { "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 #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, !10, i64 8}
!6 = !{!"rc_vector_t", !7, i64 0, !10, i64 8, !7, i64 16}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !8, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,TailCallElimPass