; LLVM IR from intel/qpl :: tools/utils/common (source_provider)

; 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::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.8" = type { i8 }
%"class.qpl::test::random" = type { %"class.qpl::test::random_base" }
%"class.qpl::test::random_base" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.13" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%class.anon = type { ptr }
%"class.__gnu_cxx::__normal_iterator.17" = type { ptr }
%"class.qpl::test::source_provider" = type { i32, i32, i32, i32, i32, i32 }

@_ZTISt9exception = external constant ptr
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8

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

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 uwtable
define dso_local void @_ZN3qpl4test15source_provider20generate_prle_streamEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.6") align 8 %0, ptr noundef nonnull align 4 dereferenceable(24) %1) #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i1, align 1
  %8 = alloca %"class.std::allocator.8", align 1
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i64, align 8
  %12 = alloca %"class.qpl::test::random", align 8
  %13 = alloca %"class.qpl::test::random", align 8
  %14 = alloca %"class.std::vector.11", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.std::allocator.13", align 1
  %17 = alloca i8, align 1
  %18 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %19 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca %class.anon, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %28 = alloca ptr, align 8
  %29 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %30 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %31 = alloca i8, align 1
  %32 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %33 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %34 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %35 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %36 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %37 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %3, align 8
  store ptr %1, ptr %4, align 8, !tbaa !5
  %38 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  store i32 100, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %39 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %38, i32 0, i32 1
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %38, i32 0, i32 3
  %42 = load i32, ptr %41, align 4, !tbaa !14
  %43 = udiv i32 %42, 8
  %44 = add i32 %43, 1
  %45 = mul i32 %40, %44
  store i32 %45, ptr %6, align 4, !tbaa !9
  %46 = load i32, ptr %6, align 4, !tbaa !9
  %47 = icmp ult i32 %46, 100
  br i1 %47, label %48, label %49

48:                                               ; preds = %2
  br label %51

49:                                               ; preds = %2
  %50 = load i32, ptr %6, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %49, %48
  %52 = phi i32 [ 100, %48 ], [ %50, %49 ]
  store i32 %52, ptr %6, align 4, !tbaa !9
  store i1 false, ptr %7, align 1
  %53 = load i32, ptr %6, align 4, !tbaa !9
  %54 = mul i32 %53, 3
  %55 = zext i32 %54 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #7
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %55, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %56 unwind label %118

56:                                               ; preds = %51
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  %57 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %38, i32 0, i32 3
  %58 = load i32, ptr %57, align 4, !tbaa !14
  %59 = zext i32 %58 to i64
  %60 = shl i64 1, %59
  %61 = sub i64 %60, 1
  store i64 %61, ptr %11, align 8, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 72, ptr %12) #7
  %62 = load i64, ptr %11, align 8, !tbaa !15
  %63 = uitofp i64 %62 to double
  %64 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %38, i32 0, i32 0
  %65 = load i32, ptr %64, align 4, !tbaa !17
  invoke void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %12, double noundef 0.000000e+00, double noundef %63, i32 noundef %65)
          to label %66 unwind label %122

66:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 72, ptr %13) #7
  %67 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %38, i32 0, i32 1
  %68 = load i32, ptr %67, align 4, !tbaa !11
  %69 = uitofp i32 %68 to double
  %70 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %38, i32 0, i32 0
  %71 = load i32, ptr %70, align 4, !tbaa !17
  invoke void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef 1.000000e+00, double noundef %69, i32 noundef %71)
          to label %72 unwind label %126

72:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #7
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %16) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 8, ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %73 unwind label %130

73:                                               ; preds = %72
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  %74 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %38, i32 0, i32 3
  %75 = load i32, ptr %74, align 4, !tbaa !14
  %76 = trunc i32 %75 to i8
  store i8 %76, ptr %17, align 1, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #7
  %77 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %78 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %18, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  %79 = load i8, ptr %17, align 1, !tbaa !18
  %80 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  store i8 %79, ptr %80, align 1, !tbaa !18
  %81 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef 0) #7
  %82 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %19, i32 0, i32 0
  store ptr %81, ptr %82, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  %83 = getelementptr inbounds %"class.qpl::test::source_provider", ptr %38, i32 0, i32 1
  %84 = load i32, ptr %83, align 4, !tbaa !11
  store i32 %84, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #7
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #7
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %230, %73
  %86 = load i32, ptr %20, align 4, !tbaa !9
  %87 = icmp ugt i32 %86, 0
  br i1 %87, label %88, label %231

88:                                               ; preds = %85
  %89 = load i32, ptr %20, align 4, !tbaa !9
  %90 = icmp uge i32 %89, 8
  br i1 %90, label %91, label %216

91:                                               ; preds = %88
  %92 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %12)
          to label %93 unwind label %134

93:                                               ; preds = %91
  %94 = urem i32 %92, 2
  %95 = icmp eq i32 0, %94
  br i1 %95, label %96, label %216

96:                                               ; preds = %93
  %97 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %13)
          to label %98 unwind label %134

98:                                               ; preds = %96
  %99 = load i32, ptr %20, align 4, !tbaa !9
  %100 = udiv i32 %99, 8
  %101 = urem i32 %97, %100
  store i32 %101, ptr %21, align 4, !tbaa !9
  %102 = load i32, ptr %21, align 4, !tbaa !9
  %103 = udiv i32 %102, 2
  %104 = add i32 %103, 1
  store i32 %104, ptr %21, align 4, !tbaa !9
  %105 = load i32, ptr %21, align 4, !tbaa !9
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef %105, i8 noundef zeroext 0)
  %106 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %107 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  %108 = getelementptr inbounds i32, ptr %107, i64 8
  %109 = getelementptr inbounds %class.anon, ptr %23, i32 0, i32 0
  store ptr %12, ptr %109, align 8, !tbaa !5
  %110 = getelementptr inbounds %class.anon, ptr %23, i32 0, i32 0
  %111 = load ptr, ptr %110, align 8
  invoke void @"_ZSt8generateIPjZN3qpl4test15source_provider20generate_prle_streamEvE3$_0EvT_S5_T0_"(ptr noundef %106, ptr noundef %108, ptr %111)
          to label %112 unwind label %134

112:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %113

113:                                              ; preds = %199, %112
  %114 = load i32, ptr %24, align 4, !tbaa !9
  %115 = load i32, ptr %21, align 4, !tbaa !9
  %116 = icmp ult i32 %114, %115
  br i1 %116, label %138, label %117

117:                                              ; preds = %113
  store i32 4, ptr %25, align 4
  br label %214

118:                                              ; preds = %51
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %9, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #7
  br label %252

122:                                              ; preds = %56
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %9, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %10, align 4
  br label %249

126:                                              ; preds = %66
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %9, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %10, align 4
  br label %248

130:                                              ; preds = %72
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %9, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %10, align 4
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #7
  br label %247

134:                                              ; preds = %218, %216, %98, %96, %91
  %135 = landingpad { ptr, i32 }
          cleanup
  %136 = extractvalue { ptr, i32 } %135, 0
  store ptr %136, ptr %9, align 8
  %137 = extractvalue { ptr, i32 } %135, 1
  store i32 %137, ptr %10, align 4
  br label %246

138:                                              ; preds = %113
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store i32 0, ptr %26, align 4, !tbaa !9
  %139 = load i32, ptr %26, align 4, !tbaa !9
  %140 = add i32 %139, 1
  store i32 %140, ptr %26, align 4, !tbaa !9
  %141 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %142 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  store ptr %141, ptr %142, align 8
  %143 = load i32, ptr %21, align 4, !tbaa !9
  %144 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %27, i32 0, i32 0
  %145 = load ptr, ptr %144, align 8
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr %145, i32 noundef %143, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %146 unwind label %147

146:                                              ; preds = %138
  br label %193

147:                                              ; preds = %138
  %148 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %9, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %10, align 4
  br label %151

151:                                              ; preds = %147
  %152 = load i32, ptr %10, align 4
  %153 = call i32 @llvm.eh.typeid.for.p0(ptr @_ZTISt9exception) #7
  %154 = icmp eq i32 %152, %153
  br i1 %154, label %155, label %213

155:                                              ; preds = %151
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #7
  %156 = load ptr, ptr %9, align 8
  %157 = call ptr @__cxa_begin_catch(ptr %156) #7
  store ptr %157, ptr %28, align 8
  %158 = load i32, ptr %26, align 4, !tbaa !9
  %159 = icmp ugt i32 %158, 3
  br i1 %159, label %160, label %174

160:                                              ; preds = %155
  %161 = load ptr, ptr %28, align 8, !tbaa !5
  %162 = load ptr, ptr %161, align 8, !tbaa !19
  %163 = getelementptr inbounds ptr, ptr %162, i64 2
  %164 = load ptr, ptr %163, align 8
  %165 = call noundef ptr %164(ptr noundef nonnull align 8 dereferenceable(8) %161) #7
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef %165)
          to label %167 unwind label %170

167:                                              ; preds = %160
  %168 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8) %166, i8 noundef signext 10)
          to label %169 unwind label %170

169:                                              ; preds = %167
  store i32 4, ptr %25, align 4
  br label %189

170:                                              ; preds = %181, %167, %160
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %9, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %10, align 4
  br label %210

174:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #7
  %175 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %176 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %30, i32 0, i32 0
  store ptr %175, ptr %176, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %30) #7
  %177 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr %31) #7
  store i8 0, ptr %31, align 1, !tbaa !18
  %178 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %29, i32 0, i32 0
  %179 = load ptr, ptr %178, align 8
  %180 = invoke ptr @_ZNSt6vectorIhSaIhEE6insertEN9__gnu_cxx17__normal_iteratorIPKhS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %179, i64 noundef %177, ptr noundef nonnull align 1 dereferenceable(1) %31)
          to label %181 unwind label %202

181:                                              ; preds = %174
  %182 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %32, i32 0, i32 0
  store ptr %180, ptr %182, align 8
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  %183 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %184 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  store ptr %183, ptr %184, align 8
  %185 = load i32, ptr %21, align 4, !tbaa !9
  %186 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %33, i32 0, i32 0
  %187 = load ptr, ptr %186, align 8
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(8) %18, ptr %187, i32 noundef %185, ptr noundef nonnull align 8 dereferenceable(24) %14)
          to label %188 unwind label %170

188:                                              ; preds = %181
  store i32 0, ptr %25, align 4
  br label %189

189:                                              ; preds = %188, %169
  invoke void @__cxa_end_catch()
          to label %190 unwind label %206

190:                                              ; preds = %189
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  %191 = load i32, ptr %25, align 4
  switch i32 %191, label %196 [
    i32 0, label %192
  ]

192:                                              ; preds = %190
  br label %193

193:                                              ; preds = %192, %146
  %194 = load i32, ptr %20, align 4, !tbaa !9
  %195 = sub i32 %194, 8
  store i32 %195, ptr %20, align 4, !tbaa !9
  store i32 0, ptr %25, align 4
  br label %196

196:                                              ; preds = %193, %190
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  %197 = load i32, ptr %25, align 4
  switch i32 %197, label %214 [
    i32 0, label %198
  ]

198:                                              ; preds = %196
  br label %199

199:                                              ; preds = %198
  %200 = load i32, ptr %24, align 4, !tbaa !9
  %201 = add i32 %200, 1
  store i32 %201, ptr %24, align 4, !tbaa !9
  br label %113, !llvm.loop !21

202:                                              ; preds = %174
  %203 = landingpad { ptr, i32 }
          cleanup
  %204 = extractvalue { ptr, i32 } %203, 0
  store ptr %204, ptr %9, align 8
  %205 = extractvalue { ptr, i32 } %203, 1
  store i32 %205, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %31) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #7
  br label %210

206:                                              ; preds = %189
  %207 = landingpad { ptr, i32 }
          cleanup
  %208 = extractvalue { ptr, i32 } %207, 0
  store ptr %208, ptr %9, align 8
  %209 = extractvalue { ptr, i32 } %207, 1
  store i32 %209, ptr %10, align 4
  br label %212

210:                                              ; preds = %202, %170
  invoke void @__cxa_end_catch()
          to label %211 unwind label %258

211:                                              ; preds = %210
  br label %212

212:                                              ; preds = %211, %206
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #7
  br label %213

213:                                              ; preds = %212, %151
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %246

214:                                              ; preds = %196, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  br label %215

215:                                              ; preds = %214
  br label %230

216:                                              ; preds = %93, %88
  %217 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %13)
          to label %218 unwind label %134

218:                                              ; preds = %216
  %219 = load i32, ptr %20, align 4, !tbaa !9
  %220 = urem i32 %217, %219
  %221 = add i32 %220, 1
  store i32 %221, ptr %21, align 4, !tbaa !9
  %222 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %12)
          to label %223 unwind label %134

223:                                              ; preds = %218
  store i32 %222, ptr %22, align 4, !tbaa !9
  %224 = load i32, ptr %21, align 4, !tbaa !9
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef %224, i8 noundef zeroext 1)
  %225 = load i32, ptr %21, align 4, !tbaa !9
  %226 = load i32, ptr %22, align 4, !tbaa !9
  call void @_ZNK3qpl4test15source_provider9store_rleERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjj(ptr noundef nonnull align 4 dereferenceable(24) %38, ptr noundef nonnull align 8 dereferenceable(8) %18, i32 noundef %225, i32 noundef %226)
  %227 = load i32, ptr %21, align 4, !tbaa !9
  %228 = load i32, ptr %20, align 4, !tbaa !9
  %229 = sub i32 %228, %227
  store i32 %229, ptr %20, align 4, !tbaa !9
  br label %230

230:                                              ; preds = %223, %215
  br label %85, !llvm.loop !23

231:                                              ; preds = %85
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull align 8 dereferenceable(8) %18) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %232 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  %233 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %36, i32 0, i32 0
  store ptr %232, ptr %233, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  %234 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %34, i32 0, i32 0
  %235 = load ptr, ptr %234, align 8
  %236 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.17", ptr %35, i32 0, i32 0
  %237 = load ptr, ptr %236, align 8
  %238 = invoke ptr @_ZNSt6vectorIhSaIhEE5eraseEN9__gnu_cxx17__normal_iteratorIPKhS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %235, ptr %237)
          to label %239 unwind label %242

239:                                              ; preds = %231
  %240 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %37, i32 0, i32 0
  store ptr %238, ptr %240, align 8
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  store i1 true, ptr %7, align 1
  store i32 1, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  %241 = load i1, ptr %7, align 1
  br i1 %241, label %251, label %250

242:                                              ; preds = %231
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %9, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %10, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %246

246:                                              ; preds = %242, %213, %134
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %247

247:                                              ; preds = %246, %130
  call void @llvm.lifetime.end.p0(i64 24, ptr %14) #7
  br label %248

248:                                              ; preds = %247, %126
  call void @llvm.lifetime.end.p0(i64 72, ptr %13) #7
  br label %249

249:                                              ; preds = %248, %122
  call void @llvm.lifetime.end.p0(i64 72, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %252

250:                                              ; preds = %239
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %251

251:                                              ; preds = %250, %239
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  ret void

252:                                              ; preds = %249, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  br label %253

253:                                              ; preds = %252
  %254 = load ptr, ptr %9, align 8
  %255 = load i32, ptr %10, align 4
  %256 = insertvalue { ptr, i32 } poison, ptr %254, 0
  %257 = insertvalue { ptr, i32 } %256, i32 %255, 1
  resume { ptr, i32 } %257

258:                                              ; preds = %210
  %259 = landingpad { ptr, i32 }
          catch ptr null
  %260 = extractvalue { ptr, i32 } %259, 0
  call void @__clang_call_terminate(ptr %260) #8
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i8 noundef zeroext) #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72), double noundef, double noundef, i32 noundef) unnamed_addr #1 align 2

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

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

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

declare noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72)) #3

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt8generateIPjZN3qpl4test15source_provider20generate_prle_streamEvE3$_0EvT_S5_T0_"(ptr noundef, ptr noundef, ptr) #1

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

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

; Function Attrs: nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

declare ptr @__cxa_begin_catch(ptr)

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_c(ptr noundef nonnull align 8 dereferenceable(8), i8 noundef signext) #5

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

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

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

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

declare void @__cxa_end_catch()

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #6

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

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

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

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

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


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

%"class.std::vector.6" = type { %"struct.std::_Vector_base.7" }
%"struct.std::_Vector_base.7" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.8" = type { i8 }
%"class.qpl::test::random" = type { %"class.qpl::test::random_base" }
%"class.qpl::test::random_base" = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, double, double, double, double }
%"class.std::vector.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.13" = type { i8 }
%"class.__gnu_cxx::__normal_iterator" = type { ptr }
%"class.__gnu_cxx::__normal_iterator.17" = type { ptr }

@_ZTISt9exception = external constant ptr

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

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 uwtable
define dso_local void @_ZN3qpl4test15source_provider20generate_prle_streamEv(ptr dead_on_unwind noalias writable sret(%"class.std::vector.6") align 8 %0, ptr noundef nonnull align 4 dereferenceable(24) %1) local_unnamed_addr #1 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::allocator.8", align 1
  %4 = alloca %"class.qpl::test::random", align 8
  %5 = alloca %"class.qpl::test::random", align 8
  %6 = alloca %"class.std::vector.11", align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::allocator.13", align 1
  %9 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %10 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %11 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %12 = alloca i8, align 1
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.17", align 8
  %15 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %16 = getelementptr inbounds i8, ptr %1, i64 4
  %17 = load i32, ptr %16, align 4, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %1, i64 12
  %19 = load i32, ptr %18, align 4, !tbaa !11
  %20 = lshr i32 %19, 3
  %21 = add nuw nsw i32 %20, 1
  %22 = mul i32 %21, %17
  %23 = tail call i32 @llvm.umax.i32(i32 %22, i32 100)
  %24 = mul i32 %23, 3
  %25 = zext i32 %24 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #7
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %25, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %26 unwind label %60

26:                                               ; preds = %2
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  %27 = load i32, ptr %18, align 4, !tbaa !11
  %28 = zext nneg i32 %27 to i64
  %notmask = shl nsw i64 -1, %28
  %29 = xor i64 %notmask, -1
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #7
  %30 = uitofp nneg i64 %29 to double
  %31 = load i32, ptr %1, align 4, !tbaa !12
  invoke void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %4, double noundef 0.000000e+00, double noundef %30, i32 noundef %31)
          to label %32 unwind label %64

32:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #7
  %33 = load i32, ptr %16, align 4, !tbaa !5
  %34 = uitofp i32 %33 to double
  %35 = load i32, ptr %1, align 4, !tbaa !12
  invoke void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %5, double noundef 1.000000e+00, double noundef %34, i32 noundef %35)
          to label %36 unwind label %68

36:                                               ; preds = %32
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #7
  store i32 0, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %8) #7
  call void @_ZNSaIjEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  invoke void @_ZNSt6vectorIjSaIjEEC2EmRKjRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef 8, ptr noundef nonnull align 4 dereferenceable(4) %7, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %37 unwind label %72

37:                                               ; preds = %36
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  %38 = load i32, ptr %18, align 4, !tbaa !11
  %39 = trunc i32 %38 to i8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #7
  %40 = call ptr @_ZNSt6vectorIhSaIhEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store ptr %40, ptr %9, align 8
  %41 = call noundef nonnull align 1 dereferenceable(1) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  store i8 %39, ptr %41, align 1, !tbaa !14
  %42 = call ptr @_ZN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEppEi(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef 0) #7
  %43 = load i32, ptr %16, align 4, !tbaa !5
  %.not74 = icmp eq i32 %43, 0
  br i1 %.not74, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %37, %.loopexit
  %.04675 = phi i32 [ %.450, %.loopexit ], [ %43, %37 ]
  %44 = icmp ugt i32 %.04675, 7
  br i1 %44, label %45, label %107

45:                                               ; preds = %.lr.ph
  %46 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %47 unwind label %76

47:                                               ; preds = %45
  %48 = and i32 %46, 1
  %49 = icmp eq i32 %48, 0
  br i1 %49, label %50, label %107

50:                                               ; preds = %47
  %51 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %5)
          to label %52 unwind label %76

52:                                               ; preds = %50
  %53 = lshr i32 %.04675, 3
  %54 = urem i32 %51, %53
  %55 = lshr i32 %54, 1
  %56 = add nuw nsw i32 %55, 1
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %56, i8 noundef zeroext 0)
  %57 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %58 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  %59 = getelementptr inbounds i8, ptr %58, i64 32
  invoke void @"_ZSt8generateIPjZN3qpl4test15source_provider20generate_prle_streamEvE3$_0EvT_S5_T0_"(ptr noundef %57, ptr noundef nonnull %59, ptr nonnull %4)
          to label %.preheader unwind label %76

60:                                               ; preds = %2
  %61 = landingpad { ptr, i32 }
          cleanup
  %62 = extractvalue { ptr, i32 } %61, 0
  %63 = extractvalue { ptr, i32 } %61, 1
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #7
  br label %127

64:                                               ; preds = %26
  %65 = landingpad { ptr, i32 }
          cleanup
  %66 = extractvalue { ptr, i32 } %65, 0
  %67 = extractvalue { ptr, i32 } %65, 1
  br label %126

68:                                               ; preds = %32
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  %71 = extractvalue { ptr, i32 } %69, 1
  br label %125

72:                                               ; preds = %36
  %73 = landingpad { ptr, i32 }
          cleanup
  %74 = extractvalue { ptr, i32 } %73, 0
  %75 = extractvalue { ptr, i32 } %73, 1
  call void @_ZNSt15__new_allocatorIjED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #7
  br label %124

76:                                               ; preds = %109, %107, %52, %50, %45
  %77 = landingpad { ptr, i32 }
          cleanup
  %78 = extractvalue { ptr, i32 } %77, 0
  %79 = extractvalue { ptr, i32 } %77, 1
  br label %.loopexit60

.preheader:                                       ; preds = %52, %98
  %.14773 = phi i32 [ %99, %98 ], [ %.04675, %52 ]
  %.05372 = phi i32 [ %100, %98 ], [ 0, %52 ]
  %80 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr %80, i32 noundef %56, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %98 unwind label %81

81:                                               ; preds = %.preheader
  %82 = landingpad { ptr, i32 }
          cleanup
          catch ptr @_ZTISt9exception
  %83 = extractvalue { ptr, i32 } %82, 0
  %84 = extractvalue { ptr, i32 } %82, 1
  %85 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTISt9exception) #7
  %86 = icmp eq i32 %84, %85
  br i1 %86, label %87, label %.loopexit60

87:                                               ; preds = %81
  %88 = call ptr @__cxa_begin_catch(ptr %83) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #7
  %89 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store ptr %89, ptr %11, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #7
  %90 = call noundef i64 @_ZNKSt6vectorIhSaIhEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #7
  store i8 0, ptr %12, align 1, !tbaa !14
  %91 = load ptr, ptr %10, align 8
  %92 = invoke ptr @_ZNSt6vectorIhSaIhEE6insertEN9__gnu_cxx17__normal_iteratorIPKhS1_EEmRS4_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %91, i64 noundef %90, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %95 unwind label %101

93:                                               ; preds = %95
  %94 = landingpad { ptr, i32 }
          cleanup
  br label %105

95:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  %96 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  invoke void @_ZNK3qpl4test15source_provider19store_parquet_groupERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEES8_jRKS5_IjSaIjEE(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, ptr %96, i32 noundef %56, ptr noundef nonnull align 8 dereferenceable(24) %6)
          to label %97 unwind label %93

97:                                               ; preds = %95
  invoke void @__cxa_end_catch()
          to label %98 unwind label %103

98:                                               ; preds = %97, %.preheader
  %99 = add i32 %.14773, -8
  %100 = add nuw nsw i32 %.05372, 1
  %.not56.not = icmp ult i32 %.05372, %55
  br i1 %.not56.not, label %.preheader, label %.loopexit, !llvm.loop !15

101:                                              ; preds = %87
  %102 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #7
  br label %105

103:                                              ; preds = %97
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %106

105:                                              ; preds = %101, %93
  %.pn = phi { ptr, i32 } [ %94, %93 ], [ %102, %101 ]
  invoke void @__cxa_end_catch()
          to label %106 unwind label %130

106:                                              ; preds = %105, %103
  %.pn58 = phi { ptr, i32 } [ %104, %103 ], [ %.pn, %105 ]
  %.1 = extractvalue { ptr, i32 } %.pn58, 0
  %.139 = extractvalue { ptr, i32 } %.pn58, 1
  br label %.loopexit60

107:                                              ; preds = %47, %.lr.ph
  %108 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %5)
          to label %109 unwind label %76

109:                                              ; preds = %107
  %110 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
          to label %111 unwind label %76

111:                                              ; preds = %109
  %112 = urem i32 %108, %.04675
  %113 = add nuw i32 %112, 1
  call void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %113, i8 noundef zeroext 1)
  call void @_ZNK3qpl4test15source_provider9store_rleERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjj(ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %9, i32 noundef %113, i32 noundef %110)
  %114 = sub i32 %.04675, %113
  br label %.loopexit

.loopexit:                                        ; preds = %98, %111
  %.450 = phi i32 [ %114, %111 ], [ %99, %98 ]
  %.not = icmp eq i32 %.450, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !17

._crit_edge:                                      ; preds = %.loopexit, %37
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %9) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %15) #7
  %115 = call ptr @_ZNSt6vectorIhSaIhEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  store ptr %115, ptr %15, align 8
  call void @_ZN9__gnu_cxx17__normal_iteratorIPKhSt6vectorIhSaIhEEEC2IPhvEERKNS0_IT_S5_EE(ptr noundef nonnull align 8 dereferenceable(8) %14, ptr noundef nonnull align 8 dereferenceable(8) %15) #7
  %116 = load ptr, ptr %13, align 8
  %117 = load ptr, ptr %14, align 8
  %118 = invoke ptr @_ZNSt6vectorIhSaIhEE5eraseEN9__gnu_cxx17__normal_iteratorIPKhS1_EES6_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr %116, ptr %117)
          to label %119 unwind label %120

119:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #7
  ret void

120:                                              ; preds = %._crit_edge
  %121 = landingpad { ptr, i32 }
          cleanup
  %122 = extractvalue { ptr, i32 } %121, 0
  %123 = extractvalue { ptr, i32 } %121, 1
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %15) #7
  br label %.loopexit60

.loopexit60:                                      ; preds = %81, %106, %120, %76
  %.341 = phi i32 [ %79, %76 ], [ %123, %120 ], [ %.139, %106 ], [ %84, %81 ]
  %.3 = phi ptr [ %78, %76 ], [ %122, %120 ], [ %.1, %106 ], [ %83, %81 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #7
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #7
  br label %124

124:                                              ; preds = %.loopexit60, %72
  %.442 = phi i32 [ %.341, %.loopexit60 ], [ %75, %72 ]
  %.4 = phi ptr [ %.3, %.loopexit60 ], [ %74, %72 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #7
  br label %125

125:                                              ; preds = %124, %68
  %.543 = phi i32 [ %.442, %124 ], [ %71, %68 ]
  %.5 = phi ptr [ %.4, %124 ], [ %70, %68 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #7
  br label %126

126:                                              ; preds = %125, %64
  %.644 = phi i32 [ %.543, %125 ], [ %67, %64 ]
  %.6 = phi ptr [ %.5, %125 ], [ %66, %64 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #7
  call void @_ZNSt6vectorIhSaIhEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %0) #7
  br label %127

127:                                              ; preds = %126, %60
  %.745 = phi i32 [ %.644, %126 ], [ %63, %60 ]
  %.7 = phi ptr [ %.6, %126 ], [ %62, %60 ]
  %128 = insertvalue { ptr, i32 } poison, ptr %.7, 0
  %129 = insertvalue { ptr, i32 } %128, i32 %.745, 1
  resume { ptr, i32 } %129

130:                                              ; preds = %105
  %131 = landingpad { ptr, i32 }
          catch ptr null
  %132 = extractvalue { ptr, i32 } %131, 0
  call void @__clang_call_terminate(ptr %132) #8
  unreachable
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3qpl4test15source_provider17store_prle_headerERN9__gnu_cxx17__normal_iteratorIPhSt6vectorIhSaIhEEEEjNS1_15prle_encoding_tE(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef, i8 noundef zeroext) local_unnamed_addr #2 align 2

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

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

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

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72), double noundef, double noundef, i32 noundef) unnamed_addr #1 align 2

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

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

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

declare noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare hidden void @"_ZSt8generateIPjZN3qpl4test15source_provider20generate_prle_streamEvE3$_0EvT_S5_T0_"(ptr noundef, ptr noundef, ptr) local_unnamed_addr #1

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

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

; Function Attrs: nofree nosync nounwind memory(none)
declare i32 @llvm.eh.typeid.for.p0(ptr) #4

declare ptr @__cxa_begin_catch(ptr) local_unnamed_addr

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

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

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

declare void @__cxa_end_catch() local_unnamed_addr

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #5

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

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

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

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

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

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass