; LLVM IR from rdguez-mariano/fast_imas_IPOL :: libUSAC/utils/FundmatrixFunctions.ll (ZN6FTools7singulFEPd)

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

; 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: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6FTools7singulFEPd(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca [9 x double], align 16
  %4 = alloca [3 x double], align 16
  %5 = alloca [9 x double], align 16
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.start.p0(i64 72, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  %10 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 0
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 0
  %13 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 0
  %14 = call noundef i32 @_ZN9MathTools5svduvEPdS0_S0_iS0_i(ptr noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef 3, ptr noundef %13, i32 noundef 3)
  store i32 0, ptr %7, align 4, !tbaa !9
  store i32 1, ptr %6, align 4, !tbaa !9
  br label %15

15:                                               ; preds = %33, %1
  %16 = load i32, ptr %6, align 4, !tbaa !9
  %17 = icmp slt i32 %16, 3
  br i1 %17, label %18, label %36

18:                                               ; preds = %15
  %19 = load i32, ptr %7, align 4, !tbaa !9
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 %20
  %22 = load double, ptr %21, align 8, !tbaa !11
  %23 = call noundef double @_ZSt3absd(double noundef %22)
  %24 = load i32, ptr %6, align 4, !tbaa !9
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 %25
  %27 = load double, ptr %26, align 8, !tbaa !11
  %28 = call noundef double @_ZSt3absd(double noundef %27)
  %29 = fcmp ogt double %23, %28
  br i1 %29, label %30, label %32

30:                                               ; preds = %18
  %31 = load i32, ptr %6, align 4, !tbaa !9
  store i32 %31, ptr %7, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %30, %18
  br label %33

33:                                               ; preds = %32
  %34 = load i32, ptr %6, align 4, !tbaa !9
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %6, align 4, !tbaa !9
  br label %15, !llvm.loop !13

36:                                               ; preds = %15
  %37 = load i32, ptr %7, align 4, !tbaa !9
  switch i32 %37, label %41 [
    i32 0, label %38
    i32 1, label %39
    i32 2, label %40
  ]

38:                                               ; preds = %36
  store i32 1, ptr %8, align 4, !tbaa !9
  store i32 2, ptr %9, align 4, !tbaa !9
  br label %41

39:                                               ; preds = %36
  store i32 0, ptr %8, align 4, !tbaa !9
  store i32 2, ptr %9, align 4, !tbaa !9
  br label %41

40:                                               ; preds = %36
  store i32 0, ptr %8, align 4, !tbaa !9
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %40, %39, %38, %36
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %68, %41
  %43 = load i32, ptr %6, align 4, !tbaa !9
  %44 = icmp slt i32 %43, 9
  br i1 %44, label %45, label %71

45:                                               ; preds = %42
  %46 = load i32, ptr %8, align 4, !tbaa !9
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 %47
  %49 = load double, ptr %48, align 8, !tbaa !11
  %50 = load i32, ptr %6, align 4, !tbaa !9
  %51 = load i32, ptr %8, align 4, !tbaa !9
  %52 = add nsw i32 %50, %51
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !11
  %56 = fmul double %55, %49
  store double %56, ptr %54, align 8, !tbaa !11
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds [3 x double], ptr %4, i64 0, i64 %58
  %60 = load double, ptr %59, align 8, !tbaa !11
  %61 = load i32, ptr %6, align 4, !tbaa !9
  %62 = load i32, ptr %9, align 4, !tbaa !9
  %63 = add nsw i32 %61, %62
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = fmul double %66, %60
  store double %67, ptr %65, align 8, !tbaa !11
  br label %68

68:                                               ; preds = %45
  %69 = load i32, ptr %6, align 4, !tbaa !9
  %70 = add nsw i32 %69, 3
  store i32 %70, ptr %6, align 4, !tbaa !9
  br label %42, !llvm.loop !15

71:                                               ; preds = %42
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %72

72:                                               ; preds = %113, %71
  %73 = load i32, ptr %7, align 4, !tbaa !9
  %74 = icmp slt i32 %73, 9
  br i1 %74, label %75, label %116

75:                                               ; preds = %72
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %76

76:                                               ; preds = %107, %75
  %77 = load i32, ptr %6, align 4, !tbaa !9
  %78 = icmp slt i32 %77, 9
  br i1 %78, label %79, label %112

79:                                               ; preds = %76
  %80 = load i32, ptr %6, align 4, !tbaa !9
  %81 = load i32, ptr %8, align 4, !tbaa !9
  %82 = add nsw i32 %80, %81
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !11
  %86 = load i32, ptr %7, align 4, !tbaa !9
  %87 = load i32, ptr %8, align 4, !tbaa !9
  %88 = add nsw i32 %86, %87
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !11
  %92 = load i32, ptr %6, align 4, !tbaa !9
  %93 = load i32, ptr %9, align 4, !tbaa !9
  %94 = add nsw i32 %92, %93
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 %95
  %97 = load double, ptr %96, align 8, !tbaa !11
  %98 = load i32, ptr %7, align 4, !tbaa !9
  %99 = load i32, ptr %9, align 4, !tbaa !9
  %100 = add nsw i32 %98, %99
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [9 x double], ptr %5, i64 0, i64 %101
  %103 = load double, ptr %102, align 8, !tbaa !11
  %104 = fmul double %97, %103
  %105 = call double @llvm.fmuladd.f64(double %85, double %91, double %104)
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  store double %105, ptr %106, align 8, !tbaa !11
  br label %107

107:                                              ; preds = %79
  %108 = load i32, ptr %6, align 4, !tbaa !9
  %109 = add nsw i32 %108, 3
  store i32 %109, ptr %6, align 4, !tbaa !9
  %110 = load ptr, ptr %2, align 8, !tbaa !5
  %111 = getelementptr inbounds double, ptr %110, i32 1
  store ptr %111, ptr %2, align 8, !tbaa !5
  br label %76, !llvm.loop !16

112:                                              ; preds = %76
  br label %113

113:                                              ; preds = %112
  %114 = load i32, ptr %7, align 4, !tbaa !9
  %115 = add nsw i32 %114, 3
  store i32 %115, ptr %7, align 4, !tbaa !9
  br label %72, !llvm.loop !17

116:                                              ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %3) #5
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #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 = { 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 #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 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


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

@switch.table._ZN6FTools7singulFEPd = private unnamed_addr constant [3 x i64] [i64 1, i64 0, i64 0], align 8
@switch.table._ZN6FTools7singulFEPd.1 = private unnamed_addr constant [3 x i64] [i64 2, i64 2, i64 1], align 8

; 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6FTools7singulFEPd(ptr noundef %0) local_unnamed_addr #2 {
switch.lookup:
  %1 = alloca [9 x double], align 16
  %2 = alloca [3 x double], align 16
  %3 = alloca [9 x double], align 16
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #6
  %4 = call noundef i32 @_ZN9MathTools5svduvEPdS0_S0_iS0_i(ptr noundef nonnull %2, ptr noundef %0, ptr noundef nonnull %3, i32 noundef 3, ptr noundef nonnull %1, i32 noundef 3)
  %5 = load double, ptr %2, align 16, !tbaa !5
  %6 = call noundef double @_ZSt3absd(double noundef %5)
  %7 = getelementptr inbounds i8, ptr %2, i64 8
  %8 = load double, ptr %7, align 8, !tbaa !5
  %9 = call noundef double @_ZSt3absd(double noundef %8)
  %10 = fcmp ogt double %6, %9
  %.1 = zext i1 %10 to i32
  %11 = zext i1 %10 to i64
  %12 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 %11
  %13 = load double, ptr %12, align 8, !tbaa !5
  %14 = call noundef double @_ZSt3absd(double noundef %13)
  %15 = getelementptr inbounds i8, ptr %2, i64 16
  %16 = load double, ptr %15, align 16, !tbaa !5
  %17 = call noundef double @_ZSt3absd(double noundef %16)
  %18 = fcmp ogt double %14, %17
  %.1.1 = select i1 %18, i32 2, i32 %.1
  %19 = zext nneg i32 %.1.1 to i64
  %switch.gep = getelementptr inbounds [3 x i64], ptr @switch.table._ZN6FTools7singulFEPd, i64 0, i64 %19
  %switch.load = load i64, ptr %switch.gep, align 8
  %20 = zext nneg i32 %.1.1 to i64
  %switch.gep47 = getelementptr inbounds [3 x i64], ptr @switch.table._ZN6FTools7singulFEPd.1, i64 0, i64 %20
  %switch.load48 = load i64, ptr %switch.gep47, align 8
  %21 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 %switch.load
  %22 = load double, ptr %21, align 8, !tbaa !5
  %23 = getelementptr inbounds [3 x double], ptr %2, i64 0, i64 %switch.load48
  %24 = load double, ptr %23, align 8, !tbaa !5
  %25 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 %switch.load
  %26 = load double, ptr %25, align 8, !tbaa !5
  %27 = fmul double %22, %26
  store double %27, ptr %25, align 8, !tbaa !5
  %28 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 %switch.load48
  %29 = load double, ptr %28, align 8, !tbaa !5
  %30 = fmul double %24, %29
  store double %30, ptr %28, align 8, !tbaa !5
  %31 = add nuw nsw i64 %switch.load, 3
  %32 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 %31
  %33 = load double, ptr %32, align 8, !tbaa !5
  %34 = fmul double %22, %33
  store double %34, ptr %32, align 8, !tbaa !5
  %35 = add nuw nsw i64 %switch.load48, 3
  %36 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 %35
  %37 = load double, ptr %36, align 8, !tbaa !5
  %38 = fmul double %24, %37
  store double %38, ptr %36, align 8, !tbaa !5
  %39 = or disjoint i64 %switch.load, 6
  %40 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 %39
  %41 = load double, ptr %40, align 8, !tbaa !5
  %42 = fmul double %22, %41
  store double %42, ptr %40, align 8, !tbaa !5
  %43 = add nuw nsw i64 %switch.load48, 6
  %44 = getelementptr inbounds [9 x double], ptr %3, i64 0, i64 %43
  %45 = load double, ptr %44, align 8, !tbaa !5
  %46 = fmul double %24, %45
  %47 = getelementptr inbounds [9 x double], ptr %1, i64 0, i64 %switch.load
  %48 = load double, ptr %47, align 8, !tbaa !5
  %49 = load double, ptr %25, align 8, !tbaa !5
  %50 = getelementptr inbounds [9 x double], ptr %1, i64 0, i64 %switch.load48
  %51 = load double, ptr %50, align 8, !tbaa !5
  %52 = load double, ptr %28, align 8, !tbaa !5
  %53 = getelementptr inbounds [9 x double], ptr %1, i64 0, i64 %31
  %54 = load double, ptr %53, align 8, !tbaa !5
  %55 = getelementptr inbounds [9 x double], ptr %1, i64 0, i64 %35
  %56 = load double, ptr %55, align 8, !tbaa !5
  %57 = insertelement <2 x double> poison, double %51, i64 0
  %58 = insertelement <2 x double> %57, double %56, i64 1
  %59 = insertelement <2 x double> poison, double %52, i64 0
  %60 = shufflevector <2 x double> %59, <2 x double> poison, <2 x i32> zeroinitializer
  %61 = fmul <2 x double> %58, %60
  %62 = insertelement <2 x double> poison, double %48, i64 0
  %63 = insertelement <2 x double> %62, double %54, i64 1
  %64 = insertelement <2 x double> poison, double %49, i64 0
  %65 = shufflevector <2 x double> %64, <2 x double> poison, <2 x i32> zeroinitializer
  %66 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %63, <2 x double> %65, <2 x double> %61)
  store <2 x double> %66, ptr %0, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %0, i64 16
  %68 = getelementptr inbounds [9 x double], ptr %1, i64 0, i64 %39
  %69 = load double, ptr %68, align 8, !tbaa !5
  %70 = getelementptr inbounds [9 x double], ptr %1, i64 0, i64 %43
  %71 = load double, ptr %70, align 8, !tbaa !5
  %72 = load double, ptr %32, align 8, !tbaa !5
  %73 = load double, ptr %36, align 8, !tbaa !5
  %74 = insertelement <2 x double> poison, double %71, i64 0
  %75 = insertelement <2 x double> %74, double %51, i64 1
  %76 = insertelement <2 x double> %59, double %73, i64 1
  %77 = fmul <2 x double> %75, %76
  %78 = insertelement <2 x double> poison, double %69, i64 0
  %79 = insertelement <2 x double> %78, double %48, i64 1
  %80 = insertelement <2 x double> %64, double %72, i64 1
  %81 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %79, <2 x double> %80, <2 x double> %77)
  store <2 x double> %81, ptr %67, align 8, !tbaa !5
  %82 = getelementptr inbounds i8, ptr %0, i64 32
  %83 = insertelement <2 x double> poison, double %56, i64 0
  %84 = insertelement <2 x double> %83, double %71, i64 1
  %85 = insertelement <2 x double> poison, double %73, i64 0
  %86 = shufflevector <2 x double> %85, <2 x double> poison, <2 x i32> zeroinitializer
  %87 = fmul <2 x double> %84, %86
  %88 = insertelement <2 x double> poison, double %54, i64 0
  %89 = insertelement <2 x double> %88, double %69, i64 1
  %90 = insertelement <2 x double> poison, double %72, i64 0
  %91 = shufflevector <2 x double> %90, <2 x double> poison, <2 x i32> zeroinitializer
  %92 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %89, <2 x double> %91, <2 x double> %87)
  store <2 x double> %92, ptr %82, align 8, !tbaa !5
  %93 = getelementptr inbounds i8, ptr %0, i64 48
  %94 = load double, ptr %40, align 8, !tbaa !5
  %95 = insertelement <2 x double> poison, double %46, i64 0
  %96 = shufflevector <2 x double> %95, <2 x double> poison, <2 x i32> zeroinitializer
  %97 = fmul <2 x double> %58, %96
  %98 = insertelement <2 x double> poison, double %94, i64 0
  %99 = shufflevector <2 x double> %98, <2 x double> poison, <2 x i32> zeroinitializer
  %100 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %63, <2 x double> %99, <2 x double> %97)
  store <2 x double> %100, ptr %93, align 8, !tbaa !5
  %101 = getelementptr inbounds i8, ptr %0, i64 64
  %102 = fmul double %71, %46
  %103 = call double @llvm.fmuladd.f64(double %69, double %94, double %102)
  store double %103, ptr %101, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %1) #6
  ret void
}

declare noundef i32 @_ZN9MathTools5svduvEPdS0_S0_iS0_i(ptr noundef, ptr noundef, ptr noundef, i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3absd(double noundef) local_unnamed_addr #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #5

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


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass