; LLVM IR from ShahjalalShohag/code-library :: Graph Theory/Block Cut Tree.ll (Z4dfs1ii)

; 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 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@art = external dso_local global [400009 x i32], align 16
@dep = external dso_local global [400009 x i32], align 16
@par = external dso_local global [400009 x [20 x i32]], align 16
@cnt = external dso_local global [400009 x i32], align 16
@bt = external dso_local global [400009 x %"class.std::vector"], align 16

; 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 ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #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 nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z4dfs1ii(i32 noundef %0, i32 noundef %1) #3 {
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %9 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !5
  %10 = load i32, ptr %4, align 4, !tbaa !5
  %11 = sext i32 %10 to i64
  %12 = getelementptr inbounds [400009 x i32], ptr @dep, i64 0, i64 %11
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = add nsw i32 %13, 1
  %15 = load i32, ptr %3, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [400009 x i32], ptr @dep, i64 0, i64 %16
  store i32 %14, ptr %17, align 4, !tbaa !5
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [400009 x i32], ptr @cnt, i64 0, i64 %19
  %21 = load i32, ptr %20, align 4, !tbaa !5
  %22 = load i32, ptr %3, align 4, !tbaa !5
  %23 = sext i32 %22 to i64
  %24 = getelementptr inbounds [400009 x i32], ptr @art, i64 0, i64 %23
  %25 = load i32, ptr %24, align 4, !tbaa !5
  %26 = add nsw i32 %21, %25
  %27 = load i32, ptr %3, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [400009 x i32], ptr @cnt, i64 0, i64 %28
  store i32 %26, ptr %29, align 4, !tbaa !5
  %30 = load i32, ptr %4, align 4, !tbaa !5
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %32
  %34 = getelementptr inbounds [20 x i32], ptr %33, i64 0, i64 0
  store i32 %30, ptr %34, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %35

35:                                               ; preds = %61, %2
  %36 = load i32, ptr %5, align 4, !tbaa !5
  %37 = icmp sle i32 %36, 18
  br i1 %37, label %39, label %38

38:                                               ; preds = %35
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %64

39:                                               ; preds = %35
  %40 = load i32, ptr %3, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %41
  %43 = load i32, ptr %5, align 4, !tbaa !5
  %44 = sub nsw i32 %43, 1
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [20 x i32], ptr %42, i64 0, i64 %45
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %48
  %50 = load i32, ptr %5, align 4, !tbaa !5
  %51 = sub nsw i32 %50, 1
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [20 x i32], ptr %49, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = load i32, ptr %3, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %56
  %58 = load i32, ptr %5, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [20 x i32], ptr %57, i64 0, i64 %59
  store i32 %54, ptr %60, align 4, !tbaa !5
  br label %61

61:                                               ; preds = %39
  %62 = load i32, ptr %5, align 4, !tbaa !5
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %5, align 4, !tbaa !5
  br label %35, !llvm.loop !9

64:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %65 = load i32, ptr %3, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [400009 x %"class.std::vector"], ptr @bt, i64 0, i64 %66
  store ptr %67, ptr %6, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %68 = load ptr, ptr %6, align 8, !tbaa !11
  %69 = call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %68) #4
  %70 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %7, i32 0, i32 0
  store ptr %69, ptr %70, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %71 = load ptr, ptr %6, align 8, !tbaa !11
  %72 = call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %71) #4
  %73 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %8, i32 0, i32 0
  store ptr %72, ptr %73, align 8
  br label %74

74:                                               ; preds = %87, %64
  %75 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8) #4
  br i1 %75, label %77, label %76

76:                                               ; preds = %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %89

77:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  %79 = load i32, ptr %78, align 4, !tbaa !5
  store i32 %79, ptr %9, align 4, !tbaa !5
  %80 = load i32, ptr %9, align 4, !tbaa !5
  %81 = load i32, ptr %4, align 4, !tbaa !5
  %82 = icmp ne i32 %80, %81
  br i1 %82, label %83, label %86

83:                                               ; preds = %77
  %84 = load i32, ptr %9, align 4, !tbaa !5
  %85 = load i32, ptr %3, align 4, !tbaa !5
  call void @_Z4dfs1ii(i32 noundef %84, i32 noundef %85)
  br label %86

86:                                               ; preds = %83, %77
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %87

87:                                               ; preds = %86
  %88 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #4
  br label %74

89:                                               ; preds = %76
  ret void
}

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 = { inlinehint 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 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 = { 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 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}


; 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 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }

@art = external dso_local local_unnamed_addr global [400009 x i32], align 16
@dep = external dso_local local_unnamed_addr global [400009 x i32], align 16
@par = external dso_local local_unnamed_addr global [400009 x [20 x i32]], align 16
@cnt = external dso_local local_unnamed_addr global [400009 x i32], align 16
@bt = external dso_local global [400009 x %"class.std::vector"], align 16

; 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 ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) 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
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z4dfs1ii(i32 noundef %0, i32 noundef %1) local_unnamed_addr #1 {
  %3 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %4 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %5 = sext i32 %1 to i64
  %6 = getelementptr inbounds [400009 x i32], ptr @dep, i64 0, i64 %5
  %7 = load i32, ptr %6, align 4, !tbaa !5
  %8 = add nsw i32 %7, 1
  %9 = sext i32 %0 to i64
  %10 = getelementptr inbounds [400009 x i32], ptr @dep, i64 0, i64 %9
  store i32 %8, ptr %10, align 4, !tbaa !5
  %11 = getelementptr inbounds [400009 x i32], ptr @cnt, i64 0, i64 %5
  %12 = load i32, ptr %11, align 4, !tbaa !5
  %13 = getelementptr inbounds [400009 x i32], ptr @art, i64 0, i64 %9
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %15 = add nsw i32 %14, %12
  %16 = getelementptr inbounds [400009 x i32], ptr @cnt, i64 0, i64 %9
  store i32 %15, ptr %16, align 4, !tbaa !5
  %17 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9
  store i32 %1, ptr %17, align 16, !tbaa !5
  %18 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %5, i64 0
  %19 = load i32, ptr %18, align 16, !tbaa !5
  %20 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 1
  store i32 %19, ptr %20, align 4, !tbaa !5
  %21 = sext i32 %19 to i64
  %22 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %21, i64 1
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 2
  store i32 %23, ptr %24, align 8, !tbaa !5
  %25 = sext i32 %23 to i64
  %26 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %25, i64 2
  %27 = load i32, ptr %26, align 8, !tbaa !5
  %28 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 3
  store i32 %27, ptr %28, align 4, !tbaa !5
  %29 = sext i32 %27 to i64
  %30 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %29, i64 3
  %31 = load i32, ptr %30, align 4, !tbaa !5
  %32 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 4
  store i32 %31, ptr %32, align 16, !tbaa !5
  %33 = sext i32 %31 to i64
  %34 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %33, i64 4
  %35 = load i32, ptr %34, align 16, !tbaa !5
  %36 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 5
  store i32 %35, ptr %36, align 4, !tbaa !5
  %37 = sext i32 %35 to i64
  %38 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %37, i64 5
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 6
  store i32 %39, ptr %40, align 8, !tbaa !5
  %41 = sext i32 %39 to i64
  %42 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %41, i64 6
  %43 = load i32, ptr %42, align 8, !tbaa !5
  %44 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 7
  store i32 %43, ptr %44, align 4, !tbaa !5
  %45 = sext i32 %43 to i64
  %46 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %45, i64 7
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 8
  store i32 %47, ptr %48, align 16, !tbaa !5
  %49 = sext i32 %47 to i64
  %50 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %49, i64 8
  %51 = load i32, ptr %50, align 16, !tbaa !5
  %52 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 9
  store i32 %51, ptr %52, align 4, !tbaa !5
  %53 = sext i32 %51 to i64
  %54 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %53, i64 9
  %55 = load i32, ptr %54, align 4, !tbaa !5
  %56 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 10
  store i32 %55, ptr %56, align 8, !tbaa !5
  %57 = sext i32 %55 to i64
  %58 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %57, i64 10
  %59 = load i32, ptr %58, align 8, !tbaa !5
  %60 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 11
  store i32 %59, ptr %60, align 4, !tbaa !5
  %61 = sext i32 %59 to i64
  %62 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %61, i64 11
  %63 = load i32, ptr %62, align 4, !tbaa !5
  %64 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 12
  store i32 %63, ptr %64, align 16, !tbaa !5
  %65 = sext i32 %63 to i64
  %66 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %65, i64 12
  %67 = load i32, ptr %66, align 16, !tbaa !5
  %68 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 13
  store i32 %67, ptr %68, align 4, !tbaa !5
  %69 = sext i32 %67 to i64
  %70 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %69, i64 13
  %71 = load i32, ptr %70, align 4, !tbaa !5
  %72 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 14
  store i32 %71, ptr %72, align 8, !tbaa !5
  %73 = sext i32 %71 to i64
  %74 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %73, i64 14
  %75 = load i32, ptr %74, align 8, !tbaa !5
  %76 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 15
  store i32 %75, ptr %76, align 4, !tbaa !5
  %77 = sext i32 %75 to i64
  %78 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %77, i64 15
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 16
  store i32 %79, ptr %80, align 16, !tbaa !5
  %81 = sext i32 %79 to i64
  %82 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %81, i64 16
  %83 = load i32, ptr %82, align 16, !tbaa !5
  %84 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 17
  store i32 %83, ptr %84, align 4, !tbaa !5
  %85 = sext i32 %83 to i64
  %86 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %85, i64 17
  %87 = load i32, ptr %86, align 4, !tbaa !5
  %88 = getelementptr inbounds [400009 x [20 x i32]], ptr @par, i64 0, i64 %9, i64 18
  store i32 %87, ptr %88, align 8, !tbaa !5
  %89 = getelementptr inbounds [400009 x %"class.std::vector"], ptr @bt, i64 0, i64 %9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %3) #3
  %90 = tail call ptr @_ZNSt6vectorIiSaIiEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #3
  store ptr %90, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #3
  %91 = tail call ptr @_ZNSt6vectorIiSaIiEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %89) #3
  store ptr %91, ptr %4, align 8
  %92 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  br i1 %92, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %96, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %3) #3
  ret void

.lr.ph:                                           ; preds = %2, %96
  %93 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %.not = icmp eq i32 %94, %1
  br i1 %.not, label %96, label %95

95:                                               ; preds = %.lr.ph
  call void @_Z4dfs1ii(i32 noundef %94, i32 noundef %0)
  br label %96

96:                                               ; preds = %95, %.lr.ph
  %97 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %3) #3
  %98 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPiSt6vectorIiSaIiEEEEbRKNS_17__normal_iteratorIT_T0_EESA_(ptr noundef nonnull align 8 dereferenceable(8) %3, ptr noundef nonnull align 8 dereferenceable(8) %4) #3
  br i1 %98, label %.lr.ph, label %._crit_edge
}

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 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass