; LLVM IR from microsoft/Multiverso :: Test/test_array_table.ll (ZN10multiverso4test9TestArrayEiPPc)

; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.multiverso::ArrayTableOption" = type { i64 }
%"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.std::allocator.0" = type { i8 }

@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [80 x i8], align 1

; 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 void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10multiverso4test9TestArrayEiPPc(i32 noundef %0, ptr noundef %1) #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::__cxx11::basic_string", align 8
  %6 = alloca %"class.std::allocator", align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i8, align 1
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  %12 = alloca %"struct.multiverso::ArrayTableOption", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::allocator.0", align 1
  %15 = alloca i32, align 4
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  store i32 %0, ptr %3, align 4, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !9
  call void (ptr, ...) @_ZN10multiverso3Log4InfoEPKcz(ptr noundef @.str.8)
  call void @llvm.lifetime.start.p0(i64 32, ptr %5) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %21 unwind label %36

21:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr %9) #7
  store i8 1, ptr %9, align 1, !tbaa !11
  invoke void @_ZN10multiverso10SetCMDFlagIbEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr noundef nonnull align 8 dereferenceable(32) %5, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %22 unwind label %40

22:                                               ; preds = %21
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #7
  %23 = load ptr, ptr %4, align 8, !tbaa !9
  call void @_ZN10multiverso7MV_InitEPiPPc(ptr noundef %3, ptr noundef %23)
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #7
  store i64 500, ptr %10, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  %24 = load i64, ptr %10, align 8, !tbaa !13
  call void @_ZN10multiverso16ArrayTableOptionIiEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %12, i64 noundef %24)
  %25 = call noundef ptr @_ZN10multiverso14MV_CreateTableINS_16ArrayTableOptionIiEEEEPNT_15WorkerTableTypeERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %12)
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  store ptr %25, ptr %11, align 8, !tbaa !9
  %26 = call noundef i32 @_ZN10multiverso7MV_RankEv()
  %27 = call noundef i32 @_ZN10multiverso11MV_WorkerIdEv()
  call void (ptr, ...) @_ZN10multiverso3Log4InfoEPKcz(ptr noundef @.str.10, i32 noundef %26, i32 noundef %27)
  call void @llvm.lifetime.start.p0(i64 24, ptr %13) #7
  %28 = load i64, ptr %10, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #7
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %28, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %29 unwind label %45

29:                                               ; preds = %22
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %54, %29
  %31 = load i32, ptr %15, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = load i64, ptr %10, align 8, !tbaa !13
  %34 = icmp ult i64 %32, %33
  br i1 %34, label %49, label %35

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

36:                                               ; preds = %2
  %37 = landingpad { ptr, i32 }
          cleanup
  %38 = extractvalue { ptr, i32 } %37, 0
  store ptr %38, ptr %7, align 8
  %39 = extractvalue { ptr, i32 } %37, 1
  store i32 %39, ptr %8, align 4
  br label %44

40:                                               ; preds = %21
  %41 = landingpad { ptr, i32 }
          cleanup
  %42 = extractvalue { ptr, i32 } %41, 0
  store ptr %42, ptr %7, align 8
  %43 = extractvalue { ptr, i32 } %41, 1
  store i32 %43, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %9) #7
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #7
  br label %44

44:                                               ; preds = %40, %36
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %5) #7
  br label %162

45:                                               ; preds = %22
  %46 = landingpad { ptr, i32 }
          cleanup
  %47 = extractvalue { ptr, i32 } %46, 0
  store ptr %47, ptr %7, align 8
  %48 = extractvalue { ptr, i32 } %46, 1
  store i32 %48, ptr %8, align 4
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #7
  br label %161

49:                                               ; preds = %30
  %50 = load i32, ptr %15, align 4, !tbaa !5
  %51 = load i32, ptr %15, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %52) #7
  store i32 %50, ptr %53, align 4, !tbaa !5
  br label %54

54:                                               ; preds = %49
  %55 = load i32, ptr %15, align 4, !tbaa !5
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %15, align 4, !tbaa !5
  br label %30, !llvm.loop !15

57:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #7
  %58 = load i64, ptr %10, align 8, !tbaa !13
  %59 = call { i64, i1 } @llvm.umul.with.overflow.i64(i64 %58, i64 4)
  %60 = extractvalue { i64, i1 } %59, 1
  %61 = extractvalue { i64, i1 } %59, 0
  %62 = select i1 %60, i64 -1, i64 %61
  %63 = invoke noalias noundef nonnull ptr @_Znam(i64 noundef %62) #8
          to label %64 unwind label %74

64:                                               ; preds = %57
  store ptr %63, ptr %16, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %65 = invoke noundef i32 @_ZN10multiverso7MV_RankEv()
          to label %66 unwind label %78

66:                                               ; preds = %64
  %67 = add nsw i32 %65, 10
  %68 = mul nsw i32 10, %67
  store i32 %68, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #7
  store i32 0, ptr %18, align 4, !tbaa !5
  br label %69

69:                                               ; preds = %149, %66
  %70 = load i32, ptr %18, align 4, !tbaa !5
  %71 = load i32, ptr %17, align 4, !tbaa !5
  %72 = icmp slt i32 %70, %71
  br i1 %72, label %82, label %73

73:                                               ; preds = %69
  store i32 5, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %153

74:                                               ; preds = %57
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  br label %160

78:                                               ; preds = %157, %64
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %7, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %8, align 4
  br label %159

82:                                               ; preds = %69
  %83 = load ptr, ptr %11, align 8, !tbaa !9
  %84 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %85 = load i64, ptr %10, align 8, !tbaa !13
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %83, ptr noundef %84, i64 noundef %85, ptr noundef null)
          to label %86 unwind label %116

86:                                               ; preds = %82
  %87 = load ptr, ptr %11, align 8, !tbaa !9
  %88 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %89 = load i64, ptr %10, align 8, !tbaa !13
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %87, ptr noundef %88, i64 noundef %89, ptr noundef null)
          to label %90 unwind label %116

90:                                               ; preds = %86
  %91 = load ptr, ptr %11, align 8, !tbaa !9
  %92 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  %93 = load i64, ptr %10, align 8, !tbaa !13
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %91, ptr noundef %92, i64 noundef %93, ptr noundef null)
          to label %94 unwind label %116

94:                                               ; preds = %90
  %95 = load ptr, ptr %11, align 8, !tbaa !9
  %96 = load ptr, ptr %16, align 8, !tbaa !9
  %97 = load i64, ptr %10, align 8, !tbaa !13
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %95, ptr noundef %96, i64 noundef %97)
          to label %98 unwind label %116

98:                                               ; preds = %94
  %99 = load ptr, ptr %11, align 8, !tbaa !9
  %100 = load ptr, ptr %16, align 8, !tbaa !9
  %101 = load i64, ptr %10, align 8, !tbaa !13
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %99, ptr noundef %100, i64 noundef %101)
          to label %102 unwind label %116

102:                                              ; preds = %98
  %103 = load ptr, ptr %11, align 8, !tbaa !9
  %104 = load ptr, ptr %16, align 8, !tbaa !9
  %105 = load i64, ptr %10, align 8, !tbaa !13
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %103, ptr noundef %104, i64 noundef %105)
          to label %106 unwind label %116

106:                                              ; preds = %102
  %107 = load i32, ptr %17, align 4, !tbaa !5
  %108 = icmp slt i32 %107, 100
  br i1 %108, label %109, label %148

109:                                              ; preds = %106
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %144, %109
  %111 = load i32, ptr %20, align 4, !tbaa !5
  %112 = sext i32 %111 to i64
  %113 = load i64, ptr %10, align 8, !tbaa !13
  %114 = icmp ult i64 %112, %113
  br i1 %114, label %120, label %115

115:                                              ; preds = %110
  store i32 8, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %147

116:                                              ; preds = %102, %98, %94, %90, %86, %82
  %117 = landingpad { ptr, i32 }
          cleanup
  %118 = extractvalue { ptr, i32 } %117, 0
  store ptr %118, ptr %7, align 8
  %119 = extractvalue { ptr, i32 } %117, 1
  store i32 %119, ptr %8, align 4
  br label %152

120:                                              ; preds = %110
  %121 = load ptr, ptr %16, align 8, !tbaa !9
  %122 = load i32, ptr %20, align 4, !tbaa !5
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds i32, ptr %121, i64 %123
  %125 = load i32, ptr %124, align 4, !tbaa !5
  %126 = load i32, ptr %20, align 4, !tbaa !5
  %127 = sext i32 %126 to i64
  %128 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %127) #7
  %129 = load i32, ptr %128, align 4, !tbaa !5
  %130 = load i32, ptr %18, align 4, !tbaa !5
  %131 = add nsw i32 %130, 1
  %132 = mul nsw i32 %129, %131
  %133 = invoke noundef i32 @_ZN10multiverso13MV_NumWorkersEv()
          to label %134 unwind label %139

134:                                              ; preds = %120
  %135 = mul nsw i32 %132, %133
  %136 = icmp ne i32 %125, %135
  br i1 %136, label %143, label %137

137:                                              ; preds = %134
  invoke void (ptr, ...) @_ZN10multiverso3Log5FatalEPKcz(ptr noundef @.str.11, ptr noundef @.str.12, i32 noundef 40)
          to label %138 unwind label %139

138:                                              ; preds = %137
  br label %143

139:                                              ; preds = %137, %120
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %7, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %152

143:                                              ; preds = %138, %134
  br label %144

144:                                              ; preds = %143
  %145 = load i32, ptr %20, align 4, !tbaa !5
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %20, align 4, !tbaa !5
  br label %110, !llvm.loop !17

147:                                              ; preds = %115
  br label %148

148:                                              ; preds = %147, %106
  br label %149

149:                                              ; preds = %148
  %150 = load i32, ptr %18, align 4, !tbaa !5
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %18, align 4, !tbaa !5
  br label %69, !llvm.loop !18

152:                                              ; preds = %139, %116
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #7
  br label %159

153:                                              ; preds = %73
  %154 = load ptr, ptr %16, align 8, !tbaa !9
  %155 = icmp eq ptr %154, null
  br i1 %155, label %157, label %156

156:                                              ; preds = %153
  call void @_ZdaPv(ptr noundef %154) #9
  br label %157

157:                                              ; preds = %156, %153
  invoke void @_ZN10multiverso11MV_ShutDownEb(i1 noundef zeroext true)
          to label %158 unwind label %78

158:                                              ; preds = %157
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  ret void

159:                                              ; preds = %152, %78
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #7
  br label %160

160:                                              ; preds = %159, %74
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #7
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #7
  br label %161

161:                                              ; preds = %160, %45
  call void @llvm.lifetime.end.p0(i64 24, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #7
  br label %162

162:                                              ; preds = %161, %44
  %163 = load ptr, ptr %7, align 8
  %164 = load i32, ptr %8, align 4
  %165 = insertvalue { ptr, i32 } poison, ptr %163, 0
  %166 = insertvalue { ptr, i32 } %165, i32 %164, 1
  resume { ptr, i32 } %166
}

declare void @_ZN10multiverso3Log4InfoEPKcz(ptr noundef, ...) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10multiverso10SetCMDFlagIbEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) #2

declare void @_ZN10multiverso7MV_InitEPiPPc(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN10multiverso14MV_CreateTableINS_16ArrayTableOptionIiEEEEPNT_15WorkerTableTypeERKS3_(ptr noundef nonnull align 8 dereferenceable(8)) #2

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

declare noundef i32 @_ZN10multiverso7MV_RankEv() #3

declare noundef i32 @_ZN10multiverso11MV_WorkerIdEv() #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare { i64, i1 } @llvm.umul.with.overflow.i64(i64, i64) #4

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) #5

declare void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef, i64 noundef, ptr noundef) #3

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

declare void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef, i64 noundef) #3

declare noundef i32 @_ZN10multiverso13MV_NumWorkersEv() #3

declare void @_ZN10multiverso3Log5FatalEPKcz(ptr noundef, ...) #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) #6

declare void @_ZN10multiverso11MV_ShutDownEb(i1 noundef zeroext) #3

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

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nobuiltin allocsize(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 = { nobuiltin 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 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { builtin 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 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


; 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::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::allocator" = type { i8 }
%"struct.multiverso::ArrayTableOption" = type { i64 }
%"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.std::allocator.0" = type { i8 }

@.str.8 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [45 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [80 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [80 x i8], align 1

; 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 void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN10multiverso4test9TestArrayEiPPc(i32 noundef %0, ptr noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca i32, align 4
  %4 = alloca %"class.std::__cxx11::basic_string", align 8
  %5 = alloca %"class.std::allocator", align 1
  %6 = alloca i8, align 1
  %7 = alloca %"struct.multiverso::ArrayTableOption", align 8
  %8 = alloca %"class.std::vector", align 8
  %9 = alloca %"class.std::allocator.0", align 1
  store i32 %0, ptr %3, align 4, !tbaa !5
  tail call void (ptr, ...) @_ZN10multiverso3Log4InfoEPKcz(ptr noundef nonnull @.str.8)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #6
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull @.str.9, ptr noundef nonnull align 1 dereferenceable(1) %5)
          to label %10 unwind label %18

10:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  store i8 1, ptr %6, align 1, !tbaa !9
  invoke void @_ZN10multiverso10SetCMDFlagIbEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr noundef nonnull align 8 dereferenceable(32) %4, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %11 unwind label %20

11:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  call void @_ZN10multiverso7MV_InitEPiPPc(ptr noundef nonnull %3, ptr noundef %1)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #6
  call void @_ZN10multiverso16ArrayTableOptionIiEC2Em(ptr noundef nonnull align 8 dereferenceable(8) %7, i64 noundef 500)
  %12 = call noundef ptr @_ZN10multiverso14MV_CreateTableINS_16ArrayTableOptionIiEEEEPNT_15WorkerTableTypeERKS3_(ptr noundef nonnull align 8 dereferenceable(8) %7)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #6
  %13 = call noundef i32 @_ZN10multiverso7MV_RankEv()
  %14 = call noundef i32 @_ZN10multiverso11MV_WorkerIdEv()
  call void (ptr, ...) @_ZN10multiverso3Log4InfoEPKcz(ptr noundef nonnull @.str.10, i32 noundef %13, i32 noundef %14)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %9) #6
  call void @_ZNSaIiEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  invoke void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef 500, ptr noundef nonnull align 1 dereferenceable(1) %9)
          to label %15 unwind label %23

15:                                               ; preds = %11
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  br label %25

16:                                               ; preds = %25
  %17 = invoke noalias noundef nonnull dereferenceable(2000) ptr @_Znam(i64 noundef 2000) #7
          to label %28 unwind label %57

18:                                               ; preds = %2
  %19 = landingpad { ptr, i32 }
          cleanup
  br label %22

20:                                               ; preds = %10
  %21 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %4) #6
  br label %22

22:                                               ; preds = %20, %18
  %.pn = phi { ptr, i32 } [ %21, %20 ], [ %19, %18 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %5) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #6
  br label %75

23:                                               ; preds = %11
  %24 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIiED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %9) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %9) #6
  br label %74

25:                                               ; preds = %15, %25
  %indvars.iv = phi i64 [ 0, %15 ], [ %indvars.iv.next, %25 ]
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv) #6
  %27 = trunc nuw nsw i64 %indvars.iv to i32
  store i32 %27, ptr %26, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 500
  br i1 %exitcond.not, label %16, label %25, !llvm.loop !11

28:                                               ; preds = %16
  %29 = invoke noundef i32 @_ZN10multiverso7MV_RankEv()
          to label %30 unwind label %59

30:                                               ; preds = %28
  %31 = mul i32 %29, 10
  %32 = add i32 %31, 100
  %33 = icmp sgt i32 %32, 0
  br i1 %33, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %30
  %34 = icmp ugt i32 %31, 2147483547
  br i1 %34, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %.loopexit.us
  %.03758.us = phi i32 [ %43, %.loopexit.us ], [ 0, %.lr.ph ]
  %35 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef %35, i64 noundef 500, ptr noundef null)
          to label %36 unwind label %.split.us

36:                                               ; preds = %.lr.ph.split.us
  %37 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef %37, i64 noundef 500, ptr noundef null)
          to label %38 unwind label %.split.us

38:                                               ; preds = %36
  %39 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef %39, i64 noundef 500, ptr noundef null)
          to label %40 unwind label %.split.us

40:                                               ; preds = %38
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef nonnull %17, i64 noundef 500)
          to label %41 unwind label %.split.us

41:                                               ; preds = %40
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef nonnull %17, i64 noundef 500)
          to label %42 unwind label %.split.us

42:                                               ; preds = %41
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef nonnull %17, i64 noundef 500)
          to label %.preheader.us unwind label %.split.us

.preheader.us:                                    ; preds = %42
  %43 = add nuw nsw i32 %.03758.us, 1
  br label %44

44:                                               ; preds = %.preheader.us, %54
  %indvars.iv65 = phi i64 [ 0, %.preheader.us ], [ %indvars.iv.next66, %54 ]
  %45 = getelementptr inbounds i32, ptr %17, i64 %indvars.iv65
  %46 = load i32, ptr %45, align 4, !tbaa !5
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIiSaIiEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %indvars.iv65) #6
  %48 = load i32, ptr %47, align 4, !tbaa !5
  %49 = invoke noundef i32 @_ZN10multiverso13MV_NumWorkersEv()
          to label %50 unwind label %.split60.us

50:                                               ; preds = %44
  %51 = mul nsw i32 %48, %43
  %52 = mul nsw i32 %51, %49
  %.not.us = icmp eq i32 %46, %52
  br i1 %.not.us, label %53, label %54

53:                                               ; preds = %50
  invoke void (ptr, ...) @_ZN10multiverso3Log5FatalEPKcz(ptr noundef nonnull @.str.11, ptr noundef nonnull @.str.12, i32 noundef 40)
          to label %54 unwind label %.split60.us

54:                                               ; preds = %53, %50
  %indvars.iv.next66 = add nuw nsw i64 %indvars.iv65, 1
  %exitcond68.not = icmp eq i64 %indvars.iv.next66, 500
  br i1 %exitcond68.not, label %.loopexit.us, label %44, !llvm.loop !13

.loopexit.us:                                     ; preds = %54
  %exitcond69.not = icmp eq i32 %43, %32
  br i1 %exitcond69.not, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !14

.split.us:                                        ; preds = %42, %41, %40, %38, %36, %.lr.ph.split.us
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %73

.split60.us:                                      ; preds = %53, %44
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %73

57:                                               ; preds = %16
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %73

59:                                               ; preds = %._crit_edge, %28
  %60 = landingpad { ptr, i32 }
          cleanup
  br label %73

.lr.ph.split:                                     ; preds = %.lr.ph, %69
  %.03758 = phi i32 [ %70, %69 ], [ 0, %.lr.ph ]
  %61 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef %61, i64 noundef 500, ptr noundef null)
          to label %62 unwind label %.split

62:                                               ; preds = %.lr.ph.split
  %63 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef %63, i64 noundef 500, ptr noundef null)
          to label %64 unwind label %.split

64:                                               ; preds = %62
  %65 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  invoke void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef %65, i64 noundef 500, ptr noundef null)
          to label %66 unwind label %.split

66:                                               ; preds = %64
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef nonnull %17, i64 noundef 500)
          to label %67 unwind label %.split

67:                                               ; preds = %66
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef nonnull %17, i64 noundef 500)
          to label %68 unwind label %.split

68:                                               ; preds = %67
  invoke void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136) %12, ptr noundef nonnull %17, i64 noundef 500)
          to label %69 unwind label %.split

69:                                               ; preds = %68
  %70 = add nuw nsw i32 %.03758, 1
  %exitcond64.not = icmp eq i32 %70, %32
  br i1 %exitcond64.not, label %._crit_edge, label %.lr.ph.split, !llvm.loop !14

.split:                                           ; preds = %68, %67, %66, %64, %62, %.lr.ph.split
  %71 = landingpad { ptr, i32 }
          cleanup
  br label %73

._crit_edge:                                      ; preds = %69, %.loopexit.us, %30
  call void @_ZdaPv(ptr noundef nonnull %17) #8
  invoke void @_ZN10multiverso11MV_ShutDownEb(i1 noundef zeroext true)
          to label %72 unwind label %59

72:                                               ; preds = %._crit_edge
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  ret void

73:                                               ; preds = %.split, %.split.us, %59, %.split60.us, %57
  %.pn50.pn.pn = phi { ptr, i32 } [ %58, %57 ], [ %60, %59 ], [ %56, %.split60.us ], [ %71, %.split ], [ %55, %.split.us ]
  call void @_ZNSt6vectorIiSaIiEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %8) #6
  br label %74

74:                                               ; preds = %73, %23
  %.pn50.pn.pn.pn = phi { ptr, i32 } [ %.pn50.pn.pn, %73 ], [ %24, %23 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #6
  br label %75

75:                                               ; preds = %74, %22
  %.pn50.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn50.pn.pn.pn, %74 ], [ %.pn, %22 ]
  resume { ptr, i32 } %.pn50.pn.pn.pn.pn
}

declare void @_ZN10multiverso3Log4InfoEPKcz(ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN10multiverso10SetCMDFlagIbEEvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

declare void @_ZN10multiverso7MV_InitEPiPPc(ptr noundef, ptr noundef) local_unnamed_addr #3

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

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

declare noundef i32 @_ZN10multiverso7MV_RankEv() local_unnamed_addr #3

declare noundef i32 @_ZN10multiverso11MV_WorkerIdEv() local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIiSaIiEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znam(i64 noundef) local_unnamed_addr #4

declare void @_ZN10multiverso11ArrayWorkerIiE3AddEPimPKNS_9AddOptionE(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef, i64 noundef, ptr noundef) local_unnamed_addr #3

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

declare void @_ZN10multiverso11ArrayWorkerIiE3GetEPim(ptr noundef nonnull align 8 dereferenceable(136), ptr noundef, i64 noundef) local_unnamed_addr #3

declare noundef i32 @_ZN10multiverso13MV_NumWorkersEv() local_unnamed_addr #3

declare void @_ZN10multiverso3Log5FatalEPKcz(ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: nobuiltin nounwind
declare void @_ZdaPv(ptr noundef) local_unnamed_addr #5

declare void @_ZN10multiverso11MV_ShutDownEb(i1 noundef zeroext) local_unnamed_addr #3

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

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

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

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


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