; LLVM IR from tyalie/Sudoku-Generator-CPP :: src/Generator/SudokuProp.ll (ZN10SudokuProp14prop4_GridRollER6Sudokuj)

; 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.Sudoku = type { [81 x i8], i8 }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82), i64 noundef) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82), i64 noundef, i8 noundef signext) #1 align 2

; 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
define dso_local noundef zeroext i1 @_ZN10SudokuProp14prop4_GridRollER6Sudokuj(ptr noundef nonnull align 1 dereferenceable(82) %0, i32 noundef %1) #2 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i1, align 1
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca %class.Sudoku, align 1
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  %13 = load i32, ptr %5, align 4, !tbaa !9
  %14 = urem i32 %13, 4
  store i32 %14, ptr %5, align 4, !tbaa !9
  %15 = load i32, ptr %5, align 4, !tbaa !9
  %16 = icmp eq i32 %15, 0
  br i1 %16, label %17, label %18

17:                                               ; preds = %2
  store i1 false, ptr %3, align 1
  br label %78

18:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 82, ptr %6) #3
  %19 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN6SudokuC2ERKS_(ptr noundef nonnull align 1 dereferenceable(82) %6, ptr noundef nonnull align 1 dereferenceable(82) %19)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %74, %18
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = icmp slt i32 %21, 9
  br i1 %22, label %24, label %23

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

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

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

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

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 -1, ptr %10, align 4, !tbaa !9
  %30 = load i32, ptr %5, align 4, !tbaa !9
  switch i32 %30, label %54 [
    i32 1, label %31
    i32 2, label %38
    i32 3, label %47
  ]

31:                                               ; preds = %29
  %32 = load i32, ptr %9, align 4, !tbaa !9
  %33 = sub nsw i32 9, %32
  %34 = sub nsw i32 %33, 1
  %35 = load i32, ptr %7, align 4, !tbaa !9
  %36 = mul nsw i32 9, %35
  %37 = add nsw i32 %34, %36
  store i32 %37, ptr %10, align 4, !tbaa !9
  br label %54

38:                                               ; preds = %29
  %39 = load i32, ptr %7, align 4, !tbaa !9
  %40 = sub nsw i32 9, %39
  %41 = sub nsw i32 %40, 1
  %42 = load i32, ptr %9, align 4, !tbaa !9
  %43 = sub nsw i32 9, %42
  %44 = sub nsw i32 %43, 1
  %45 = mul nsw i32 9, %44
  %46 = add nsw i32 %41, %45
  store i32 %46, ptr %10, align 4, !tbaa !9
  br label %54

47:                                               ; preds = %29
  %48 = load i32, ptr %9, align 4, !tbaa !9
  %49 = load i32, ptr %7, align 4, !tbaa !9
  %50 = sub nsw i32 9, %49
  %51 = sub nsw i32 %50, 1
  %52 = mul nsw i32 9, %51
  %53 = add nsw i32 %48, %52
  store i32 %53, ptr %10, align 4, !tbaa !9
  br label %54

54:                                               ; preds = %47, %38, %31, %29
  %55 = load ptr, ptr %4, align 8, !tbaa !5
  %56 = load i32, ptr %10, align 4, !tbaa !9
  %57 = sext i32 %56 to i64
  %58 = load i32, ptr %7, align 4, !tbaa !9
  %59 = load i32, ptr %9, align 4, !tbaa !9
  %60 = mul nsw i32 9, %59
  %61 = add nsw i32 %58, %60
  %62 = sext i32 %61 to i64
  %63 = invoke noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %6, i64 noundef %62)
          to label %64 unwind label %69

64:                                               ; preds = %54
  invoke void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %55, i64 noundef %57, i8 noundef signext %63)
          to label %65 unwind label %69

65:                                               ; preds = %64
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %66

66:                                               ; preds = %65
  %67 = load i32, ptr %9, align 4, !tbaa !9
  %68 = add nsw i32 %67, 1
  store i32 %68, ptr %9, align 4, !tbaa !9
  br label %25, !llvm.loop !11

69:                                               ; preds = %64, %54
  %70 = landingpad { ptr, i32 }
          cleanup
  %71 = extractvalue { ptr, i32 } %70, 0
  store ptr %71, ptr %11, align 8
  %72 = extractvalue { ptr, i32 } %70, 1
  store i32 %72, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @_ZN6SudokuD2Ev(ptr noundef nonnull align 1 dereferenceable(82) %6) #3
  call void @llvm.lifetime.end.p0(i64 82, ptr %6) #3
  br label %80

73:                                               ; preds = %28
  br label %74

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

77:                                               ; preds = %23
  store i1 true, ptr %3, align 1
  store i32 1, ptr %8, align 4
  call void @_ZN6SudokuD2Ev(ptr noundef nonnull align 1 dereferenceable(82) %6) #3
  call void @llvm.lifetime.end.p0(i64 82, ptr %6) #3
  br label %78

78:                                               ; preds = %77, %17
  %79 = load i1, ptr %3, align 1
  ret i1 %79

80:                                               ; preds = %69
  %81 = load ptr, ptr %11, align 8
  %82 = load i32, ptr %12, align 4
  %83 = insertvalue { ptr, i32 } poison, ptr %81, 0
  %84 = insertvalue { ptr, i32 } %83, i32 %82, 1
  resume { ptr, i32 } %84
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6SudokuC2ERKS_(ptr noundef nonnull align 1 dereferenceable(82), ptr noundef nonnull align 1 dereferenceable(82)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6SudokuD2Ev(ptr noundef nonnull align 1 dereferenceable(82)) unnamed_addr #1 align 2

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 = { 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}


; 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.Sudoku = type { [81 x i8], i8 }

; 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 nounwind uwtable
declare dso_local noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82), i64 noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82), i64 noundef, i8 noundef signext) local_unnamed_addr #1 align 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: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN10SudokuProp14prop4_GridRollER6Sudokuj(ptr noundef nonnull align 1 dereferenceable(82) %0, i32 noundef %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %class.Sudoku, align 1
  %4 = and i32 %1, 3
  %5 = icmp ne i32 %4, 0
  br i1 %5, label %.split32, label %85

.split32:                                         ; preds = %2
  call void @llvm.lifetime.start.p0(i64 82, ptr nonnull %3) #2
  call void @_ZN6SudokuC2ERKS_(ptr noundef nonnull align 1 dereferenceable(82) %3, ptr noundef nonnull align 1 dereferenceable(82) %0)
  switch i32 %4, label %.preheader [
    i32 1, label %.preheader.us
    i32 2, label %.preheader.us37
  ]

.preheader.us:                                    ; preds = %.split32, %.preheader.us
  %indvars.iv52 = phi i64 [ %indvars.iv.next53, %.preheader.us ], [ 0, %.split32 ]
  %6 = mul nuw nsw i64 %indvars.iv52, 9
  %7 = add nuw nsw i64 %6, 8
  %8 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %indvars.iv52)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %7, i8 noundef signext %8)
  %9 = add nuw nsw i64 %6, 7
  %10 = add nuw nsw i64 %indvars.iv52, 9
  %11 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %10)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %9, i8 noundef signext %11)
  %12 = add nuw nsw i64 %6, 6
  %13 = add nuw nsw i64 %indvars.iv52, 18
  %14 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %13)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %12, i8 noundef signext %14)
  %15 = add nuw nsw i64 %6, 5
  %16 = add nuw nsw i64 %indvars.iv52, 27
  %17 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %16)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %15, i8 noundef signext %17)
  %18 = add nuw nsw i64 %6, 4
  %19 = add nuw nsw i64 %indvars.iv52, 36
  %20 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %19)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %18, i8 noundef signext %20)
  %21 = add nuw nsw i64 %6, 3
  %22 = add nuw nsw i64 %indvars.iv52, 45
  %23 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %22)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %21, i8 noundef signext %23)
  %24 = add nuw nsw i64 %6, 2
  %25 = add nuw nsw i64 %indvars.iv52, 54
  %26 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %25)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %24, i8 noundef signext %26)
  %27 = add nuw nsw i64 %6, 1
  %28 = add nuw nsw i64 %indvars.iv52, 63
  %29 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %28)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %27, i8 noundef signext %29)
  %30 = add nuw nsw i64 %indvars.iv52, 72
  %31 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %30)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %6, i8 noundef signext %31)
  %indvars.iv.next53 = add nuw nsw i64 %indvars.iv52, 1
  %exitcond56.not = icmp eq i64 %indvars.iv.next53, 9
  br i1 %exitcond56.not, label %.split35.us, label %.preheader.us, !llvm.loop !5

.preheader.us37:                                  ; preds = %.split32, %.preheader.us37
  %indvars.iv = phi i64 [ %indvars.iv.next, %.preheader.us37 ], [ 0, %.split32 ]
  %32 = sub nsw i64 80, %indvars.iv
  %33 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %indvars.iv)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %32, i8 noundef signext %33)
  %34 = sub nsw i64 71, %indvars.iv
  %35 = add nuw nsw i64 %indvars.iv, 9
  %36 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %35)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %34, i8 noundef signext %36)
  %37 = sub nsw i64 62, %indvars.iv
  %38 = add nuw nsw i64 %indvars.iv, 18
  %39 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %38)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %37, i8 noundef signext %39)
  %40 = sub nsw i64 53, %indvars.iv
  %41 = add nuw nsw i64 %indvars.iv, 27
  %42 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %41)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %40, i8 noundef signext %42)
  %43 = sub nsw i64 44, %indvars.iv
  %44 = add nuw nsw i64 %indvars.iv, 36
  %45 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %44)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %43, i8 noundef signext %45)
  %46 = sub nsw i64 35, %indvars.iv
  %47 = add nuw nsw i64 %indvars.iv, 45
  %48 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %47)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %46, i8 noundef signext %48)
  %49 = sub nsw i64 26, %indvars.iv
  %50 = add nuw nsw i64 %indvars.iv, 54
  %51 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %50)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %49, i8 noundef signext %51)
  %52 = sub nsw i64 17, %indvars.iv
  %53 = add nuw nsw i64 %indvars.iv, 63
  %54 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %53)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %52, i8 noundef signext %54)
  %55 = sub nsw i64 8, %indvars.iv
  %56 = add nuw nsw i64 %indvars.iv, 72
  %57 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %56)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %55, i8 noundef signext %57)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 9
  br i1 %exitcond.not, label %.split35.us, label %.preheader.us37, !llvm.loop !5

.preheader:                                       ; preds = %.split32, %.preheader
  %indvars.iv61 = phi i64 [ %indvars.iv.next62, %.preheader ], [ 0, %.split32 ]
  %58 = sub nuw nsw i64 8, %indvars.iv61
  %59 = mul nuw nsw i64 %58, 9
  %60 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %indvars.iv61)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %59, i8 noundef signext %60)
  %61 = add nuw nsw i64 %59, 1
  %62 = add nuw nsw i64 %indvars.iv61, 9
  %63 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %62)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %61, i8 noundef signext %63)
  %64 = add nuw nsw i64 %59, 2
  %65 = add nuw nsw i64 %indvars.iv61, 18
  %66 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %65)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %64, i8 noundef signext %66)
  %67 = add nuw nsw i64 %59, 3
  %68 = add nuw nsw i64 %indvars.iv61, 27
  %69 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %68)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %67, i8 noundef signext %69)
  %70 = add nuw nsw i64 %59, 4
  %71 = add nuw nsw i64 %indvars.iv61, 36
  %72 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %71)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %70, i8 noundef signext %72)
  %73 = add nuw nsw i64 %59, 5
  %74 = add nuw nsw i64 %indvars.iv61, 45
  %75 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %74)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %73, i8 noundef signext %75)
  %76 = add nuw nsw i64 %59, 6
  %77 = add nuw nsw i64 %indvars.iv61, 54
  %78 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %77)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %76, i8 noundef signext %78)
  %79 = add nuw nsw i64 %59, 7
  %80 = add nuw nsw i64 %indvars.iv61, 63
  %81 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %80)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %79, i8 noundef signext %81)
  %82 = add nuw nsw i64 %59, 8
  %83 = add nuw nsw i64 %indvars.iv61, 72
  %84 = call noundef signext i8 @_ZNK6Sudoku10getAtIndexEm(ptr noundef nonnull align 1 dereferenceable(82) %3, i64 noundef %83)
  call void @_ZN6Sudoku10setAtIndexEmc(ptr noundef nonnull align 1 dereferenceable(82) %0, i64 noundef %82, i8 noundef signext %84)
  %indvars.iv.next62 = add nuw nsw i64 %indvars.iv61, 1
  %exitcond64.not = icmp eq i64 %indvars.iv.next62, 9
  br i1 %exitcond64.not, label %.split35.us, label %.preheader, !llvm.loop !5

.split35.us:                                      ; preds = %.preheader.us37, %.preheader.us, %.preheader
  call void @_ZN6SudokuD2Ev(ptr noundef nonnull align 1 dereferenceable(82) %3) #2
  call void @llvm.lifetime.end.p0(i64 82, ptr nonnull %3) #2
  br label %85

85:                                               ; preds = %2, %.split35.us
  ret i1 %5
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6SudokuC2ERKS_(ptr noundef nonnull align 1 dereferenceable(82), ptr noundef nonnull align 1 dereferenceable(82)) unnamed_addr #1 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6SudokuD2Ev(ptr noundef nonnull align 1 dereferenceable(82)) unnamed_addr #1 align 2

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


; Effective O3 passes: CorrelatedValuePropagationPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass