; LLVM IR from niessner/Matterport :: code/gaps/pkgs/R3Shapes (R3Mesh)

; 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.RNArray.1 = type { %class.RNVArray }
%class.RNVArray = type { ptr, i32, i32 }

@R3mesh_mark = external dso_local global i32, align 4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RNArrayIP10R3MeshFaceEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #0 align 2

; 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8RNVArray7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8RNVArray10RemoveTailEv(ptr noundef nonnull align 8 dereferenceable(16)) #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6R3Mesh18FindConnectedFacesEP10R3MeshFaceR7RNArrayIS1_E(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(16) %2) #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %class.RNArray.1, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8
  %12 = load i32, ptr @R3mesh_mark, align 4, !tbaa !9
  %13 = add nsw i32 %12, 1
  store i32 %13, ptr @R3mesh_mark, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  call void @_ZN7RNArrayIP10R3MeshFaceEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7)
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %14)
          to label %16 unwind label %46

16:                                               ; preds = %3
  br label %17

17:                                               ; preds = %80, %16
  %18 = invoke noundef i32 @_ZNK8RNVArray7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %19 unwind label %46

19:                                               ; preds = %17
  %20 = icmp ne i32 %18, 0
  %21 = xor i1 %20, true
  br i1 %21, label %22, label %81

22:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %23 = invoke noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE4TailEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %24 unwind label %50

24:                                               ; preds = %22
  store ptr %23, ptr %10, align 8, !tbaa !5
  invoke void @_ZN8RNVArray10RemoveTailEv(ptr noundef nonnull align 8 dereferenceable(16) %7)
          to label %25 unwind label %50

25:                                               ; preds = %24
  %26 = load ptr, ptr %10, align 8, !tbaa !5
  %27 = invoke noundef i32 @_ZNK6R3Mesh8FaceMarkEPK10R3MeshFace(ptr noundef nonnull align 8 dereferenceable(272) %11, ptr noundef %26)
          to label %28 unwind label %50

28:                                               ; preds = %25
  %29 = load i32, ptr @R3mesh_mark, align 4, !tbaa !9
  %30 = icmp ne i32 %27, %29
  br i1 %30, label %31, label %80

31:                                               ; preds = %28
  %32 = load ptr, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %10, align 8, !tbaa !5
  %34 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef %33)
          to label %35 unwind label %50

35:                                               ; preds = %31
  %36 = load ptr, ptr %10, align 8, !tbaa !5
  %37 = invoke noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %11, ptr noundef %36, i32 noundef 0)
          to label %38 unwind label %50

38:                                               ; preds = %35
  %39 = icmp ne ptr %37, null
  br i1 %39, label %40, label %54

40:                                               ; preds = %38
  %41 = load ptr, ptr %10, align 8, !tbaa !5
  %42 = invoke noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %11, ptr noundef %41, i32 noundef 0)
          to label %43 unwind label %50

43:                                               ; preds = %40
  %44 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %42)
          to label %45 unwind label %50

45:                                               ; preds = %43
  br label %54

46:                                               ; preds = %17, %3
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %8, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %9, align 4
  br label %82

50:                                               ; preds = %76, %73, %70, %65, %62, %59, %54, %43, %40, %35, %31, %25, %24, %22
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %8, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %82

54:                                               ; preds = %45, %38
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = invoke noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %11, ptr noundef %55, i32 noundef 1)
          to label %57 unwind label %50

57:                                               ; preds = %54
  %58 = icmp ne ptr %56, null
  br i1 %58, label %59, label %65

59:                                               ; preds = %57
  %60 = load ptr, ptr %10, align 8, !tbaa !5
  %61 = invoke noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %11, ptr noundef %60, i32 noundef 1)
          to label %62 unwind label %50

62:                                               ; preds = %59
  %63 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %61)
          to label %64 unwind label %50

64:                                               ; preds = %62
  br label %65

65:                                               ; preds = %64, %57
  %66 = load ptr, ptr %10, align 8, !tbaa !5
  %67 = invoke noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %11, ptr noundef %66, i32 noundef 2)
          to label %68 unwind label %50

68:                                               ; preds = %65
  %69 = icmp ne ptr %67, null
  br i1 %69, label %70, label %76

70:                                               ; preds = %68
  %71 = load ptr, ptr %10, align 8, !tbaa !5
  %72 = invoke noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %11, ptr noundef %71, i32 noundef 2)
          to label %73 unwind label %50

73:                                               ; preds = %70
  %74 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %7, ptr noundef %72)
          to label %75 unwind label %50

75:                                               ; preds = %73
  br label %76

76:                                               ; preds = %75, %68
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = load i32, ptr @R3mesh_mark, align 4, !tbaa !9
  invoke void @_ZN6R3Mesh11SetFaceMarkEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %11, ptr noundef %77, i32 noundef %78)
          to label %79 unwind label %50

79:                                               ; preds = %76
  br label %80

80:                                               ; preds = %79, %28
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %17, !llvm.loop !11

81:                                               ; preds = %19
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  ret void

82:                                               ; preds = %50, %46
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %7) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  br label %83

83:                                               ; preds = %82
  %84 = load ptr, ptr %8, align 8
  %85 = load i32, ptr %9, align 4
  %86 = insertvalue { ptr, i32 } poison, ptr %84, 0
  %87 = insertvalue { ptr, i32 } %86, i32 %85, 1
  resume { ptr, i32 } %87
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE4TailEv(ptr noundef nonnull align 8 dereferenceable(16)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6R3Mesh8FaceMarkEPK10R3MeshFace(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh11SetFaceMarkEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) #2 align 2

; Function Attrs: nounwind
declare void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { inlinehint 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 #4 = { 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 #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 = distinct !{!11, !12}
!12 = !{!"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.RNArray.1 = type { %class.RNVArray }
%class.RNVArray = type { ptr, i32, i32 }

@R3mesh_mark = external dso_local local_unnamed_addr global i32, align 4

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN7RNArrayIP10R3MeshFaceEC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK8RNVArray7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN8RNVArray10RemoveTailEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN6R3Mesh18FindConnectedFacesEP10R3MeshFaceR7RNArrayIS1_E(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %1, ptr noundef nonnull align 8 dereferenceable(16) %2) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %class.RNArray.1, align 8
  %5 = load i32, ptr @R3mesh_mark, align 4, !tbaa !5
  %6 = add nsw i32 %5, 1
  store i32 %6, ptr @R3mesh_mark, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #5
  call void @_ZN7RNArrayIP10R3MeshFaceEC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %7 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %1)
          to label %.preheader unwind label %21

.preheader:                                       ; preds = %3
  %8 = call noundef i32 @_ZNK8RNVArray7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not19 = icmp eq i32 %8, 0
  br i1 %.not19, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader, %37
  %9 = invoke noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE4TailEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %10 unwind label %23

10:                                               ; preds = %.lr.ph
  invoke void @_ZN8RNVArray10RemoveTailEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
          to label %11 unwind label %23

11:                                               ; preds = %10
  %12 = call noundef i32 @_ZNK6R3Mesh8FaceMarkEPK10R3MeshFace(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %9)
  %13 = load i32, ptr @R3mesh_mark, align 4, !tbaa !5
  %.not14 = icmp eq i32 %12, %13
  br i1 %.not14, label %37, label %14

14:                                               ; preds = %11
  %15 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef %9)
          to label %16 unwind label %23

16:                                               ; preds = %14
  %17 = call noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %9, i32 noundef 0)
  %.not15 = icmp eq ptr %17, null
  br i1 %.not15, label %25, label %18

18:                                               ; preds = %16
  %19 = call noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %9, i32 noundef 0)
  %20 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %19)
          to label %25 unwind label %23

21:                                               ; preds = %3
  %22 = landingpad { ptr, i32 }
          cleanup
  br label %39

23:                                               ; preds = %32, %27, %18, %14, %10, %.lr.ph
  %24 = landingpad { ptr, i32 }
          cleanup
  br label %39

25:                                               ; preds = %18, %16
  %26 = call noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %9, i32 noundef 1)
  %.not16 = icmp eq ptr %26, null
  br i1 %.not16, label %30, label %27

27:                                               ; preds = %25
  %28 = call noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %9, i32 noundef 1)
  %29 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %28)
          to label %30 unwind label %23

30:                                               ; preds = %27, %25
  %31 = call noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %9, i32 noundef 2)
  %.not17 = icmp eq ptr %31, null
  br i1 %.not17, label %35, label %32

32:                                               ; preds = %30
  %33 = call noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %9, i32 noundef 2)
  %34 = invoke noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16) %4, ptr noundef %33)
          to label %35 unwind label %23

35:                                               ; preds = %32, %30
  %36 = load i32, ptr @R3mesh_mark, align 4, !tbaa !5
  call void @_ZN6R3Mesh11SetFaceMarkEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272) %0, ptr noundef %9, i32 noundef %36)
  br label %37

37:                                               ; preds = %35, %11
  %38 = call noundef i32 @_ZNK8RNVArray7IsEmptyEv(ptr noundef nonnull align 8 dereferenceable(16) %4)
  %.not = icmp eq i32 %38, 0
  br i1 %.not, label %.lr.ph, label %._crit_edge, !llvm.loop !9

._crit_edge:                                      ; preds = %37, %.preheader
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  ret void

39:                                               ; preds = %23, %21
  %.pn = phi { ptr, i32 } [ %24, %23 ], [ %22, %21 ]
  call void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #5
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7RNArrayIP10R3MeshFaceE6InsertES1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZNK7RNArrayIP10R3MeshFaceE4TailEv(ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK6R3Mesh8FaceMarkEPK10R3MeshFace(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNK6R3Mesh10FaceOnFaceEPK10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN6R3Mesh11SetFaceMarkEP10R3MeshFacei(ptr noundef nonnull align 8 dereferenceable(272), ptr noundef, i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: nounwind
declare void @_ZN8RNVArrayD2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4

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


; Effective O3 passes: GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass