; LLVM IR from dtecta/motion-toolkit :: test/moto/TrigonometryTests.ll (ZN29Trigonometry_EulerAngles_Test8TestBodyEv)

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

%"class.mt::Random" = type { i32 }
%"class.mt::Vector4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }
%struct.anon = type { float, float, float, float }

; 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
define dso_local void @_ZN29Trigonometry_EulerAngles_Test8TestBodyEv(ptr noundef nonnull align 8 dereferenceable(16) %0) unnamed_addr #1 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"class.mt::Random", align 4
  %4 = alloca i32, align 4
  %5 = alloca %"class.mt::Vector4", align 16
  %6 = alloca %"class.mt::Vector4", align 16
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca %"class.mt::Vector4", align 16
  %11 = alloca %"class.mt::Vector4", align 16
  store ptr %0, ptr %2, align 8, !tbaa !5
  %12 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #8
  call void @_ZN2mt6RandomIfEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %3, i32 noundef 12345)
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #8
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %63, %1
  %14 = load i32, ptr %4, align 4, !tbaa !9
  %15 = icmp ne i32 %14, 1000
  br i1 %15, label %17, label %16

16:                                               ; preds = %13
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #8
  br label %66

17:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #8
  %18 = call { double, double } @_ZN2mt6RandomIfE8rotationEv(ptr noundef nonnull align 4 dereferenceable(4) %3)
  %19 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %20 = getelementptr inbounds %union.anon.0, ptr %19, i32 0, i32 0
  %21 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 0
  %22 = extractvalue { double, double } %18, 0
  store double %22, ptr %21, align 16
  %23 = getelementptr inbounds { double, double }, ptr %20, i32 0, i32 1
  %24 = extractvalue { double, double } %18, 1
  store double %24, ptr %23, align 8
  %25 = getelementptr inbounds %"class.mt::Vector4", ptr %5, i32 0, i32 0
  %26 = getelementptr inbounds %struct.anon, ptr %25, i32 0, i32 3
  %27 = load float, ptr %26, align 4, !tbaa !11
  %28 = call noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef %27)
  br i1 %28, label %29, label %38

29:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #8
  %30 = call { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16) %5)
  %31 = getelementptr inbounds %"class.mt::Vector4", ptr %6, i32 0, i32 0
  %32 = getelementptr inbounds %union.anon.0, ptr %31, i32 0, i32 0
  %33 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 0
  %34 = extractvalue { double, double } %30, 0
  store double %34, ptr %33, align 16
  %35 = getelementptr inbounds { double, double }, ptr %32, i32 0, i32 1
  %36 = extractvalue { double, double } %30, 1
  store double %36, ptr %35, align 8
  %37 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %6)
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #8
  br label %38

38:                                               ; preds = %29, %17
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  call void @_ZN2mt7toEulerIfEEvRT_S2_S2_RKNS_7Vector4IS1_EE(ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %9, ptr noundef nonnull align 16 dereferenceable(16) %5)
  call void @llvm.lifetime.start.p0(i64 16, ptr %10) #8
  %39 = load float, ptr %7, align 4, !tbaa !12
  %40 = load float, ptr %8, align 4, !tbaa !12
  %41 = load float, ptr %9, align 4, !tbaa !12
  %42 = call { double, double } @_ZN2mt9fromEulerIfEENS_7Vector4IT_EES2_S2_S2_(float noundef %39, float noundef %40, float noundef %41)
  %43 = getelementptr inbounds %"class.mt::Vector4", ptr %10, i32 0, i32 0
  %44 = getelementptr inbounds %union.anon.0, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 0
  %46 = extractvalue { double, double } %42, 0
  store double %46, ptr %45, align 16
  %47 = getelementptr inbounds { double, double }, ptr %44, i32 0, i32 1
  %48 = extractvalue { double, double } %42, 1
  store double %48, ptr %47, align 8
  %49 = getelementptr inbounds %"class.mt::Vector4", ptr %10, i32 0, i32 0
  %50 = getelementptr inbounds %struct.anon, ptr %49, i32 0, i32 3
  %51 = load float, ptr %50, align 4, !tbaa !11
  %52 = call noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef %51)
  br i1 %52, label %53, label %62

53:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 16, ptr %11) #8
  %54 = call { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16) %10)
  %55 = getelementptr inbounds %"class.mt::Vector4", ptr %11, i32 0, i32 0
  %56 = getelementptr inbounds %union.anon.0, ptr %55, i32 0, i32 0
  %57 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 0
  %58 = extractvalue { double, double } %54, 0
  store double %58, ptr %57, align 16
  %59 = getelementptr inbounds { double, double }, ptr %56, i32 0, i32 1
  %60 = extractvalue { double, double } %54, 1
  store double %60, ptr %59, align 8
  %61 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16) %10, ptr noundef nonnull align 16 dereferenceable(16) %11)
  call void @llvm.lifetime.end.p0(i64 16, ptr %11) #8
  br label %62

62:                                               ; preds = %53, %38
  call void @_Z14testFuzzyEqualIN2mt7Vector4IfEEEvRKT_S5_(ptr noundef nonnull align 16 dereferenceable(16) %5, ptr noundef nonnull align 16 dereferenceable(16) %10)
  call void @llvm.lifetime.end.p0(i64 16, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #8
  br label %63

63:                                               ; preds = %62
  %64 = load i32, ptr %4, align 4, !tbaa !9
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %4, align 4, !tbaa !9
  br label %13, !llvm.loop !14

66:                                               ; preds = %16
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #8
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2mt6RandomIfEC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN2mt6RandomIfE8rotationEv(ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16)) #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN2mt7toEulerIfEEvRT_S2_S2_RKNS_7Vector4IS1_EE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 16 dereferenceable(16)) #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN2mt9fromEulerIfEENS_7Vector4IT_EES2_S2_S2_(float noundef, float noundef, float noundef) #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z14testFuzzyEqualIN2mt7Vector4IfEEEvRKT_S5_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) #1

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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { alwaysinline 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 #5 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 #6 = { alwaysinline 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 #7 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="64" "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 #8 = { 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 = !{!7, !7, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"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"

%"class.mt::Random" = type { i32 }
%"class.mt::Vector4" = type { %union.anon.0 }
%union.anon.0 = type { <4 x float> }

; 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 uwtable
define dso_local void @_ZN29Trigonometry_EulerAngles_Test8TestBodyEv(ptr nocapture noundef nonnull readnone align 8 dereferenceable(16) %0) unnamed_addr #1 align 2 {
  %2 = alloca %"class.mt::Random", align 4
  %3 = alloca %"class.mt::Vector4", align 16
  %4 = alloca %"class.mt::Vector4", align 16
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca %"class.mt::Vector4", align 16
  %9 = alloca %"class.mt::Vector4", align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #8
  call void @_ZN2mt6RandomIfEC2Ej(ptr noundef nonnull align 4 dereferenceable(4) %2, i32 noundef 12345)
  %10 = getelementptr inbounds i8, ptr %3, i64 8
  %11 = getelementptr inbounds i8, ptr %4, i64 8
  %12 = getelementptr inbounds i8, ptr %8, i64 8
  %13 = getelementptr inbounds i8, ptr %9, i64 8
  br label %15

14:                                               ; preds = %46
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #8
  ret void

15:                                               ; preds = %1, %46
  %.02 = phi i32 [ 0, %1 ], [ %47, %46 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #8
  %16 = call { double, double } @_ZN2mt6RandomIfE8rotationEv(ptr noundef nonnull align 4 dereferenceable(4) %2)
  %17 = extractvalue { double, double } %16, 0
  store double %17, ptr %3, align 16
  %18 = extractvalue { double, double } %16, 1
  store double %18, ptr %10, align 8
  %19 = bitcast double %18 to i64
  %20 = lshr i64 %19, 32
  %21 = trunc nuw i64 %20 to i32
  %22 = bitcast i32 %21 to float
  %23 = call noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef %22)
  br i1 %23, label %24, label %29

24:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #8
  %25 = call { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16) %3)
  %26 = extractvalue { double, double } %25, 0
  store double %26, ptr %4, align 16
  %27 = extractvalue { double, double } %25, 1
  store double %27, ptr %11, align 8
  %28 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %4)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #8
  br label %29

29:                                               ; preds = %24, %15
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #8
  call void @_ZN2mt7toEulerIfEEvRT_S2_S2_RKNS_7Vector4IS1_EE(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 16 dereferenceable(16) %3)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8) #8
  %30 = load float, ptr %5, align 4, !tbaa !5
  %31 = load float, ptr %6, align 4, !tbaa !5
  %32 = load float, ptr %7, align 4, !tbaa !5
  %33 = call { double, double } @_ZN2mt9fromEulerIfEENS_7Vector4IT_EES2_S2_S2_(float noundef %30, float noundef %31, float noundef %32)
  %34 = extractvalue { double, double } %33, 0
  store double %34, ptr %8, align 16
  %35 = extractvalue { double, double } %33, 1
  store double %35, ptr %12, align 8
  %36 = bitcast double %35 to i64
  %37 = lshr i64 %36, 32
  %38 = trunc nuw i64 %37 to i32
  %39 = bitcast i32 %38 to float
  %40 = call noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef %39)
  br i1 %40, label %41, label %46

41:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9) #8
  %42 = call { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16) %8)
  %43 = extractvalue { double, double } %42, 0
  store double %43, ptr %9, align 16
  %44 = extractvalue { double, double } %42, 1
  store double %44, ptr %13, align 8
  %45 = call noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16) %8, ptr noundef nonnull align 16 dereferenceable(16) %9)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %9) #8
  br label %46

46:                                               ; preds = %41, %29
  call void @_Z14testFuzzyEqualIN2mt7Vector4IfEEEvRKT_S5_(ptr noundef nonnull align 16 dereferenceable(16) %3, ptr noundef nonnull align 16 dereferenceable(16) %8)
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %8) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #8
  %47 = add nuw nsw i32 %.02, 1
  %.not = icmp eq i32 %47, 1000
  br i1 %.not, label %14, label %15, !llvm.loop !9
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN2mt6RandomIfEC2Ej(ptr noundef nonnull align 4 dereferenceable(4), i32 noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { double, double } @_ZN2mt6RandomIfE8rotationEv(ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN2mt10isnegativeEf(float noundef) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN2mtngERKNS_7Vector4IfEE(ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef nonnull align 16 dereferenceable(16) ptr @_ZN2mt7Vector4IfEaSERKS1_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN2mt7toEulerIfEEvRT_S2_S2_RKNS_7Vector4IS1_EE(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #4

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local { double, double } @_ZN2mt9fromEulerIfEENS_7Vector4IT_EES2_S2_S2_(float noundef, float noundef, float noundef) local_unnamed_addr #7

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z14testFuzzyEqualIN2mt7Vector4IfEEEvRKT_S5_(ptr noundef nonnull align 16 dereferenceable(16), ptr noundef nonnull align 16 dereferenceable(16)) local_unnamed_addr #1

attributes #0 = { mustprogress 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 = { 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 #3 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { alwaysinline 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 #5 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="128" "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 #6 = { alwaysinline 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 #7 = { alwaysinline mustprogress uwtable "min-legal-vector-width"="64" "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 #8 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass