; LLVM IR from ADJA/algos :: Graphs (MinCostFB)

; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@n = external dso_local global i32, align 4
@cost = external dso_local global [1050 x [1050 x i32]], align 16
@s = external dso_local global i32, align 4
@t = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z7minCosti(i32 noundef) #0

; 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: mustprogress uwtable
declare dso_local void @_Z7addEdgeiiix(i32 noundef, i32 noundef, i32 noundef, i64 noundef) #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %33, %0
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = icmp sle i32 %11, %12
  br i1 %13, label %15, label %14

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

15:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 1, ptr %4, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %29, %15
  %17 = load i32, ptr %4, align 4, !tbaa !5
  %18 = load i32, ptr @n, align 4, !tbaa !5
  %19 = icmp sle i32 %17, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  store i32 5, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  br label %32

21:                                               ; preds = %16
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [1050 x [1050 x i32]], ptr @cost, i64 0, i64 %23
  %25 = load i32, ptr %4, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [1050 x i32], ptr %24, i64 0, i64 %26
  %28 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %27)
  br label %29

29:                                               ; preds = %21
  %30 = load i32, ptr %4, align 4, !tbaa !5
  %31 = add nsw i32 %30, 1
  store i32 %31, ptr %4, align 4, !tbaa !5
  br label %16, !llvm.loop !9

32:                                               ; preds = %20
  br label %33

33:                                               ; preds = %32
  %34 = load i32, ptr %2, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %2, align 4, !tbaa !5
  br label %10, !llvm.loop !11

36:                                               ; preds = %14
  %37 = load i32, ptr @n, align 4, !tbaa !5
  %38 = mul nsw i32 2, %37
  %39 = add nsw i32 %38, 1
  store i32 %39, ptr @t, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %40

40:                                               ; preds = %48, %36
  %41 = load i32, ptr %5, align 4, !tbaa !5
  %42 = load i32, ptr @n, align 4, !tbaa !5
  %43 = icmp sle i32 %41, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %40
  store i32 8, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %51

45:                                               ; preds = %40
  %46 = load i32, ptr @s, align 4, !tbaa !5
  %47 = load i32, ptr %5, align 4, !tbaa !5
  call void @_Z7addEdgeiiix(i32 noundef %46, i32 noundef %47, i32 noundef 1, i64 noundef 0)
  br label %48

48:                                               ; preds = %45
  %49 = load i32, ptr %5, align 4, !tbaa !5
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %5, align 4, !tbaa !5
  br label %40, !llvm.loop !12

51:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  %52 = load i32, ptr @n, align 4, !tbaa !5
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %6, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %63, %51
  %55 = load i32, ptr %6, align 4, !tbaa !5
  %56 = load i32, ptr @n, align 4, !tbaa !5
  %57 = mul nsw i32 2, %56
  %58 = icmp sle i32 %55, %57
  br i1 %58, label %60, label %59

59:                                               ; preds = %54
  store i32 11, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %66

60:                                               ; preds = %54
  %61 = load i32, ptr %6, align 4, !tbaa !5
  %62 = load i32, ptr @t, align 4, !tbaa !5
  call void @_Z7addEdgeiiix(i32 noundef %61, i32 noundef %62, i32 noundef 1, i64 noundef 0)
  br label %63

63:                                               ; preds = %60
  %64 = load i32, ptr %6, align 4, !tbaa !5
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %6, align 4, !tbaa !5
  br label %54, !llvm.loop !13

66:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 1, ptr %7, align 4, !tbaa !5
  br label %67

67:                                               ; preds = %95, %66
  %68 = load i32, ptr %7, align 4, !tbaa !5
  %69 = load i32, ptr @n, align 4, !tbaa !5
  %70 = icmp sle i32 %68, %69
  br i1 %70, label %72, label %71

71:                                               ; preds = %67
  store i32 14, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %98

72:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %73

73:                                               ; preds = %91, %72
  %74 = load i32, ptr %8, align 4, !tbaa !5
  %75 = load i32, ptr @n, align 4, !tbaa !5
  %76 = icmp sle i32 %74, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %73
  store i32 17, ptr %3, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %94

78:                                               ; preds = %73
  %79 = load i32, ptr %7, align 4, !tbaa !5
  %80 = load i32, ptr @n, align 4, !tbaa !5
  %81 = load i32, ptr %8, align 4, !tbaa !5
  %82 = add nsw i32 %80, %81
  %83 = load i32, ptr %7, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [1050 x [1050 x i32]], ptr @cost, i64 0, i64 %84
  %86 = load i32, ptr %8, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [1050 x i32], ptr %85, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  call void @_Z7addEdgeiiix(i32 noundef %79, i32 noundef %82, i32 noundef 1, i64 noundef %90)
  br label %91

91:                                               ; preds = %78
  %92 = load i32, ptr %8, align 4, !tbaa !5
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %8, align 4, !tbaa !5
  br label %73, !llvm.loop !14

94:                                               ; preds = %77
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %7, align 4, !tbaa !5
  %97 = add nsw i32 %96, 1
  store i32 %97, ptr %7, align 4, !tbaa !5
  br label %67, !llvm.loop !15

98:                                               ; preds = %71
  %99 = load i32, ptr @n, align 4, !tbaa !5
  %100 = call noundef i64 @_Z7minCosti(i32 noundef %99)
  %101 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %100)
  %102 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %101, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #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 = { mustprogress norecurse 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 = { "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"="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 = { 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"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


; 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.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@n = external dso_local global i32, align 4
@cost = external dso_local global [1050 x [1050 x i32]], align 16
@s = external dso_local local_unnamed_addr global i32, align 4
@t = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@_ZSt4cout = external global %"class.std::basic_ostream", align 8

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z7minCosti(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z7addEdgeiiix(i32 noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %.not41 = icmp slt i32 %2, 1
  br i1 %.not41, label %._crit_edge43.thread, label %.preheader36

._crit_edge43.thread:                             ; preds = %0
  %3 = shl nsw i32 %2, 1
  %4 = or disjoint i32 %3, 1
  store i32 %4, ptr @t, align 4, !tbaa !5
  br label %.preheader35

.preheader36:                                     ; preds = %0, %._crit_edge
  %5 = phi i32 [ %8, %._crit_edge ], [ %2, %0 ]
  %indvars.iv67 = phi i64 [ %indvars.iv.next68, %._crit_edge ], [ 1, %0 ]
  %.not3339 = icmp slt i32 %5, 1
  br i1 %.not3339, label %.preheader36.._crit_edge_crit_edge, label %.lr.ph

.preheader36.._crit_edge_crit_edge:               ; preds = %.preheader36
  %.pre76 = sext i32 %5 to i64
  br label %._crit_edge

._crit_edge43:                                    ; preds = %._crit_edge
  %6 = shl nsw i32 %8, 1
  %7 = or disjoint i32 %6, 1
  store i32 %7, ptr @t, align 4, !tbaa !5
  %.not2944 = icmp slt i32 %8, 1
  br i1 %.not2944, label %.preheader35, label %.lr.ph47

._crit_edge:                                      ; preds = %.lr.ph, %.preheader36.._crit_edge_crit_edge
  %.pre-phi77 = phi i64 [ %.pre76, %.preheader36.._crit_edge_crit_edge ], [ %12, %.lr.ph ]
  %8 = phi i32 [ %5, %.preheader36.._crit_edge_crit_edge ], [ %11, %.lr.ph ]
  %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67, 1
  %.not.not = icmp slt i64 %indvars.iv67, %.pre-phi77
  br i1 %.not.not, label %.preheader36, label %._crit_edge43, !llvm.loop !9

.lr.ph:                                           ; preds = %.preheader36, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %.preheader36 ]
  %9 = getelementptr inbounds [1050 x [1050 x i32]], ptr @cost, i64 0, i64 %indvars.iv67, i64 %indvars.iv
  %10 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %9)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %11 = load i32, ptr @n, align 4, !tbaa !5
  %12 = sext i32 %11 to i64
  %.not33.not = icmp slt i64 %indvars.iv, %12
  br i1 %.not33.not, label %.lr.ph, label %._crit_edge, !llvm.loop !12

.preheader35:                                     ; preds = %.lr.ph47, %._crit_edge43.thread, %._crit_edge43
  %13 = phi i32 [ %8, %._crit_edge43 ], [ %2, %._crit_edge43.thread ], [ %17, %.lr.ph47 ]
  %14 = shl nsw i32 %13, 1
  %.not30.not49 = icmp slt i32 %13, %14
  br i1 %.not30.not49, label %.lr.ph51, label %.preheader34

.lr.ph47:                                         ; preds = %._crit_edge43, %.lr.ph47
  %.02245 = phi i32 [ %16, %.lr.ph47 ], [ 1, %._crit_edge43 ]
  %15 = load i32, ptr @s, align 4, !tbaa !5
  tail call void @_Z7addEdgeiiix(i32 noundef %15, i32 noundef %.02245, i32 noundef 1, i64 noundef 0)
  %16 = add nuw nsw i32 %.02245, 1
  %17 = load i32, ptr @n, align 4, !tbaa !5
  %.not29.not = icmp slt i32 %.02245, %17
  br i1 %.not29.not, label %.lr.ph47, label %.preheader35, !llvm.loop !13

.preheader34:                                     ; preds = %.lr.ph51, %.preheader35
  %18 = phi i32 [ %13, %.preheader35 ], [ %20, %.lr.ph51 ]
  %.not3156 = icmp slt i32 %18, 1
  br i1 %.not3156, label %._crit_edge58, label %.preheader

.lr.ph51:                                         ; preds = %.preheader35, %.lr.ph51
  %.021.in50 = phi i32 [ %.021, %.lr.ph51 ], [ %13, %.preheader35 ]
  %.021 = add nsw i32 %.021.in50, 1
  %19 = load i32, ptr @t, align 4, !tbaa !5
  tail call void @_Z7addEdgeiiix(i32 noundef %.021, i32 noundef %19, i32 noundef 1, i64 noundef 0)
  %20 = load i32, ptr @n, align 4, !tbaa !5
  %21 = shl nsw i32 %20, 1
  %.not30.not = icmp slt i32 %.021, %21
  br i1 %.not30.not, label %.lr.ph51, label %.preheader34, !llvm.loop !14

.preheader:                                       ; preds = %.preheader34, %._crit_edge55
  %22 = phi i32 [ %27, %._crit_edge55 ], [ %18, %.preheader34 ]
  %indvars.iv73 = phi i64 [ %indvars.iv.next74, %._crit_edge55 ], [ 1, %.preheader34 ]
  %.not3252 = icmp slt i32 %22, 1
  br i1 %.not3252, label %.preheader.._crit_edge55_crit_edge, label %.lr.ph54

.preheader.._crit_edge55_crit_edge:               ; preds = %.preheader
  %.pre = sext i32 %22 to i64
  br label %._crit_edge55

.lr.ph54:                                         ; preds = %.preheader
  %23 = trunc nuw nsw i64 %indvars.iv73 to i32
  br label %28

._crit_edge58:                                    ; preds = %._crit_edge55, %.preheader34
  %.lcssa = phi i32 [ %18, %.preheader34 ], [ %27, %._crit_edge55 ]
  %24 = tail call noundef i64 @_Z7minCosti(i32 noundef %.lcssa)
  %25 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, i64 noundef %24)
  %26 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %25, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
  ret i32 0

._crit_edge55:                                    ; preds = %28, %.preheader.._crit_edge55_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.preheader.._crit_edge55_crit_edge ], [ %36, %28 ]
  %27 = phi i32 [ %22, %.preheader.._crit_edge55_crit_edge ], [ %35, %28 ]
  %indvars.iv.next74 = add nuw nsw i64 %indvars.iv73, 1
  %.not31.not = icmp slt i64 %indvars.iv73, %.pre-phi
  br i1 %.not31.not, label %.preheader, label %._crit_edge58, !llvm.loop !15

28:                                               ; preds = %.lr.ph54, %28
  %indvars.iv70 = phi i64 [ 1, %.lr.ph54 ], [ %indvars.iv.next71, %28 ]
  %29 = phi i32 [ %22, %.lr.ph54 ], [ %35, %28 ]
  %30 = trunc nuw nsw i64 %indvars.iv70 to i32
  %31 = add nsw i32 %29, %30
  %32 = getelementptr inbounds [1050 x [1050 x i32]], ptr @cost, i64 0, i64 %indvars.iv73, i64 %indvars.iv70
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  tail call void @_Z7addEdgeiiix(i32 noundef %23, i32 noundef %31, i32 noundef 1, i64 noundef %34)
  %indvars.iv.next71 = add nuw nsw i64 %indvars.iv70, 1
  %35 = load i32, ptr @n, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %.not32.not = icmp slt i64 %indvars.iv70, %36
  br i1 %.not32.not, label %28, label %._crit_edge55, !llvm.loop !16
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #3

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 norecurse 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 = { nofree 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 = { 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" }

!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, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.unswitch.partial.disable"}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10, !11}
!16 = distinct !{!16, !10}


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