; LLVM IR from tsotchke/quantum_geometric_tensor :: src/quantum_geometric/core (computational_graph)

; 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.computational_graph_t = type { ptr, i64, i64, ptr, ptr, i64, i64, ptr }
%struct.computation_node_t = type { i32, i32, ptr, i64, i64, ptr, ptr, ptr, ptr, ptr }

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

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #1

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @validate_graph(ptr noundef) #3

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #4

; Function Attrs: nounwind uwtable
define dso_local zeroext i1 @execute_graph(ptr noundef %0) #3 {
  %2 = alloca i1, align 1
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i64, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i8, align 1
  %12 = alloca i64, align 8
  %13 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %14 = load ptr, ptr %3, align 8, !tbaa !5
  %15 = call zeroext i1 @validate_graph(ptr noundef %14)
  br i1 %15, label %17, label %16

16:                                               ; preds = %1
  store i1 false, ptr %2, align 1
  br label %120

17:                                               ; preds = %1
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %18 = load ptr, ptr %3, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.computational_graph_t, ptr %18, i32 0, i32 1
  %20 = load i64, ptr %19, align 8, !tbaa !9
  %21 = mul i64 %20, 8
  %22 = call noalias ptr @malloc(i64 noundef %21) #6
  store ptr %22, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  store i64 0, ptr %5, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %23 = load ptr, ptr %3, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.computational_graph_t, ptr %23, i32 0, i32 1
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = call noalias ptr @calloc(i64 noundef %25, i64 noundef 1) #7
  store ptr %26, ptr %6, align 8, !tbaa !5
  %27 = load ptr, ptr %4, align 8, !tbaa !5
  %28 = icmp ne ptr %27, null
  br i1 %28, label %29, label %32

29:                                               ; preds = %17
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = icmp ne ptr %30, null
  br i1 %31, label %35, label %32

32:                                               ; preds = %29, %17
  %33 = load ptr, ptr %4, align 8, !tbaa !5
  call void @free(ptr noundef %33) #5
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %34) #5
  store i1 false, ptr %2, align 1
  store i32 1, ptr %7, align 4
  br label %119

35:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  store i64 0, ptr %8, align 8, !tbaa !12
  br label %36

36:                                               ; preds = %77, %35
  %37 = load i64, ptr %8, align 8, !tbaa !12
  %38 = load ptr, ptr %3, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.computational_graph_t, ptr %38, i32 0, i32 5
  %40 = load i64, ptr %39, align 8, !tbaa !13
  %41 = icmp ult i64 %37, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %36
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  br label %80

43:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %44 = load ptr, ptr %3, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.computational_graph_t, ptr %44, i32 0, i32 3
  %46 = load ptr, ptr %45, align 8, !tbaa !14
  %47 = load i64, ptr %8, align 8, !tbaa !12
  %48 = getelementptr inbounds ptr, ptr %46, i64 %47
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  store ptr %49, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  store i64 0, ptr %10, align 8, !tbaa !12
  br label %50

50:                                               ; preds = %72, %43
  %51 = load i64, ptr %10, align 8, !tbaa !12
  %52 = load ptr, ptr %3, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.computational_graph_t, ptr %52, i32 0, i32 1
  %54 = load i64, ptr %53, align 8, !tbaa !9
  %55 = icmp ult i64 %51, %54
  br i1 %55, label %57, label %56

56:                                               ; preds = %50
  store i32 5, ptr %7, align 4
  br label %75

57:                                               ; preds = %50
  %58 = load ptr, ptr %3, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.computational_graph_t, ptr %58, i32 0, i32 0
  %60 = load ptr, ptr %59, align 8, !tbaa !15
  %61 = load i64, ptr %10, align 8, !tbaa !12
  %62 = getelementptr inbounds ptr, ptr %60, i64 %61
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = load ptr, ptr %9, align 8, !tbaa !5
  %65 = icmp eq ptr %63, %64
  br i1 %65, label %66, label %71

66:                                               ; preds = %57
  %67 = load ptr, ptr %3, align 8, !tbaa !5
  %68 = load i64, ptr %10, align 8, !tbaa !12
  %69 = load ptr, ptr %6, align 8, !tbaa !5
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  call void @topological_sort(ptr noundef %67, i64 noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %5)
  store i32 5, ptr %7, align 4
  br label %75

71:                                               ; preds = %57
  br label %72

72:                                               ; preds = %71
  %73 = load i64, ptr %10, align 8, !tbaa !12
  %74 = add i64 %73, 1
  store i64 %74, ptr %10, align 8, !tbaa !12
  br label %50, !llvm.loop !16

75:                                               ; preds = %66, %56
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  br label %76

76:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  br label %77

77:                                               ; preds = %76
  %78 = load i64, ptr %8, align 8, !tbaa !12
  %79 = add i64 %78, 1
  store i64 %79, ptr %8, align 8, !tbaa !12
  br label %36, !llvm.loop !18

80:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #5
  store i8 1, ptr %11, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store i64 0, ptr %12, align 8, !tbaa !12
  br label %81

81:                                               ; preds = %111, %80
  %82 = load i64, ptr %12, align 8, !tbaa !12
  %83 = load i64, ptr %5, align 8, !tbaa !12
  %84 = icmp ult i64 %82, %83
  br i1 %84, label %85, label %88

85:                                               ; preds = %81
  %86 = load i8, ptr %11, align 1, !tbaa !19, !range !21, !noundef !22
  %87 = trunc i8 %86 to i1
  br label %88

88:                                               ; preds = %85, %81
  %89 = phi i1 [ false, %81 ], [ %87, %85 ]
  br i1 %89, label %91, label %90

90:                                               ; preds = %88
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %114

91:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.computational_graph_t, ptr %92, i32 0, i32 0
  %94 = load ptr, ptr %93, align 8, !tbaa !15
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = load i64, ptr %12, align 8, !tbaa !12
  %97 = getelementptr inbounds i64, ptr %95, i64 %96
  %98 = load i64, ptr %97, align 8, !tbaa !12
  %99 = getelementptr inbounds ptr, ptr %94, i64 %98
  %100 = load ptr, ptr %99, align 8, !tbaa !5
  store ptr %100, ptr %13, align 8, !tbaa !5
  %101 = load ptr, ptr %13, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.computation_node_t, ptr %101, i32 0, i32 7
  %103 = load ptr, ptr %102, align 8, !tbaa !23
  %104 = icmp ne ptr %103, null
  br i1 %104, label %105, label %110

105:                                              ; preds = %91
  %106 = load ptr, ptr %13, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.computation_node_t, ptr %106, i32 0, i32 7
  %108 = load ptr, ptr %107, align 8, !tbaa !23
  %109 = load ptr, ptr %13, align 8, !tbaa !5
  call void %108(ptr noundef %109)
  br label %110

110:                                              ; preds = %105, %91
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  br label %111

111:                                              ; preds = %110
  %112 = load i64, ptr %12, align 8, !tbaa !12
  %113 = add i64 %112, 1
  store i64 %113, ptr %12, align 8, !tbaa !12
  br label %81, !llvm.loop !26

114:                                              ; preds = %90
  %115 = load ptr, ptr %4, align 8, !tbaa !5
  call void @free(ptr noundef %115) #5
  %116 = load ptr, ptr %6, align 8, !tbaa !5
  call void @free(ptr noundef %116) #5
  %117 = load i8, ptr %11, align 1, !tbaa !19, !range !21, !noundef !22
  %118 = trunc i8 %117 to i1
  store i1 %118, ptr %2, align 1
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #5
  br label %119

119:                                              ; preds = %114, %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  br label %120

120:                                              ; preds = %119, %16
  %121 = load i1, ptr %2, align 1
  ret i1 %121
}

; Function Attrs: nounwind uwtable
declare hidden void @topological_sort(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nounwind allocsize(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 = { 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 #3 = { 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 allocsize(0,1) "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 }
attributes #6 = { nounwind allocsize(0) }
attributes #7 = { nounwind allocsize(0,1) }

!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/C++ TBAA"}
!9 = !{!10, !11, i64 8}
!10 = !{!"", !6, i64 0, !11, i64 8, !11, i64 16, !6, i64 24, !6, i64 32, !11, i64 40, !11, i64 48, !6, i64 56}
!11 = !{!"long", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!10, !11, i64 40}
!14 = !{!10, !6, i64 24}
!15 = !{!10, !6, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17}
!19 = !{!20, !20, i64 0}
!20 = !{!"_Bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !6, i64 48}
!24 = !{!"computation_node_t", !25, i64 0, !25, i64 4, !6, i64 8, !11, i64 16, !11, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64}
!25 = !{!"int", !7, i64 0}
!26 = distinct !{!26, !17}


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

; 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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) 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: nounwind uwtable
declare dso_local zeroext i1 @validate_graph(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: nounwind uwtable
define dso_local noundef zeroext i1 @execute_graph(ptr noundef %0) local_unnamed_addr #3 {
  %2 = alloca i64, align 8
  %3 = tail call zeroext i1 @validate_graph(ptr noundef %0)
  br i1 %3, label %4, label %46

4:                                                ; preds = %1
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load i64, ptr %5, align 8, !tbaa !5
  %7 = shl i64 %6, 3
  %8 = tail call noalias ptr @malloc(i64 noundef %7) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #6
  store i64 0, ptr %2, align 8, !tbaa !11
  %9 = tail call noalias ptr @calloc(i64 noundef %6, i64 noundef 1) #7
  %10 = icmp ne ptr %8, null
  %11 = icmp ne ptr %9, null
  %or.cond = and i1 %10, %11
  br i1 %or.cond, label %.preheader41, label %15

.preheader41:                                     ; preds = %4
  %12 = getelementptr inbounds i8, ptr %0, i64 40
  %13 = load i64, ptr %12, align 8, !tbaa !12
  %.not48 = icmp eq i64 %13, 0
  br i1 %.not48, label %._crit_edge, label %.lr.ph45

.lr.ph45:                                         ; preds = %.preheader41
  %14 = getelementptr inbounds i8, ptr %0, i64 24
  %.not49 = icmp eq i64 %6, 0
  br i1 %.not49, label %._crit_edge, label %.lr.ph45.split

15:                                               ; preds = %4
  tail call void @free(ptr noundef %8) #6
  tail call void @free(ptr noundef %9) #6
  br label %45

.preheader:                                       ; preds = %.loopexit
  %.pre54 = load i64, ptr %2, align 8, !tbaa !11
  %.not51 = icmp eq i64 %.pre54, 0
  br i1 %.not51, label %._crit_edge, label %.lr.ph47

.lr.ph45.split:                                   ; preds = %.lr.ph45, %.loopexit
  %16 = phi i64 [ %29, %.loopexit ], [ %13, %.lr.ph45 ]
  %.03744 = phi i64 [ %30, %.loopexit ], [ 0, %.lr.ph45 ]
  %17 = load ptr, ptr %14, align 8, !tbaa !13
  %18 = getelementptr inbounds ptr, ptr %17, i64 %.03744
  %19 = load ptr, ptr %18, align 8, !tbaa !14
  %20 = load i64, ptr %5, align 8, !tbaa !5
  %.not50 = icmp eq i64 %20, 0
  br i1 %.not50, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph45.split
  %21 = load ptr, ptr %0, align 8, !tbaa !15
  br label %22

22:                                               ; preds = %.lr.ph, %27
  %.03643 = phi i64 [ 0, %.lr.ph ], [ %28, %27 ]
  %23 = getelementptr inbounds ptr, ptr %21, i64 %.03643
  %24 = load ptr, ptr %23, align 8, !tbaa !14
  %25 = icmp eq ptr %24, %19
  br i1 %25, label %26, label %27

26:                                               ; preds = %22
  call void @topological_sort(ptr noundef nonnull %0, i64 noundef %.03643, ptr noundef nonnull %9, ptr noundef nonnull %8, ptr noundef nonnull %2)
  %.pre = load i64, ptr %12, align 8, !tbaa !12
  br label %.loopexit

27:                                               ; preds = %22
  %28 = add nuw i64 %.03643, 1
  %exitcond.not = icmp eq i64 %28, %20
  br i1 %exitcond.not, label %.loopexit, label %22, !llvm.loop !16

.loopexit:                                        ; preds = %27, %.lr.ph45.split, %26
  %29 = phi i64 [ %16, %.lr.ph45.split ], [ %.pre, %26 ], [ %16, %27 ]
  %30 = add nuw i64 %.03744, 1
  %31 = icmp ult i64 %30, %29
  br i1 %31, label %.lr.ph45.split, label %.preheader, !llvm.loop !18

._crit_edge:                                      ; preds = %41, %.lr.ph45, %.preheader41, %.preheader
  call void @free(ptr noundef %8) #6
  call void @free(ptr noundef %9) #6
  br label %45

.lr.ph47:                                         ; preds = %.preheader, %41
  %32 = phi i64 [ %42, %41 ], [ %.pre54, %.preheader ]
  %.03546 = phi i64 [ %43, %41 ], [ 0, %.preheader ]
  %33 = load ptr, ptr %0, align 8, !tbaa !15
  %34 = getelementptr inbounds i64, ptr %8, i64 %.03546
  %35 = load i64, ptr %34, align 8, !tbaa !11
  %36 = getelementptr inbounds ptr, ptr %33, i64 %35
  %37 = load ptr, ptr %36, align 8, !tbaa !14
  %38 = getelementptr inbounds i8, ptr %37, i64 48
  %39 = load ptr, ptr %38, align 8, !tbaa !20
  %.not = icmp eq ptr %39, null
  br i1 %.not, label %41, label %40

40:                                               ; preds = %.lr.ph47
  call void %39(ptr noundef nonnull %37) #6
  %.pre55 = load i64, ptr %2, align 8, !tbaa !11
  br label %41

41:                                               ; preds = %40, %.lr.ph47
  %42 = phi i64 [ %.pre55, %40 ], [ %32, %.lr.ph47 ]
  %43 = add nuw i64 %.03546, 1
  %44 = icmp ult i64 %43, %42
  br i1 %44, label %.lr.ph47, label %._crit_edge, !llvm.loop !23

45:                                               ; preds = %._crit_edge, %15
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #6
  br label %46

46:                                               ; preds = %1, %45
  %.1 = phi i1 [ %or.cond, %45 ], [ false, %1 ]
  ret i1 %.1
}

; Function Attrs: nounwind uwtable
declare hidden void @topological_sort(ptr noundef, i64 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #3

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 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 = { mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 allocsize(0) }
attributes #6 = { nounwind }
attributes #7 = { nounwind allocsize(0,1) }

!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, !10, i64 8}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !7, i64 24, !7, i64 32, !10, i64 40, !10, i64 48, !7, i64 56}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"long", !8, i64 0}
!11 = !{!10, !10, i64 0}
!12 = !{!6, !10, i64 40}
!13 = !{!6, !7, i64 24}
!14 = !{!7, !7, i64 0}
!15 = !{!6, !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = distinct !{!18, !17, !19}
!19 = !{!"llvm.loop.unswitch.partial.disable"}
!20 = !{!21, !7, i64 48}
!21 = !{!"computation_node_t", !22, i64 0, !22, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64}
!22 = !{!"int", !8, i64 0}
!23 = distinct !{!23, !17}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass