; LLVM IR from eyangch/competitive-programming :: USACOtraining/2.2 (subset)

; 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::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7adduptoi(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 norecurse uwtable
define dso_local noundef i32 @main() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca %"class.std::basic_ifstream", align 8
  %3 = alloca %"class.std::basic_ofstream", align 8
  %4 = alloca ptr, align 8
  %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 ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 520, ptr %2) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %2, ptr noundef @.str, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 512, ptr %3) #7
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %3, ptr noundef @.str.1, i32 noundef 16)
          to label %17 unwind label %30

17:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  store i32 0, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  store i32 0, ptr %8, align 4, !tbaa !5
  %18 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr noundef nonnull align 4 dereferenceable(4) %6)
          to label %19 unwind label %34

19:                                               ; preds = %17
  %20 = load i32, ptr %6, align 4, !tbaa !5
  %21 = call noundef i32 @_Z7adduptoi(i32 noundef %20)
  store i32 %21, ptr %7, align 4, !tbaa !5
  %22 = load i32, ptr %7, align 4, !tbaa !5
  %23 = srem i32 %22, 2
  %24 = icmp eq i32 %23, 1
  br i1 %24, label %25, label %38

25:                                               ; preds = %19
  %26 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %3, i32 noundef 0)
          to label %27 unwind label %34

27:                                               ; preds = %25
  %28 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %29 unwind label %34

29:                                               ; preds = %27
  store i32 0, ptr %1, align 4
  store i32 1, ptr %9, align 4
  br label %160

30:                                               ; preds = %0
  %31 = landingpad { ptr, i32 }
          cleanup
  %32 = extractvalue { ptr, i32 } %31, 0
  store ptr %32, ptr %4, align 8
  %33 = extractvalue { ptr, i32 } %31, 1
  store i32 %33, ptr %5, align 4
  br label %163

34:                                               ; preds = %156, %144, %27, %25, %17
  %35 = landingpad { ptr, i32 }
          cleanup
  %36 = extractvalue { ptr, i32 } %35, 0
  store ptr %36, ptr %4, align 8
  %37 = extractvalue { ptr, i32 } %35, 1
  store i32 %37, ptr %5, align 4
  br label %162

38:                                               ; preds = %19
  %39 = load i32, ptr %6, align 4, !tbaa !5
  %40 = add nsw i32 %39, 1
  %41 = zext i32 %40 to i64
  %42 = load i32, ptr %7, align 4, !tbaa !5
  %43 = add nsw i32 %42, 1
  %44 = zext i32 %43 to i64
  %45 = call ptr @llvm.stacksave.p0()
  store ptr %45, ptr %10, align 8
  %46 = mul nuw i64 %41, %44
  %47 = alloca i64, i64 %46, align 16
  store i64 %41, ptr %11, align 8
  store i64 %44, ptr %12, align 8
  %48 = mul nsw i64 0, %44
  %49 = getelementptr inbounds i64, ptr %47, i64 %48
  %50 = load i32, ptr %6, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = mul nsw i64 %51, %44
  %53 = getelementptr inbounds i64, ptr %47, i64 %52
  %54 = load i32, ptr %7, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds i64, ptr %53, i64 %55
  %57 = getelementptr inbounds i64, ptr %56, i64 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #7
  store i32 0, ptr %13, align 4, !tbaa !5
  invoke void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef %49, ptr noundef %57, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %58 unwind label %68

58:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  %59 = mul nsw i64 1, %44
  %60 = getelementptr inbounds i64, ptr %47, i64 %59
  %61 = getelementptr inbounds i64, ptr %60, i64 1
  store i64 1, ptr %61, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #7
  store i32 2, ptr %14, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %141, %58
  %63 = load i32, ptr %14, align 4, !tbaa !5
  %64 = load i32, ptr %6, align 4, !tbaa !5
  %65 = add nsw i32 %64, 1
  %66 = icmp slt i32 %63, %65
  br i1 %66, label %72, label %67

67:                                               ; preds = %62
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %144

68:                                               ; preds = %38
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %4, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #7
  br label %162

72:                                               ; preds = %62
  %73 = load i32, ptr %14, align 4, !tbaa !5
  %74 = sub nsw i32 %73, 1
  %75 = sext i32 %74 to i64
  %76 = mul nsw i64 %75, %44
  %77 = getelementptr inbounds i64, ptr %47, i64 %76
  %78 = load i32, ptr %14, align 4, !tbaa !5
  %79 = sub nsw i32 %78, 1
  %80 = sext i32 %79 to i64
  %81 = mul nsw i64 %80, %44
  %82 = getelementptr inbounds i64, ptr %47, i64 %81
  %83 = load i32, ptr %7, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds i64, ptr %82, i64 %84
  %86 = getelementptr inbounds i64, ptr %85, i64 1
  %87 = load i32, ptr %14, align 4, !tbaa !5
  %88 = sext i32 %87 to i64
  %89 = mul nsw i64 %88, %44
  %90 = getelementptr inbounds i64, ptr %47, i64 %89
  %91 = invoke noundef ptr @_ZSt4copyIPxS0_ET0_T_S2_S1_(ptr noundef %77, ptr noundef %86, ptr noundef %90)
          to label %92 unwind label %112

92:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  %93 = load i32, ptr %14, align 4, !tbaa !5
  %94 = call noundef i32 @_Z7adduptoi(i32 noundef %93)
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %15, align 4, !tbaa !5
  %96 = load i32, ptr %14, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = mul nsw i64 %97, %44
  %99 = getelementptr inbounds i64, ptr %47, i64 %98
  %100 = load i32, ptr %14, align 4, !tbaa !5
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds i64, ptr %99, i64 %101
  %103 = load i64, ptr %102, align 8, !tbaa !9
  %104 = add nsw i64 %103, 1
  store i64 %104, ptr %102, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #7
  %105 = load i32, ptr %14, align 4, !tbaa !5
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %16, align 4, !tbaa !5
  br label %107

107:                                              ; preds = %137, %92
  %108 = load i32, ptr %16, align 4, !tbaa !5
  %109 = load i32, ptr %15, align 4, !tbaa !5
  %110 = icmp slt i32 %108, %109
  br i1 %110, label %116, label %111

111:                                              ; preds = %107
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  br label %140

112:                                              ; preds = %72
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %4, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %5, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #7
  br label %162

116:                                              ; preds = %107
  %117 = load i32, ptr %14, align 4, !tbaa !5
  %118 = sub nsw i32 %117, 1
  %119 = sext i32 %118 to i64
  %120 = mul nsw i64 %119, %44
  %121 = getelementptr inbounds i64, ptr %47, i64 %120
  %122 = load i32, ptr %16, align 4, !tbaa !5
  %123 = load i32, ptr %14, align 4, !tbaa !5
  %124 = sub nsw i32 %122, %123
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds i64, ptr %121, i64 %125
  %127 = load i64, ptr %126, align 8, !tbaa !9
  %128 = load i32, ptr %14, align 4, !tbaa !5
  %129 = sext i32 %128 to i64
  %130 = mul nsw i64 %129, %44
  %131 = getelementptr inbounds i64, ptr %47, i64 %130
  %132 = load i32, ptr %16, align 4, !tbaa !5
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds i64, ptr %131, i64 %133
  %135 = load i64, ptr %134, align 8, !tbaa !9
  %136 = add nsw i64 %135, %127
  store i64 %136, ptr %134, align 8, !tbaa !9
  br label %137

137:                                              ; preds = %116
  %138 = load i32, ptr %16, align 4, !tbaa !5
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %16, align 4, !tbaa !5
  br label %107, !llvm.loop !11

140:                                              ; preds = %111
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %141

141:                                              ; preds = %140
  %142 = load i32, ptr %14, align 4, !tbaa !5
  %143 = add nsw i32 %142, 1
  store i32 %143, ptr %14, align 4, !tbaa !5
  br label %62, !llvm.loop !13

144:                                              ; preds = %67
  %145 = load i32, ptr %6, align 4, !tbaa !5
  %146 = sext i32 %145 to i64
  %147 = mul nsw i64 %146, %44
  %148 = getelementptr inbounds i64, ptr %47, i64 %147
  %149 = load i32, ptr %7, align 4, !tbaa !5
  %150 = sdiv i32 %149, 2
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds i64, ptr %148, i64 %151
  %153 = load i64, ptr %152, align 8, !tbaa !9
  %154 = sdiv i64 %153, 2
  %155 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %3, i64 noundef %154)
          to label %156 unwind label %34

156:                                              ; preds = %144
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %155, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %158 unwind label %34

158:                                              ; preds = %156
  store i32 0, ptr %1, align 4
  store i32 1, ptr %9, align 4
  %159 = load ptr, ptr %10, align 8
  call void @llvm.stackrestore.p0(ptr %159)
  br label %160

160:                                              ; preds = %158, %29
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #7
  call void @llvm.lifetime.end.p0(i64 512, ptr %3) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr %2) #7
  %161 = load i32, ptr %1, align 4
  ret i32 %161

162:                                              ; preds = %112, %68, %34
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %3) #7
  br label %163

163:                                              ; preds = %162, %30
  call void @llvm.lifetime.end.p0(i64 512, ptr %3) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %2) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr %2) #7
  br label %164

164:                                              ; preds = %163
  %165 = load ptr, ptr %4, align 8
  %166 = load i32, ptr %5, align 4
  %167 = insertvalue { ptr, i32 } poison, ptr %165, 0
  %168 = insertvalue { ptr, i32 } %167, i32 %166, 1
  resume { ptr, i32 } %168
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIPxS0_ET0_T_S2_S1_(ptr noundef, ptr noundef, ptr noundef) #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) #3 align 2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #6

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { "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 = { inlinehint 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 #6 = { nocallback nofree nosync nounwind willreturn }
attributes #7 = { 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 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ifstream" = type { %"class.std::basic_istream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon }
%union.anon = type { i32 }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }

@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [11 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7adduptoi(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 norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::basic_ifstream", align 8
  %2 = alloca %"class.std::basic_ofstream", align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 520, ptr nonnull %1) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256) %1, ptr noundef nonnull @.str, i32 noundef 8)
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %2) #7
  invoke void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248) %2, ptr noundef nonnull @.str.1, i32 noundef 16)
          to label %5 unwind label %16

5:                                                ; preds = %0
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #7
  %6 = invoke noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) %1, ptr noundef nonnull align 4 dereferenceable(4) %3)
          to label %7 unwind label %18

7:                                                ; preds = %5
  %8 = load i32, ptr %3, align 4, !tbaa !5
  %9 = call noundef i32 @_Z7adduptoi(i32 noundef %8)
  %10 = and i32 %9, -2147483647
  %11 = icmp eq i32 %10, 1
  br i1 %11, label %12, label %20

12:                                               ; preds = %7
  %13 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8) %2, i32 noundef 0)
          to label %14 unwind label %18

14:                                               ; preds = %12
  %15 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %128 unwind label %18

16:                                               ; preds = %0
  %17 = landingpad { ptr, i32 }
          cleanup
  br label %130

18:                                               ; preds = %125, %._crit_edge, %14, %12, %5
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %129

20:                                               ; preds = %7
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = add nsw i32 %21, 1
  %23 = zext i32 %22 to i64
  %24 = add nsw i32 %9, 1
  %25 = zext i32 %24 to i64
  %26 = call ptr @llvm.stacksave.p0()
  %27 = mul nuw i64 %23, %25
  %28 = alloca i64, i64 %27, align 16
  %29 = load i32, ptr %3, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = mul nsw i64 %30, %25
  %32 = getelementptr inbounds i64, ptr %28, i64 %31
  %33 = sext i32 %9 to i64
  %34 = getelementptr inbounds i64, ptr %32, i64 %33
  %35 = getelementptr inbounds i8, ptr %34, i64 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #7
  store i32 0, ptr %4, align 4, !tbaa !5
  invoke void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef nonnull %28, ptr noundef nonnull %35, ptr noundef nonnull align 4 dereferenceable(4) %4)
          to label %36 unwind label %59

36:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  %37 = getelementptr inbounds i64, ptr %28, i64 %25
  %38 = getelementptr inbounds i8, ptr %37, i64 8
  store i64 1, ptr %38, align 8, !tbaa !9
  %39 = load i32, ptr %3, align 4, !tbaa !5
  %.not36 = icmp slt i32 %39, 2
  br i1 %.not36, label %.._crit_edge_crit_edge, label %.lr.ph38.preheader

.lr.ph38.preheader:                               ; preds = %36
  %40 = shl nuw nsw i64 %25, 4
  %41 = shl nuw nsw i64 %25, 3
  %42 = or disjoint i64 %40, 8
  %43 = shl nuw nsw i64 %25, 3
  %44 = getelementptr i8, ptr %28, i64 %40
  %45 = getelementptr i8, ptr %28, i64 %42
  %46 = getelementptr i8, ptr %28, i64 %43
  %47 = getelementptr i8, ptr %28, i64 %43
  %48 = getelementptr i8, ptr %47, i64 8
  br label %.lr.ph38

.._crit_edge_crit_edge:                           ; preds = %36
  %.pre = sext i32 %39 to i64
  br label %._crit_edge

.loopexit:                                        ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %77
  %49 = load i32, ptr %3, align 4, !tbaa !5
  %50 = sext i32 %49 to i64
  %.not.not = icmp slt i64 %indvars.iv43, %50
  %indvars.iv.next = add nuw i32 %indvars.iv, 1
  %indvar.next = add i64 %indvar, 1
  br i1 %.not.not, label %.lr.ph38, label %._crit_edge, !llvm.loop !11

._crit_edge:                                      ; preds = %.loopexit, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre, %.._crit_edge_crit_edge ], [ %50, %.loopexit ]
  %51 = mul nsw i64 %.pre-phi, %25
  %52 = getelementptr inbounds i64, ptr %28, i64 %51
  %53 = sdiv i32 %9, 2
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds i64, ptr %52, i64 %54
  %56 = load i64, ptr %55, align 8, !tbaa !9
  %57 = sdiv i64 %56, 2
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8) %2, i64 noundef %57)
          to label %125 unwind label %18

59:                                               ; preds = %20
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #7
  br label %129

.lr.ph38:                                         ; preds = %.lr.ph38.preheader, %.loopexit
  %indvar = phi i64 [ 0, %.lr.ph38.preheader ], [ %indvar.next, %.loopexit ]
  %indvars.iv43 = phi i64 [ 2, %.lr.ph38.preheader ], [ %indvars.iv.next44, %.loopexit ]
  %indvars.iv = phi i32 [ 3, %.lr.ph38.preheader ], [ %indvars.iv.next, %.loopexit ]
  %61 = trunc i64 %indvar to i32
  %62 = mul i64 %41, %indvar
  %scevgep = getelementptr i8, ptr %44, i64 %62
  %63 = sext i32 %indvars.iv to i64
  %64 = shl nsw i64 %63, 3
  %scevgep46 = getelementptr i8, ptr %scevgep, i64 %64
  %scevgep47 = getelementptr i8, ptr %45, i64 %62
  %65 = trunc i64 %indvar to i32
  %scevgep49 = getelementptr i8, ptr %46, i64 %62
  %reass.sub = sub i64 %63, %indvar
  %66 = shl i64 %reass.sub, 3
  %67 = add i64 %66, -16
  %scevgep50 = getelementptr i8, ptr %scevgep49, i64 %67
  %scevgep51 = getelementptr i8, ptr %48, i64 %62
  %68 = sext i32 %indvars.iv to i64
  %69 = add nsw i64 %indvars.iv43, -1
  %70 = mul nuw nsw i64 %69, %25
  %71 = getelementptr inbounds i64, ptr %28, i64 %70
  %72 = getelementptr inbounds i64, ptr %71, i64 %33
  %73 = getelementptr inbounds i8, ptr %72, i64 8
  %74 = mul nuw nsw i64 %indvars.iv43, %25
  %75 = getelementptr inbounds i64, ptr %28, i64 %74
  %76 = invoke noundef ptr @_ZSt4copyIPxS0_ET0_T_S2_S1_(ptr noundef nonnull %71, ptr noundef nonnull %73, ptr noundef nonnull %75)
          to label %77 unwind label %111

77:                                               ; preds = %.lr.ph38
  %78 = trunc nuw nsw i64 %indvars.iv43 to i32
  %79 = call noundef i32 @_Z7adduptoi(i32 noundef %78)
  %80 = getelementptr inbounds i64, ptr %75, i64 %indvars.iv43
  %81 = load i64, ptr %80, align 8, !tbaa !9
  %82 = add nsw i64 %81, 1
  store i64 %82, ptr %80, align 8, !tbaa !9
  %indvars.iv.next44 = add nuw nsw i64 %indvars.iv43, 1
  %83 = sext i32 %79 to i64
  %.not3034.not = icmp slt i64 %indvars.iv43, %83
  br i1 %.not3034.not, label %.lr.ph.preheader, label %.loopexit

.lr.ph.preheader:                                 ; preds = %77
  %84 = add i32 %79, 1
  %reass.sub56 = sub i32 %79, %61
  %85 = add i32 %reass.sub56, -3
  %86 = zext i32 %85 to i64
  %87 = add nuw nsw i64 %86, 1
  %min.iters.check = icmp ult i32 %85, 5
  br i1 %min.iters.check, label %.lr.ph.preheader58, label %vector.memcheck

.lr.ph.preheader58:                               ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %indvars.iv40.ph = phi i64 [ %68, %vector.memcheck ], [ %68, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  %88 = trunc i64 %indvars.iv40.ph to i32
  %89 = add i32 %79, %88
  %90 = and i32 %89, 1
  %lcmp.mod.not.not = icmp eq i32 %90, 0
  br i1 %lcmp.mod.not.not, label %.lr.ph.prol, label %.lr.ph.prol.loopexit

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader58
  %91 = sub nuw nsw i64 %indvars.iv40.ph, %indvars.iv43
  %92 = getelementptr inbounds i64, ptr %71, i64 %91
  %93 = load i64, ptr %92, align 8, !tbaa !9
  %94 = getelementptr inbounds i64, ptr %75, i64 %indvars.iv40.ph
  %95 = load i64, ptr %94, align 8, !tbaa !9
  %96 = add nsw i64 %95, %93
  store i64 %96, ptr %94, align 8, !tbaa !9
  %indvars.iv.next41.prol = add nsw i64 %indvars.iv40.ph, 1
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader58
  %indvars.iv40.unr = phi i64 [ %indvars.iv40.ph, %.lr.ph.preheader58 ], [ %indvars.iv.next41.prol, %.lr.ph.prol ]
  %97 = icmp eq i32 %79, %88
  br i1 %97, label %.loopexit, label %.lr.ph

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %reass.sub57 = sub i32 %79, %65
  %98 = add i32 %reass.sub57, -3
  %99 = zext i32 %98 to i64
  %100 = shl nuw nsw i64 %99, 3
  %101 = getelementptr i8, ptr %scevgep47, i64 %64
  %scevgep48 = getelementptr i8, ptr %101, i64 %100
  %102 = getelementptr i8, ptr %scevgep51, i64 %67
  %scevgep52 = getelementptr i8, ptr %102, i64 %100
  %bound0 = icmp ult ptr %scevgep46, %scevgep52
  %bound1 = icmp ult ptr %scevgep50, %scevgep48
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph.preheader58, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %87, 8589934588
  %ind.end = add nsw i64 %n.vec, %68
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = add i64 %index, %68
  %103 = sub nuw nsw i64 %offset.idx, %indvars.iv43
  %104 = getelementptr inbounds i64, ptr %71, i64 %103
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  %wide.load = load <2 x i64>, ptr %104, align 8, !tbaa !9, !alias.scope !13
  %wide.load53 = load <2 x i64>, ptr %105, align 8, !tbaa !9, !alias.scope !13
  %106 = getelementptr inbounds i64, ptr %75, i64 %offset.idx
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %wide.load54 = load <2 x i64>, ptr %106, align 8, !tbaa !9, !alias.scope !16, !noalias !13
  %wide.load55 = load <2 x i64>, ptr %107, align 8, !tbaa !9, !alias.scope !16, !noalias !13
  %108 = add nsw <2 x i64> %wide.load54, %wide.load
  %109 = add nsw <2 x i64> %wide.load55, %wide.load53
  store <2 x i64> %108, ptr %106, align 8, !tbaa !9, !alias.scope !16, !noalias !13
  store <2 x i64> %109, ptr %107, align 8, !tbaa !9, !alias.scope !16, !noalias !13
  %index.next = add nuw i64 %index, 4
  %110 = icmp eq i64 %index.next, %n.vec
  br i1 %110, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %87, %n.vec
  br i1 %cmp.n, label %.loopexit, label %.lr.ph.preheader58

111:                                              ; preds = %.lr.ph38
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %129

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv40 = phi i64 [ %indvars.iv.next41.1, %.lr.ph ], [ %indvars.iv40.unr, %.lr.ph.prol.loopexit ]
  %113 = sub nuw nsw i64 %indvars.iv40, %indvars.iv43
  %114 = getelementptr inbounds i64, ptr %71, i64 %113
  %115 = load i64, ptr %114, align 8, !tbaa !9
  %116 = getelementptr inbounds i64, ptr %75, i64 %indvars.iv40
  %117 = load i64, ptr %116, align 8, !tbaa !9
  %118 = add nsw i64 %117, %115
  store i64 %118, ptr %116, align 8, !tbaa !9
  %indvars.iv.next41 = add nsw i64 %indvars.iv40, 1
  %119 = sub nuw nsw i64 %indvars.iv.next41, %indvars.iv43
  %120 = getelementptr inbounds i64, ptr %71, i64 %119
  %121 = load i64, ptr %120, align 8, !tbaa !9
  %122 = getelementptr inbounds i64, ptr %75, i64 %indvars.iv.next41
  %123 = load i64, ptr %122, align 8, !tbaa !9
  %124 = add nsw i64 %123, %121
  store i64 %124, ptr %122, align 8, !tbaa !9
  %indvars.iv.next41.1 = add nsw i64 %indvars.iv40, 2
  %lftr.wideiv.1 = trunc i64 %indvars.iv.next41.1 to i32
  %exitcond.not.1 = icmp eq i32 %84, %lftr.wideiv.1
  br i1 %exitcond.not.1, label %.loopexit, label %.lr.ph, !llvm.loop !21

125:                                              ; preds = %._crit_edge
  %126 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %127 unwind label %18

127:                                              ; preds = %125
  call void @llvm.stackrestore.p0(ptr %26)
  br label %128

128:                                              ; preds = %14, %127
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %2) #7
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #7
  ret i32 0

129:                                              ; preds = %111, %59, %18
  %.pn = phi { ptr, i32 } [ %19, %18 ], [ %112, %111 ], [ %60, %59 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #7
  call void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248) %2) #7
  br label %130

130:                                              ; preds = %129, %16
  %.pn.pn = phi { ptr, i32 } [ %.pn, %129 ], [ %17, %16 ]
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %2) #7
  call void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256) %1) #7
  call void @llvm.lifetime.end.p0(i64 520, ptr nonnull %1) #7
  resume { ptr, i32 } %.pn.pn
}

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(256), ptr noundef, i32 noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode(ptr noundef nonnull align 8 dereferenceable(248), ptr noundef, i32 noundef) unnamed_addr #3 align 2

declare i32 @__gxx_personality_v0(...)

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4fillIPxiEvT_S1_RKT0_(ptr noundef, ptr noundef, ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_ZSt4copyIPxS0_ET0_T_S2_S1_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEx(ptr noundef nonnull align 8 dereferenceable(8), i64 noundef) local_unnamed_addr #3 align 2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #6

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ofstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(248)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(256)) unnamed_addr #0 align 2

attributes #0 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { "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 = { inlinehint 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 #6 = { mustprogress nocallback nofree nosync nounwind willreturn }
attributes #7 = { 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 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14}
!14 = distinct !{!14, !15}
!15 = distinct !{!15, !"LVerDomain"}
!16 = !{!17}
!17 = distinct !{!17, !15}
!18 = distinct !{!18, !12, !19, !20}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !12, !19}


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