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

; 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: 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: mustprogress uwtable
declare dso_local noundef i64 @_Z7minCosti(i32 noundef) #1

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

; 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
  store i32 0, ptr @s, align 4, !tbaa !5
  %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) #1 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) #1 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 = { 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 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
  %.not40 = icmp slt i32 %2, 1
  br i1 %.not40, label %._crit_edge42.thread, label %.preheader35

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

.preheader35:                                     ; preds = %0, %._crit_edge
  %5 = phi i32 [ %8, %._crit_edge ], [ %2, %0 ]
  %indvars.iv66 = phi i64 [ %indvars.iv.next67, %._crit_edge ], [ 1, %0 ]
  %.not3238 = icmp slt i32 %5, 1
  br i1 %.not3238, label %.preheader35.._crit_edge_crit_edge, label %.lr.ph

.preheader35.._crit_edge_crit_edge:               ; preds = %.preheader35
  %.pre75 = sext i32 %5 to i64
  br label %._crit_edge

._crit_edge42:                                    ; preds = %._crit_edge
  store i32 0, ptr @s, align 4, !tbaa !5
  %6 = shl nsw i32 %8, 1
  %7 = or disjoint i32 %6, 1
  store i32 %7, ptr @t, align 4, !tbaa !5
  %.not2843 = icmp slt i32 %8, 1
  br i1 %.not2843, label %.preheader34, label %.lr.ph46

._crit_edge:                                      ; preds = %.lr.ph, %.preheader35.._crit_edge_crit_edge
  %.pre-phi76 = phi i64 [ %.pre75, %.preheader35.._crit_edge_crit_edge ], [ %12, %.lr.ph ]
  %8 = phi i32 [ %5, %.preheader35.._crit_edge_crit_edge ], [ %11, %.lr.ph ]
  %indvars.iv.next67 = add nuw nsw i64 %indvars.iv66, 1
  %.not.not = icmp slt i64 %indvars.iv66, %.pre-phi76
  br i1 %.not.not, label %.preheader35, label %._crit_edge42, !llvm.loop !9

.lr.ph:                                           ; preds = %.preheader35, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %.preheader35 ]
  %9 = getelementptr inbounds [1050 x [1050 x i32]], ptr @cost, i64 0, i64 %indvars.iv66, 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
  %.not32.not = icmp slt i64 %indvars.iv, %12
  br i1 %.not32.not, label %.lr.ph, label %._crit_edge, !llvm.loop !12

.preheader34:                                     ; preds = %.lr.ph46, %._crit_edge42.thread, %._crit_edge42
  %13 = phi i32 [ %8, %._crit_edge42 ], [ %2, %._crit_edge42.thread ], [ %17, %.lr.ph46 ]
  %14 = shl nsw i32 %13, 1
  %.not29.not48 = icmp slt i32 %13, %14
  br i1 %.not29.not48, label %.lr.ph50, label %.preheader33

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

.preheader33:                                     ; preds = %.lr.ph50, %.preheader34
  %18 = phi i32 [ %13, %.preheader34 ], [ %20, %.lr.ph50 ]
  %.not3055 = icmp slt i32 %18, 1
  br i1 %.not3055, label %._crit_edge57, label %.preheader

.lr.ph50:                                         ; preds = %.preheader34, %.lr.ph50
  %.021.in49 = phi i32 [ %.021, %.lr.ph50 ], [ %13, %.preheader34 ]
  %.021 = add nsw i32 %.021.in49, 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
  %.not29.not = icmp slt i32 %.021, %21
  br i1 %.not29.not, label %.lr.ph50, label %.preheader33, !llvm.loop !14

.preheader:                                       ; preds = %.preheader33, %._crit_edge54
  %22 = phi i32 [ %27, %._crit_edge54 ], [ %18, %.preheader33 ]
  %indvars.iv72 = phi i64 [ %indvars.iv.next73, %._crit_edge54 ], [ 1, %.preheader33 ]
  %.not3151 = icmp slt i32 %22, 1
  br i1 %.not3151, label %.preheader.._crit_edge54_crit_edge, label %.lr.ph53

.preheader.._crit_edge54_crit_edge:               ; preds = %.preheader
  %.pre = sext i32 %22 to i64
  br label %._crit_edge54

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

._crit_edge57:                                    ; preds = %._crit_edge54, %.preheader33
  %.lcssa = phi i32 [ %18, %.preheader33 ], [ %27, %._crit_edge54 ]
  %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_edge54:                                    ; preds = %28, %.preheader.._crit_edge54_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.preheader.._crit_edge54_crit_edge ], [ %36, %28 ]
  %27 = phi i32 [ %22, %.preheader.._crit_edge54_crit_edge ], [ %35, %28 ]
  %indvars.iv.next73 = add nuw nsw i64 %indvars.iv72, 1
  %.not30.not = icmp slt i64 %indvars.iv72, %.pre-phi
  br i1 %.not30.not, label %.preheader, label %._crit_edge57, !llvm.loop !15

28:                                               ; preds = %.lr.ph53, %28
  %indvars.iv69 = phi i64 [ 1, %.lr.ph53 ], [ %indvars.iv.next70, %28 ]
  %29 = phi i32 [ %22, %.lr.ph53 ], [ %35, %28 ]
  %30 = trunc nuw nsw i64 %indvars.iv69 to i32
  %31 = add nsw i32 %29, %30
  %32 = getelementptr inbounds [1050 x [1050 x i32]], ptr @cost, i64 0, i64 %indvars.iv72, i64 %indvars.iv69
  %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.next70 = add nuw nsw i64 %indvars.iv69, 1
  %35 = load i32, ptr @n, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %.not31.not = icmp slt i64 %indvars.iv69, %36
  br i1 %.not31.not, label %28, label %._crit_edge54, !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