; LLVM IR from VastoLorde95/Competitive-Programming :: Hackerrank/Random/Truck Tour (A)

; 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_ostream" = type { ptr, %"class.std::basic_ios" }
%"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::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%struct.Queue = type { %"class.std::stack", %"class.std::stack" }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@n = external dso_local global i32, align 4
@p = external dso_local global [100100 x i64], align 16
@d = external dso_local global [100100 x i64], align 16
@a = external dso_local global [200200 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca %struct.Queue, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %11 = call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %12 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %13 = getelementptr i8, ptr %12, i64 -24
  %14 = load i64, ptr %13, align 8
  %15 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %14
  %16 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %15, ptr noundef null)
  %17 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %18 = getelementptr i8, ptr %17, i64 -24
  %19 = load i64, ptr %18, align 8
  %20 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %19
  %21 = call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %20, ptr noundef null)
  %22 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #7
  store i32 1, ptr %2, align 4, !tbaa !8
  br label %23

23:                                               ; preds = %49, %0
  %24 = load i32, ptr %2, align 4, !tbaa !8
  %25 = load i32, ptr @n, align 4, !tbaa !8
  %26 = icmp sle i32 %24, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %23
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #7
  br label %52

28:                                               ; preds = %23
  %29 = load i32, ptr %2, align 4, !tbaa !8
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [100100 x i64], ptr @p, i64 0, i64 %30
  %32 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = load i32, ptr %2, align 4, !tbaa !8
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %34
  %36 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(8) %35)
  %37 = load i32, ptr %2, align 4, !tbaa !8
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [100100 x i64], ptr @p, i64 0, i64 %38
  %40 = load i64, ptr %39, align 8, !tbaa !11
  %41 = load i32, ptr %2, align 4, !tbaa !8
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %42
  %44 = load i64, ptr %43, align 8, !tbaa !11
  %45 = sub nsw i64 %40, %44
  %46 = load i32, ptr %2, align 4, !tbaa !8
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %47
  store i64 %45, ptr %48, align 8, !tbaa !11
  br label %49

49:                                               ; preds = %28
  %50 = load i32, ptr %2, align 4, !tbaa !8
  %51 = add nsw i32 %50, 1
  store i32 %51, ptr %2, align 4, !tbaa !8
  br label %23, !llvm.loop !13

52:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #7
  store i32 1, ptr %3, align 4, !tbaa !8
  br label %53

53:                                               ; preds = %68, %52
  %54 = load i32, ptr %3, align 4, !tbaa !8
  %55 = load i32, ptr @n, align 4, !tbaa !8
  %56 = icmp sle i32 %54, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %53
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #7
  br label %71

58:                                               ; preds = %53
  %59 = load i32, ptr %3, align 4, !tbaa !8
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %60
  %62 = load i64, ptr %61, align 8, !tbaa !11
  %63 = load i32, ptr @n, align 4, !tbaa !8
  %64 = load i32, ptr %3, align 4, !tbaa !8
  %65 = add nsw i32 %63, %64
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %66
  store i64 %62, ptr %67, align 8, !tbaa !11
  br label %68

68:                                               ; preds = %58
  %69 = load i32, ptr %3, align 4, !tbaa !8
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %3, align 4, !tbaa !8
  br label %53, !llvm.loop !15

71:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #7
  store i32 1, ptr %4, align 4, !tbaa !8
  br label %72

72:                                               ; preds = %89, %71
  %73 = load i32, ptr %4, align 4, !tbaa !8
  %74 = load i32, ptr @n, align 4, !tbaa !8
  %75 = mul nsw i32 2, %74
  %76 = icmp sle i32 %73, %75
  br i1 %76, label %78, label %77

77:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #7
  br label %92

78:                                               ; preds = %72
  %79 = load i32, ptr %4, align 4, !tbaa !8
  %80 = sub nsw i32 %79, 1
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %81
  %83 = load i64, ptr %82, align 8, !tbaa !11
  %84 = load i32, ptr %4, align 4, !tbaa !8
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %85
  %87 = load i64, ptr %86, align 8, !tbaa !11
  %88 = add nsw i64 %87, %83
  store i64 %88, ptr %86, align 8, !tbaa !11
  br label %89

89:                                               ; preds = %78
  %90 = load i32, ptr %4, align 4, !tbaa !8
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %4, align 4, !tbaa !8
  br label %72, !llvm.loop !16

92:                                               ; preds = %77
  call void @llvm.lifetime.start.p0(i64 160, ptr %5) #7
  call void @_ZN5QueueC2Ev(ptr noundef nonnull align 8 dereferenceable(160) %5)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %93 = load i32, ptr @n, align 4, !tbaa !8
  %94 = mul nsw i32 2, %93
  store i32 %94, ptr %6, align 4, !tbaa !8
  br label %95

95:                                               ; preds = %106, %92
  %96 = load i32, ptr %6, align 4, !tbaa !8
  %97 = load i32, ptr @n, align 4, !tbaa !8
  %98 = icmp sgt i32 %96, %97
  br i1 %98, label %100, label %99

99:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %113

100:                                              ; preds = %95
  %101 = load i32, ptr %6, align 4, !tbaa !8
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %102
  %104 = load i64, ptr %103, align 8, !tbaa !11
  invoke void @_ZN5Queue4pushEx(ptr noundef nonnull align 8 dereferenceable(160) %5, i64 noundef %104)
          to label %105 unwind label %109

105:                                              ; preds = %100
  br label %106

106:                                              ; preds = %105
  %107 = load i32, ptr %6, align 4, !tbaa !8
  %108 = add nsw i32 %107, -1
  store i32 %108, ptr %6, align 4, !tbaa !8
  br label %95, !llvm.loop !17

109:                                              ; preds = %100
  %110 = landingpad { ptr, i32 }
          cleanup
  %111 = extractvalue { ptr, i32 } %110, 0
  store ptr %111, ptr %7, align 8
  %112 = extractvalue { ptr, i32 } %110, 1
  store i32 %112, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  br label %157

113:                                              ; preds = %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #7
  %114 = load i32, ptr @n, align 4, !tbaa !8
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %9, align 4, !tbaa !8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  %116 = load i32, ptr @n, align 4, !tbaa !8
  store i32 %116, ptr %10, align 4, !tbaa !8
  br label %117

117:                                              ; preds = %143, %113
  %118 = load i32, ptr %10, align 4, !tbaa !8
  %119 = icmp sgt i32 %118, 0
  br i1 %119, label %121, label %120

120:                                              ; preds = %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %146

121:                                              ; preds = %117
  %122 = load i32, ptr %10, align 4, !tbaa !8
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %123
  %125 = load i64, ptr %124, align 8, !tbaa !11
  invoke void @_ZN5Queue4pushEx(ptr noundef nonnull align 8 dereferenceable(160) %5, i64 noundef %125)
          to label %126 unwind label %138

126:                                              ; preds = %121
  invoke void @_ZN5Queue3popEv(ptr noundef nonnull align 8 dereferenceable(160) %5)
          to label %127 unwind label %138

127:                                              ; preds = %126
  %128 = invoke noundef i64 @_ZN5Queue6getminEv(ptr noundef nonnull align 8 dereferenceable(160) %5)
          to label %129 unwind label %138

129:                                              ; preds = %127
  %130 = load i32, ptr %10, align 4, !tbaa !8
  %131 = sub nsw i32 %130, 1
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %132
  %134 = load i64, ptr %133, align 8, !tbaa !11
  %135 = icmp sge i64 %128, %134
  br i1 %135, label %136, label %142

136:                                              ; preds = %129
  %137 = load i32, ptr %10, align 4, !tbaa !8
  store i32 %137, ptr %9, align 4, !tbaa !8
  br label %142

138:                                              ; preds = %127, %126, %121
  %139 = landingpad { ptr, i32 }
          cleanup
  %140 = extractvalue { ptr, i32 } %139, 0
  store ptr %140, ptr %7, align 8
  %141 = extractvalue { ptr, i32 } %139, 1
  store i32 %141, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  br label %156

142:                                              ; preds = %136, %129
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %10, align 4, !tbaa !8
  %145 = add nsw i32 %144, -1
  store i32 %145, ptr %10, align 4, !tbaa !8
  br label %117, !llvm.loop !18

146:                                              ; preds = %120
  %147 = load i32, ptr %9, align 4, !tbaa !8
  %148 = sub nsw i32 %147, 1
  %149 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %148)
          to label %150 unwind label %152

150:                                              ; preds = %146
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  call void @_ZN5QueueD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %5) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr %5) #7
  %151 = load i32, ptr %1, align 4
  ret i32 %151

152:                                              ; preds = %146
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %7, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %8, align 4
  br label %156

156:                                              ; preds = %152, %138
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #7
  br label %157

157:                                              ; preds = %156, %109
  call void @_ZN5QueueD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %5) #7
  call void @llvm.lifetime.end.p0(i64 160, ptr %5) #7
  br label %158

158:                                              ; preds = %157
  %159 = load ptr, ptr %7, align 8
  %160 = load i32, ptr %8, align 4
  %161 = insertvalue { ptr, i32 } poison, ptr %159, 0
  %162 = insertvalue { ptr, i32 } %161, i32 %160, 1
  resume { ptr, i32 } %162
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) #1

; Function Attrs: mustprogress nounwind uwtable
declare noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264), ptr noundef) #2 align 2

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(8)) #4 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5QueueC2Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Queue4pushEx(ptr noundef nonnull align 8 dereferenceable(160), i64 noundef) #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Queue3popEv(ptr noundef nonnull align 8 dereferenceable(160)) #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN5Queue6getminEv(ptr noundef nonnull align 8 dereferenceable(160)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5QueueD2Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #6 align 2

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { 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 #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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}


; 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_ostream" = type { ptr, %"class.std::basic_ios" }
%"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::locale" = type { ptr }
%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%struct.Queue = type { %"class.std::stack", %"class.std::stack" }
%"class.std::stack" = type { %"class.std::deque" }
%"class.std::deque" = type { %"class.std::_Deque_base" }
%"class.std::_Deque_base" = type { %"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl" }
%"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl" = type { %"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl_data" }
%"struct.std::_Deque_base<std::pair<long long, long long>, std::allocator<std::pair<long long, long long>>>::_Deque_impl_data" = type { ptr, i64, %"struct.std::_Deque_iterator", %"struct.std::_Deque_iterator" }
%"struct.std::_Deque_iterator" = type { ptr, ptr, ptr, ptr }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@n = external dso_local global i32, align 4
@p = external dso_local global [100100 x i64], align 16
@d = external dso_local global [100100 x i64], align 16
@a = external dso_local local_unnamed_addr global [200200 x i64], align 16
@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %1 = alloca %struct.Queue, align 8
  %2 = tail call noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext false)
  %3 = load ptr, ptr @_ZSt3cin, align 8, !tbaa !5
  %4 = getelementptr i8, ptr %3, i64 -24
  %5 = load i64, ptr %4, align 8
  %6 = getelementptr inbounds i8, ptr @_ZSt3cin, i64 %5
  %7 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %6, ptr noundef null)
  %8 = load ptr, ptr @_ZSt4cout, align 8, !tbaa !5
  %9 = getelementptr i8, ptr %8, i64 -24
  %10 = load i64, ptr %9, align 8
  %11 = getelementptr inbounds i8, ptr @_ZSt4cout, i64 %10
  %12 = tail call noundef ptr @_ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo(ptr noundef nonnull align 8 dereferenceable(264) %11, ptr noundef null)
  %13 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) @n)
  %14 = load i32, ptr @n, align 4, !tbaa !8
  %.not43 = icmp slt i32 %14, 1
  br i1 %.not43, label %._crit_edge, label %.lr.ph

.preheader39:                                     ; preds = %.lr.ph
  %.not3545 = icmp slt i32 %39, 1
  br i1 %.not3545, label %._crit_edge, label %.lr.ph47.preheader

.lr.ph47.preheader:                               ; preds = %.preheader39
  %15 = zext nneg i32 %39 to i64
  %16 = add nuw i32 %39, 1
  %wide.trip.count = zext i32 %16 to i64
  %17 = zext nneg i32 %39 to i64
  %min.iters.check = icmp ult i32 %39, 4
  br i1 %min.iters.check, label %.lr.ph47.preheader92, label %vector.ph

.lr.ph47.preheader92:                             ; preds = %middle.block, %.lr.ph47.preheader
  %indvars.iv65.ph = phi i64 [ 1, %.lr.ph47.preheader ], [ %ind.end, %middle.block ]
  %18 = sub nsw i64 %wide.trip.count, %indvars.iv65.ph
  %xtraiter = and i64 %18, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph47.prol.loopexit, label %.lr.ph47.prol

.lr.ph47.prol:                                    ; preds = %.lr.ph47.preheader92, %.lr.ph47.prol
  %indvars.iv65.prol = phi i64 [ %indvars.iv.next66.prol, %.lr.ph47.prol ], [ %indvars.iv65.ph, %.lr.ph47.preheader92 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph47.prol ], [ 0, %.lr.ph47.preheader92 ]
  %19 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv65.prol
  %20 = load i64, ptr %19, align 8, !tbaa !11
  %21 = add nuw nsw i64 %indvars.iv65.prol, %15
  %22 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %21
  store i64 %20, ptr %22, align 8, !tbaa !11
  %indvars.iv.next66.prol = add nuw nsw i64 %indvars.iv65.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph47.prol.loopexit, label %.lr.ph47.prol, !llvm.loop !13

.lr.ph47.prol.loopexit:                           ; preds = %.lr.ph47.prol, %.lr.ph47.preheader92
  %indvars.iv65.unr = phi i64 [ %indvars.iv65.ph, %.lr.ph47.preheader92 ], [ %indvars.iv.next66.prol, %.lr.ph47.prol ]
  %23 = sub nsw i64 %indvars.iv65.ph, %wide.trip.count
  %24 = icmp ugt i64 %23, -4
  br i1 %24, label %.preheader, label %.lr.ph47

vector.ph:                                        ; preds = %.lr.ph47.preheader
  %n.vec = and i64 %17, 2147483644
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = or disjoint i64 %index, 1
  %25 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %offset.idx
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %wide.load = load <2 x i64>, ptr %25, align 8, !tbaa !11
  %wide.load90 = load <2 x i64>, ptr %26, align 8, !tbaa !11
  %27 = add nuw nsw i64 %offset.idx, %15
  %28 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %27
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  store <2 x i64> %wide.load, ptr %28, align 8, !tbaa !11
  store <2 x i64> %wide.load90, ptr %29, align 8, !tbaa !11
  %index.next = add nuw i64 %index, 4
  %30 = icmp eq i64 %index.next, %n.vec
  br i1 %30, label %middle.block, label %vector.body, !llvm.loop !15

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %17
  br i1 %cmp.n, label %.preheader, label %.lr.ph47.preheader92

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %31 = getelementptr inbounds [100100 x i64], ptr @p, i64 0, i64 %indvars.iv
  %32 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 8 dereferenceable(8) %31)
  %33 = getelementptr inbounds [100100 x i64], ptr @d, i64 0, i64 %indvars.iv
  %34 = tail call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERx(ptr noundef nonnull align 8 dereferenceable(16) %32, ptr noundef nonnull align 8 dereferenceable(8) %33)
  %35 = load i64, ptr %31, align 8, !tbaa !11
  %36 = load i64, ptr %33, align 8, !tbaa !11
  %37 = sub nsw i64 %35, %36
  %38 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv
  store i64 %37, ptr %38, align 8, !tbaa !11
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %39 = load i32, ptr @n, align 4, !tbaa !8
  %40 = sext i32 %39 to i64
  %.not.not = icmp slt i64 %indvars.iv, %40
  br i1 %.not.not, label %.lr.ph, label %.preheader39, !llvm.loop !19

.preheader:                                       ; preds = %.lr.ph47.prol.loopexit, %.lr.ph47, %middle.block
  br i1 %.not3545, label %._crit_edge, label %.lr.ph50.preheader

.lr.ph50.preheader:                               ; preds = %.preheader
  %41 = shl nuw i32 %39, 1
  %smax = tail call i32 @llvm.smax.i32(i32 %41, i32 1)
  %.pre = load i64, ptr @a, align 16, !tbaa !11
  %42 = zext nneg i32 %smax to i64
  %xtraiter94 = and i64 %42, 3
  %43 = icmp slt i32 %41, 4
  br i1 %43, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph50.preheader.new

.lr.ph50.preheader.new:                           ; preds = %.lr.ph50.preheader
  %unroll_iter = and i64 %42, 2147483644
  br label %.lr.ph50

.lr.ph47:                                         ; preds = %.lr.ph47.prol.loopexit, %.lr.ph47
  %indvars.iv65 = phi i64 [ %indvars.iv.next66.3, %.lr.ph47 ], [ %indvars.iv65.unr, %.lr.ph47.prol.loopexit ]
  %44 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv65
  %45 = load i64, ptr %44, align 8, !tbaa !11
  %46 = add nuw nsw i64 %indvars.iv65, %15
  %47 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %46
  store i64 %45, ptr %47, align 8, !tbaa !11
  %indvars.iv.next66 = add nuw nsw i64 %indvars.iv65, 1
  %48 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv.next66
  %49 = load i64, ptr %48, align 8, !tbaa !11
  %50 = add nuw nsw i64 %indvars.iv.next66, %15
  %51 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %50
  store i64 %49, ptr %51, align 8, !tbaa !11
  %indvars.iv.next66.1 = add nuw nsw i64 %indvars.iv65, 2
  %52 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv.next66.1
  %53 = load i64, ptr %52, align 8, !tbaa !11
  %54 = add nuw nsw i64 %indvars.iv.next66.1, %15
  %55 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %54
  store i64 %53, ptr %55, align 8, !tbaa !11
  %indvars.iv.next66.2 = add nuw nsw i64 %indvars.iv65, 3
  %56 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv.next66.2
  %57 = load i64, ptr %56, align 8, !tbaa !11
  %58 = add nuw nsw i64 %indvars.iv.next66.2, %15
  %59 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %58
  store i64 %57, ptr %59, align 8, !tbaa !11
  %indvars.iv.next66.3 = add nuw nsw i64 %indvars.iv65, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next66.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.preheader, label %.lr.ph47, !llvm.loop !20

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph50, %.lr.ph50.preheader
  %.unr = phi i64 [ %.pre, %.lr.ph50.preheader ], [ %80, %.lr.ph50 ]
  %indvars.iv68.unr = phi i64 [ 1, %.lr.ph50.preheader ], [ %indvars.iv.next69.3, %.lr.ph50 ]
  %lcmp.mod95.not = icmp eq i64 %xtraiter94, 0
  br i1 %lcmp.mod95.not, label %._crit_edge, label %.lr.ph50.epil

.lr.ph50.epil:                                    ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph50.epil
  %60 = phi i64 [ %63, %.lr.ph50.epil ], [ %.unr, %._crit_edge.loopexit.unr-lcssa ]
  %indvars.iv68.epil = phi i64 [ %indvars.iv.next69.epil, %.lr.ph50.epil ], [ %indvars.iv68.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph50.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %61 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv68.epil
  %62 = load i64, ptr %61, align 8, !tbaa !11
  %63 = add nsw i64 %62, %60
  store i64 %63, ptr %61, align 8, !tbaa !11
  %indvars.iv.next69.epil = add nuw nsw i64 %indvars.iv68.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter94
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph50.epil, !llvm.loop !21

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph50.epil, %0, %.preheader39, %.preheader
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %1) #9
  call void @_ZN5QueueC2Ev(ptr noundef nonnull align 8 dereferenceable(160) %1)
  %64 = load i32, ptr @n, align 4, !tbaa !8
  %65 = shl nsw i32 %64, 1
  %66 = icmp sgt i32 %65, %64
  br i1 %66, label %.lr.ph53.preheader, label %._crit_edge54

.lr.ph53.preheader:                               ; preds = %._crit_edge
  %67 = sext i32 %65 to i64
  br label %.lr.ph53

.lr.ph50:                                         ; preds = %.lr.ph50, %.lr.ph50.preheader.new
  %68 = phi i64 [ %.pre, %.lr.ph50.preheader.new ], [ %80, %.lr.ph50 ]
  %indvars.iv68 = phi i64 [ 1, %.lr.ph50.preheader.new ], [ %indvars.iv.next69.3, %.lr.ph50 ]
  %niter = phi i64 [ 0, %.lr.ph50.preheader.new ], [ %niter.next.3, %.lr.ph50 ]
  %69 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv68
  %70 = load i64, ptr %69, align 8, !tbaa !11
  %71 = add nsw i64 %70, %68
  store i64 %71, ptr %69, align 8, !tbaa !11
  %indvars.iv.next69 = add nuw nsw i64 %indvars.iv68, 1
  %72 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv.next69
  %73 = load i64, ptr %72, align 8, !tbaa !11
  %74 = add nsw i64 %73, %71
  store i64 %74, ptr %72, align 8, !tbaa !11
  %indvars.iv.next69.1 = add nuw nsw i64 %indvars.iv68, 2
  %75 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv.next69.1
  %76 = load i64, ptr %75, align 8, !tbaa !11
  %77 = add nsw i64 %76, %74
  store i64 %77, ptr %75, align 8, !tbaa !11
  %indvars.iv.next69.2 = add nuw nsw i64 %indvars.iv68, 3
  %78 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv.next69.2
  %79 = load i64, ptr %78, align 8, !tbaa !11
  %80 = add nsw i64 %79, %77
  store i64 %80, ptr %78, align 8, !tbaa !11
  %indvars.iv.next69.3 = add nuw nsw i64 %indvars.iv68, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph50, !llvm.loop !22

._crit_edge54:                                    ; preds = %86, %._crit_edge
  %.lcssa = phi i32 [ %64, %._crit_edge ], [ %87, %86 ]
  %81 = icmp sgt i32 %.lcssa, 0
  br i1 %81, label %.lr.ph59.preheader, label %._crit_edge60

.lr.ph59.preheader:                               ; preds = %._crit_edge54
  %82 = add nuw nsw i32 %.lcssa, 1
  %83 = zext nneg i32 %.lcssa to i64
  %.phi.trans.insert = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %83
  %.pre79 = load i64, ptr %.phi.trans.insert, align 8, !tbaa !11
  br label %.lr.ph59

.lr.ph53:                                         ; preds = %.lr.ph53.preheader, %86
  %indvars.iv73 = phi i64 [ %67, %.lr.ph53.preheader ], [ %indvars.iv.next74, %86 ]
  %84 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv73
  %85 = load i64, ptr %84, align 8, !tbaa !11
  invoke void @_ZN5Queue4pushEx(ptr noundef nonnull align 8 dereferenceable(160) %1, i64 noundef %85)
          to label %86 unwind label %90

86:                                               ; preds = %.lr.ph53
  %indvars.iv.next74 = add nsw i64 %indvars.iv73, -1
  %87 = load i32, ptr @n, align 4, !tbaa !8
  %88 = sext i32 %87 to i64
  %89 = icmp sgt i64 %indvars.iv.next74, %88
  br i1 %89, label %.lr.ph53, label %._crit_edge54, !llvm.loop !23

90:                                               ; preds = %.lr.ph53
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %104

._crit_edge60.loopexit:                           ; preds = %96
  %92 = add nsw i32 %spec.select, -1
  br label %._crit_edge60

._crit_edge60:                                    ; preds = %._crit_edge60.loopexit, %._crit_edge54
  %.026.lcssa = phi i32 [ %.lcssa, %._crit_edge54 ], [ %92, %._crit_edge60.loopexit ]
  %93 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %.026.lcssa)
  call void @_ZN5QueueD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %1) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %1) #9
  ret i32 0

.lr.ph59:                                         ; preds = %.lr.ph59.preheader, %96
  %94 = phi i64 [ %.pre79, %.lr.ph59.preheader ], [ %99, %96 ]
  %indvars.iv76 = phi i64 [ %83, %.lr.ph59.preheader ], [ %indvars.iv.next77, %96 ]
  %.02656 = phi i32 [ %82, %.lr.ph59.preheader ], [ %spec.select, %96 ]
  invoke void @_ZN5Queue4pushEx(ptr noundef nonnull align 8 dereferenceable(160) %1, i64 noundef %94)
          to label %95 unwind label %102

95:                                               ; preds = %.lr.ph59
  invoke void @_ZN5Queue3popEv(ptr noundef nonnull align 8 dereferenceable(160) %1)
          to label %96 unwind label %102

96:                                               ; preds = %95
  %97 = call noundef i64 @_ZN5Queue6getminEv(ptr noundef nonnull align 8 dereferenceable(160) %1)
  %indvars.iv.next77 = add nsw i64 %indvars.iv76, -1
  %98 = getelementptr inbounds [200200 x i64], ptr @a, i64 0, i64 %indvars.iv.next77
  %99 = load i64, ptr %98, align 8, !tbaa !11
  %.not37 = icmp slt i64 %97, %99
  %100 = trunc nuw nsw i64 %indvars.iv76 to i32
  %spec.select = select i1 %.not37, i32 %.02656, i32 %100
  %101 = icmp sgt i64 %indvars.iv76, 1
  br i1 %101, label %.lr.ph59, label %._crit_edge60.loopexit, !llvm.loop !24

102:                                              ; preds = %95, %.lr.ph59
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %104

104:                                              ; preds = %102, %90
  %.pn = phi { ptr, i32 } [ %91, %90 ], [ %103, %102 ]
  call void @_ZN5QueueD2Ev(ptr noundef nonnull align 8 dereferenceable(160) %1) #9
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %1) #9
  resume { ptr, i32 } %.pn
}

declare noundef zeroext i1 @_ZNSt8ios_base15sync_with_stdioEb(i1 noundef zeroext) local_unnamed_addr #1

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

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 #1

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN5QueueC2Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Queue4pushEx(ptr noundef nonnull align 8 dereferenceable(160), i64 noundef) local_unnamed_addr #4 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN5Queue3popEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN5Queue6getminEv(ptr noundef nonnull align 8 dereferenceable(160)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN5QueueD2Ev(ptr noundef nonnull align 8 dereferenceable(160)) unnamed_addr #7 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #8

attributes #0 = { 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 #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #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 = { 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 #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long long", !10, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.unroll.disable"}
!15 = distinct !{!15, !16, !17, !18}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!"llvm.loop.isvectorized", i32 1}
!18 = !{!"llvm.loop.unroll.runtime.disable"}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16, !17}
!21 = distinct !{!21, !14}
!22 = distinct !{!22, !16}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !16}


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