; LLVM IR from sunkafei/xcpc-algorithm-templates :: 算法/树算法 (倍增求LCA)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@G = external dso_local global [510000 x %"class.std::vector"], align 16
@anc = external dso_local global [510000 x [20 x i32]], align 16
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsiii(i32 noundef, i32 noundef, 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 nounwind uwtable
declare dso_local noundef i32 @_Z3lcaii(i32 noundef, i32 noundef) #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #3 {
  %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
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  %14 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %2, ptr noundef %3, ptr noundef %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %15

15:                                               ; preds = %28, %0
  %16 = load i32, ptr %5, align 4, !tbaa !5
  %17 = load i32, ptr %2, align 4, !tbaa !5
  %18 = icmp slt i32 %16, %17
  br i1 %18, label %20, label %19

19:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  br label %31

20:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %21 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %6, ptr noundef %7)
  %22 = load i32, ptr %6, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [510000 x %"class.std::vector"], ptr @G, i64 0, i64 %23
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 4 dereferenceable(4) %7)
  %25 = load i32, ptr %7, align 4, !tbaa !5
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds [510000 x %"class.std::vector"], ptr @G, i64 0, i64 %26
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr noundef nonnull align 4 dereferenceable(4) %6)
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %28

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

31:                                               ; preds = %19
  %32 = load i32, ptr %4, align 4, !tbaa !5
  call void @_Z3dfsiii(i32 noundef %32, i32 noundef 0, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %33

33:                                               ; preds = %69, %31
  %34 = load i32, ptr %8, align 4, !tbaa !5
  %35 = icmp slt i32 %34, 20
  br i1 %35, label %37, label %36

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

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

38:                                               ; preds = %65, %37
  %39 = load i32, ptr %10, align 4, !tbaa !5
  %40 = load i32, ptr %2, align 4, !tbaa !5
  %41 = icmp sle i32 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %68

43:                                               ; preds = %38
  %44 = load i32, ptr %10, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %45
  %47 = load i32, ptr %8, align 4, !tbaa !5
  %48 = sub nsw i32 %47, 1
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [20 x i32], ptr %46, i64 0, i64 %49
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %52
  %54 = load i32, ptr %8, align 4, !tbaa !5
  %55 = sub nsw i32 %54, 1
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [20 x i32], ptr %53, i64 0, i64 %56
  %58 = load i32, ptr %57, align 4, !tbaa !5
  %59 = load i32, ptr %10, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %60
  %62 = load i32, ptr %8, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [20 x i32], ptr %61, i64 0, i64 %63
  store i32 %58, ptr %64, align 4, !tbaa !5
  br label %65

65:                                               ; preds = %43
  %66 = load i32, ptr %10, align 4, !tbaa !5
  %67 = add nsw i32 %66, 1
  store i32 %67, ptr %10, align 4, !tbaa !5
  br label %38, !llvm.loop !11

68:                                               ; preds = %42
  br label %69

69:                                               ; preds = %68
  %70 = load i32, ptr %8, align 4, !tbaa !5
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %8, align 4, !tbaa !5
  br label %33, !llvm.loop !12

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

73:                                               ; preds = %84, %72
  %74 = load i32, ptr %11, align 4, !tbaa !5
  %75 = load i32, ptr %3, align 4, !tbaa !5
  %76 = icmp slt i32 %74, %75
  br i1 %76, label %78, label %77

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

78:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %79 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str.2, ptr noundef %12, ptr noundef %13)
  %80 = load i32, ptr %12, align 4, !tbaa !5
  %81 = load i32, ptr %13, align 4, !tbaa !5
  %82 = call noundef i32 @_Z3lcaii(i32 noundef %80, i32 noundef %81)
  %83 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %82)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %84

84:                                               ; preds = %78
  %85 = load i32, ptr %11, align 4, !tbaa !5
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %11, align 4, !tbaa !5
  br label %73, !llvm.loop !13

87:                                               ; preds = %77
  store i32 0, ptr %1, align 4
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #5
  %88 = load i32, ptr %1, align 4
  ret i32 %88
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) #0 align 2

declare i32 @printf(ptr noundef, ...) #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 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 = { 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 #4 = { "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}


; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@G = external dso_local global [510000 x %"class.std::vector"], align 16
@anc = external dso_local local_unnamed_addr global [510000 x [20 x i32]], align 16
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1

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

; 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 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 i32 @_Z3lcaii(i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #3 {
  %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
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #5
  %8 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %9 = load i32, ptr %1, align 4, !tbaa !5
  %10 = icmp sgt i32 %9, 1
  br i1 %10, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %0
  %11 = load i32, ptr %3, align 4, !tbaa !5
  call void @_Z3dfsiii(i32 noundef %11, i32 noundef 0, i32 noundef 0)
  %12 = load i32, ptr %1, align 4, !tbaa !5
  %.not19 = icmp slt i32 %12, 1
  br i1 %.not19, label %.preheader, label %.preheader17.preheader

.preheader17.preheader:                           ; preds = %._crit_edge
  %13 = zext nneg i32 %12 to i64
  %14 = zext nneg i32 %12 to i64
  %15 = add nsw i64 %14, -1
  %xtraiter = and i64 %13, 1
  %16 = icmp eq i64 %15, 0
  br i1 %16, label %._crit_edge22.preheader.unr-lcssa, label %.preheader17.preheader.new

.preheader17.preheader.new:                       ; preds = %.preheader17.preheader
  %unroll_iter = and i64 %13, 2147483646
  br label %370

.lr.ph:                                           ; preds = %0, %.lr.ph
  %.01618 = phi i32 [ %24, %.lr.ph ], [ 1, %0 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #5
  %17 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %4, ptr noundef nonnull %5)
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [510000 x %"class.std::vector"], ptr @G, i64 0, i64 %19
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %21 = load i32, ptr %5, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [510000 x %"class.std::vector"], ptr @G, i64 0, i64 %22
  call void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(4) %4)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  %24 = add nuw nsw i32 %.01618, 1
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = icmp slt i32 %24, %25
  br i1 %26, label %.lr.ph, label %._crit_edge, !llvm.loop !9

.preheader.loopexit.unr-lcssa:                    ; preds = %._crit_edge22.17, %._crit_edge22.17.preheader
  %indvars.iv.18.unr = phi i64 [ 1, %._crit_edge22.17.preheader ], [ %indvars.iv.next.18.1, %._crit_edge22.17 ]
  %lcmp.mod105.not = icmp eq i64 %xtraiter104, 0
  br i1 %lcmp.mod105.not, label %.preheader, label %._crit_edge22.17.epil

._crit_edge22.17.epil:                            ; preds = %.preheader.loopexit.unr-lcssa
  %27 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.18.unr, i64 18
  %28 = load i32, ptr %27, align 8, !tbaa !5
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %29, i64 18
  %31 = load i32, ptr %30, align 8, !tbaa !5
  %32 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.18.unr, i64 19
  store i32 %31, ptr %32, align 4, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %._crit_edge22.17.epil, %.preheader.loopexit.unr-lcssa, %._crit_edge
  %33 = load i32, ptr %2, align 4, !tbaa !5
  %34 = icmp sgt i32 %33, 0
  br i1 %34, label %.lr.ph25, label %._crit_edge26

._crit_edge22:                                    ; preds = %._crit_edge22, %._crit_edge22.preheader.new
  %indvars.iv.1 = phi i64 [ 1, %._crit_edge22.preheader.new ], [ %indvars.iv.next.1.1, %._crit_edge22 ]
  %niter38 = phi i64 [ 0, %._crit_edge22.preheader.new ], [ %niter38.next.1, %._crit_edge22 ]
  %35 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.1, i64 1
  %36 = load i32, ptr %35, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %37, i64 1
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.1, i64 2
  store i32 %39, ptr %40, align 8, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv.1, 1
  %41 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.1, i64 1
  %42 = load i32, ptr %41, align 4, !tbaa !5
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %43, i64 1
  %45 = load i32, ptr %44, align 4, !tbaa !5
  %46 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.1, i64 2
  store i32 %45, ptr %46, align 8, !tbaa !5
  %indvars.iv.next.1.1 = add nuw nsw i64 %indvars.iv.1, 2
  %niter38.next.1 = add i64 %niter38, 2
  %niter38.ncmp.1 = icmp eq i64 %niter38.next.1, %unroll_iter37
  br i1 %niter38.ncmp.1, label %._crit_edge22.1.preheader.unr-lcssa, label %._crit_edge22, !llvm.loop !11

._crit_edge22.1.preheader.unr-lcssa:              ; preds = %._crit_edge22, %._crit_edge22.preheader
  %indvars.iv.1.unr = phi i64 [ 1, %._crit_edge22.preheader ], [ %indvars.iv.next.1.1, %._crit_edge22 ]
  %lcmp.mod36.not = icmp eq i64 %xtraiter35, 0
  br i1 %lcmp.mod36.not, label %._crit_edge22.1.preheader, label %._crit_edge22.epil

._crit_edge22.epil:                               ; preds = %._crit_edge22.1.preheader.unr-lcssa
  %47 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.1.unr, i64 1
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %49, i64 1
  %51 = load i32, ptr %50, align 4, !tbaa !5
  %52 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.1.unr, i64 2
  store i32 %51, ptr %52, align 8, !tbaa !5
  br label %._crit_edge22.1.preheader

._crit_edge22.1.preheader:                        ; preds = %._crit_edge22.1.preheader.unr-lcssa, %._crit_edge22.epil
  %xtraiter40 = and i64 %13, 1
  %53 = icmp eq i64 %15, 0
  br i1 %53, label %._crit_edge22.2.preheader.unr-lcssa, label %._crit_edge22.1.preheader.new

._crit_edge22.1.preheader.new:                    ; preds = %._crit_edge22.1.preheader
  %unroll_iter42 = and i64 %13, 2147483646
  br label %._crit_edge22.1

._crit_edge22.1:                                  ; preds = %._crit_edge22.1, %._crit_edge22.1.preheader.new
  %indvars.iv.2 = phi i64 [ 1, %._crit_edge22.1.preheader.new ], [ %indvars.iv.next.2.1, %._crit_edge22.1 ]
  %niter43 = phi i64 [ 0, %._crit_edge22.1.preheader.new ], [ %niter43.next.1, %._crit_edge22.1 ]
  %54 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.2, i64 2
  %55 = load i32, ptr %54, align 8, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %56, i64 2
  %58 = load i32, ptr %57, align 8, !tbaa !5
  %59 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.2, i64 3
  store i32 %58, ptr %59, align 4, !tbaa !5
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv.2, 1
  %60 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.2, i64 2
  %61 = load i32, ptr %60, align 8, !tbaa !5
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %62, i64 2
  %64 = load i32, ptr %63, align 8, !tbaa !5
  %65 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.2, i64 3
  store i32 %64, ptr %65, align 4, !tbaa !5
  %indvars.iv.next.2.1 = add nuw nsw i64 %indvars.iv.2, 2
  %niter43.next.1 = add i64 %niter43, 2
  %niter43.ncmp.1 = icmp eq i64 %niter43.next.1, %unroll_iter42
  br i1 %niter43.ncmp.1, label %._crit_edge22.2.preheader.unr-lcssa, label %._crit_edge22.1, !llvm.loop !11

._crit_edge22.2.preheader.unr-lcssa:              ; preds = %._crit_edge22.1, %._crit_edge22.1.preheader
  %indvars.iv.2.unr = phi i64 [ 1, %._crit_edge22.1.preheader ], [ %indvars.iv.next.2.1, %._crit_edge22.1 ]
  %lcmp.mod41.not = icmp eq i64 %xtraiter40, 0
  br i1 %lcmp.mod41.not, label %._crit_edge22.2.preheader, label %._crit_edge22.1.epil

._crit_edge22.1.epil:                             ; preds = %._crit_edge22.2.preheader.unr-lcssa
  %66 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.2.unr, i64 2
  %67 = load i32, ptr %66, align 8, !tbaa !5
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %68, i64 2
  %70 = load i32, ptr %69, align 8, !tbaa !5
  %71 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.2.unr, i64 3
  store i32 %70, ptr %71, align 4, !tbaa !5
  br label %._crit_edge22.2.preheader

._crit_edge22.2.preheader:                        ; preds = %._crit_edge22.2.preheader.unr-lcssa, %._crit_edge22.1.epil
  %xtraiter44 = and i64 %13, 1
  %72 = icmp eq i64 %15, 0
  br i1 %72, label %._crit_edge22.3.preheader.unr-lcssa, label %._crit_edge22.2.preheader.new

._crit_edge22.2.preheader.new:                    ; preds = %._crit_edge22.2.preheader
  %unroll_iter46 = and i64 %13, 2147483646
  br label %._crit_edge22.2

._crit_edge22.2:                                  ; preds = %._crit_edge22.2, %._crit_edge22.2.preheader.new
  %indvars.iv.3 = phi i64 [ 1, %._crit_edge22.2.preheader.new ], [ %indvars.iv.next.3.1, %._crit_edge22.2 ]
  %niter47 = phi i64 [ 0, %._crit_edge22.2.preheader.new ], [ %niter47.next.1, %._crit_edge22.2 ]
  %73 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.3, i64 3
  %74 = load i32, ptr %73, align 4, !tbaa !5
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %75, i64 3
  %77 = load i32, ptr %76, align 4, !tbaa !5
  %78 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.3, i64 4
  store i32 %77, ptr %78, align 16, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv.3, 1
  %79 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.3, i64 3
  %80 = load i32, ptr %79, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %81, i64 3
  %83 = load i32, ptr %82, align 4, !tbaa !5
  %84 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.3, i64 4
  store i32 %83, ptr %84, align 16, !tbaa !5
  %indvars.iv.next.3.1 = add nuw nsw i64 %indvars.iv.3, 2
  %niter47.next.1 = add i64 %niter47, 2
  %niter47.ncmp.1 = icmp eq i64 %niter47.next.1, %unroll_iter46
  br i1 %niter47.ncmp.1, label %._crit_edge22.3.preheader.unr-lcssa, label %._crit_edge22.2, !llvm.loop !11

._crit_edge22.3.preheader.unr-lcssa:              ; preds = %._crit_edge22.2, %._crit_edge22.2.preheader
  %indvars.iv.3.unr = phi i64 [ 1, %._crit_edge22.2.preheader ], [ %indvars.iv.next.3.1, %._crit_edge22.2 ]
  %lcmp.mod45.not = icmp eq i64 %xtraiter44, 0
  br i1 %lcmp.mod45.not, label %._crit_edge22.3.preheader, label %._crit_edge22.2.epil

._crit_edge22.2.epil:                             ; preds = %._crit_edge22.3.preheader.unr-lcssa
  %85 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.3.unr, i64 3
  %86 = load i32, ptr %85, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %87, i64 3
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.3.unr, i64 4
  store i32 %89, ptr %90, align 16, !tbaa !5
  br label %._crit_edge22.3.preheader

._crit_edge22.3.preheader:                        ; preds = %._crit_edge22.3.preheader.unr-lcssa, %._crit_edge22.2.epil
  %xtraiter48 = and i64 %13, 1
  %91 = icmp eq i64 %15, 0
  br i1 %91, label %._crit_edge22.4.preheader.unr-lcssa, label %._crit_edge22.3.preheader.new

._crit_edge22.3.preheader.new:                    ; preds = %._crit_edge22.3.preheader
  %unroll_iter50 = and i64 %13, 2147483646
  br label %._crit_edge22.3

._crit_edge22.3:                                  ; preds = %._crit_edge22.3, %._crit_edge22.3.preheader.new
  %indvars.iv.4 = phi i64 [ 1, %._crit_edge22.3.preheader.new ], [ %indvars.iv.next.4.1, %._crit_edge22.3 ]
  %niter51 = phi i64 [ 0, %._crit_edge22.3.preheader.new ], [ %niter51.next.1, %._crit_edge22.3 ]
  %92 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.4, i64 4
  %93 = load i32, ptr %92, align 16, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %94, i64 4
  %96 = load i32, ptr %95, align 16, !tbaa !5
  %97 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.4, i64 5
  store i32 %96, ptr %97, align 4, !tbaa !5
  %indvars.iv.next.4 = add nuw nsw i64 %indvars.iv.4, 1
  %98 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.4, i64 4
  %99 = load i32, ptr %98, align 16, !tbaa !5
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %100, i64 4
  %102 = load i32, ptr %101, align 16, !tbaa !5
  %103 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.4, i64 5
  store i32 %102, ptr %103, align 4, !tbaa !5
  %indvars.iv.next.4.1 = add nuw nsw i64 %indvars.iv.4, 2
  %niter51.next.1 = add i64 %niter51, 2
  %niter51.ncmp.1 = icmp eq i64 %niter51.next.1, %unroll_iter50
  br i1 %niter51.ncmp.1, label %._crit_edge22.4.preheader.unr-lcssa, label %._crit_edge22.3, !llvm.loop !11

._crit_edge22.4.preheader.unr-lcssa:              ; preds = %._crit_edge22.3, %._crit_edge22.3.preheader
  %indvars.iv.4.unr = phi i64 [ 1, %._crit_edge22.3.preheader ], [ %indvars.iv.next.4.1, %._crit_edge22.3 ]
  %lcmp.mod49.not = icmp eq i64 %xtraiter48, 0
  br i1 %lcmp.mod49.not, label %._crit_edge22.4.preheader, label %._crit_edge22.3.epil

._crit_edge22.3.epil:                             ; preds = %._crit_edge22.4.preheader.unr-lcssa
  %104 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.4.unr, i64 4
  %105 = load i32, ptr %104, align 16, !tbaa !5
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %106, i64 4
  %108 = load i32, ptr %107, align 16, !tbaa !5
  %109 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.4.unr, i64 5
  store i32 %108, ptr %109, align 4, !tbaa !5
  br label %._crit_edge22.4.preheader

._crit_edge22.4.preheader:                        ; preds = %._crit_edge22.4.preheader.unr-lcssa, %._crit_edge22.3.epil
  %xtraiter52 = and i64 %13, 1
  %110 = icmp eq i64 %15, 0
  br i1 %110, label %._crit_edge22.5.preheader.unr-lcssa, label %._crit_edge22.4.preheader.new

._crit_edge22.4.preheader.new:                    ; preds = %._crit_edge22.4.preheader
  %unroll_iter54 = and i64 %13, 2147483646
  br label %._crit_edge22.4

._crit_edge22.4:                                  ; preds = %._crit_edge22.4, %._crit_edge22.4.preheader.new
  %indvars.iv.5 = phi i64 [ 1, %._crit_edge22.4.preheader.new ], [ %indvars.iv.next.5.1, %._crit_edge22.4 ]
  %niter55 = phi i64 [ 0, %._crit_edge22.4.preheader.new ], [ %niter55.next.1, %._crit_edge22.4 ]
  %111 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.5, i64 5
  %112 = load i32, ptr %111, align 4, !tbaa !5
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %113, i64 5
  %115 = load i32, ptr %114, align 4, !tbaa !5
  %116 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.5, i64 6
  store i32 %115, ptr %116, align 8, !tbaa !5
  %indvars.iv.next.5 = add nuw nsw i64 %indvars.iv.5, 1
  %117 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.5, i64 5
  %118 = load i32, ptr %117, align 4, !tbaa !5
  %119 = sext i32 %118 to i64
  %120 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %119, i64 5
  %121 = load i32, ptr %120, align 4, !tbaa !5
  %122 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.5, i64 6
  store i32 %121, ptr %122, align 8, !tbaa !5
  %indvars.iv.next.5.1 = add nuw nsw i64 %indvars.iv.5, 2
  %niter55.next.1 = add i64 %niter55, 2
  %niter55.ncmp.1 = icmp eq i64 %niter55.next.1, %unroll_iter54
  br i1 %niter55.ncmp.1, label %._crit_edge22.5.preheader.unr-lcssa, label %._crit_edge22.4, !llvm.loop !11

._crit_edge22.5.preheader.unr-lcssa:              ; preds = %._crit_edge22.4, %._crit_edge22.4.preheader
  %indvars.iv.5.unr = phi i64 [ 1, %._crit_edge22.4.preheader ], [ %indvars.iv.next.5.1, %._crit_edge22.4 ]
  %lcmp.mod53.not = icmp eq i64 %xtraiter52, 0
  br i1 %lcmp.mod53.not, label %._crit_edge22.5.preheader, label %._crit_edge22.4.epil

._crit_edge22.4.epil:                             ; preds = %._crit_edge22.5.preheader.unr-lcssa
  %123 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.5.unr, i64 5
  %124 = load i32, ptr %123, align 4, !tbaa !5
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %125, i64 5
  %127 = load i32, ptr %126, align 4, !tbaa !5
  %128 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.5.unr, i64 6
  store i32 %127, ptr %128, align 8, !tbaa !5
  br label %._crit_edge22.5.preheader

._crit_edge22.5.preheader:                        ; preds = %._crit_edge22.5.preheader.unr-lcssa, %._crit_edge22.4.epil
  %xtraiter56 = and i64 %13, 1
  %129 = icmp eq i64 %15, 0
  br i1 %129, label %._crit_edge22.6.preheader.unr-lcssa, label %._crit_edge22.5.preheader.new

._crit_edge22.5.preheader.new:                    ; preds = %._crit_edge22.5.preheader
  %unroll_iter58 = and i64 %13, 2147483646
  br label %._crit_edge22.5

._crit_edge22.5:                                  ; preds = %._crit_edge22.5, %._crit_edge22.5.preheader.new
  %indvars.iv.6 = phi i64 [ 1, %._crit_edge22.5.preheader.new ], [ %indvars.iv.next.6.1, %._crit_edge22.5 ]
  %niter59 = phi i64 [ 0, %._crit_edge22.5.preheader.new ], [ %niter59.next.1, %._crit_edge22.5 ]
  %130 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.6, i64 6
  %131 = load i32, ptr %130, align 8, !tbaa !5
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %132, i64 6
  %134 = load i32, ptr %133, align 8, !tbaa !5
  %135 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.6, i64 7
  store i32 %134, ptr %135, align 4, !tbaa !5
  %indvars.iv.next.6 = add nuw nsw i64 %indvars.iv.6, 1
  %136 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.6, i64 6
  %137 = load i32, ptr %136, align 8, !tbaa !5
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %138, i64 6
  %140 = load i32, ptr %139, align 8, !tbaa !5
  %141 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.6, i64 7
  store i32 %140, ptr %141, align 4, !tbaa !5
  %indvars.iv.next.6.1 = add nuw nsw i64 %indvars.iv.6, 2
  %niter59.next.1 = add i64 %niter59, 2
  %niter59.ncmp.1 = icmp eq i64 %niter59.next.1, %unroll_iter58
  br i1 %niter59.ncmp.1, label %._crit_edge22.6.preheader.unr-lcssa, label %._crit_edge22.5, !llvm.loop !11

._crit_edge22.6.preheader.unr-lcssa:              ; preds = %._crit_edge22.5, %._crit_edge22.5.preheader
  %indvars.iv.6.unr = phi i64 [ 1, %._crit_edge22.5.preheader ], [ %indvars.iv.next.6.1, %._crit_edge22.5 ]
  %lcmp.mod57.not = icmp eq i64 %xtraiter56, 0
  br i1 %lcmp.mod57.not, label %._crit_edge22.6.preheader, label %._crit_edge22.5.epil

._crit_edge22.5.epil:                             ; preds = %._crit_edge22.6.preheader.unr-lcssa
  %142 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.6.unr, i64 6
  %143 = load i32, ptr %142, align 8, !tbaa !5
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %144, i64 6
  %146 = load i32, ptr %145, align 8, !tbaa !5
  %147 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.6.unr, i64 7
  store i32 %146, ptr %147, align 4, !tbaa !5
  br label %._crit_edge22.6.preheader

._crit_edge22.6.preheader:                        ; preds = %._crit_edge22.6.preheader.unr-lcssa, %._crit_edge22.5.epil
  %xtraiter60 = and i64 %13, 1
  %148 = icmp eq i64 %15, 0
  br i1 %148, label %._crit_edge22.7.preheader.unr-lcssa, label %._crit_edge22.6.preheader.new

._crit_edge22.6.preheader.new:                    ; preds = %._crit_edge22.6.preheader
  %unroll_iter62 = and i64 %13, 2147483646
  br label %._crit_edge22.6

._crit_edge22.6:                                  ; preds = %._crit_edge22.6, %._crit_edge22.6.preheader.new
  %indvars.iv.7 = phi i64 [ 1, %._crit_edge22.6.preheader.new ], [ %indvars.iv.next.7.1, %._crit_edge22.6 ]
  %niter63 = phi i64 [ 0, %._crit_edge22.6.preheader.new ], [ %niter63.next.1, %._crit_edge22.6 ]
  %149 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.7, i64 7
  %150 = load i32, ptr %149, align 4, !tbaa !5
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %151, i64 7
  %153 = load i32, ptr %152, align 4, !tbaa !5
  %154 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.7, i64 8
  store i32 %153, ptr %154, align 16, !tbaa !5
  %indvars.iv.next.7 = add nuw nsw i64 %indvars.iv.7, 1
  %155 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.7, i64 7
  %156 = load i32, ptr %155, align 4, !tbaa !5
  %157 = sext i32 %156 to i64
  %158 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %157, i64 7
  %159 = load i32, ptr %158, align 4, !tbaa !5
  %160 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.7, i64 8
  store i32 %159, ptr %160, align 16, !tbaa !5
  %indvars.iv.next.7.1 = add nuw nsw i64 %indvars.iv.7, 2
  %niter63.next.1 = add i64 %niter63, 2
  %niter63.ncmp.1 = icmp eq i64 %niter63.next.1, %unroll_iter62
  br i1 %niter63.ncmp.1, label %._crit_edge22.7.preheader.unr-lcssa, label %._crit_edge22.6, !llvm.loop !11

._crit_edge22.7.preheader.unr-lcssa:              ; preds = %._crit_edge22.6, %._crit_edge22.6.preheader
  %indvars.iv.7.unr = phi i64 [ 1, %._crit_edge22.6.preheader ], [ %indvars.iv.next.7.1, %._crit_edge22.6 ]
  %lcmp.mod61.not = icmp eq i64 %xtraiter60, 0
  br i1 %lcmp.mod61.not, label %._crit_edge22.7.preheader, label %._crit_edge22.6.epil

._crit_edge22.6.epil:                             ; preds = %._crit_edge22.7.preheader.unr-lcssa
  %161 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.7.unr, i64 7
  %162 = load i32, ptr %161, align 4, !tbaa !5
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %163, i64 7
  %165 = load i32, ptr %164, align 4, !tbaa !5
  %166 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.7.unr, i64 8
  store i32 %165, ptr %166, align 16, !tbaa !5
  br label %._crit_edge22.7.preheader

._crit_edge22.7.preheader:                        ; preds = %._crit_edge22.7.preheader.unr-lcssa, %._crit_edge22.6.epil
  %xtraiter64 = and i64 %13, 1
  %167 = icmp eq i64 %15, 0
  br i1 %167, label %._crit_edge22.8.preheader.unr-lcssa, label %._crit_edge22.7.preheader.new

._crit_edge22.7.preheader.new:                    ; preds = %._crit_edge22.7.preheader
  %unroll_iter66 = and i64 %13, 2147483646
  br label %._crit_edge22.7

._crit_edge22.7:                                  ; preds = %._crit_edge22.7, %._crit_edge22.7.preheader.new
  %indvars.iv.8 = phi i64 [ 1, %._crit_edge22.7.preheader.new ], [ %indvars.iv.next.8.1, %._crit_edge22.7 ]
  %niter67 = phi i64 [ 0, %._crit_edge22.7.preheader.new ], [ %niter67.next.1, %._crit_edge22.7 ]
  %168 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.8, i64 8
  %169 = load i32, ptr %168, align 16, !tbaa !5
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %170, i64 8
  %172 = load i32, ptr %171, align 16, !tbaa !5
  %173 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.8, i64 9
  store i32 %172, ptr %173, align 4, !tbaa !5
  %indvars.iv.next.8 = add nuw nsw i64 %indvars.iv.8, 1
  %174 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.8, i64 8
  %175 = load i32, ptr %174, align 16, !tbaa !5
  %176 = sext i32 %175 to i64
  %177 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %176, i64 8
  %178 = load i32, ptr %177, align 16, !tbaa !5
  %179 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.8, i64 9
  store i32 %178, ptr %179, align 4, !tbaa !5
  %indvars.iv.next.8.1 = add nuw nsw i64 %indvars.iv.8, 2
  %niter67.next.1 = add i64 %niter67, 2
  %niter67.ncmp.1 = icmp eq i64 %niter67.next.1, %unroll_iter66
  br i1 %niter67.ncmp.1, label %._crit_edge22.8.preheader.unr-lcssa, label %._crit_edge22.7, !llvm.loop !11

._crit_edge22.8.preheader.unr-lcssa:              ; preds = %._crit_edge22.7, %._crit_edge22.7.preheader
  %indvars.iv.8.unr = phi i64 [ 1, %._crit_edge22.7.preheader ], [ %indvars.iv.next.8.1, %._crit_edge22.7 ]
  %lcmp.mod65.not = icmp eq i64 %xtraiter64, 0
  br i1 %lcmp.mod65.not, label %._crit_edge22.8.preheader, label %._crit_edge22.7.epil

._crit_edge22.7.epil:                             ; preds = %._crit_edge22.8.preheader.unr-lcssa
  %180 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.8.unr, i64 8
  %181 = load i32, ptr %180, align 16, !tbaa !5
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %182, i64 8
  %184 = load i32, ptr %183, align 16, !tbaa !5
  %185 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.8.unr, i64 9
  store i32 %184, ptr %185, align 4, !tbaa !5
  br label %._crit_edge22.8.preheader

._crit_edge22.8.preheader:                        ; preds = %._crit_edge22.8.preheader.unr-lcssa, %._crit_edge22.7.epil
  %xtraiter68 = and i64 %13, 1
  %186 = icmp eq i64 %15, 0
  br i1 %186, label %._crit_edge22.9.preheader.unr-lcssa, label %._crit_edge22.8.preheader.new

._crit_edge22.8.preheader.new:                    ; preds = %._crit_edge22.8.preheader
  %unroll_iter70 = and i64 %13, 2147483646
  br label %._crit_edge22.8

._crit_edge22.8:                                  ; preds = %._crit_edge22.8, %._crit_edge22.8.preheader.new
  %indvars.iv.9 = phi i64 [ 1, %._crit_edge22.8.preheader.new ], [ %indvars.iv.next.9.1, %._crit_edge22.8 ]
  %niter71 = phi i64 [ 0, %._crit_edge22.8.preheader.new ], [ %niter71.next.1, %._crit_edge22.8 ]
  %187 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.9, i64 9
  %188 = load i32, ptr %187, align 4, !tbaa !5
  %189 = sext i32 %188 to i64
  %190 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %189, i64 9
  %191 = load i32, ptr %190, align 4, !tbaa !5
  %192 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.9, i64 10
  store i32 %191, ptr %192, align 8, !tbaa !5
  %indvars.iv.next.9 = add nuw nsw i64 %indvars.iv.9, 1
  %193 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.9, i64 9
  %194 = load i32, ptr %193, align 4, !tbaa !5
  %195 = sext i32 %194 to i64
  %196 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %195, i64 9
  %197 = load i32, ptr %196, align 4, !tbaa !5
  %198 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.9, i64 10
  store i32 %197, ptr %198, align 8, !tbaa !5
  %indvars.iv.next.9.1 = add nuw nsw i64 %indvars.iv.9, 2
  %niter71.next.1 = add i64 %niter71, 2
  %niter71.ncmp.1 = icmp eq i64 %niter71.next.1, %unroll_iter70
  br i1 %niter71.ncmp.1, label %._crit_edge22.9.preheader.unr-lcssa, label %._crit_edge22.8, !llvm.loop !11

._crit_edge22.9.preheader.unr-lcssa:              ; preds = %._crit_edge22.8, %._crit_edge22.8.preheader
  %indvars.iv.9.unr = phi i64 [ 1, %._crit_edge22.8.preheader ], [ %indvars.iv.next.9.1, %._crit_edge22.8 ]
  %lcmp.mod69.not = icmp eq i64 %xtraiter68, 0
  br i1 %lcmp.mod69.not, label %._crit_edge22.9.preheader, label %._crit_edge22.8.epil

._crit_edge22.8.epil:                             ; preds = %._crit_edge22.9.preheader.unr-lcssa
  %199 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.9.unr, i64 9
  %200 = load i32, ptr %199, align 4, !tbaa !5
  %201 = sext i32 %200 to i64
  %202 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %201, i64 9
  %203 = load i32, ptr %202, align 4, !tbaa !5
  %204 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.9.unr, i64 10
  store i32 %203, ptr %204, align 8, !tbaa !5
  br label %._crit_edge22.9.preheader

._crit_edge22.9.preheader:                        ; preds = %._crit_edge22.9.preheader.unr-lcssa, %._crit_edge22.8.epil
  %xtraiter72 = and i64 %13, 1
  %205 = icmp eq i64 %15, 0
  br i1 %205, label %._crit_edge22.10.preheader.unr-lcssa, label %._crit_edge22.9.preheader.new

._crit_edge22.9.preheader.new:                    ; preds = %._crit_edge22.9.preheader
  %unroll_iter74 = and i64 %13, 2147483646
  br label %._crit_edge22.9

._crit_edge22.9:                                  ; preds = %._crit_edge22.9, %._crit_edge22.9.preheader.new
  %indvars.iv.10 = phi i64 [ 1, %._crit_edge22.9.preheader.new ], [ %indvars.iv.next.10.1, %._crit_edge22.9 ]
  %niter75 = phi i64 [ 0, %._crit_edge22.9.preheader.new ], [ %niter75.next.1, %._crit_edge22.9 ]
  %206 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.10, i64 10
  %207 = load i32, ptr %206, align 8, !tbaa !5
  %208 = sext i32 %207 to i64
  %209 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %208, i64 10
  %210 = load i32, ptr %209, align 8, !tbaa !5
  %211 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.10, i64 11
  store i32 %210, ptr %211, align 4, !tbaa !5
  %indvars.iv.next.10 = add nuw nsw i64 %indvars.iv.10, 1
  %212 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.10, i64 10
  %213 = load i32, ptr %212, align 8, !tbaa !5
  %214 = sext i32 %213 to i64
  %215 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %214, i64 10
  %216 = load i32, ptr %215, align 8, !tbaa !5
  %217 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.10, i64 11
  store i32 %216, ptr %217, align 4, !tbaa !5
  %indvars.iv.next.10.1 = add nuw nsw i64 %indvars.iv.10, 2
  %niter75.next.1 = add i64 %niter75, 2
  %niter75.ncmp.1 = icmp eq i64 %niter75.next.1, %unroll_iter74
  br i1 %niter75.ncmp.1, label %._crit_edge22.10.preheader.unr-lcssa, label %._crit_edge22.9, !llvm.loop !11

._crit_edge22.10.preheader.unr-lcssa:             ; preds = %._crit_edge22.9, %._crit_edge22.9.preheader
  %indvars.iv.10.unr = phi i64 [ 1, %._crit_edge22.9.preheader ], [ %indvars.iv.next.10.1, %._crit_edge22.9 ]
  %lcmp.mod73.not = icmp eq i64 %xtraiter72, 0
  br i1 %lcmp.mod73.not, label %._crit_edge22.10.preheader, label %._crit_edge22.9.epil

._crit_edge22.9.epil:                             ; preds = %._crit_edge22.10.preheader.unr-lcssa
  %218 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.10.unr, i64 10
  %219 = load i32, ptr %218, align 8, !tbaa !5
  %220 = sext i32 %219 to i64
  %221 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %220, i64 10
  %222 = load i32, ptr %221, align 8, !tbaa !5
  %223 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.10.unr, i64 11
  store i32 %222, ptr %223, align 4, !tbaa !5
  br label %._crit_edge22.10.preheader

._crit_edge22.10.preheader:                       ; preds = %._crit_edge22.10.preheader.unr-lcssa, %._crit_edge22.9.epil
  %xtraiter76 = and i64 %13, 1
  %224 = icmp eq i64 %15, 0
  br i1 %224, label %._crit_edge22.11.preheader.unr-lcssa, label %._crit_edge22.10.preheader.new

._crit_edge22.10.preheader.new:                   ; preds = %._crit_edge22.10.preheader
  %unroll_iter78 = and i64 %13, 2147483646
  br label %._crit_edge22.10

._crit_edge22.10:                                 ; preds = %._crit_edge22.10, %._crit_edge22.10.preheader.new
  %indvars.iv.11 = phi i64 [ 1, %._crit_edge22.10.preheader.new ], [ %indvars.iv.next.11.1, %._crit_edge22.10 ]
  %niter79 = phi i64 [ 0, %._crit_edge22.10.preheader.new ], [ %niter79.next.1, %._crit_edge22.10 ]
  %225 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.11, i64 11
  %226 = load i32, ptr %225, align 4, !tbaa !5
  %227 = sext i32 %226 to i64
  %228 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %227, i64 11
  %229 = load i32, ptr %228, align 4, !tbaa !5
  %230 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.11, i64 12
  store i32 %229, ptr %230, align 16, !tbaa !5
  %indvars.iv.next.11 = add nuw nsw i64 %indvars.iv.11, 1
  %231 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.11, i64 11
  %232 = load i32, ptr %231, align 4, !tbaa !5
  %233 = sext i32 %232 to i64
  %234 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %233, i64 11
  %235 = load i32, ptr %234, align 4, !tbaa !5
  %236 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.11, i64 12
  store i32 %235, ptr %236, align 16, !tbaa !5
  %indvars.iv.next.11.1 = add nuw nsw i64 %indvars.iv.11, 2
  %niter79.next.1 = add i64 %niter79, 2
  %niter79.ncmp.1 = icmp eq i64 %niter79.next.1, %unroll_iter78
  br i1 %niter79.ncmp.1, label %._crit_edge22.11.preheader.unr-lcssa, label %._crit_edge22.10, !llvm.loop !11

._crit_edge22.11.preheader.unr-lcssa:             ; preds = %._crit_edge22.10, %._crit_edge22.10.preheader
  %indvars.iv.11.unr = phi i64 [ 1, %._crit_edge22.10.preheader ], [ %indvars.iv.next.11.1, %._crit_edge22.10 ]
  %lcmp.mod77.not = icmp eq i64 %xtraiter76, 0
  br i1 %lcmp.mod77.not, label %._crit_edge22.11.preheader, label %._crit_edge22.10.epil

._crit_edge22.10.epil:                            ; preds = %._crit_edge22.11.preheader.unr-lcssa
  %237 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.11.unr, i64 11
  %238 = load i32, ptr %237, align 4, !tbaa !5
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %239, i64 11
  %241 = load i32, ptr %240, align 4, !tbaa !5
  %242 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.11.unr, i64 12
  store i32 %241, ptr %242, align 16, !tbaa !5
  br label %._crit_edge22.11.preheader

._crit_edge22.11.preheader:                       ; preds = %._crit_edge22.11.preheader.unr-lcssa, %._crit_edge22.10.epil
  %xtraiter80 = and i64 %13, 1
  %243 = icmp eq i64 %15, 0
  br i1 %243, label %._crit_edge22.12.preheader.unr-lcssa, label %._crit_edge22.11.preheader.new

._crit_edge22.11.preheader.new:                   ; preds = %._crit_edge22.11.preheader
  %unroll_iter82 = and i64 %13, 2147483646
  br label %._crit_edge22.11

._crit_edge22.11:                                 ; preds = %._crit_edge22.11, %._crit_edge22.11.preheader.new
  %indvars.iv.12 = phi i64 [ 1, %._crit_edge22.11.preheader.new ], [ %indvars.iv.next.12.1, %._crit_edge22.11 ]
  %niter83 = phi i64 [ 0, %._crit_edge22.11.preheader.new ], [ %niter83.next.1, %._crit_edge22.11 ]
  %244 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.12, i64 12
  %245 = load i32, ptr %244, align 16, !tbaa !5
  %246 = sext i32 %245 to i64
  %247 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %246, i64 12
  %248 = load i32, ptr %247, align 16, !tbaa !5
  %249 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.12, i64 13
  store i32 %248, ptr %249, align 4, !tbaa !5
  %indvars.iv.next.12 = add nuw nsw i64 %indvars.iv.12, 1
  %250 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.12, i64 12
  %251 = load i32, ptr %250, align 16, !tbaa !5
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %252, i64 12
  %254 = load i32, ptr %253, align 16, !tbaa !5
  %255 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.12, i64 13
  store i32 %254, ptr %255, align 4, !tbaa !5
  %indvars.iv.next.12.1 = add nuw nsw i64 %indvars.iv.12, 2
  %niter83.next.1 = add i64 %niter83, 2
  %niter83.ncmp.1 = icmp eq i64 %niter83.next.1, %unroll_iter82
  br i1 %niter83.ncmp.1, label %._crit_edge22.12.preheader.unr-lcssa, label %._crit_edge22.11, !llvm.loop !11

._crit_edge22.12.preheader.unr-lcssa:             ; preds = %._crit_edge22.11, %._crit_edge22.11.preheader
  %indvars.iv.12.unr = phi i64 [ 1, %._crit_edge22.11.preheader ], [ %indvars.iv.next.12.1, %._crit_edge22.11 ]
  %lcmp.mod81.not = icmp eq i64 %xtraiter80, 0
  br i1 %lcmp.mod81.not, label %._crit_edge22.12.preheader, label %._crit_edge22.11.epil

._crit_edge22.11.epil:                            ; preds = %._crit_edge22.12.preheader.unr-lcssa
  %256 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.12.unr, i64 12
  %257 = load i32, ptr %256, align 16, !tbaa !5
  %258 = sext i32 %257 to i64
  %259 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %258, i64 12
  %260 = load i32, ptr %259, align 16, !tbaa !5
  %261 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.12.unr, i64 13
  store i32 %260, ptr %261, align 4, !tbaa !5
  br label %._crit_edge22.12.preheader

._crit_edge22.12.preheader:                       ; preds = %._crit_edge22.12.preheader.unr-lcssa, %._crit_edge22.11.epil
  %xtraiter84 = and i64 %13, 1
  %262 = icmp eq i64 %15, 0
  br i1 %262, label %._crit_edge22.13.preheader.unr-lcssa, label %._crit_edge22.12.preheader.new

._crit_edge22.12.preheader.new:                   ; preds = %._crit_edge22.12.preheader
  %unroll_iter86 = and i64 %13, 2147483646
  br label %._crit_edge22.12

._crit_edge22.12:                                 ; preds = %._crit_edge22.12, %._crit_edge22.12.preheader.new
  %indvars.iv.13 = phi i64 [ 1, %._crit_edge22.12.preheader.new ], [ %indvars.iv.next.13.1, %._crit_edge22.12 ]
  %niter87 = phi i64 [ 0, %._crit_edge22.12.preheader.new ], [ %niter87.next.1, %._crit_edge22.12 ]
  %263 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.13, i64 13
  %264 = load i32, ptr %263, align 4, !tbaa !5
  %265 = sext i32 %264 to i64
  %266 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %265, i64 13
  %267 = load i32, ptr %266, align 4, !tbaa !5
  %268 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.13, i64 14
  store i32 %267, ptr %268, align 8, !tbaa !5
  %indvars.iv.next.13 = add nuw nsw i64 %indvars.iv.13, 1
  %269 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.13, i64 13
  %270 = load i32, ptr %269, align 4, !tbaa !5
  %271 = sext i32 %270 to i64
  %272 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %271, i64 13
  %273 = load i32, ptr %272, align 4, !tbaa !5
  %274 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.13, i64 14
  store i32 %273, ptr %274, align 8, !tbaa !5
  %indvars.iv.next.13.1 = add nuw nsw i64 %indvars.iv.13, 2
  %niter87.next.1 = add i64 %niter87, 2
  %niter87.ncmp.1 = icmp eq i64 %niter87.next.1, %unroll_iter86
  br i1 %niter87.ncmp.1, label %._crit_edge22.13.preheader.unr-lcssa, label %._crit_edge22.12, !llvm.loop !11

._crit_edge22.13.preheader.unr-lcssa:             ; preds = %._crit_edge22.12, %._crit_edge22.12.preheader
  %indvars.iv.13.unr = phi i64 [ 1, %._crit_edge22.12.preheader ], [ %indvars.iv.next.13.1, %._crit_edge22.12 ]
  %lcmp.mod85.not = icmp eq i64 %xtraiter84, 0
  br i1 %lcmp.mod85.not, label %._crit_edge22.13.preheader, label %._crit_edge22.12.epil

._crit_edge22.12.epil:                            ; preds = %._crit_edge22.13.preheader.unr-lcssa
  %275 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.13.unr, i64 13
  %276 = load i32, ptr %275, align 4, !tbaa !5
  %277 = sext i32 %276 to i64
  %278 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %277, i64 13
  %279 = load i32, ptr %278, align 4, !tbaa !5
  %280 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.13.unr, i64 14
  store i32 %279, ptr %280, align 8, !tbaa !5
  br label %._crit_edge22.13.preheader

._crit_edge22.13.preheader:                       ; preds = %._crit_edge22.13.preheader.unr-lcssa, %._crit_edge22.12.epil
  %xtraiter88 = and i64 %13, 1
  %281 = icmp eq i64 %15, 0
  br i1 %281, label %._crit_edge22.14.preheader.unr-lcssa, label %._crit_edge22.13.preheader.new

._crit_edge22.13.preheader.new:                   ; preds = %._crit_edge22.13.preheader
  %unroll_iter90 = and i64 %13, 2147483646
  br label %._crit_edge22.13

._crit_edge22.13:                                 ; preds = %._crit_edge22.13, %._crit_edge22.13.preheader.new
  %indvars.iv.14 = phi i64 [ 1, %._crit_edge22.13.preheader.new ], [ %indvars.iv.next.14.1, %._crit_edge22.13 ]
  %niter91 = phi i64 [ 0, %._crit_edge22.13.preheader.new ], [ %niter91.next.1, %._crit_edge22.13 ]
  %282 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.14, i64 14
  %283 = load i32, ptr %282, align 8, !tbaa !5
  %284 = sext i32 %283 to i64
  %285 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %284, i64 14
  %286 = load i32, ptr %285, align 8, !tbaa !5
  %287 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.14, i64 15
  store i32 %286, ptr %287, align 4, !tbaa !5
  %indvars.iv.next.14 = add nuw nsw i64 %indvars.iv.14, 1
  %288 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.14, i64 14
  %289 = load i32, ptr %288, align 8, !tbaa !5
  %290 = sext i32 %289 to i64
  %291 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %290, i64 14
  %292 = load i32, ptr %291, align 8, !tbaa !5
  %293 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.14, i64 15
  store i32 %292, ptr %293, align 4, !tbaa !5
  %indvars.iv.next.14.1 = add nuw nsw i64 %indvars.iv.14, 2
  %niter91.next.1 = add i64 %niter91, 2
  %niter91.ncmp.1 = icmp eq i64 %niter91.next.1, %unroll_iter90
  br i1 %niter91.ncmp.1, label %._crit_edge22.14.preheader.unr-lcssa, label %._crit_edge22.13, !llvm.loop !11

._crit_edge22.14.preheader.unr-lcssa:             ; preds = %._crit_edge22.13, %._crit_edge22.13.preheader
  %indvars.iv.14.unr = phi i64 [ 1, %._crit_edge22.13.preheader ], [ %indvars.iv.next.14.1, %._crit_edge22.13 ]
  %lcmp.mod89.not = icmp eq i64 %xtraiter88, 0
  br i1 %lcmp.mod89.not, label %._crit_edge22.14.preheader, label %._crit_edge22.13.epil

._crit_edge22.13.epil:                            ; preds = %._crit_edge22.14.preheader.unr-lcssa
  %294 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.14.unr, i64 14
  %295 = load i32, ptr %294, align 8, !tbaa !5
  %296 = sext i32 %295 to i64
  %297 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %296, i64 14
  %298 = load i32, ptr %297, align 8, !tbaa !5
  %299 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.14.unr, i64 15
  store i32 %298, ptr %299, align 4, !tbaa !5
  br label %._crit_edge22.14.preheader

._crit_edge22.14.preheader:                       ; preds = %._crit_edge22.14.preheader.unr-lcssa, %._crit_edge22.13.epil
  %xtraiter92 = and i64 %13, 1
  %300 = icmp eq i64 %15, 0
  br i1 %300, label %._crit_edge22.15.preheader.unr-lcssa, label %._crit_edge22.14.preheader.new

._crit_edge22.14.preheader.new:                   ; preds = %._crit_edge22.14.preheader
  %unroll_iter94 = and i64 %13, 2147483646
  br label %._crit_edge22.14

._crit_edge22.14:                                 ; preds = %._crit_edge22.14, %._crit_edge22.14.preheader.new
  %indvars.iv.15 = phi i64 [ 1, %._crit_edge22.14.preheader.new ], [ %indvars.iv.next.15.1, %._crit_edge22.14 ]
  %niter95 = phi i64 [ 0, %._crit_edge22.14.preheader.new ], [ %niter95.next.1, %._crit_edge22.14 ]
  %301 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.15, i64 15
  %302 = load i32, ptr %301, align 4, !tbaa !5
  %303 = sext i32 %302 to i64
  %304 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %303, i64 15
  %305 = load i32, ptr %304, align 4, !tbaa !5
  %306 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.15, i64 16
  store i32 %305, ptr %306, align 16, !tbaa !5
  %indvars.iv.next.15 = add nuw nsw i64 %indvars.iv.15, 1
  %307 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.15, i64 15
  %308 = load i32, ptr %307, align 4, !tbaa !5
  %309 = sext i32 %308 to i64
  %310 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %309, i64 15
  %311 = load i32, ptr %310, align 4, !tbaa !5
  %312 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.15, i64 16
  store i32 %311, ptr %312, align 16, !tbaa !5
  %indvars.iv.next.15.1 = add nuw nsw i64 %indvars.iv.15, 2
  %niter95.next.1 = add i64 %niter95, 2
  %niter95.ncmp.1 = icmp eq i64 %niter95.next.1, %unroll_iter94
  br i1 %niter95.ncmp.1, label %._crit_edge22.15.preheader.unr-lcssa, label %._crit_edge22.14, !llvm.loop !11

._crit_edge22.15.preheader.unr-lcssa:             ; preds = %._crit_edge22.14, %._crit_edge22.14.preheader
  %indvars.iv.15.unr = phi i64 [ 1, %._crit_edge22.14.preheader ], [ %indvars.iv.next.15.1, %._crit_edge22.14 ]
  %lcmp.mod93.not = icmp eq i64 %xtraiter92, 0
  br i1 %lcmp.mod93.not, label %._crit_edge22.15.preheader, label %._crit_edge22.14.epil

._crit_edge22.14.epil:                            ; preds = %._crit_edge22.15.preheader.unr-lcssa
  %313 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.15.unr, i64 15
  %314 = load i32, ptr %313, align 4, !tbaa !5
  %315 = sext i32 %314 to i64
  %316 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %315, i64 15
  %317 = load i32, ptr %316, align 4, !tbaa !5
  %318 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.15.unr, i64 16
  store i32 %317, ptr %318, align 16, !tbaa !5
  br label %._crit_edge22.15.preheader

._crit_edge22.15.preheader:                       ; preds = %._crit_edge22.15.preheader.unr-lcssa, %._crit_edge22.14.epil
  %xtraiter96 = and i64 %13, 1
  %319 = icmp eq i64 %15, 0
  br i1 %319, label %._crit_edge22.16.preheader.unr-lcssa, label %._crit_edge22.15.preheader.new

._crit_edge22.15.preheader.new:                   ; preds = %._crit_edge22.15.preheader
  %unroll_iter98 = and i64 %13, 2147483646
  br label %._crit_edge22.15

._crit_edge22.15:                                 ; preds = %._crit_edge22.15, %._crit_edge22.15.preheader.new
  %indvars.iv.16 = phi i64 [ 1, %._crit_edge22.15.preheader.new ], [ %indvars.iv.next.16.1, %._crit_edge22.15 ]
  %niter99 = phi i64 [ 0, %._crit_edge22.15.preheader.new ], [ %niter99.next.1, %._crit_edge22.15 ]
  %320 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.16, i64 16
  %321 = load i32, ptr %320, align 16, !tbaa !5
  %322 = sext i32 %321 to i64
  %323 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %322, i64 16
  %324 = load i32, ptr %323, align 16, !tbaa !5
  %325 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.16, i64 17
  store i32 %324, ptr %325, align 4, !tbaa !5
  %indvars.iv.next.16 = add nuw nsw i64 %indvars.iv.16, 1
  %326 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.16, i64 16
  %327 = load i32, ptr %326, align 16, !tbaa !5
  %328 = sext i32 %327 to i64
  %329 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %328, i64 16
  %330 = load i32, ptr %329, align 16, !tbaa !5
  %331 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.16, i64 17
  store i32 %330, ptr %331, align 4, !tbaa !5
  %indvars.iv.next.16.1 = add nuw nsw i64 %indvars.iv.16, 2
  %niter99.next.1 = add i64 %niter99, 2
  %niter99.ncmp.1 = icmp eq i64 %niter99.next.1, %unroll_iter98
  br i1 %niter99.ncmp.1, label %._crit_edge22.16.preheader.unr-lcssa, label %._crit_edge22.15, !llvm.loop !11

._crit_edge22.16.preheader.unr-lcssa:             ; preds = %._crit_edge22.15, %._crit_edge22.15.preheader
  %indvars.iv.16.unr = phi i64 [ 1, %._crit_edge22.15.preheader ], [ %indvars.iv.next.16.1, %._crit_edge22.15 ]
  %lcmp.mod97.not = icmp eq i64 %xtraiter96, 0
  br i1 %lcmp.mod97.not, label %._crit_edge22.16.preheader, label %._crit_edge22.15.epil

._crit_edge22.15.epil:                            ; preds = %._crit_edge22.16.preheader.unr-lcssa
  %332 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.16.unr, i64 16
  %333 = load i32, ptr %332, align 16, !tbaa !5
  %334 = sext i32 %333 to i64
  %335 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %334, i64 16
  %336 = load i32, ptr %335, align 16, !tbaa !5
  %337 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.16.unr, i64 17
  store i32 %336, ptr %337, align 4, !tbaa !5
  br label %._crit_edge22.16.preheader

._crit_edge22.16.preheader:                       ; preds = %._crit_edge22.16.preheader.unr-lcssa, %._crit_edge22.15.epil
  %xtraiter100 = and i64 %13, 1
  %338 = icmp eq i64 %15, 0
  br i1 %338, label %._crit_edge22.17.preheader.unr-lcssa, label %._crit_edge22.16.preheader.new

._crit_edge22.16.preheader.new:                   ; preds = %._crit_edge22.16.preheader
  %unroll_iter102 = and i64 %13, 2147483646
  br label %._crit_edge22.16

._crit_edge22.16:                                 ; preds = %._crit_edge22.16, %._crit_edge22.16.preheader.new
  %indvars.iv.17 = phi i64 [ 1, %._crit_edge22.16.preheader.new ], [ %indvars.iv.next.17.1, %._crit_edge22.16 ]
  %niter103 = phi i64 [ 0, %._crit_edge22.16.preheader.new ], [ %niter103.next.1, %._crit_edge22.16 ]
  %339 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.17, i64 17
  %340 = load i32, ptr %339, align 4, !tbaa !5
  %341 = sext i32 %340 to i64
  %342 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %341, i64 17
  %343 = load i32, ptr %342, align 4, !tbaa !5
  %344 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.17, i64 18
  store i32 %343, ptr %344, align 8, !tbaa !5
  %indvars.iv.next.17 = add nuw nsw i64 %indvars.iv.17, 1
  %345 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.17, i64 17
  %346 = load i32, ptr %345, align 4, !tbaa !5
  %347 = sext i32 %346 to i64
  %348 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %347, i64 17
  %349 = load i32, ptr %348, align 4, !tbaa !5
  %350 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.17, i64 18
  store i32 %349, ptr %350, align 8, !tbaa !5
  %indvars.iv.next.17.1 = add nuw nsw i64 %indvars.iv.17, 2
  %niter103.next.1 = add i64 %niter103, 2
  %niter103.ncmp.1 = icmp eq i64 %niter103.next.1, %unroll_iter102
  br i1 %niter103.ncmp.1, label %._crit_edge22.17.preheader.unr-lcssa, label %._crit_edge22.16, !llvm.loop !11

._crit_edge22.17.preheader.unr-lcssa:             ; preds = %._crit_edge22.16, %._crit_edge22.16.preheader
  %indvars.iv.17.unr = phi i64 [ 1, %._crit_edge22.16.preheader ], [ %indvars.iv.next.17.1, %._crit_edge22.16 ]
  %lcmp.mod101.not = icmp eq i64 %xtraiter100, 0
  br i1 %lcmp.mod101.not, label %._crit_edge22.17.preheader, label %._crit_edge22.16.epil

._crit_edge22.16.epil:                            ; preds = %._crit_edge22.17.preheader.unr-lcssa
  %351 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.17.unr, i64 17
  %352 = load i32, ptr %351, align 4, !tbaa !5
  %353 = sext i32 %352 to i64
  %354 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %353, i64 17
  %355 = load i32, ptr %354, align 4, !tbaa !5
  %356 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.17.unr, i64 18
  store i32 %355, ptr %356, align 8, !tbaa !5
  br label %._crit_edge22.17.preheader

._crit_edge22.17.preheader:                       ; preds = %._crit_edge22.17.preheader.unr-lcssa, %._crit_edge22.16.epil
  %xtraiter104 = and i64 %13, 1
  %357 = icmp eq i64 %15, 0
  br i1 %357, label %.preheader.loopexit.unr-lcssa, label %._crit_edge22.17.preheader.new

._crit_edge22.17.preheader.new:                   ; preds = %._crit_edge22.17.preheader
  %unroll_iter106 = and i64 %13, 2147483646
  br label %._crit_edge22.17

._crit_edge22.17:                                 ; preds = %._crit_edge22.17, %._crit_edge22.17.preheader.new
  %indvars.iv.18 = phi i64 [ 1, %._crit_edge22.17.preheader.new ], [ %indvars.iv.next.18.1, %._crit_edge22.17 ]
  %niter107 = phi i64 [ 0, %._crit_edge22.17.preheader.new ], [ %niter107.next.1, %._crit_edge22.17 ]
  %358 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.18, i64 18
  %359 = load i32, ptr %358, align 8, !tbaa !5
  %360 = sext i32 %359 to i64
  %361 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %360, i64 18
  %362 = load i32, ptr %361, align 8, !tbaa !5
  %363 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.18, i64 19
  store i32 %362, ptr %363, align 4, !tbaa !5
  %indvars.iv.next.18 = add nuw nsw i64 %indvars.iv.18, 1
  %364 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.18, i64 18
  %365 = load i32, ptr %364, align 8, !tbaa !5
  %366 = sext i32 %365 to i64
  %367 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %366, i64 18
  %368 = load i32, ptr %367, align 8, !tbaa !5
  %369 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next.18, i64 19
  store i32 %368, ptr %369, align 4, !tbaa !5
  %indvars.iv.next.18.1 = add nuw nsw i64 %indvars.iv.18, 2
  %niter107.next.1 = add i64 %niter107, 2
  %niter107.ncmp.1 = icmp eq i64 %niter107.next.1, %unroll_iter106
  br i1 %niter107.ncmp.1, label %.preheader.loopexit.unr-lcssa, label %._crit_edge22.17, !llvm.loop !11

370:                                              ; preds = %370, %.preheader17.preheader.new
  %indvars.iv = phi i64 [ 1, %.preheader17.preheader.new ], [ %indvars.iv.next.134, %370 ]
  %niter = phi i64 [ 0, %.preheader17.preheader.new ], [ %niter.next.1, %370 ]
  %371 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv, i64 0
  %372 = load i32, ptr %371, align 16, !tbaa !5
  %373 = sext i32 %372 to i64
  %374 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %373, i64 0
  %375 = load i32, ptr %374, align 16, !tbaa !5
  %376 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv, i64 1
  store i32 %375, ptr %376, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %377 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next, i64 0
  %378 = load i32, ptr %377, align 16, !tbaa !5
  %379 = sext i32 %378 to i64
  %380 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %379, i64 0
  %381 = load i32, ptr %380, align 16, !tbaa !5
  %382 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.next, i64 1
  store i32 %381, ptr %382, align 4, !tbaa !5
  %indvars.iv.next.134 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge22.preheader.unr-lcssa, label %370, !llvm.loop !11

._crit_edge22.preheader.unr-lcssa:                ; preds = %370, %.preheader17.preheader
  %indvars.iv.unr = phi i64 [ 1, %.preheader17.preheader ], [ %indvars.iv.next.134, %370 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge22.preheader, label %._crit_edge22.preheader.epilog-lcssa

._crit_edge22.preheader.epilog-lcssa:             ; preds = %._crit_edge22.preheader.unr-lcssa
  %383 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.unr, i64 0
  %384 = load i32, ptr %383, align 16, !tbaa !5
  %385 = sext i32 %384 to i64
  %386 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %385, i64 0
  %387 = load i32, ptr %386, align 16, !tbaa !5
  %388 = getelementptr inbounds [510000 x [20 x i32]], ptr @anc, i64 0, i64 %indvars.iv.unr, i64 1
  store i32 %387, ptr %388, align 4, !tbaa !5
  br label %._crit_edge22.preheader

._crit_edge22.preheader:                          ; preds = %._crit_edge22.preheader.unr-lcssa, %._crit_edge22.preheader.epilog-lcssa
  %xtraiter35 = and i64 %13, 1
  %389 = icmp eq i64 %15, 0
  br i1 %389, label %._crit_edge22.1.preheader.unr-lcssa, label %._crit_edge22.preheader.new

._crit_edge22.preheader.new:                      ; preds = %._crit_edge22.preheader
  %unroll_iter37 = and i64 %13, 2147483646
  br label %._crit_edge22

._crit_edge26:                                    ; preds = %.lr.ph25, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #5
  ret i32 0

.lr.ph25:                                         ; preds = %.preheader, %.lr.ph25
  %.024 = phi i32 [ %395, %.lr.ph25 ], [ 0, %.preheader ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #5
  %390 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str.2, ptr noundef nonnull %6, ptr noundef nonnull %7)
  %391 = load i32, ptr %6, align 4, !tbaa !5
  %392 = load i32, ptr %7, align 4, !tbaa !5
  %393 = call noundef i32 @_Z3lcaii(i32 noundef %391, i32 noundef %392)
  %394 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %393)
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #5
  %395 = add nuw nsw i32 %.024, 1
  %396 = load i32, ptr %2, align 4, !tbaa !5
  %397 = icmp slt i32 %395, %396
  br i1 %397, label %.lr.ph25, label %._crit_edge26, !llvm.loop !12
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEE9push_backERKi(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #0 align 2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #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 = { mustprogress 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 = { 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 #4 = { 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 #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}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass