; LLVM IR from intel/qpl :: tools/utils/generators/configurators/rfc1951_stream/break_header_configurators/_20452966 (generator23LargeHeaderConfigurator8generateEv)

; 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.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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::__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.gz_generator::TestConfigurator" = type { %"class.gz_generator::ITestConfigurator", %"class.std::unique_ptr", i32, %"class.qpl::test::random", %"class.qpl::test::random", %"class.qpl::test::random", %"class.qpl::test::random", %"class.qpl::test::random" }
%"class.gz_generator::ITestConfigurator" = type { ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN12gz_generator23LargeHeaderConfigurator8generateEv(ptr noundef nonnull align 8 dereferenceable(384) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %"class.qpl::test::random", align 8
  %14 = alloca %"class.qpl::test::random", align 8
  %15 = alloca i32, align 4
  %16 = alloca %"class.qpl::test::random", align 8
  %17 = alloca %"class.qpl::test::random", align 8
  %18 = alloca i32, align 4
  %19 = alloca %"class.std::vector", align 8
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca %"class.qpl::test::random", align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %"class.std::__cxx11::basic_string", align 8
  %26 = alloca %"class.std::__cxx11::basic_string", align 8
  %27 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  %28 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #6
  store i32 0, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #6
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #6
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #6
  store i32 0, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #6
  store i32 0, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %13) #6
  %29 = call noundef i32 @_ZNK12gz_generator16TestConfigurator10get_m_seedEv(ptr noundef nonnull align 8 dereferenceable(384) %28)
  call void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef 0.000000e+00, double noundef 0.000000e+00, i32 noundef %29)
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef 1.000000e+00, double noundef 8.000000e+00)
  %30 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %13)
  %31 = mul i32 8, %30
  store i32 %31, ptr %5, align 4, !tbaa !9
  %32 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %13)
  %33 = mul i32 8, %32
  store i32 %33, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %14) #6
  call void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %14, ptr noundef nonnull align 8 dereferenceable(384) %28)
  %34 = call noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72) %14)
  %35 = fcmp ogt float 0x3FEFAE1480000000, %34
  call void @llvm.lifetime.end.p0(i64 72, ptr %14) #6
  br i1 %35, label %36, label %55

36:                                               ; preds = %1
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef 3.000000e+00, double noundef 3.400000e+01)
  %37 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %13)
  store i32 %37, ptr %6, align 4, !tbaa !9
  %38 = load i32, ptr %6, align 4, !tbaa !9
  %39 = mul i32 64, %38
  store i32 %39, ptr %7, align 4, !tbaa !9
  %40 = load i32, ptr %5, align 4, !tbaa !9
  %41 = sub i32 %40, 1
  %42 = uitofp i32 %41 to double
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef 0.000000e+00, double noundef %42)
  %43 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %13)
  %44 = load i32, ptr %7, align 4, !tbaa !9
  %45 = add i32 %44, %43
  store i32 %45, ptr %7, align 4, !tbaa !9
  %46 = load i32, ptr %7, align 4, !tbaa !9
  %47 = call noundef i32 @_ZN12gz_generator23LargeHeaderConfigurator10writeBlockEj(ptr noundef nonnull align 8 dereferenceable(384) %28, i32 noundef %46)
  store i32 %47, ptr %4, align 4, !tbaa !9
  %48 = load i32, ptr %4, align 4, !tbaa !9
  %49 = icmp ne i32 %48, 0
  br i1 %49, label %50, label %52

50:                                               ; preds = %36
  %51 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %51, ptr %2, align 4
  store i32 1, ptr %15, align 4
  br label %151

52:                                               ; preds = %36
  %53 = load i32, ptr %7, align 4, !tbaa !9
  %54 = and i32 %53, 63
  store i32 %54, ptr %7, align 4, !tbaa !9
  br label %56

55:                                               ; preds = %1
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %56

56:                                               ; preds = %55, %52
  %57 = load i32, ptr %5, align 4, !tbaa !9
  %58 = load i32, ptr %7, align 4, !tbaa !9
  %59 = sub i32 %57, %58
  store i32 %59, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 72, ptr %16) #6
  call void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %16, ptr noundef nonnull align 8 dereferenceable(384) %28)
  %60 = call noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72) %16)
  %61 = fcmp ogt float 5.000000e-01, %60
  call void @llvm.lifetime.end.p0(i64 72, ptr %16) #6
  br i1 %61, label %62, label %63

62:                                               ; preds = %56
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef 0.000000e+00, double noundef 7.000000e+00)
  br label %67

63:                                               ; preds = %56
  %64 = load i32, ptr %8, align 4, !tbaa !9
  %65 = sub i32 %64, 1
  %66 = uitofp i32 %65 to double
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef 0.000000e+00, double noundef %66)
  br label %67

67:                                               ; preds = %63, %62
  %68 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %13)
  %69 = add i32 %68, 1
  store i32 %69, ptr %9, align 4, !tbaa !9
  store i32 32, ptr %10, align 4, !tbaa !9
  %70 = load i32, ptr %10, align 4, !tbaa !9
  %71 = uitofp i32 %70 to double
  %72 = load i32, ptr %10, align 4, !tbaa !9
  %73 = mul i32 8, %72
  %74 = uitofp i32 %73 to double
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef %71, double noundef %74)
  %75 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %13)
  store i32 %75, ptr %11, align 4, !tbaa !9
  call void @_ZN12gz_generator16TestConfigurator19declareDynamicBlockEv(ptr noundef nonnull align 8 dereferenceable(384) %28)
  %76 = load i32, ptr %7, align 4, !tbaa !9
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = mul i32 %77, 8
  %79 = add i32 %76, %78
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = add i32 %79, %80
  %82 = call noundef i32 @_ZN12gz_generator23LargeHeaderConfigurator23writeLiteralLengthCodesEjPj(ptr noundef nonnull align 8 dereferenceable(384) %28, i32 noundef %81, ptr noundef %12)
  store i32 %82, ptr %4, align 4, !tbaa !9
  %83 = load i32, ptr %4, align 4, !tbaa !9
  %84 = icmp ne i32 %83, 0
  br i1 %84, label %85, label %87

85:                                               ; preds = %67
  %86 = load i32, ptr %4, align 4, !tbaa !9
  store i32 %86, ptr %2, align 4
  store i32 1, ptr %15, align 4
  br label %151

87:                                               ; preds = %67
  call void @llvm.lifetime.start.p0(i64 72, ptr %17) #6
  %88 = load i32, ptr %12, align 4, !tbaa !9
  %89 = sub i32 %88, 1
  %90 = uitofp i32 %89 to double
  call void @_ZN12gz_generator16TestConfigurator32update_range_m_randomLiteralCodeEdd(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %17, ptr noundef nonnull align 8 dereferenceable(384) %28, double noundef 0.000000e+00, double noundef %90)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #6
  store i32 0, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %19) #6
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  invoke void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %13, double noundef 0.000000e+00, double noundef 8.000000e+00)
          to label %91 unwind label %103

91:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 72, ptr %22) #6
  invoke void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind writable sret(%"class.qpl::test::random") align 8 %22, ptr noundef nonnull align 8 dereferenceable(384) %28)
          to label %92 unwind label %107

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

94:                                               ; preds = %92
  store i32 %93, ptr %18, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 72, ptr %22) #6
  %95 = load i32, ptr %18, align 4, !tbaa !9
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %149

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #6
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %115, %97
  %99 = load i32, ptr %23, align 4, !tbaa !9
  %100 = load i32, ptr %18, align 4, !tbaa !9
  %101 = icmp ult i32 %99, %100
  br i1 %101, label %111, label %102

102:                                              ; preds = %98
  store i32 2, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %122

103:                                              ; preds = %122, %87
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %20, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %21, align 4
  br label %150

107:                                              ; preds = %92, %91
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %20, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %22) #6
  br label %150

111:                                              ; preds = %98
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  %112 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %17)
          to label %113 unwind label %118

113:                                              ; preds = %111
  store i32 %112, ptr %24, align 4, !tbaa !9
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %114 unwind label %118

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

115:                                              ; preds = %114
  %116 = load i32, ptr %23, align 4, !tbaa !9
  %117 = add i32 %116, 1
  store i32 %117, ptr %23, align 4, !tbaa !9
  br label %98, !llvm.loop !11

118:                                              ; preds = %113, %111
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %20, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %21, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #6
  br label %150

122:                                              ; preds = %102
  %123 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %124 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  %125 = trunc i64 %124 to i32
  invoke void @_ZN12gz_generator16TestConfigurator18declareVectorTokenENS0_15VectorTokenTypeEPKjj(ptr noundef nonnull align 8 dereferenceable(384) %28, i8 noundef zeroext 7, ptr noundef %123, i32 noundef %125)
          to label %126 unwind label %103

126:                                              ; preds = %122
  %127 = getelementptr inbounds %"class.gz_generator::TestConfigurator", ptr %28, i32 0, i32 1
  %128 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt10unique_ptrINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %127) #6
  %129 = getelementptr inbounds i8, ptr %128, i64 16
  call void @llvm.lifetime.start.p0(i64 32, ptr %25) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #6
  %130 = load i32, ptr %18, align 4, !tbaa !9
  call void @_ZNSt7__cxx119to_stringEj(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %27, i32 noundef %130) #6
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %26, ptr noundef @.str, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %131 unwind label %135

131:                                              ; preds = %126
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %25, ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef @.str.1)
          to label %132 unwind label %139

132:                                              ; preds = %131
  %133 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull align 8 dereferenceable(32) %25)
          to label %134 unwind label %143

134:                                              ; preds = %132
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  br label %149

135:                                              ; preds = %126
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %20, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %21, align 4
  br label %148

139:                                              ; preds = %131
  %140 = landingpad { ptr, i32 }
          cleanup
  %141 = extractvalue { ptr, i32 } %140, 0
  store ptr %141, ptr %20, align 8
  %142 = extractvalue { ptr, i32 } %140, 1
  store i32 %142, ptr %21, align 4
  br label %147

143:                                              ; preds = %132
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %20, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %21, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #6
  br label %147

147:                                              ; preds = %143, %139
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #6
  br label %148

148:                                              ; preds = %147, %135
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %26) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr %25) #6
  br label %150

149:                                              ; preds = %134, %94
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @_ZN12gz_generator16TestConfigurator18declareFinishBlockEv(ptr noundef nonnull align 8 dereferenceable(384) %28)
  store i32 0, ptr %2, align 4
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #6
  br label %151

150:                                              ; preds = %148, %118, %107, %103
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %19) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  br label %153

151:                                              ; preds = %149, %85, %50
  call void @llvm.lifetime.end.p0(i64 72, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #6
  %152 = load i32, ptr %2, align 4
  ret i32 %152

153:                                              ; preds = %150
  %154 = load ptr, ptr %20, align 8
  %155 = load i32, ptr %21, align 4
  %156 = insertvalue { ptr, i32 } poison, ptr %154, 0
  %157 = insertvalue { ptr, i32 } %156, i32 %155, 1
  resume { ptr, i32 } %157
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12gz_generator16TestConfigurator10get_m_seedEv(ptr noundef nonnull align 8 dereferenceable(384)) #2 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 #0 align 2

declare void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72), double noundef, double noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384)) #2 align 2

declare noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72)) #3

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

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

declare void @_ZN12gz_generator16TestConfigurator19declareDynamicBlockEv(ptr noundef nonnull align 8 dereferenceable(384)) #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator16TestConfigurator32update_range_m_randomLiteralCodeEdd(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384), double noundef, double noundef) #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN12gz_generator16TestConfigurator18declareVectorTokenENS0_15VectorTokenTypeEPKjj(ptr noundef nonnull align 8 dereferenceable(384), i8 noundef zeroext, ptr noundef, i32 noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEj(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) #5

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

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

declare void @_ZN12gz_generator16TestConfigurator18declareFinishBlockEv(ptr noundef nonnull align 8 dereferenceable(384)) #3

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


; 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.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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = 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::__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] }

@.str = external hidden unnamed_addr constant [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_ZN12gz_generator23LargeHeaderConfigurator8generateEv(ptr noundef nonnull align 8 dereferenceable(384) %0) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i32, align 4
  %3 = alloca %"class.qpl::test::random", align 8
  %4 = alloca %"class.qpl::test::random", align 8
  %5 = alloca %"class.qpl::test::random", align 8
  %6 = alloca %"class.qpl::test::random", align 8
  %7 = alloca %"class.std::vector", align 8
  %8 = alloca %"class.qpl::test::random", align 8
  %9 = alloca i32, align 4
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.std::__cxx11::basic_string", align 8
  %12 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %3) #6
  %13 = tail call noundef i32 @_ZNK12gz_generator16TestConfigurator10get_m_seedEv(ptr noundef nonnull align 8 dereferenceable(384) %0)
  call void @_ZN3qpl4test6randomC2Eddj(ptr noundef nonnull align 8 dereferenceable(72) %3, double noundef 0.000000e+00, double noundef 0.000000e+00, i32 noundef %13)
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %3, double noundef 1.000000e+00, double noundef 8.000000e+00)
  %14 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %15 = shl i32 %14, 3
  %16 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %17 = shl i32 %16, 3
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %4) #6
  call void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %4, ptr noundef nonnull align 8 dereferenceable(384) %0)
  %18 = call noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72) %4)
  %19 = fcmp olt float %18, 0x3FEFAE1480000000
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %4) #6
  br i1 %19, label %20, label %30

20:                                               ; preds = %1
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %3, double noundef 3.000000e+00, double noundef 3.400000e+01)
  %21 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %22 = shl i32 %21, 6
  %23 = add i32 %15, -1
  %24 = uitofp i32 %23 to double
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %3, double noundef 0.000000e+00, double noundef %24)
  %25 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  %26 = add i32 %25, %22
  %27 = call noundef i32 @_ZN12gz_generator23LargeHeaderConfigurator10writeBlockEj(ptr noundef nonnull align 8 dereferenceable(384) %0, i32 noundef %26)
  %.not = icmp eq i32 %27, 0
  br i1 %.not, label %28, label %82

28:                                               ; preds = %20
  %29 = and i32 %25, 63
  br label %30

30:                                               ; preds = %1, %28
  %.029 = phi i32 [ %29, %28 ], [ 0, %1 ]
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %5) #6
  call void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %5, ptr noundef nonnull align 8 dereferenceable(384) %0)
  %31 = call noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72) %5)
  %32 = fcmp olt float %31, 5.000000e-01
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %5) #6
  %33 = add i32 %17, -1
  %34 = uitofp i32 %33 to double
  %.sink = select i1 %32, double 7.000000e+00, double %34
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %3, double noundef 0.000000e+00, double noundef %.sink)
  %35 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  call void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %3, double noundef 3.200000e+01, double noundef 2.560000e+02)
  %36 = call noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %3)
  call void @_ZN12gz_generator16TestConfigurator19declareDynamicBlockEv(ptr noundef nonnull align 8 dereferenceable(384) %0)
  %37 = shl i32 %36, 3
  %38 = or disjoint i32 %15, 1
  %39 = sub i32 %38, %.029
  %40 = add i32 %39, %35
  %41 = add i32 %40, %37
  %42 = call noundef i32 @_ZN12gz_generator23LargeHeaderConfigurator23writeLiteralLengthCodesEjPj(ptr noundef nonnull align 8 dereferenceable(384) %0, i32 noundef %41, ptr noundef nonnull %2)
  %.not34 = icmp eq i32 %42, 0
  br i1 %.not34, label %43, label %82

43:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %6) #6
  %44 = load i32, ptr %2, align 4, !tbaa !5
  %45 = add i32 %44, -1
  %46 = uitofp i32 %45 to double
  call void @_ZN12gz_generator16TestConfigurator32update_range_m_randomLiteralCodeEdd(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %6, ptr noundef nonnull align 8 dereferenceable(384) %0, double noundef 0.000000e+00, double noundef %46)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  invoke void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72) %3, double noundef 0.000000e+00, double noundef 8.000000e+00)
          to label %47 unwind label %54

47:                                               ; preds = %43
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %8) #6
  call void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind nonnull writable sret(%"class.qpl::test::random") align 8 %8, ptr noundef nonnull align 8 dereferenceable(384) %0)
  %48 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %8)
          to label %49 unwind label %56

49:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %8) #6
  %.not35 = icmp eq i32 %48, 0
  br i1 %.not35, label %80, label %.preheader

50:                                               ; preds = %60
  %51 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %52 = call noundef i64 @_ZNKSt6vectorIjSaIjEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  %53 = trunc i64 %52 to i32
  invoke void @_ZN12gz_generator16TestConfigurator18declareVectorTokenENS0_15VectorTokenTypeEPKjj(ptr noundef nonnull align 8 dereferenceable(384) %0, i8 noundef zeroext 7, ptr noundef %51, i32 noundef %53)
          to label %64 unwind label %54

54:                                               ; preds = %50, %43
  %55 = landingpad { ptr, i32 }
          cleanup
  br label %81

56:                                               ; preds = %47
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %8) #6
  br label %81

.preheader:                                       ; preds = %49, %60
  %.040 = phi i32 [ %61, %60 ], [ 0, %49 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #6
  %58 = invoke noundef i32 @_ZN3qpl4test11random_basecvjEv(ptr noundef nonnull align 8 dereferenceable(72) %6)
          to label %59 unwind label %62

59:                                               ; preds = %.preheader
  store i32 %58, ptr %9, align 4, !tbaa !5
  invoke void @_ZNSt6vectorIjSaIjEE9push_backEOj(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 4 dereferenceable(4) %9)
          to label %60 unwind label %62

60:                                               ; preds = %59
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  %61 = add nuw i32 %.040, 1
  %exitcond.not = icmp eq i32 %61, %48
  br i1 %exitcond.not, label %50, label %.preheader, !llvm.loop !9

62:                                               ; preds = %59, %.preheader
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #6
  br label %81

64:                                               ; preds = %50
  %65 = getelementptr inbounds i8, ptr %0, i64 8
  %66 = call noundef nonnull align 8 dereferenceable(128) ptr @_ZNKSt10unique_ptrINSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEESt14default_deleteIS5_EEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %65) #6
  %67 = getelementptr inbounds i8, ptr %66, i64 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #6
  call void @_ZNSt7__cxx119to_stringEj(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %12, i32 noundef %48) #6
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %11, ptr noundef nonnull @.str, ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %68 unwind label %72

68:                                               ; preds = %64
  invoke void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %10, ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull @.str.1)
          to label %69 unwind label %74

69:                                               ; preds = %68
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %71 unwind label %76

71:                                               ; preds = %69
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  br label %80

72:                                               ; preds = %64
  %73 = landingpad { ptr, i32 }
          cleanup
  br label %79

74:                                               ; preds = %68
  %75 = landingpad { ptr, i32 }
          cleanup
  br label %78

76:                                               ; preds = %69
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #6
  br label %78

78:                                               ; preds = %76, %74
  %.pn = phi { ptr, i32 } [ %77, %76 ], [ %75, %74 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #6
  br label %79

79:                                               ; preds = %78, %72
  %.pn.pn = phi { ptr, i32 } [ %.pn, %78 ], [ %73, %72 ]
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #6
  br label %81

80:                                               ; preds = %71, %49
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZN12gz_generator16TestConfigurator18declareFinishBlockEv(ptr noundef nonnull align 8 dereferenceable(384) %0)
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #6
  br label %82

81:                                               ; preds = %79, %62, %56, %54
  %.pn38 = phi { ptr, i32 } [ %63, %62 ], [ %.pn.pn, %79 ], [ %55, %54 ], [ %57, %56 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %6) #6
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  resume { ptr, i32 } %.pn38

82:                                               ; preds = %30, %20, %80
  %.030 = phi i32 [ 0, %80 ], [ %27, %20 ], [ %42, %30 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #6
  ret i32 %.030
}

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_ZNK12gz_generator16TestConfigurator10get_m_seedEv(ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2 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 #0 align 2

declare void @_ZN3qpl4test6random9set_rangeEdd(ptr noundef nonnull align 8 dereferenceable(72), double noundef, double noundef) local_unnamed_addr #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNK12gz_generator16TestConfigurator12get_m_randomEv(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #2 align 2

declare noundef float @_ZN3qpl4test11random_basecvfEv(ptr noundef nonnull align 8 dereferenceable(72)) local_unnamed_addr #3

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

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

declare void @_ZN12gz_generator16TestConfigurator19declareDynamicBlockEv(ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #3

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN12gz_generator16TestConfigurator32update_range_m_randomLiteralCodeEdd(ptr dead_on_unwind noalias writable sret(%"class.qpl::test::random") align 8, ptr noundef nonnull align 8 dereferenceable(384), double noundef, double noundef) local_unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN12gz_generator16TestConfigurator18declareVectorTokenENS0_15VectorTokenTypeEPKjj(ptr noundef nonnull align 8 dereferenceable(384), i8 noundef zeroext, ptr noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEOS8_PKS5_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(32), ptr noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_OS8_(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt7__cxx119to_stringEj(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, i32 noundef) local_unnamed_addr #5

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

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

declare void @_ZN12gz_generator16TestConfigurator18declareFinishBlockEv(ptr noundef nonnull align 8 dereferenceable(384)) local_unnamed_addr #3

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

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

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


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass