; LLVM IR from SourangshuGhosh/Fluid-Simulation-for-Computer-Graphics :: src (polygonizer3d)

; 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.GridIndex = type { i32, i32, i32 }
%struct.Triangle = type { [3 x i32] }
%class.TriangleMesh = type { %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.3", %"class.std::vector.8", i32, i32, i32, double, %"class.std::vector.13", %"class.std::vector.18", %class.Array3d.23 }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<vmath::vec3, std::allocator<vmath::vec3>>::_Vector_impl" }
%"struct.std::_Vector_base<vmath::vec3, std::allocator<vmath::vec3>>::_Vector_impl" = type { %"struct.std::_Vector_base<vmath::vec3, std::allocator<vmath::vec3>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vmath::vec3, std::allocator<vmath::vec3>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl" }
%"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl" = type { %"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Triangle, std::allocator<Triangle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.13" = type { %"struct.std::_Vector_base.14" }
%"struct.std::_Vector_base.14" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::vector<int>, std::allocator<std::vector<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.18" = type { %"struct.std::_Vector_base.19" }
%"struct.std::_Vector_base.19" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%class.Array3d.23 = type <{ i32, i32, i32, [4 x i8], ptr, i8, [7 x i8], %"class.std::vector", i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZN13Polygonizer3d10_edgeTableE = external dso_local constant [256 x i32], align 16
@_ZN13Polygonizer3d9_triTableE = external dso_local constant [256 x [16 x i32]], align 16

; 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 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 noundef i32 @_ZN13Polygonizer3d19_calculateCubeIndexE9GridIndex(ptr noundef nonnull align 8 dereferenceable(57), i64, i32) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13Polygonizer3d20_calculateVertexListE9GridIndexiRNS_8EdgeGridERSt6vectorIN5vmath4vec3ESaIS5_EEPi(ptr noundef nonnull align 8 dereferenceable(57), i64, i32, i32 noundef, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13Polygonizer3d15_polygonizeCellE9GridIndexRNS_8EdgeGridER12TriangleMesh(ptr noundef nonnull align 8 dereferenceable(57) %0, i64 %1, i32 %2, ptr noundef nonnull align 8 dereferenceable(120) %3, ptr noundef nonnull align 8 dereferenceable(232) %4) #2 align 2 {
  %6 = alloca %struct.GridIndex, align 4
  %7 = alloca { i64, i32 }, align 4
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i32, align 4
  %12 = alloca %struct.GridIndex, align 4
  %13 = alloca { i64, i32 }, align 4
  %14 = alloca i32, align 4
  %15 = alloca [12 x i32], align 16
  %16 = alloca %struct.GridIndex, align 4
  %17 = alloca { i64, i32 }, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.Triangle, align 4
  %20 = getelementptr inbounds { i64, i32 }, ptr %7, i32 0, i32 0
  store i64 %1, ptr %20, align 4
  %21 = getelementptr inbounds { i64, i32 }, ptr %7, i32 0, i32 1
  store i32 %2, ptr %21, align 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 %7, i64 12, i1 false)
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  store ptr %4, ptr %10, align 8, !tbaa !5
  %22 = load ptr, ptr %8, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %12, ptr align 4 %6, i64 12, i1 false), !tbaa.struct !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %13, ptr align 4 %12, i64 12, i1 false)
  %23 = getelementptr inbounds { i64, i32 }, ptr %13, i32 0, i32 0
  %24 = load i64, ptr %23, align 4
  %25 = getelementptr inbounds { i64, i32 }, ptr %13, i32 0, i32 1
  %26 = load i32, ptr %25, align 4
  %27 = call noundef i32 @_ZN13Polygonizer3d19_calculateCubeIndexE9GridIndex(ptr noundef nonnull align 8 dereferenceable(57) %22, i64 %24, i32 %26)
  store i32 %27, ptr %11, align 4, !tbaa !10
  %28 = load i32, ptr %11, align 4, !tbaa !10
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [256 x i32], ptr @_ZN13Polygonizer3d10_edgeTableE, i64 0, i64 %29
  %31 = load i32, ptr %30, align 4, !tbaa !10
  %32 = icmp eq i32 %31, 0
  br i1 %32, label %33, label %34

33:                                               ; preds = %5
  store i32 1, ptr %14, align 4
  br label %93

34:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 48, ptr %15) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %6, i64 12, i1 false), !tbaa.struct !9
  %35 = load i32, ptr %11, align 4, !tbaa !10
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = load ptr, ptr %10, align 8, !tbaa !5
  %38 = getelementptr inbounds %class.TriangleMesh, ptr %37, i32 0, i32 0
  %39 = getelementptr inbounds [12 x i32], ptr %15, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %16, i64 12, i1 false)
  %40 = getelementptr inbounds { i64, i32 }, ptr %17, i32 0, i32 0
  %41 = load i64, ptr %40, align 4
  %42 = getelementptr inbounds { i64, i32 }, ptr %17, i32 0, i32 1
  %43 = load i32, ptr %42, align 4
  call void @_ZN13Polygonizer3d20_calculateVertexListE9GridIndexiRNS_8EdgeGridERSt6vectorIN5vmath4vec3ESaIS5_EEPi(ptr noundef nonnull align 8 dereferenceable(57) %22, i64 %41, i32 %43, i32 noundef %35, ptr noundef nonnull align 8 dereferenceable(120) %36, ptr noundef nonnull align 8 dereferenceable(24) %38, ptr noundef %39)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store i32 0, ptr %18, align 4, !tbaa !10
  br label %44

44:                                               ; preds = %89, %34
  %45 = load i32, ptr %11, align 4, !tbaa !10
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [256 x [16 x i32]], ptr @_ZN13Polygonizer3d9_triTableE, i64 0, i64 %46
  %48 = load i32, ptr %18, align 4, !tbaa !10
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [16 x i32], ptr %47, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !10
  %52 = icmp ne i32 %51, -1
  br i1 %52, label %54, label %53

53:                                               ; preds = %44
  store i32 2, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  br label %92

54:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #4
  %55 = load i32, ptr %11, align 4, !tbaa !10
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [256 x [16 x i32]], ptr @_ZN13Polygonizer3d9_triTableE, i64 0, i64 %56
  %58 = load i32, ptr %18, align 4, !tbaa !10
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [16 x i32], ptr %57, i64 0, i64 %59
  %61 = load i32, ptr %60, align 4, !tbaa !10
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [12 x i32], ptr %15, i64 0, i64 %62
  %64 = load i32, ptr %63, align 4, !tbaa !10
  %65 = load i32, ptr %11, align 4, !tbaa !10
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [256 x [16 x i32]], ptr @_ZN13Polygonizer3d9_triTableE, i64 0, i64 %66
  %68 = load i32, ptr %18, align 4, !tbaa !10
  %69 = add nsw i32 %68, 1
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [16 x i32], ptr %67, i64 0, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !10
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [12 x i32], ptr %15, i64 0, i64 %73
  %75 = load i32, ptr %74, align 4, !tbaa !10
  %76 = load i32, ptr %11, align 4, !tbaa !10
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds [256 x [16 x i32]], ptr @_ZN13Polygonizer3d9_triTableE, i64 0, i64 %77
  %79 = load i32, ptr %18, align 4, !tbaa !10
  %80 = add nsw i32 %79, 2
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [16 x i32], ptr %78, i64 0, i64 %81
  %83 = load i32, ptr %82, align 4, !tbaa !10
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [12 x i32], ptr %15, i64 0, i64 %84
  %86 = load i32, ptr %85, align 4, !tbaa !10
  call void @_ZN8TriangleC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %19, i32 noundef %64, i32 noundef %75, i32 noundef %86)
  %87 = load ptr, ptr %10, align 8, !tbaa !5
  %88 = getelementptr inbounds %class.TriangleMesh, ptr %87, i32 0, i32 3
  call void @_ZNSt6vectorI8TriangleSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr noundef nonnull align 4 dereferenceable(12) %19)
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #4
  br label %89

89:                                               ; preds = %54
  %90 = load i32, ptr %18, align 4, !tbaa !10
  %91 = add nsw i32 %90, 3
  store i32 %91, ptr %18, align 4, !tbaa !10
  br label %44, !llvm.loop !12

92:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 48, ptr %15) #4
  store i32 0, ptr %14, align 4
  br label %93

93:                                               ; preds = %92, %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  %94 = load i32, ptr %14, align 4
  switch i32 %94, label %96 [
    i32 0, label %95
    i32 1, label %95
  ]

95:                                               ; preds = %93, %93
  ret void

96:                                               ; preds = %93
  unreachable
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI8TriangleSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = { 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 = { 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 = !{i64 0, i64 4, !10, i64 4, i64 4, !10, i64 8, i64 4, !10}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"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.Triangle = type { [3 x i32] }

@_ZN13Polygonizer3d10_edgeTableE = external dso_local local_unnamed_addr constant [256 x i32], align 16
@_ZN13Polygonizer3d9_triTableE = external dso_local local_unnamed_addr constant [256 x [16 x i32]], align 16

; 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
declare dso_local noundef i32 @_ZN13Polygonizer3d19_calculateCubeIndexE9GridIndex(ptr noundef nonnull align 8 dereferenceable(57), i64, i32) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN13Polygonizer3d20_calculateVertexListE9GridIndexiRNS_8EdgeGridERSt6vectorIN5vmath4vec3ESaIS5_EEPi(ptr noundef nonnull align 8 dereferenceable(57), i64, i32, i32 noundef, ptr noundef nonnull align 8 dereferenceable(120), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN13Polygonizer3d15_polygonizeCellE9GridIndexRNS_8EdgeGridER12TriangleMesh(ptr noundef nonnull align 8 dereferenceable(57) %0, i64 %1, i32 %2, ptr noundef nonnull align 8 dereferenceable(120) %3, ptr noundef nonnull align 8 dereferenceable(232) %4) local_unnamed_addr #1 align 2 {
  %6 = alloca [12 x i32], align 16
  %7 = alloca %struct.Triangle, align 4
  %8 = tail call noundef i32 @_ZN13Polygonizer3d19_calculateCubeIndexE9GridIndex(ptr noundef nonnull align 8 dereferenceable(57) %0, i64 %1, i32 %2)
  %9 = sext i32 %8 to i64
  %10 = getelementptr inbounds [256 x i32], ptr @_ZN13Polygonizer3d10_edgeTableE, i64 0, i64 %9
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %12 = icmp eq i32 %11, 0
  br i1 %12, label %36, label %13

13:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %6) #3
  call void @_ZN13Polygonizer3d20_calculateVertexListE9GridIndexiRNS_8EdgeGridERSt6vectorIN5vmath4vec3ESaIS5_EEPi(ptr noundef nonnull align 8 dereferenceable(57) %0, i64 %1, i32 %2, i32 noundef %8, ptr noundef nonnull align 8 dereferenceable(120) %3, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull %6)
  %14 = getelementptr inbounds [256 x [16 x i32]], ptr @_ZN13Polygonizer3d9_triTableE, i64 0, i64 %9, i64 0
  %15 = load i32, ptr %14, align 16, !tbaa !5
  %.not25 = icmp eq i32 %15, -1
  br i1 %.not25, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %13
  %16 = getelementptr inbounds i8, ptr %4, i64 72
  br label %17

._crit_edge:                                      ; preds = %17, %13
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %6) #3
  br label %36

17:                                               ; preds = %.lr.ph, %17
  %indvars.iv = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next, %17 ]
  %18 = phi i32 [ %15, %.lr.ph ], [ %35, %17 ]
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #3
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 %19
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = add nuw nsw i64 %indvars.iv, 1
  %23 = getelementptr inbounds [256 x [16 x i32]], ptr @_ZN13Polygonizer3d9_triTableE, i64 0, i64 %9, i64 %22
  %24 = load i32, ptr %23, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 %25
  %27 = load i32, ptr %26, align 4, !tbaa !5
  %28 = add nuw nsw i64 %indvars.iv, 2
  %29 = getelementptr inbounds [256 x [16 x i32]], ptr @_ZN13Polygonizer3d9_triTableE, i64 0, i64 %9, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [12 x i32], ptr %6, i64 0, i64 %31
  %33 = load i32, ptr %32, align 4, !tbaa !5
  call void @_ZN8TriangleC2Eiii(ptr noundef nonnull align 4 dereferenceable(12) %7, i32 noundef %21, i32 noundef %27, i32 noundef %33)
  call void @_ZNSt6vectorI8TriangleSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #3
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 3
  %34 = getelementptr inbounds [256 x [16 x i32]], ptr @_ZN13Polygonizer3d9_triTableE, i64 0, i64 %9, i64 %indvars.iv.next
  %35 = load i32, ptr %34, align 4, !tbaa !5
  %.not = icmp eq i32 %35, -1
  br i1 %.not, label %._crit_edge, label %17, !llvm.loop !9

36:                                               ; preds = %5, %._crit_edge
  ret void
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorI8TriangleSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #1 align 2

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 = { 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: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass