; LLVM IR from Sonryle/JoePhys :: testbed/src/Renderer.ll (ZN8Renderer14AddSolidCircleE4vec2fi6colourS1_)

; 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.vec2 = type { float, float }
%struct.colour = type { float, float, float, float }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>, <2 x float>) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>) #0 align 2

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

; Function Attrs: nounwind
declare float @sinf(float noundef) #3

; Function Attrs: nounwind
declare float @cosf(float noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Zpl4vec2S_(<2 x float>, <2 x float>) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Zmlf4vec2(float noundef, <2 x float>) #5

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #6

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Renderer14AddSolidCircleE4vec2fi6colourS1_(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %1, float noundef %2, i32 noundef %3, <2 x float> %4, <2 x float> %5, <2 x float> %6, <2 x float> %7) #0 align 2 {
  %9 = alloca %struct.vec2, align 4
  %10 = alloca %struct.colour, align 4
  %11 = alloca %struct.colour, align 4
  %12 = alloca ptr, align 8
  %13 = alloca float, align 4
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca %struct.vec2, align 4
  %19 = alloca %struct.vec2, align 4
  %20 = alloca %struct.vec2, align 4
  %21 = alloca %struct.vec2, align 4
  %22 = alloca %struct.vec2, align 4
  %23 = alloca i32, align 4
  %24 = alloca %struct.vec2, align 4
  %25 = alloca %struct.vec2, align 4
  %26 = alloca %struct.vec2, align 4
  %27 = alloca %struct.vec2, align 4
  %28 = alloca %struct.vec2, align 4
  %29 = alloca %struct.vec2, align 4
  %30 = alloca %struct.vec2, align 4
  %31 = alloca %struct.colour, align 4
  %32 = alloca %struct.vec2, align 4
  %33 = alloca %struct.vec2, align 4
  %34 = alloca %struct.vec2, align 4
  %35 = alloca %struct.colour, align 4
  store <2 x float> %1, ptr %9, align 4
  %36 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %10, i32 0, i32 0
  store <2 x float> %4, ptr %36, align 4
  %37 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %10, i32 0, i32 1
  store <2 x float> %5, ptr %37, align 4
  %38 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 0
  store <2 x float> %6, ptr %38, align 4
  %39 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %11, i32 0, i32 1
  store <2 x float> %7, ptr %39, align 4
  store ptr %0, ptr %12, align 8, !tbaa !5
  store float %2, ptr %13, align 4, !tbaa !9
  store i32 %3, ptr %14, align 4, !tbaa !11
  %40 = load ptr, ptr %12, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %41 = load i32, ptr %14, align 4, !tbaa !11
  %42 = sitofp i32 %41 to float
  %43 = fdiv float 0x401921FB60000000, %42
  store float %43, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %44 = load float, ptr %15, align 4, !tbaa !9
  %45 = call float @sinf(float noundef %44) #7
  store float %45, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %46 = load float, ptr %15, align 4, !tbaa !9
  %47 = call float @cosf(float noundef %46) #7
  store float %47, ptr %17, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %18, float noundef 1.000000e+00, float noundef 0.000000e+00)
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !13
  %48 = load float, ptr %13, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %18, i64 8, i1 false), !tbaa.struct !13
  %49 = load <2 x float>, ptr %22, align 4
  %50 = call <2 x float> @_Zmlf4vec2(float noundef %48, <2 x float> %49)
  store <2 x float> %50, ptr %21, align 4
  %51 = load <2 x float>, ptr %20, align 4
  %52 = load <2 x float>, ptr %21, align 4
  %53 = call <2 x float> @_Zpl4vec2S_(<2 x float> %51, <2 x float> %52)
  store <2 x float> %53, ptr %19, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store i32 0, ptr %23, align 4, !tbaa !11
  br label %54

54:                                               ; preds = %98, %8
  %55 = load i32, ptr %23, align 4, !tbaa !11
  %56 = load i32, ptr %14, align 4, !tbaa !11
  %57 = icmp slt i32 %55, %56
  br i1 %57, label %59, label %58

