; LLVM IR from SOHNE/Dura2D :: src/collision/d2Shape.ll (ZNK14d2PolygonShape17FindMinSeparationEPKS_RiR6d2Vec2)

; 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.d2Vec2 = type { float, float }
%struct.d2PolygonShape = type { %struct.d2Shape, float, float, i32, ptr, ptr }
%struct.d2Shape = type { ptr }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE3maxEv() #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE6lowestEv() #1 align 2

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

declare noundef nonnull align 4 dereferenceable(8) ptr @_ZN6d2Vec2aSERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

; 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 nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK14d2PolygonShape6EdgeAtEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) #4 align 2

declare <2 x float> @_ZNK6d2Vec2miERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) #2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZNK14d2PolygonShape17FindMinSeparationEPKS_RiR6d2Vec2(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef %1, ptr noundef nonnull align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(8) %3) #4 align 2 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca float, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.d2Vec2, align 4
  %13 = alloca %struct.d2Vec2, align 4
  %14 = alloca %struct.d2Vec2, align 4
  %15 = alloca float, align 4
  %16 = alloca %struct.d2Vec2, align 4
  %17 = alloca i32, align 4
  %18 = alloca %struct.d2Vec2, align 4
  %19 = alloca float, align 4
  %20 = alloca %struct.d2Vec2, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  %21 = load ptr, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %22 = call noundef float @_ZNSt14numeric_limitsIfE6lowestEv() #5
  store float %22, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %23

23:                                               ; preds = %76, %4
  %24 = load i32, ptr %10, align 4, !tbaa !11
  %25 = getelementptr inbounds %struct.d2PolygonShape, ptr %21, i32 0, i32 3
  %26 = load i32, ptr %25, align 8, !tbaa !13
  %27 = icmp slt i32 %24, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %23
  store i32 2, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %79

29:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %30 = getelementptr inbounds %struct.d2PolygonShape, ptr %21, i32 0, i32 5
  %31 = load ptr, ptr %30, align 8, !tbaa !16
  %32 = load i32, ptr %10, align 4, !tbaa !11
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds %struct.d2Vec2, ptr %31, i64 %33
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %34, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  %35 = load i32, ptr %10, align 4, !tbaa !11
  %36 = call <2 x float> @_ZNK14d2PolygonShape6EdgeAtEi(ptr noundef nonnull align 8 dereferenceable(40) %21, i32 noundef %35)
  store <2 x float> %36, ptr %14, align 4
  %37 = call <2 x float> @_ZNK6d2Vec26NormalEv(ptr noundef nonnull align 4 dereferenceable(8) %14)
  store <2 x float> %37, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %38 = call noundef float @_ZNSt14numeric_limitsIfE3maxEv() #5
  store float %38, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @_ZN6d2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !11
  br label %39

39:                                               ; preds = %62, %29
  %40 = load i32, ptr %17, align 4, !tbaa !11
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.d2PolygonShape, ptr %41, i32 0, i32 3
  %43 = load i32, ptr %42, align 8, !tbaa !13
  %44 = icmp slt i32 %40, %43
  br i1 %44, label %46, label %45

45:                                               ; preds = %39
  store i32 5, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  br label %65

46:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.d2PolygonShape, ptr %47, i32 0, i32 5
  %49 = load ptr, ptr %48, align 8, !tbaa !16
  %50 = load i32, ptr %17, align 4, !tbaa !11
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds %struct.d2Vec2, ptr %49, i64 %51
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %52, i64 8, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  %53 = call <2 x float> @_ZNK6d2Vec2miERKS_(ptr noundef nonnull align 4 dereferenceable(8) %18, ptr noundef nonnull align 4 dereferenceable(8) %12)
  store <2 x float> %53, ptr %20, align 4
  %54 = call noundef float @_ZNK6d2Vec23DotERKS_(ptr noundef nonnull align 4 dereferenceable(8) %20, ptr noundef nonnull align 4 dereferenceable(8) %13)
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  store float %54, ptr %19, align 4, !tbaa !9
  %55 = load float, ptr %19, align 4, !tbaa !9
  %56 = load float, ptr %15, align 4, !tbaa !9
  %57 = fcmp olt float %55, %56
  br i1 %57, label %58, label %61

58:                                               ; preds = %46
  %59 = load float, ptr %19, align 4, !tbaa !9
  store float %59, ptr %15, align 4, !tbaa !9
  %60 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN6d2Vec2aSERKS_(ptr noundef nonnull align 4 dereferenceable(8) %16, ptr noundef nonnull align 4 dereferenceable(8) %18)
  br label %61

61:                                               ; preds = %58, %46
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %62

62:                                               ; preds = %61
  %63 = load i32, ptr %17, align 4, !tbaa !11
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %17, align 4, !tbaa !11
  br label %39, !llvm.loop !18

65:                                               ; preds = %45
  %66 = load float, ptr %15, align 4, !tbaa !9
  %67 = load float, ptr %9, align 4, !tbaa !9
  %68 = fcmp ogt float %66, %67
  br i1 %68, label %69, label %75

69:                                               ; preds = %65
  %70 = load float, ptr %15, align 4, !tbaa !9
  store float %70, ptr %9, align 4, !tbaa !9
  %71 = load i32, ptr %10, align 4, !tbaa !11
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  store i32 %71, ptr %72, align 4, !tbaa !11
  %73 = load ptr, ptr %8, align 8, !tbaa !5
  %74 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN6d2Vec2aSERKS_(ptr noundef nonnull align 4 dereferenceable(8) %73, ptr noundef nonnull align 4 dereferenceable(8) %16)
  br label %75

75:                                               ; preds = %69, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %76

76:                                               ; preds = %75
  %77 = load i32, ptr %10, align 4, !tbaa !11
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %10, align 4, !tbaa !11
  br label %23, !llvm.loop !20

79:                                               ; preds = %28
  %80 = load float, ptr %9, align 4, !tbaa !9
  store i32 1, ptr %11, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  ret float %80
}

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6d2Vec26NormalEv(ptr noundef nonnull align 4 dereferenceable(8)) #4 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 = { 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 = !{!14, !12, i64 16}
!14 = !{!"_ZTS14d2PolygonShape", !15, i64 0, !10, i64 8, !10, i64 12, !12, i64 16, !6, i64 24, !6, i64 32}
!15 = !{!"_ZTS7d2Shape"}
!16 = !{!14, !6, i64 32}
!17 = !{i64 0, i64 4, !9, i64 4, i64 4, !9}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}


; 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.d2Vec2 = type { float, 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 nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE3maxEv() local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZNSt14numeric_limitsIfE6lowestEv() local_unnamed_addr #1 align 2

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

declare noundef nonnull align 4 dereferenceable(8) ptr @_ZN6d2Vec2aSERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; 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 nounwind uwtable
declare dso_local noundef float @_ZNK6d2Vec23DotERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK14d2PolygonShape6EdgeAtEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #3 align 2

declare <2 x float> @_ZNK6d2Vec2miERKS_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_ZNK14d2PolygonShape17FindMinSeparationEPKS_RiR6d2Vec2(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr nocapture noundef readonly %1, ptr nocapture noundef nonnull writeonly align 4 dereferenceable(4) %2, ptr noundef nonnull align 4 dereferenceable(8) %3) local_unnamed_addr #3 align 2 {
  %5 = alloca %struct.d2Vec2, align 8
  %6 = alloca %struct.d2Vec2, align 8
  %7 = alloca %struct.d2Vec2, align 8
  %8 = alloca %struct.d2Vec2, align 4
  %9 = alloca %struct.d2Vec2, align 8
  %10 = alloca %struct.d2Vec2, align 8
  %11 = tail call noundef float @_ZNSt14numeric_limitsIfE6lowestEv() #4
  %12 = getelementptr inbounds i8, ptr %0, i64 16
  %13 = load i32, ptr %12, align 8, !tbaa !5
  %14 = icmp sgt i32 %13, 0
  br i1 %14, label %.lr.ph29, label %._crit_edge30

.lr.ph29:                                         ; preds = %4
  %15 = getelementptr inbounds i8, ptr %0, i64 32
  %16 = getelementptr inbounds i8, ptr %1, i64 16
  %17 = getelementptr inbounds i8, ptr %1, i64 32
  br label %18

._crit_edge30:                                    ; preds = %43, %4
  %.0.lcssa = phi float [ %11, %4 ], [ %.1, %43 ]
  ret float %.0.lcssa

18:                                               ; preds = %.lr.ph29, %43
  %indvars.iv33 = phi i64 [ 0, %.lr.ph29 ], [ %indvars.iv.next34, %43 ]
  %.027 = phi float [ %11, %.lr.ph29 ], [ %.1, %43 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %19 = load ptr, ptr %15, align 8, !tbaa !13
  %20 = getelementptr inbounds %struct.d2Vec2, ptr %19, i64 %indvars.iv33
  %21 = load i64, ptr %20, align 4
  store i64 %21, ptr %5, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  %22 = trunc nuw nsw i64 %indvars.iv33 to i32
  %23 = call <2 x float> @_ZNK14d2PolygonShape6EdgeAtEi(ptr noundef nonnull align 8 dereferenceable(40) %0, i32 noundef %22)
  store <2 x float> %23, ptr %7, align 8
  %24 = call <2 x float> @_ZNK6d2Vec26NormalEv(ptr noundef nonnull align 4 dereferenceable(8) %7)
  store <2 x float> %24, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  %25 = call noundef float @_ZNSt14numeric_limitsIfE3maxEv() #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @_ZN6d2Vec2C2Ev(ptr noundef nonnull align 4 dereferenceable(8) %8)
  %26 = load i32, ptr %16, align 8, !tbaa !5
  %27 = icmp sgt i32 %26, 0
  br i1 %27, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %37, %18
  %.020.lcssa = phi float [ %25, %18 ], [ %.121, %37 ]
  %28 = fcmp ogt float %.020.lcssa, %.027
  br i1 %28, label %41, label %43

.lr.ph:                                           ; preds = %18, %37
  %indvars.iv = phi i64 [ %indvars.iv.next, %37 ], [ 0, %18 ]
  %.02024 = phi float [ %.121, %37 ], [ %25, %18 ]
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  %29 = load ptr, ptr %17, align 8, !tbaa !13
  %30 = getelementptr inbounds %struct.d2Vec2, ptr %29, i64 %indvars.iv
  %31 = load i64, ptr %30, align 4
  store i64 %31, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %32 = call <2 x float> @_ZNK6d2Vec2miERKS_(ptr noundef nonnull align 4 dereferenceable(8) %9, ptr noundef nonnull align 4 dereferenceable(8) %5)
  store <2 x float> %32, ptr %10, align 8
  %33 = call noundef float @_ZNK6d2Vec23DotERKS_(ptr noundef nonnull align 4 dereferenceable(8) %10, ptr noundef nonnull align 4 dereferenceable(8) %6)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  %34 = fcmp olt float %33, %.02024
  br i1 %34, label %35, label %37

35:                                               ; preds = %.lr.ph
  %36 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN6d2Vec2aSERKS_(ptr noundef nonnull align 4 dereferenceable(8) %8, ptr noundef nonnull align 4 dereferenceable(8) %9)
  br label %37

37:                                               ; preds = %35, %.lr.ph
  %.121 = phi float [ %33, %35 ], [ %.02024, %.lr.ph ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %38 = load i32, ptr %16, align 8, !tbaa !5
  %39 = sext i32 %38 to i64
  %40 = icmp slt i64 %indvars.iv.next, %39
  br i1 %40, label %.lr.ph, label %._crit_edge, !llvm.loop !14

41:                                               ; preds = %._crit_edge
  store i32 %22, ptr %2, align 4, !tbaa !16
  %42 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZN6d2Vec2aSERKS_(ptr noundef nonnull align 4 dereferenceable(8) %3, ptr noundef nonnull align 4 dereferenceable(8) %8)
  br label %43

43:                                               ; preds = %41, %._crit_edge
  %.1 = phi float [ %.020.lcssa, %41 ], [ %.027, %._crit_edge ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  %indvars.iv.next34 = add nuw nsw i64 %indvars.iv33, 1
  %44 = load i32, ptr %12, align 8, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = icmp slt i64 %indvars.iv.next34, %45
  br i1 %46, label %18, label %._crit_edge30, !llvm.loop !17
}

; Function Attrs: mustprogress uwtable
declare dso_local <2 x float> @_ZNK6d2Vec26NormalEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #3 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { "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 = { 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, !11, i64 16}
!6 = !{!"_ZTS14d2PolygonShape", !7, i64 0, !8, i64 8, !8, i64 12, !11, i64 16, !12, i64 24, !12, i64 32}
!7 = !{!"_ZTS7d2Shape"}
!8 = !{!"float", !9, i64 0}
!9 = !{!"omnipotent char", !10, i64 0}
!10 = !{!"Simple C++ TBAA"}
!11 = !{!"int", !9, i64 0}
!12 = !{!"any pointer", !9, i64 0}
!13 = !{!6, !12, i64 32}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !15}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass