; LLVM IR from alenic/realGA :: benchmarks/benchmarks.ll (Z16benchmarkRealGenR6RealGAifR9GAResultsi)

; 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::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<GAResults, std::allocator<GAResults>>::_Vector_impl" }
%"struct.std::_Vector_base<GAResults, std::allocator<GAResults>>::_Vector_impl" = type { %"struct.std::_Vector_base<GAResults, std::allocator<GAResults>>::_Vector_impl_data" }
%"struct.std::_Vector_base<GAResults, std::allocator<GAResults>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%class.RealChromosome = type <{ %"class.std::vector.0", float, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.GAResults = type { %"class.std::__cxx11::basic_string", i32, float, float, float, float, float, float, float, %class.RealChromosome }
%"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] }

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16benchmarkRealGenR6RealGAifR9GAResultsi(ptr noundef nonnull align 8 dereferenceable(296) %0, i32 noundef %1, float noundef %2, ptr noundef nonnull align 8 dereferenceable(96) %3, i32 noundef %4) #0 personality ptr @__gxx_personality_v0 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca float, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::allocator", align 1
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca %class.RealChromosome, align 8
  %21 = alloca %class.RealChromosome, align 8
  %22 = alloca float, align 4
  %23 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store i32 %1, ptr %7, align 4, !tbaa !9
  store float %2, ptr %8, align 4, !tbaa !11
  store ptr %3, ptr %9, align 8, !tbaa !5
  store i32 %4, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %11) #5
  %24 = load i32, ptr %10, align 4, !tbaa !9
  %25 = sext i32 %24 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %12) #5
  call void @_ZNSaI9GAResultsEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  invoke void @_ZNSt6vectorI9GAResultsSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %25, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %26 unwind label %32

26:                                               ; preds = %5
  call void @_ZNSt15__new_allocatorI9GAResultsED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %27

27:                                               ; preds = %144, %26
  %28 = load i32, ptr %16, align 4, !tbaa !9
  %29 = load i32, ptr %10, align 4, !tbaa !9
  %30 = icmp slt i32 %28, %29
  br i1 %30, label %36, label %31

31:                                               ; preds = %27
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %148

32:                                               ; preds = %5
  %33 = landingpad { ptr, i32 }
          cleanup
  %34 = extractvalue { ptr, i32 } %33, 0
  store ptr %34, ptr %13, align 8
  %35 = extractvalue { ptr, i32 } %33, 1
  store i32 %35, ptr %14, align 4
  call void @_ZNSt15__new_allocatorI9GAResultsED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %12) #5
  br label %249

36:                                               ; preds = %27
  store i32 0, ptr %15, align 4, !tbaa !9
  %37 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN6RealGA18popInitRandUniformEv(ptr noundef nonnull align 8 dereferenceable(296) %37)
          to label %38 unwind label %51

38:                                               ; preds = %36
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN6RealGA7restartEv(ptr noundef nonnull align 8 dereferenceable(296) %39)
          to label %40 unwind label %51

40:                                               ; preds = %38
  %41 = load i32, ptr %16, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %42) #5
  %44 = getelementptr inbounds %struct.GAResults, ptr %43, i32 0, i32 4
  store float 0.000000e+00, ptr %44, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %45 = call i64 @clock() #5
  store i64 %45, ptr %18, align 8, !tbaa !23
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %46

46:                                               ; preds = %138, %40
  %47 = load i32, ptr %19, align 4, !tbaa !9
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = icmp slt i32 %47, %48
  br i1 %49, label %55, label %50

50:                                               ; preds = %46
  store i32 5, ptr %17, align 4
  br label %141

51:                                               ; preds = %38, %36
  %52 = landingpad { ptr, i32 }
          cleanup
  %53 = extractvalue { ptr, i32 } %52, 0
  store ptr %53, ptr %13, align 8
  %54 = extractvalue { ptr, i32 } %52, 1
  store i32 %54, ptr %14, align 4
  br label %147

55:                                               ; preds = %46
  %56 = load ptr, ptr %6, align 8, !tbaa !5
  %57 = load ptr, ptr %56, align 8, !tbaa !24
  %58 = getelementptr inbounds ptr, ptr %57, i64 0
  %59 = load ptr, ptr %58, align 8
  invoke void %59(ptr noundef nonnull align 8 dereferenceable(296) %56)
          to label %60 unwind label %86

60:                                               ; preds = %55
  %61 = load i32, ptr %15, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  store i32 %62, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #5
  %63 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN6RealGA17getBestChromosomeEv(ptr dead_on_unwind writable sret(%class.RealChromosome) align 8 %20, ptr noundef nonnull align 8 dereferenceable(296) %63)
          to label %64 unwind label %90

64:                                               ; preds = %60
  %65 = getelementptr inbounds %class.RealChromosome, ptr %20, i32 0, i32 1
  %66 = load float, ptr %65, align 8, !tbaa !26
  %67 = load float, ptr %8, align 4, !tbaa !11
  %68 = fcmp olt float %66, %67
  br i1 %68, label %74, label %69

69:                                               ; preds = %64
  %70 = load i32, ptr %19, align 4, !tbaa !9
  %71 = load i32, ptr %7, align 4, !tbaa !9
  %72 = sub nsw i32 %71, 1
  %73 = icmp eq i32 %70, %72
  br label %74

74:                                               ; preds = %69, %64
  %75 = phi i1 [ true, %64 ], [ %73, %69 ]
  call void @_ZN14RealChromosomeD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %20) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  br i1 %75, label %76, label %137

76:                                               ; preds = %74
  %77 = load i32, ptr %19, align 4, !tbaa !9
  %78 = load i32, ptr %7, align 4, !tbaa !9
  %79 = sub nsw i32 %78, 1
  %80 = icmp ne i32 %77, %79
  br i1 %80, label %81, label %94

81:                                               ; preds = %76
  %82 = load i32, ptr %16, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %83) #5
  %85 = getelementptr inbounds %struct.GAResults, ptr %84, i32 0, i32 4
  store float 1.000000e+00, ptr %85, align 4, !tbaa !13
  br label %94

86:                                               ; preds = %55
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %13, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %14, align 4
  br label %142

90:                                               ; preds = %60
  %91 = landingpad { ptr, i32 }
          cleanup
  %92 = extractvalue { ptr, i32 } %91, 0
  store ptr %92, ptr %13, align 8
  %93 = extractvalue { ptr, i32 } %91, 1
  store i32 %93, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #5
  br label %142

94:                                               ; preds = %81, %76
  %95 = load i32, ptr %15, align 4, !tbaa !9
  %96 = sitofp i32 %95 to float
  %97 = load i32, ptr %16, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %98) #5
  %100 = getelementptr inbounds %struct.GAResults, ptr %99, i32 0, i32 3
  store float %96, ptr %100, align 8, !tbaa !27
  %101 = call i64 @clock() #5
  %102 = load i64, ptr %18, align 8, !tbaa !23
  %103 = sub nsw i64 %101, %102
  %104 = sitofp i64 %103 to float
  %105 = fdiv float %104, 1.000000e+06
  %106 = load i32, ptr %16, align 4, !tbaa !9
  %107 = sext i32 %106 to i64
  %108 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %107) #5
  %109 = getelementptr inbounds %struct.GAResults, ptr %108, i32 0, i32 8
  store float %105, ptr %109, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #5
  %110 = load ptr, ptr %6, align 8, !tbaa !5
  invoke void @_ZN6RealGA17getBestChromosomeEv(ptr dead_on_unwind writable sret(%class.RealChromosome) align 8 %21, ptr noundef nonnull align 8 dereferenceable(296) %110)
          to label %111 unwind label %128

111:                                              ; preds = %94
  %112 = load i32, ptr %16, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %113) #5
  %115 = getelementptr inbounds %struct.GAResults, ptr %114, i32 0, i32 9
  %116 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN14RealChromosomeaSERKS_(ptr noundef nonnull align 8 dereferenceable(28) %115, ptr noundef nonnull align 8 dereferenceable(28) %21)
          to label %117 unwind label %132

117:                                              ; preds = %111
  call void @_ZN14RealChromosomeD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %21) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  %118 = load i32, ptr %16, align 4, !tbaa !9
  %119 = sext i32 %118 to i64
  %120 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %119) #5
  %121 = getelementptr inbounds %struct.GAResults, ptr %120, i32 0, i32 9
  %122 = getelementptr inbounds %class.RealChromosome, ptr %121, i32 0, i32 1
  %123 = load float, ptr %122, align 8, !tbaa !29
  %124 = load i32, ptr %16, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %125) #5
  %127 = getelementptr inbounds %struct.GAResults, ptr %126, i32 0, i32 6
  store float %123, ptr %127, align 4, !tbaa !30
  store i32 5, ptr %17, align 4
  br label %141

128:                                              ; preds = %94
  %129 = landingpad { ptr, i32 }
          cleanup
  %130 = extractvalue { ptr, i32 } %129, 0
  store ptr %130, ptr %13, align 8
  %131 = extractvalue { ptr, i32 } %129, 1
  store i32 %131, ptr %14, align 4
  br label %136

132:                                              ; preds = %111
  %133 = landingpad { ptr, i32 }
          cleanup
  %134 = extractvalue { ptr, i32 } %133, 0
  store ptr %134, ptr %13, align 8
  %135 = extractvalue { ptr, i32 } %133, 1
  store i32 %135, ptr %14, align 4
  call void @_ZN14RealChromosomeD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %21) #5
  br label %136

136:                                              ; preds = %132, %128
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #5
  br label %142

137:                                              ; preds = %74
  br label %138

138:                                              ; preds = %137
  %139 = load i32, ptr %19, align 4, !tbaa !9
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %19, align 4, !tbaa !9
  br label %46, !llvm.loop !31

141:                                              ; preds = %117, %50
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %143

142:                                              ; preds = %136, %90, %86
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %147

143:                                              ; preds = %141
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  br label %144

144:                                              ; preds = %143
  %145 = load i32, ptr %16, align 4, !tbaa !9
  %146 = add nsw i32 %145, 1
  store i32 %146, ptr %16, align 4, !tbaa !9
  br label %27, !llvm.loop !33

147:                                              ; preds = %142, %51
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %248

148:                                              ; preds = %31
  %149 = load ptr, ptr %9, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.GAResults, ptr %149, i32 0, i32 4
  store float 0.000000e+00, ptr %150, align 4, !tbaa !13
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.GAResults, ptr %151, i32 0, i32 3
  store float 0.000000e+00, ptr %152, align 8, !tbaa !27
  %153 = load ptr, ptr %9, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.GAResults, ptr %153, i32 0, i32 8
  store float 0.000000e+00, ptr %154, align 4, !tbaa !28
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store float 0x47EFFFFFE0000000, ptr %22, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %155

155:                                              ; preds = %219, %148
  %156 = load i32, ptr %23, align 4, !tbaa !9
  %157 = load i32, ptr %10, align 4, !tbaa !9
  %158 = icmp slt i32 %156, %157
  br i1 %158, label %160, label %159

159:                                              ; preds = %155
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %222

160:                                              ; preds = %155
  %161 = load i32, ptr %23, align 4, !tbaa !9
  %162 = sext i32 %161 to i64
  %163 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %162) #5
  %164 = getelementptr inbounds %struct.GAResults, ptr %163, i32 0, i32 6
  %165 = load float, ptr %164, align 4, !tbaa !30
  %166 = load float, ptr %22, align 4, !tbaa !11
  %167 = fcmp olt float %165, %166
  br i1 %167, label %168, label %191

168:                                              ; preds = %160
  %169 = load i32, ptr %23, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %170) #5
  %172 = getelementptr inbounds %struct.GAResults, ptr %171, i32 0, i32 6
  %173 = load float, ptr %172, align 4, !tbaa !30
  %174 = load ptr, ptr %9, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.GAResults, ptr %174, i32 0, i32 6
  store float %173, ptr %175, align 4, !tbaa !30
  %176 = load i32, ptr %23, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %177) #5
  %179 = getelementptr inbounds %struct.GAResults, ptr %178, i32 0, i32 9
  %180 = load ptr, ptr %9, align 8, !tbaa !5
  %181 = getelementptr inbounds %struct.GAResults, ptr %180, i32 0, i32 9
  %182 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN14RealChromosomeaSERKS_(ptr noundef nonnull align 8 dereferenceable(28) %181, ptr noundef nonnull align 8 dereferenceable(28) %179)
          to label %183 unwind label %187

183:                                              ; preds = %168
  %184 = load ptr, ptr %9, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.GAResults, ptr %184, i32 0, i32 6
  %186 = load float, ptr %185, align 4, !tbaa !30
  store float %186, ptr %22, align 4, !tbaa !11
  br label %191

187:                                              ; preds = %168
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %13, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %247

191:                                              ; preds = %183, %160
  %192 = load i32, ptr %23, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %193) #5
  %195 = getelementptr inbounds %struct.GAResults, ptr %194, i32 0, i32 4
  %196 = load float, ptr %195, align 4, !tbaa !13
  %197 = load ptr, ptr %9, align 8, !tbaa !5
  %198 = getelementptr inbounds %struct.GAResults, ptr %197, i32 0, i32 4
  %199 = load float, ptr %198, align 4, !tbaa !13
  %200 = fadd float %199, %196
  store float %200, ptr %198, align 4, !tbaa !13
  %201 = load i32, ptr %23, align 4, !tbaa !9
  %202 = sext i32 %201 to i64
  %203 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %202) #5
  %204 = getelementptr inbounds %struct.GAResults, ptr %203, i32 0, i32 3
  %205 = load float, ptr %204, align 8, !tbaa !27
  %206 = load ptr, ptr %9, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.GAResults, ptr %206, i32 0, i32 3
  %208 = load float, ptr %207, align 8, !tbaa !27
  %209 = fadd float %208, %205
  store float %209, ptr %207, align 8, !tbaa !27
  %210 = load i32, ptr %23, align 4, !tbaa !9
  %211 = sext i32 %210 to i64
  %212 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %11, i64 noundef %211) #5
  %213 = getelementptr inbounds %struct.GAResults, ptr %212, i32 0, i32 8
  %214 = load float, ptr %213, align 4, !tbaa !28
  %215 = load ptr, ptr %9, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.GAResults, ptr %215, i32 0, i32 8
  %217 = load float, ptr %216, align 4, !tbaa !28
  %218 = fadd float %217, %214
  store float %218, ptr %216, align 4, !tbaa !28
  br label %219

219:                                              ; preds = %191
  %220 = load i32, ptr %23, align 4, !tbaa !9
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %23, align 4, !tbaa !9
  br label %155, !llvm.loop !34

222:                                              ; preds = %159
  %223 = load i32, ptr %10, align 4, !tbaa !9
  %224 = sitofp i32 %223 to float
  %225 = load ptr, ptr %9, align 8, !tbaa !5
  %226 = getelementptr inbounds %struct.GAResults, ptr %225, i32 0, i32 3
  %227 = load float, ptr %226, align 8, !tbaa !27
  %228 = fdiv float %227, %224
  store float %228, ptr %226, align 8, !tbaa !27
  %229 = load i32, ptr %10, align 4, !tbaa !9
  %230 = sitofp i32 %229 to float
  %231 = load ptr, ptr %9, align 8, !tbaa !5
  %232 = getelementptr inbounds %struct.GAResults, ptr %231, i32 0, i32 8
  %233 = load float, ptr %232, align 4, !tbaa !28
  %234 = fdiv float %233, %230
  store float %234, ptr %232, align 4, !tbaa !28
  %235 = load i32, ptr %10, align 4, !tbaa !9
  %236 = sitofp i32 %235 to float
  %237 = load ptr, ptr %9, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.GAResults, ptr %237, i32 0, i32 4
  %239 = load float, ptr %238, align 4, !tbaa !13
  %240 = fdiv float %239, %236
  store float %240, ptr %238, align 4, !tbaa !13
  %241 = load ptr, ptr %9, align 8, !tbaa !5
  invoke void @_ZN9GAResults12printResultsEv(ptr noundef nonnull align 8 dereferenceable(96) %241)
          to label %242 unwind label %243

242:                                              ; preds = %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @_ZNSt6vectorI9GAResultsSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  ret void

243:                                              ; preds = %222
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %13, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %14, align 4
  br label %247

247:                                              ; preds = %243, %187
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %248

248:                                              ; preds = %247, %147
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @_ZNSt6vectorI9GAResultsSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %249

249:                                              ; preds = %248, %32
  call void @llvm.lifetime.end.p0(i64 24, ptr %11) #5
  br label %250

250:                                              ; preds = %249
  %251 = load ptr, ptr %13, align 8
  %252 = load i32, ptr %14, align 4
  %253 = insertvalue { ptr, i32 } poison, ptr %251, 0
  %254 = insertvalue { ptr, i32 } %253, i32 %252, 1
  resume { ptr, i32 } %254
}

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

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN6RealGA18popInitRandUniformEv(ptr noundef nonnull align 8 dereferenceable(296)) #3

declare void @_ZN6RealGA7restartEv(ptr noundef nonnull align 8 dereferenceable(296)) #3

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

; Function Attrs: nounwind
declare i64 @clock() #4

declare void @_ZN6RealGA17getBestChromosomeEv(ptr dead_on_unwind writable sret(%class.RealChromosome) align 8, ptr noundef nonnull align 8 dereferenceable(296)) #3

; Function Attrs: nounwind
declare void @_ZN14RealChromosomeD1Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(28) ptr @_ZN14RealChromosomeaSERKS_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(28)) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN9GAResults12printResultsEv(ptr noundef nonnull align 8 dereferenceable(96)) #0 align 2

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

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

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !12, i64 44}
!14 = !{!"_ZTS9GAResults", !15, i64 0, !10, i64 32, !12, i64 36, !12, i64 40, !12, i64 44, !12, i64 48, !12, i64 52, !12, i64 56, !12, i64 60, !18, i64 64}
!15 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !16, i64 0, !17, i64 8, !7, i64 16}
!16 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!17 = !{!"long", !7, i64 0}
!18 = !{!"_ZTS14RealChromosome", !19, i64 0, !12, i64 24}
!19 = !{!"_ZTSSt6vectorIfSaIfEE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!23 = !{!17, !17, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"vtable pointer", !8, i64 0}
!26 = !{!18, !12, i64 24}
!27 = !{!14, !12, i64 40}
!28 = !{!14, !12, i64 60}
!29 = !{!14, !12, i64 88}
!30 = !{!14, !12, i64 52}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = distinct !{!33, !32}
!34 = distinct !{!34, !32}


; 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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<GAResults, std::allocator<GAResults>>::_Vector_impl" }
%"struct.std::_Vector_base<GAResults, std::allocator<GAResults>>::_Vector_impl" = type { %"struct.std::_Vector_base<GAResults, std::allocator<GAResults>>::_Vector_impl_data" }
%"struct.std::_Vector_base<GAResults, std::allocator<GAResults>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%class.RealChromosome = type <{ %"class.std::vector.0", float, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; Function Attrs: mustprogress uwtable
define dso_local void @_Z16benchmarkRealGenR6RealGAifR9GAResultsi(ptr noundef nonnull align 8 dereferenceable(296) %0, i32 noundef %1, float noundef %2, ptr noundef nonnull align 8 dereferenceable(96) %3, i32 noundef %4) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %6 = alloca %"class.std::vector", align 8
  %7 = alloca %"class.std::allocator", align 1
  %8 = alloca %class.RealChromosome, align 8
  %9 = alloca %class.RealChromosome, align 8
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %6) #5
  %10 = sext i32 %4 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %7) #5
  call void @_ZNSaI9GAResultsEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  invoke void @_ZNSt6vectorI9GAResultsSaIS0_EEC2EmRKS1_(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %10, ptr noundef nonnull align 1 dereferenceable(1) %7)
          to label %11 unwind label %68

11:                                               ; preds = %5
  call void @_ZNSt15__new_allocatorI9GAResultsED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  %12 = icmp sgt i32 %4, 0
  br i1 %12, label %.lr.ph80, label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %11
  %13 = getelementptr inbounds i8, ptr %3, i64 44
  %14 = getelementptr inbounds i8, ptr %3, i64 40
  store <2 x float> zeroinitializer, ptr %14, align 8, !tbaa !5
  %15 = getelementptr inbounds i8, ptr %3, i64 60
  store float 0.000000e+00, ptr %15, align 4, !tbaa !9
  br label %._crit_edge96

.lr.ph80:                                         ; preds = %11
  %16 = icmp sgt i32 %1, 0
  %17 = getelementptr inbounds i8, ptr %8, i64 24
  %18 = add nsw i32 %1, -1
  %wide.trip.count107 = zext nneg i32 %4 to i64
  br i1 %16, label %.lr.ph80.split.us, label %.lr.ph80.split

.lr.ph80.split.us:                                ; preds = %.lr.ph80, %..loopexit_crit_edge.us
  %indvars.iv104 = phi i64 [ %indvars.iv.next105, %..loopexit_crit_edge.us ], [ 0, %.lr.ph80 ]
  invoke void @_ZN6RealGA18popInitRandUniformEv(ptr noundef nonnull align 8 dereferenceable(296) %0)
          to label %19 unwind label %.split.us

19:                                               ; preds = %.lr.ph80.split.us
  invoke void @_ZN6RealGA7restartEv(ptr noundef nonnull align 8 dereferenceable(296) %0)
          to label %.lr.ph.us unwind label %.split.us

.lr.ph.us:                                        ; preds = %19
  %20 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv104) #5
  %21 = getelementptr inbounds i8, ptr %20, i64 44
  store float 0.000000e+00, ptr %21, align 4, !tbaa !21
  %22 = call i64 @clock() #5
  br label %24

23:                                               ; preds = %29
  %exitcond103.not = icmp eq i32 %28, %1
  br i1 %exitcond103.not, label %..loopexit_crit_edge.us, label %24, !llvm.loop !22

24:                                               ; preds = %.lr.ph.us, %23
  %.05578.us = phi i32 [ 0, %.lr.ph.us ], [ %28, %23 ]
  %25 = load ptr, ptr %0, align 8, !tbaa !24
  %26 = load ptr, ptr %25, align 8
  invoke void %26(ptr noundef nonnull align 8 dereferenceable(296) %0)
          to label %27 unwind label %.split82.us

27:                                               ; preds = %24
  %28 = add nuw nsw i32 %.05578.us, 1
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %8) #5
  invoke void @_ZN6RealGA17getBestChromosomeEv(ptr dead_on_unwind nonnull writable sret(%class.RealChromosome) align 8 %8, ptr noundef nonnull align 8 dereferenceable(296) %0)
          to label %29 unwind label %.split85.us

29:                                               ; preds = %27
  %30 = load float, ptr %17, align 8, !tbaa !26
  %31 = fcmp olt float %30, %2
  %32 = icmp eq i32 %.05578.us, %18
  %33 = select i1 %31, i1 true, i1 %32
  call void @_ZN14RealChromosomeD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %8) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  br i1 %33, label %34, label %23

34:                                               ; preds = %29
  br i1 %32, label %38, label %35

35:                                               ; preds = %34
  %36 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv104) #5
  %37 = getelementptr inbounds i8, ptr %36, i64 44
  store float 1.000000e+00, ptr %37, align 4, !tbaa !21
  br label %38

38:                                               ; preds = %35, %34
  %39 = uitofp nneg i32 %28 to float
  %40 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv104) #5
  %41 = getelementptr inbounds i8, ptr %40, i64 40
  store float %39, ptr %41, align 8, !tbaa !27
  %42 = call i64 @clock() #5
  %43 = sub nsw i64 %42, %22
  %44 = sitofp i64 %43 to float
  %45 = fdiv float %44, 1.000000e+06
  %46 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv104) #5
  %47 = getelementptr inbounds i8, ptr %46, i64 60
  store float %45, ptr %47, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  invoke void @_ZN6RealGA17getBestChromosomeEv(ptr dead_on_unwind nonnull writable sret(%class.RealChromosome) align 8 %9, ptr noundef nonnull align 8 dereferenceable(296) %0)
          to label %48 unwind label %.split88.us

48:                                               ; preds = %38
  %49 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv104) #5
  %50 = getelementptr inbounds i8, ptr %49, i64 64
  %51 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN14RealChromosomeaSERKS_(ptr noundef nonnull align 8 dereferenceable(28) %50, ptr noundef nonnull align 8 dereferenceable(28) %9)
          to label %52 unwind label %.split91.us

52:                                               ; preds = %48
  call void @_ZN14RealChromosomeD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %9) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  %53 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv104) #5
  %54 = getelementptr inbounds i8, ptr %53, i64 88
  %55 = load float, ptr %54, align 8, !tbaa !28
  %56 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv104) #5
  %57 = getelementptr inbounds i8, ptr %56, i64 52
  store float %55, ptr %57, align 4, !tbaa !29
  br label %..loopexit_crit_edge.us

..loopexit_crit_edge.us:                          ; preds = %23, %52
  %indvars.iv.next105 = add nuw nsw i64 %indvars.iv104, 1
  %exitcond108.not = icmp eq i64 %indvars.iv.next105, %wide.trip.count107
  br i1 %exitcond108.not, label %._crit_edge, label %.lr.ph80.split.us, !llvm.loop !30

.split.us:                                        ; preds = %19, %.lr.ph80.split.us
  %58 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split82.us:                                      ; preds = %24
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %121

.split85.us:                                      ; preds = %27
  %60 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %8) #5
  br label %121

.split88.us:                                      ; preds = %38
  %61 = landingpad { ptr, i32 }
          cleanup
  br label %75

.split91.us:                                      ; preds = %48
  %62 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN14RealChromosomeD1Ev(ptr noundef nonnull align 8 dereferenceable(28) %9) #5
  br label %75

._crit_edge:                                      ; preds = %.loopexit, %..loopexit_crit_edge.us
  %63 = getelementptr inbounds i8, ptr %3, i64 44
  %64 = getelementptr inbounds i8, ptr %3, i64 40
  store <2 x float> zeroinitializer, ptr %64, align 8, !tbaa !5
  %65 = getelementptr inbounds i8, ptr %3, i64 60
  store float 0.000000e+00, ptr %65, align 4, !tbaa !9
  br i1 %12, label %.lr.ph, label %._crit_edge96

.lr.ph:                                           ; preds = %._crit_edge
  %66 = getelementptr inbounds i8, ptr %3, i64 52
  %67 = getelementptr inbounds i8, ptr %3, i64 64
  %wide.trip.count112 = zext nneg i32 %4 to i64
  br label %86

68:                                               ; preds = %5
  %69 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI9GAResultsED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %7) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %7) #5
  br label %122

.lr.ph80.split:                                   ; preds = %.lr.ph80, %.loopexit
  %indvars.iv = phi i64 [ %indvars.iv.next, %.loopexit ], [ 0, %.lr.ph80 ]
  invoke void @_ZN6RealGA18popInitRandUniformEv(ptr noundef nonnull align 8 dereferenceable(296) %0)
          to label %70 unwind label %.split

70:                                               ; preds = %.lr.ph80.split
  invoke void @_ZN6RealGA7restartEv(ptr noundef nonnull align 8 dereferenceable(296) %0)
          to label %.loopexit unwind label %.split

.loopexit:                                        ; preds = %70
  %71 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv) #5
  %72 = getelementptr inbounds i8, ptr %71, i64 44
  store float 0.000000e+00, ptr %72, align 4, !tbaa !21
  %73 = call i64 @clock() #5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count107
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph80.split, !llvm.loop !30

.split:                                           ; preds = %70, %.lr.ph80.split
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %121

75:                                               ; preds = %.split91.us, %.split88.us
  %.pn69 = phi { ptr, i32 } [ %62, %.split91.us ], [ %61, %.split88.us ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  br label %121

._crit_edge96.loopexit:                           ; preds = %102
  %.pre = load float, ptr %64, align 8, !tbaa !27
  %.pre114 = load float, ptr %63, align 4, !tbaa !21
  br label %._crit_edge96

._crit_edge96:                                    ; preds = %._crit_edge.thread, %._crit_edge96.loopexit, %._crit_edge
  %76 = phi ptr [ %65, %._crit_edge96.loopexit ], [ %65, %._crit_edge ], [ %15, %._crit_edge.thread ]
  %77 = phi ptr [ %64, %._crit_edge96.loopexit ], [ %64, %._crit_edge ], [ %14, %._crit_edge.thread ]
  %78 = phi ptr [ %63, %._crit_edge96.loopexit ], [ %63, %._crit_edge ], [ %13, %._crit_edge.thread ]
  %79 = phi float [ %.pre114, %._crit_edge96.loopexit ], [ 0.000000e+00, %._crit_edge ], [ 0.000000e+00, %._crit_edge.thread ]
  %80 = phi float [ %117, %._crit_edge96.loopexit ], [ 0.000000e+00, %._crit_edge ], [ 0.000000e+00, %._crit_edge.thread ]
  %81 = phi float [ %.pre, %._crit_edge96.loopexit ], [ 0.000000e+00, %._crit_edge ], [ 0.000000e+00, %._crit_edge.thread ]
  %82 = sitofp i32 %4 to float
  %83 = fdiv float %81, %82
  store float %83, ptr %77, align 8, !tbaa !27
  %84 = fdiv float %80, %82
  store float %84, ptr %76, align 4, !tbaa !9
  %85 = fdiv float %79, %82
  store float %85, ptr %78, align 4, !tbaa !21
  invoke void @_ZN9GAResults12printResultsEv(ptr noundef nonnull align 8 dereferenceable(96) %3)
          to label %118 unwind label %119

86:                                               ; preds = %.lr.ph, %102
  %indvars.iv109 = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next110, %102 ]
  %.05493 = phi float [ 0x47EFFFFFE0000000, %.lr.ph ], [ %.1, %102 ]
  %87 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv109) #5
  %88 = getelementptr inbounds i8, ptr %87, i64 52
  %89 = load float, ptr %88, align 4, !tbaa !29
  %90 = fcmp olt float %89, %.05493
  br i1 %90, label %91, label %102

91:                                               ; preds = %86
  %92 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv109) #5
  %93 = getelementptr inbounds i8, ptr %92, i64 52
  %94 = load float, ptr %93, align 4, !tbaa !29
  store float %94, ptr %66, align 4, !tbaa !29
  %95 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv109) #5
  %96 = getelementptr inbounds i8, ptr %95, i64 64
  %97 = invoke noundef nonnull align 8 dereferenceable(28) ptr @_ZN14RealChromosomeaSERKS_(ptr noundef nonnull align 8 dereferenceable(28) %67, ptr noundef nonnull align 8 dereferenceable(28) %96)
          to label %98 unwind label %100

98:                                               ; preds = %91
  %99 = load float, ptr %66, align 4, !tbaa !29
  br label %102

100:                                              ; preds = %91
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %121

102:                                              ; preds = %98, %86
  %.1 = phi float [ %99, %98 ], [ %.05493, %86 ]
  %103 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv109) #5
  %104 = getelementptr inbounds i8, ptr %103, i64 44
  %105 = load float, ptr %104, align 4, !tbaa !21
  %106 = load float, ptr %63, align 4, !tbaa !21
  %107 = fadd float %105, %106
  store float %107, ptr %63, align 4, !tbaa !21
  %108 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv109) #5
  %109 = getelementptr inbounds i8, ptr %108, i64 40
  %110 = load float, ptr %109, align 8, !tbaa !27
  %111 = load float, ptr %64, align 8, !tbaa !27
  %112 = fadd float %110, %111
  store float %112, ptr %64, align 8, !tbaa !27
  %113 = call noundef nonnull align 8 dereferenceable(96) ptr @_ZNSt6vectorI9GAResultsSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %indvars.iv109) #5
  %114 = getelementptr inbounds i8, ptr %113, i64 60
  %115 = load float, ptr %114, align 4, !tbaa !9
  %116 = load float, ptr %65, align 4, !tbaa !9
  %117 = fadd float %115, %116
  store float %117, ptr %65, align 4, !tbaa !9
  %indvars.iv.next110 = add nuw nsw i64 %indvars.iv109, 1
  %exitcond113.not = icmp eq i64 %indvars.iv.next110, %wide.trip.count112
  br i1 %exitcond113.not, label %._crit_edge96.loopexit, label %86, !llvm.loop !31

118:                                              ; preds = %._crit_edge96
  call void @_ZNSt6vectorI9GAResultsSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  ret void

119:                                              ; preds = %._crit_edge96
  %120 = landingpad { ptr, i32 }
          cleanup
  br label %121

121:                                              ; preds = %.split, %.split.us, %100, %119, %75, %.split85.us, %.split82.us
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69, %75 ], [ %60, %.split85.us ], [ %59, %.split82.us ], [ %101, %100 ], [ %120, %119 ], [ %74, %.split ], [ %58, %.split.us ]
  call void @_ZNSt6vectorI9GAResultsSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %6) #5
  br label %122

122:                                              ; preds = %121, %68
  %.pn69.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn, %121 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %6) #5
  resume { ptr, i32 } %.pn69.pn.pn.pn.pn
}

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

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

declare i32 @__gxx_personality_v0(...)

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

declare void @_ZN6RealGA18popInitRandUniformEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #3

declare void @_ZN6RealGA7restartEv(ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #3

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

; Function Attrs: nounwind
declare i64 @clock() local_unnamed_addr #4

declare void @_ZN6RealGA17getBestChromosomeEv(ptr dead_on_unwind writable sret(%class.RealChromosome) align 8, ptr noundef nonnull align 8 dereferenceable(296)) local_unnamed_addr #3

; Function Attrs: nounwind
declare void @_ZN14RealChromosomeD1Ev(ptr noundef nonnull align 8 dereferenceable(28)) unnamed_addr #4

declare noundef nonnull align 8 dereferenceable(28) ptr @_ZN14RealChromosomeaSERKS_(ptr noundef nonnull align 8 dereferenceable(28), ptr noundef nonnull align 8 dereferenceable(28)) local_unnamed_addr #3

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

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

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

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 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 60}
!10 = !{!"_ZTS9GAResults", !11, i64 0, !15, i64 32, !6, i64 36, !6, i64 40, !6, i64 44, !6, i64 48, !6, i64 52, !6, i64 56, !6, i64 60, !16, i64 64}
!11 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !12, i64 0, !14, i64 8, !7, i64 16}
!12 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = !{!"long", !7, i64 0}
!15 = !{!"int", !7, i64 0}
!16 = !{!"_ZTS14RealChromosome", !17, i64 0, !6, i64 24}
!17 = !{!"_ZTSSt6vectorIfSaIfEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!21 = !{!10, !6, i64 44}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.mustprogress"}
!24 = !{!25, !25, i64 0}
!25 = !{!"vtable pointer", !8, i64 0}
!26 = !{!16, !6, i64 24}
!27 = !{!10, !6, i64 40}
!28 = !{!10, !6, i64 88}
!29 = !{!10, !6, i64 52}
!30 = distinct !{!30, !23}
!31 = distinct !{!31, !23}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass