; LLVM IR from sunkafei/xcpc-algorithm-templates :: 算法/图论/有向图的传递闭包.ll (ZN7Closure5solveEPA4000_i)

; 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::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [63 x i64] }
%"class.std::bitset<4000>::reference" = type { ptr, i64 }

@_ZN7Closure1AE = external dso_local global [4000 x %"class.std::bitset"], align 16

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN7Closure5solveEPA4000_i(ptr noundef %0) #0 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca %"class.std::bitset<4000>::reference", align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::bitset<4000>::reference", align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %"class.std::bitset<4000>::reference", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  store i32 0, ptr %3, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %42, %1
  %14 = load i32, ptr %3, align 4, !tbaa !9
  %15 = icmp slt i32 %14, 4000
  br i1 %15, label %17, label %16

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

17:                                               ; preds = %13
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !9
  br label %18

18:                                               ; preds = %38, %17
  %19 = load i32, ptr %5, align 4, !tbaa !9
  %20 = icmp slt i32 %19, 4000
  br i1 %20, label %22, label %21

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

22:                                               ; preds = %18
  %23 = load ptr, ptr %2, align 8, !tbaa !5
  %24 = load i32, ptr %3, align 4, !tbaa !9
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [4000 x i32], ptr %23, i64 %25
  %27 = load i32, ptr %5, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [4000 x i32], ptr %26, i64 0, i64 %28
  %30 = load i32, ptr %29, align 4, !tbaa !9
  %31 = icmp ne i32 %30, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr %6) #3
  %32 = load i32, ptr %3, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %33
  %35 = load i32, ptr %5, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  call void @_ZNSt6bitsetILm4000EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<4000>::reference") align 8 %6, ptr noundef nonnull align 8 dereferenceable(504) %34, i64 noundef %36)
  %37 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm4000EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %6, i1 noundef zeroext %31) #3
  call void @_ZNSt6bitsetILm4000EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %6) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #3
  br label %38

38:                                               ; preds = %22
  %39 = load i32, ptr %5, align 4, !tbaa !9
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %5, align 4, !tbaa !9
  br label %18, !llvm.loop !11

41:                                               ; preds = %21
  br label %42

42:                                               ; preds = %41
  %43 = load i32, ptr %3, align 4, !tbaa !9
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %3, align 4, !tbaa !9
  br label %13, !llvm.loop !13

45:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %75, %45
  %47 = load i32, ptr %7, align 4, !tbaa !9
  %48 = icmp slt i32 %47, 4000
  br i1 %48, label %50, label %49

49:                                               ; preds = %46
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %78

50:                                               ; preds = %46
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %71, %50
  %52 = load i32, ptr %8, align 4, !tbaa !9
  %53 = icmp slt i32 %52, 4000
  br i1 %53, label %55, label %54

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

55:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 16, ptr %9) #3
  %56 = load i32, ptr %8, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %57
  %59 = load i32, ptr %7, align 4, !tbaa !9
  %60 = sext i32 %59 to i64
  call void @_ZNSt6bitsetILm4000EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<4000>::reference") align 8 %9, ptr noundef nonnull align 8 dereferenceable(504) %58, i64 noundef %60)
  %61 = call noundef zeroext i1 @_ZNKSt6bitsetILm4000EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %9) #3
  call void @_ZNSt6bitsetILm4000EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %9) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %9) #3
  br i1 %61, label %62, label %70

62:                                               ; preds = %55
  %63 = load i32, ptr %7, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %64
  %66 = load i32, ptr %8, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %67
  %69 = call noundef nonnull align 8 dereferenceable(504) ptr @_ZNSt6bitsetILm4000EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(504) %68, ptr noundef nonnull align 8 dereferenceable(504) %65) #3
  br label %70

70:                                               ; preds = %62, %55
  br label %71

71:                                               ; preds = %70
  %72 = load i32, ptr %8, align 4, !tbaa !9
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %8, align 4, !tbaa !9
  br label %51, !llvm.loop !14

74:                                               ; preds = %54
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %7, align 4, !tbaa !9
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %7, align 4, !tbaa !9
  br label %46, !llvm.loop !15

78:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %107, %78
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = icmp slt i32 %80, 4000
  br i1 %81, label %83, label %82

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

83:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %84

84:                                               ; preds = %103, %83
  %85 = load i32, ptr %11, align 4, !tbaa !9
  %86 = icmp slt i32 %85, 4000
  br i1 %86, label %88, label %87

87:                                               ; preds = %84
  store i32 17, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %106

88:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 16, ptr %12) #3
  %89 = load i32, ptr %10, align 4, !tbaa !9
  %90 = sext i32 %89 to i64
  %91 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %90
  %92 = load i32, ptr %11, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  call void @_ZNSt6bitsetILm4000EEixEm(ptr dead_on_unwind writable sret(%"class.std::bitset<4000>::reference") align 8 %12, ptr noundef nonnull align 8 dereferenceable(504) %91, i64 noundef %93)
  %94 = call noundef zeroext i1 @_ZNKSt6bitsetILm4000EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %12) #3
  %95 = zext i1 %94 to i32
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [4000 x i32], ptr %96, i64 %98
  %100 = load i32, ptr %11, align 4, !tbaa !9
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [4000 x i32], ptr %99, i64 0, i64 %101
  store i32 %95, ptr %102, align 4, !tbaa !9
  call void @_ZNSt6bitsetILm4000EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %12) #3
  call void @llvm.lifetime.end.p0(i64 16, ptr %12) #3
  br label %103

103:                                              ; preds = %88
  %104 = load i32, ptr %11, align 4, !tbaa !9
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %11, align 4, !tbaa !9
  br label %84, !llvm.loop !16

106:                                              ; preds = %87
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %10, align 4, !tbaa !9
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %10, align 4, !tbaa !9
  br label %79, !llvm.loop !17

110:                                              ; preds = %82
  ret void
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm4000EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<4000>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(504), i64 noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm4000EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16), i1 noundef zeroext) #2 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNKSt6bitsetILm4000EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16)) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(504) ptr @_ZNSt6bitsetILm4000EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(504), ptr noundef nonnull align 8 dereferenceable(504)) #2 align 2

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 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 = !{!"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"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}


; 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::bitset" = type { %"struct.std::_Base_bitset" }
%"struct.std::_Base_bitset" = type { [63 x i64] }
%"class.std::bitset<4000>::reference" = type { ptr, i64 }

@_ZN7Closure1AE = external dso_local global [4000 x %"class.std::bitset"], align 16

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN7Closure5solveEPA4000_i(ptr nocapture noundef %0) local_unnamed_addr #0 {
  %2 = alloca %"class.std::bitset<4000>::reference", align 8
  %3 = alloca %"class.std::bitset<4000>::reference", align 8
  %4 = alloca %"class.std::bitset<4000>::reference", align 8
  br label %.preheader33

.preheader33:                                     ; preds = %1, %6
  %indvars.iv41 = phi i64 [ 0, %1 ], [ %indvars.iv.next42, %6 ]
  %5 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %indvars.iv41
  br label %7

6:                                                ; preds = %7
  %indvars.iv.next42 = add nuw nsw i64 %indvars.iv41, 1
  %exitcond44.not = icmp eq i64 %indvars.iv.next42, 4000
  br i1 %exitcond44.not, label %.preheader31, label %.preheader33, !llvm.loop !5

7:                                                ; preds = %.preheader33, %7
  %indvars.iv = phi i64 [ 0, %.preheader33 ], [ %indvars.iv.next, %7 ]
  %8 = getelementptr inbounds [4000 x i32], ptr %0, i64 %indvars.iv41, i64 %indvars.iv
  %9 = load i32, ptr %8, align 4, !tbaa !7
  %10 = icmp ne i32 %9, 0
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #2
  call void @_ZNSt6bitsetILm4000EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<4000>::reference") align 8 %2, ptr noundef nonnull align 8 dereferenceable(504) %5, i64 noundef %indvars.iv)
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSt6bitsetILm4000EE9referenceaSEb(ptr noundef nonnull align 8 dereferenceable(16) %2, i1 noundef zeroext %10) #2
  call void @_ZNSt6bitsetILm4000EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #2
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 4000
  br i1 %exitcond.not, label %6, label %7, !llvm.loop !11