58:                                               ; preds = %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  br label %101

59:                                               ; preds = %54
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #7
  call void @_ZN4vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %24)
  %60 = load float, ptr %17, align 4, !tbaa !9
  %61 = getelementptr inbounds %struct.vec2, ptr %18, i32 0, i32 0
  %62 = load float, ptr %61, align 4, !tbaa !14
  %63 = load float, ptr %16, align 4, !tbaa !9
  %64 = getelementptr inbounds %struct.vec2, ptr %18, i32 0, i32 1
  %65 = load float, ptr %64, align 4, !tbaa !16
  %66 = fmul float %63, %65
  %67 = fneg float %66
  %68 = call float @llvm.fmuladd.f32(float %60, float %62, float %67)
  %69 = getelementptr inbounds %struct.vec2, ptr %24, i32 0, i32 0
  store float %68, ptr %69, align 4, !tbaa !14
  %70 = load float, ptr %16, align 4, !tbaa !9
  %71 = getelementptr inbounds %struct.vec2, ptr %18, i32 0, i32 0
  %72 = load float, ptr %71, align 4, !tbaa !14
  %73 = load float, ptr %17, align 4, !tbaa !9
  %74 = getelementptr inbounds %struct.vec2, ptr %18, i32 0, i32 1
  %75 = load float, ptr %74, align 4, !tbaa !16
  %76 = fmul float %73, %75
  %77 = call float @llvm.fmuladd.f32(float %70, float %72, float %76)
  %78 = getelementptr inbounds %struct.vec2, ptr %24, i32 0, i32 1
  store float %77, ptr %78, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !13
  %79 = load float, ptr %13, align 4, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !13
  %80 = load <2 x float>, ptr %28, align 4
  %81 = call <2 x float> @_Zmlf4vec2(float noundef %79, <2 x float> %80)
  store <2 x float> %81, ptr %27, align 4
  %82 = load <2 x float>, ptr %26, align 4
  %83 = load <2 x float>, ptr %27, align 4
  %84 = call <2 x float> @_Zpl4vec2S_(<2 x float> %82, <2 x float> %83)
  store <2 x float> %84, ptr %25, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %19, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %11, i64 16, i1 false), !tbaa.struct !17
  %85 = load <2 x float>, ptr %29, align 4
  %86 = load <2 x float>, ptr %30, align 4
  %87 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %88 = load <2 x float>, ptr %87, align 4
  %89 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %90 = load <2 x float>, ptr %89, align 4
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %40, <2 x float> %85, <2 x float> %86, <2 x float> %88, <2 x float> %90)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %19, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %9, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %10, i64 16, i1 false), !tbaa.struct !17
  %91 = load <2 x float>, ptr %32, align 4
  %92 = load <2 x float>, ptr %33, align 4
  %93 = load <2 x float>, ptr %34, align 4
  %94 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %35, i32 0, i32 0
  %95 = load <2 x float>, ptr %94, align 4
  %96 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %35, i32 0, i32 1
  %97 = load <2 x float>, ptr %96, align 4
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %40, <2 x float> %91, <2 x float> %92, <2 x float> %93, <2 x float> %95, <2 x float> %97)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %24, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %25, i64 8, i1 false), !tbaa.struct !13
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #7
  br label %98

98:                                               ; preds = %59
  %99 = load i32, ptr %23, align 4, !tbaa !11
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %23, align 4, !tbaa !11
  br label %54, !llvm.loop !18

101:                                              ; preds = %58
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  ret void
}

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = { 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 = { inlinehint 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 #6 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { 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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!14 = !{!15, !10, i64 0}
!15 = !{!"_ZTS4vec2", !10, i64 0, !10, i64 4}
!16 = !{!15, !10, i64 4}
!17 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9}
!18 = distinct !{!18, !19}
!19 = !{!"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"

%struct.vec2 = type { float, float }

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16), <2 x float>, <2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #0 align 2

; 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 nofree nounwind willreturn memory(write)
declare float @sinf(float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare float @cosf(float noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8), float noundef, float noundef) unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Zpl4vec2S_(<2 x float>, <2 x float>) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_Zmlf4vec2(float noundef, <2 x float>) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8)) unnamed_addr #3 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN8Renderer14AddSolidCircleE4vec2fi6colourS1_(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %1, float noundef %2, i32 noundef %3, <2 x float> %4, <2 x float> %5, <2 x float> %6, <2 x float> %7) local_unnamed_addr #0 align 2 {
  %9 = alloca %struct.vec2, align 8
  %10 = alloca %struct.vec2, align 8
  %11 = sitofp i32 %3 to float
  %12 = fdiv float 0x401921FB60000000, %11
  %13 = tail call float @sinf(float noundef %12) #6
  %14 = tail call float @cosf(float noundef %12) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #6
  call void @_ZN4vec2C2Eff(ptr noundef nonnull align 4 dereferenceable(8) %9, float noundef 1.000000e+00, float noundef 0.000000e+00)
  %.sroa.014.0.copyload = load <2 x float>, ptr %9, align 8
  %15 = call <2 x float> @_Zmlf4vec2(float noundef %2, <2 x float> %.sroa.014.0.copyload)
  %16 = call <2 x float> @_Zpl4vec2S_(<2 x float> %1, <2 x float> %15)
  %17 = icmp sgt i32 %3, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %8
  %18 = getelementptr inbounds i8, ptr %9, i64 4
  %19 = fneg float %13
  %20 = insertelement <2 x float> poison, float %19, i64 0
  %21 = insertelement <2 x float> %20, float %14, i64 1
  %22 = insertelement <2 x float> poison, float %14, i64 0
  %23 = insertelement <2 x float> %22, float %13, i64 1
  br label %24

._crit_edge:                                      ; preds = %24, %8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #6
  ret void

24:                                               ; preds = %.lr.ph, %24
  %.sroa.017.037 = phi <2 x float> [ %16, %.lr.ph ], [ %34, %24 ]
  %.036 = phi i32 [ 0, %.lr.ph ], [ %36, %24 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  call void @_ZN4vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %10)
  %25 = load float, ptr %9, align 8, !tbaa !5
  %26 = load float, ptr %18, align 4, !tbaa !10
  %27 = insertelement <2 x float> poison, float %26, i64 0
  %28 = shufflevector <2 x float> %27, <2 x float> poison, <2 x i32> zeroinitializer
  %29 = fmul <2 x float> %28, %21
  %30 = insertelement <2 x float> poison, float %25, i64 0
  %31 = shufflevector <2 x float> %30, <2 x float> poison, <2 x i32> zeroinitializer
  %32 = call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %23, <2 x float> %31, <2 x float> %29)
  store <2 x float> %32, ptr %10, align 8, !tbaa !11
  %33 = call <2 x float> @_Zmlf4vec2(float noundef %2, <2 x float> %32)
  %34 = call <2 x float> @_Zpl4vec2S_(<2 x float> %1, <2 x float> %33)
  call void @_ZN8Renderer7AddLineE4vec2S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.017.037, <2 x float> %34, <2 x float> %6, <2 x float> %7)
  call void @_ZN8Renderer11AddTriangleE4vec2S0_S0_6colour(ptr noundef nonnull align 8 dereferenceable(16) %0, <2 x float> %.sroa.017.037, <2 x float> %34, <2 x float> %1, <2 x float> %4, <2 x float> %5)
  %35 = load i64, ptr %10, align 8
  store i64 %35, ptr %9, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  %36 = add nuw nsw i32 %.036, 1
  %exitcond.not = icmp eq i32 %36, %3
  br i1 %exitcond.not, label %._crit_edge, label %24, !llvm.loop !12
}

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nofree nounwind willreturn memory(write) "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 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 #4 = { inlinehint 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 #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, !7, i64 0}
!6 = !{!"_ZTS4vec2", !7, i64 0, !7, i64 4}
!7 = !{!"float", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass