; LLVM IR from Muhammad-Magdi/problem-solving :: Backtracking (Backtracking - Suduku1)

; 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.std::pair" = type { i32, i32 }

@grid = external dso_local global [10 x [10 x i8]], align 16
@ops = external dso_local global i32, align 4
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@stdin = external global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1

; 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 nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z6solve2St4pairIiiE(i64) #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9printGridv() #2

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

declare i32 @puts(ptr noundef) #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #4 {
  %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 %"struct.std::pair", align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %9 = load ptr, ptr @stdin, align 8, !tbaa !5
  %10 = call ptr @freopen(ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %9)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %11

11:                                               ; preds = %21, %0
  %12 = load i32, ptr %2, align 4, !tbaa !9
  %13 = icmp slt i32 %12, 9
  br i1 %13, label %15, label %14

14:                                               ; preds = %11
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  br label %24

15:                                               ; preds = %11
  %16 = load i32, ptr %2, align 4, !tbaa !9
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %17
  %19 = getelementptr inbounds [10 x i8], ptr %18, i64 0, i64 0
  %20 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.6, ptr noundef %19)
  br label %21

21:                                               ; preds = %15
  %22 = load i32, ptr %2, align 4, !tbaa !9
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr %2, align 4, !tbaa !9
  br label %11, !llvm.loop !11

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

25:                                               ; preds = %61, %24
  %26 = load i32, ptr %3, align 4, !tbaa !9
  %27 = icmp slt i32 %26, 9
  br i1 %27, label %29, label %28

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

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

30:                                               ; preds = %57, %29
  %31 = load i32, ptr %5, align 4, !tbaa !9
  %32 = icmp slt i32 %31, 9
  br i1 %32, label %34, label %33

33:                                               ; preds = %30
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %60

34:                                               ; preds = %30
  %35 = load i32, ptr %3, align 4, !tbaa !9
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %36
  %38 = load i32, ptr %5, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds [10 x i8], ptr %37, i64 0, i64 %39
  %41 = load i8, ptr %40, align 1, !tbaa !13
  %42 = sext i8 %41 to i32
  %43 = icmp ne i32 %42, 120
  br i1 %43, label %44, label %56

44:                                               ; preds = %34
  %45 = load i32, ptr %3, align 4, !tbaa !9
  %46 = load i32, ptr %5, align 4, !tbaa !9
  %47 = load i32, ptr %3, align 4, !tbaa !9
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %48
  %50 = load i32, ptr %5, align 4, !tbaa !9
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [10 x i8], ptr %49, i64 0, i64 %51
  %53 = load i8, ptr %52, align 1, !tbaa !13
  %54 = sext i8 %53 to i32
  %55 = sub nsw i32 %54, 48
  call void @_Z5visitiii(i32 noundef %45, i32 noundef %46, i32 noundef %55)
  br label %56

56:                                               ; preds = %44, %34
  br label %57

57:                                               ; preds = %56
  %58 = load i32, ptr %5, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %5, align 4, !tbaa !9
  br label %30, !llvm.loop !14

60:                                               ; preds = %33
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %3, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %3, align 4, !tbaa !9
  br label %25, !llvm.loop !15

64:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %6, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %65 = load i64, ptr %6, align 4
  %66 = call noundef zeroext i1 @_Z6solve2St4pairIiiE(i64 %65)
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br i1 %66, label %67, label %68

67:                                               ; preds = %64
  call void @_Z9printGridv()
  br label %70

68:                                               ; preds = %64
  %69 = call i32 @puts(ptr noundef @.str.7)
  br label %70

70:                                               ; preds = %68, %67
  %71 = load i32, ptr @ops, align 4, !tbaa !9
  %72 = call i32 (ptr, ...) @printf(ptr noundef @.str.8, i32 noundef %71)
  ret i32 0
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) #3

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { "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 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 #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 = !{!"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 = !{!7, !7, i64 0}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !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"

%"struct.std::pair" = type { i32, i32 }

@grid = external dso_local global [10 x [10 x i8]], align 16
@ops = external dso_local local_unnamed_addr global i32, align 4
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@stdin = external local_unnamed_addr global ptr, align 8
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1

; 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 nounwind uwtable
declare dso_local void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8), ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_Z5visitiii(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z6solve2St4pairIiiE(i64) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9printGridv() local_unnamed_addr #2

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

; Function Attrs: nofree nounwind
declare noundef i32 @puts(ptr nocapture noundef readonly) local_unnamed_addr #3

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #4 {
.preheader.preheader:
  %0 = alloca %"struct.std::pair", align 8
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = load ptr, ptr @stdin, align 8, !tbaa !5
  %4 = tail call ptr @freopen(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.5, ptr noundef %3)
  %5 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull @grid)
  %6 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull getelementptr inbounds (i8, ptr @grid, i64 10))
  %7 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull getelementptr inbounds (i8, ptr @grid, i64 20))
  %8 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull getelementptr inbounds (i8, ptr @grid, i64 30))
  %9 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull getelementptr inbounds (i8, ptr @grid, i64 40))
  %10 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull getelementptr inbounds (i8, ptr @grid, i64 50))
  %11 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull getelementptr inbounds (i8, ptr @grid, i64 60))
  %12 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull getelementptr inbounds (i8, ptr @grid, i64 70))
  %13 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.6, ptr noundef nonnull getelementptr inbounds (i8, ptr @grid, i64 80))
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %79
  %indvars.iv = phi i64 [ 0, %.preheader.preheader ], [ %indvars.iv.next, %79 ]
  %14 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 0
  %15 = load i8, ptr %14, align 2, !tbaa !9
  %.not = icmp eq i8 %15, 120
  br i1 %.not, label %23, label %19

16:                                               ; preds = %79
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #6
  store i32 0, ptr %1, align 4, !tbaa !10
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  store i32 0, ptr %2, align 4, !tbaa !10
  call void @_ZNSt4pairIiiEC2IiiTnNSt9enable_ifIXaaclsr5_PCCPE22_MoveConstructiblePairIT_T0_EEclsr5_PCCPE30_ImplicitlyMoveConvertiblePairIS3_S4_EEEbE4typeELb1EEEOS3_OS4_(ptr noundef nonnull align 4 dereferenceable(8) %0, ptr noundef nonnull align 4 dereferenceable(4) %1, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %17 = load i64, ptr %0, align 8
  %18 = call noundef zeroext i1 @_Z6solve2St4pairIiiE(i64 %17)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #6
  br i1 %18, label %80, label %81

19:                                               ; preds = %.preheader
  %20 = sext i8 %15 to i32
  %21 = add nsw i32 %20, -48
  %22 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %22, i32 noundef 0, i32 noundef %21)
  br label %23

23:                                               ; preds = %.preheader, %19
  %24 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 1
  %25 = load i8, ptr %24, align 1, !tbaa !9
  %.not.1 = icmp eq i8 %25, 120
  br i1 %.not.1, label %30, label %26

26:                                               ; preds = %23
  %27 = sext i8 %25 to i32
  %28 = add nsw i32 %27, -48
  %29 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %29, i32 noundef 1, i32 noundef %28)
  br label %30

30:                                               ; preds = %26, %23
  %31 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 2
  %32 = load i8, ptr %31, align 2, !tbaa !9
  %.not.2 = icmp eq i8 %32, 120
  br i1 %.not.2, label %37, label %33

33:                                               ; preds = %30
  %34 = sext i8 %32 to i32
  %35 = add nsw i32 %34, -48
  %36 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %36, i32 noundef 2, i32 noundef %35)
  br label %37

37:                                               ; preds = %33, %30
  %38 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 3
  %39 = load i8, ptr %38, align 1, !tbaa !9
  %.not.3 = icmp eq i8 %39, 120
  br i1 %.not.3, label %44, label %40

40:                                               ; preds = %37
  %41 = sext i8 %39 to i32
  %42 = add nsw i32 %41, -48
  %43 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %43, i32 noundef 3, i32 noundef %42)
  br label %44

44:                                               ; preds = %40, %37
  %45 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 4
  %46 = load i8, ptr %45, align 2, !tbaa !9
  %.not.4 = icmp eq i8 %46, 120
  br i1 %.not.4, label %51, label %47

47:                                               ; preds = %44
  %48 = sext i8 %46 to i32
  %49 = add nsw i32 %48, -48
  %50 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %50, i32 noundef 4, i32 noundef %49)
  br label %51

51:                                               ; preds = %47, %44
  %52 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 5
  %53 = load i8, ptr %52, align 1, !tbaa !9
  %.not.5 = icmp eq i8 %53, 120
  br i1 %.not.5, label %58, label %54

54:                                               ; preds = %51
  %55 = sext i8 %53 to i32
  %56 = add nsw i32 %55, -48
  %57 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %57, i32 noundef 5, i32 noundef %56)
  br label %58

58:                                               ; preds = %54, %51
  %59 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 6
  %60 = load i8, ptr %59, align 2, !tbaa !9
  %.not.6 = icmp eq i8 %60, 120
  br i1 %.not.6, label %65, label %61

61:                                               ; preds = %58
  %62 = sext i8 %60 to i32
  %63 = add nsw i32 %62, -48
  %64 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %64, i32 noundef 6, i32 noundef %63)
  br label %65

65:                                               ; preds = %61, %58
  %66 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 7
  %67 = load i8, ptr %66, align 1, !tbaa !9
  %.not.7 = icmp eq i8 %67, 120
  br i1 %.not.7, label %72, label %68

68:                                               ; preds = %65
  %69 = sext i8 %67 to i32
  %70 = add nsw i32 %69, -48
  %71 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %71, i32 noundef 7, i32 noundef %70)
  br label %72

72:                                               ; preds = %68, %65
  %73 = getelementptr inbounds [10 x [10 x i8]], ptr @grid, i64 0, i64 %indvars.iv, i64 8
  %74 = load i8, ptr %73, align 2, !tbaa !9
  %.not.8 = icmp eq i8 %74, 120
  br i1 %.not.8, label %79, label %75

75:                                               ; preds = %72
  %76 = sext i8 %74 to i32
  %77 = add nsw i32 %76, -48
  %78 = trunc nuw nsw i64 %indvars.iv to i32
  tail call void @_Z5visitiii(i32 noundef %78, i32 noundef 8, i32 noundef %77)
  br label %79

79:                                               ; preds = %75, %72
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 9
  br i1 %exitcond.not, label %16, label %.preheader, !llvm.loop !12

80:                                               ; preds = %16
  call void @_Z9printGridv()
  br label %83

81:                                               ; preds = %16
  %82 = call i32 @puts(ptr noundef nonnull dereferenceable(1) @.str.7)
  br label %83

83:                                               ; preds = %81, %80
  %84 = load i32, ptr @ops, align 4, !tbaa !10
  %85 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.8, i32 noundef %84)
  ret i32 0
}

declare ptr @freopen(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { 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 #4 = { 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 #5 = { "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 #6 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass,TailCallElimPass