.preheader31:                                     ; preds = %6, %13
  %indvars.iv49 = phi i64 [ %indvars.iv.next50, %13 ], [ 0, %6 ]
  %12 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %indvars.iv49
  br label %14

13:                                               ; preds = %19
  %indvars.iv.next50 = add nuw nsw i64 %indvars.iv49, 1
  %exitcond52.not = icmp eq i64 %indvars.iv.next50, 4000
  br i1 %exitcond52.not, label %.preheader, label %.preheader31, !llvm.loop !12

14:                                               ; preds = %.preheader31, %19
  %indvars.iv45 = phi i64 [ 0, %.preheader31 ], [ %indvars.iv.next46, %19 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #2
  %15 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %indvars.iv45
  call void @_ZNSt6bitsetILm4000EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<4000>::reference") align 8 %3, ptr noundef nonnull align 8 dereferenceable(504) %15, i64 noundef %indvars.iv49)
  %16 = call noundef zeroext i1 @_ZNKSt6bitsetILm4000EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %3) #2
  call void @_ZNSt6bitsetILm4000EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %3) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #2
  br i1 %16, label %17, label %19

17:                                               ; preds = %14
  %18 = call noundef nonnull align 8 dereferenceable(504) ptr @_ZNSt6bitsetILm4000EEoRERKS0_(ptr noundef nonnull align 8 dereferenceable(504) %15, ptr noundef nonnull align 8 dereferenceable(504) %12) #2
  br label %19

19:                                               ; preds = %14, %17
  %indvars.iv.next46 = add nuw nsw i64 %indvars.iv45, 1
  %exitcond48.not = icmp eq i64 %indvars.iv.next46, 4000
  br i1 %exitcond48.not, label %13, label %14, !llvm.loop !13

.preheader:                                       ; preds = %13, %22
  %indvars.iv57 = phi i64 [ %indvars.iv.next58, %22 ], [ 0, %13 ]
  %20 = getelementptr inbounds [4000 x %"class.std::bitset"], ptr @_ZN7Closure1AE, i64 0, i64 %indvars.iv57
  br label %23

21:                                               ; preds = %22
  ret void

22:                                               ; preds = %23
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %exitcond60.not = icmp eq i64 %indvars.iv.next58, 4000
  br i1 %exitcond60.not, label %21, label %.preheader, !llvm.loop !14

23:                                               ; preds = %.preheader, %23
  %indvars.iv53 = phi i64 [ 0, %.preheader ], [ %indvars.iv.next54, %23 ]
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4) #2
  call void @_ZNSt6bitsetILm4000EEixEm(ptr dead_on_unwind nonnull writable sret(%"class.std::bitset<4000>::reference") align 8 %4, ptr noundef nonnull align 8 dereferenceable(504) %20, i64 noundef %indvars.iv53)
  %24 = call noundef zeroext i1 @_ZNKSt6bitsetILm4000EE9referencecvbEv(ptr noundef nonnull align 8 dereferenceable(16) %4) #2
  %25 = zext i1 %24 to i32
  %26 = getelementptr inbounds [4000 x i32], ptr %0, i64 %indvars.iv57, i64 %indvars.iv53
  store i32 %25, ptr %26, align 4, !tbaa !7
  call void @_ZNSt6bitsetILm4000EE9referenceD2Ev(ptr noundef nonnull align 8 dereferenceable(16) %4) #2
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %4) #2
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %exitcond56.not = icmp eq i64 %indvars.iv.next54, 4000
  br i1 %exitcond56.not, label %22, label %23, !llvm.loop !15
}

; 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 nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm4000EEixEm(ptr dead_on_unwind noalias writable sret(%"class.std::bitset<4000>::reference") align 8, ptr noundef nonnull align 8 dereferenceable(504), i64 noundef) local_unnamed_addr #0 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6bitsetILm4000EE9referenceD2Ev(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.end.p0(i64 immarg, ptr nocapture) #1

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass