; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/bench (benchmark-blocking-sizes)

; 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.Eigen::BenchTimer" = type { %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix" }
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [2 x double] }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<benchmark_t, std::allocator<benchmark_t>>::_Vector_impl" }
%"struct.std::_Vector_base<benchmark_t, std::allocator<benchmark_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<benchmark_t, std::allocator<benchmark_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<benchmark_t, std::allocator<benchmark_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.36" = type { ptr }
%struct.benchmark_t = type { i16, i16, i8, float }

@_ZL5timer = external hidden global %"class.Eigen::BenchTimer", align 16
@max_clock_speed = external dso_local global float, align 4
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@_ZL16session_filename = external hidden constant [54 x i8], align 16
@.str.48 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8), float noundef) #2 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z19measure_clock_speedv() #2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK5Eigen10BenchTimer11getRealTimeEv(ptr noundef nonnull align 16 dereferenceable(80)) #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14run_benchmarksRSt6vectorI11benchmark_tSaIS0_EE(ptr noundef nonnull align 8 dereferenceable(24) %0) #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca %"class.std::vector.31", align 8
  %5 = alloca i8, align 1
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.__gnu_cxx::__normal_iterator.36", align 8
  %9 = alloca %"class.__gnu_cxx::__normal_iterator.36", align 8
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca double, align 8
  %13 = alloca %"class.__gnu_cxx::__normal_iterator.36", align 8
  %14 = alloca %"class.__gnu_cxx::__normal_iterator.36", align 8
  %15 = alloca %"class.std::vector.31", align 8
  %16 = alloca %"class.__gnu_cxx::__normal_iterator.36", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator.36", align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #5
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  store i8 0, ptr %5, align 1, !tbaa !9
  %18 = invoke noundef zeroext i1 @_Z22deserialize_benchmarksPKcRSt6vectorI11benchmark_tSaIS2_EERm(ptr noundef @_ZL16session_filename, ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %19 unwind label %48

19:                                               ; preds = %1
  br i1 %18, label %20, label %53

20:                                               ; preds = %19
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef @.str.48)
          to label %22 unwind label %48

22:                                               ; preds = %20
  %23 = load i64, ptr %3, align 8, !tbaa !11
  %24 = uitofp i64 %23 to float
  %25 = fmul float 1.000000e+02, %24
  %26 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %27 = uitofp i64 %26 to float
  %28 = fdiv float %25, %27
  %29 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %21, float noundef %28)
          to label %30 unwind label %48

30:                                               ; preds = %22
  %31 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef @.str.49)
          to label %32 unwind label %48

32:                                               ; preds = %30
  %33 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %31, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %34 unwind label %48

34:                                               ; preds = %32
  %35 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  %36 = load ptr, ptr %2, align 8, !tbaa !5
  %37 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %36) #5
  %38 = icmp eq i64 %35, %37
  br i1 %38, label %39, label %52

39:                                               ; preds = %34
  %40 = load i64, ptr %3, align 8, !tbaa !11
  %41 = icmp ugt i64 %40, 0
  br i1 %41, label %42, label %52

42:                                               ; preds = %39
  %43 = load i64, ptr %3, align 8, !tbaa !11
  %44 = load ptr, ptr %2, align 8, !tbaa !5
  %45 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #5
  %46 = icmp ult i64 %43, %45
  br i1 %46, label %47, label %52

47:                                               ; preds = %42
  store i8 1, ptr %5, align 1, !tbaa !9
  br label %52

48:                                               ; preds = %60, %56, %32, %30, %22, %20, %1
  %49 = landingpad { ptr, i32 }
          cleanup
  %50 = extractvalue { ptr, i32 } %49, 0
  store ptr %50, ptr %6, align 8
  %51 = extractvalue { ptr, i32 } %49, 1
  store i32 %51, ptr %7, align 4
  br label %173

52:                                               ; preds = %47, %42, %39, %34
  br label %53

53:                                               ; preds = %52, %19
  %54 = load i8, ptr %5, align 1, !tbaa !9, !range !13, !noundef !14
  %55 = trunc i8 %54 to i1
  br i1 %55, label %56, label %60

56:                                               ; preds = %53
  %57 = load ptr, ptr %2, align 8, !tbaa !5
  %58 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI11benchmark_tSaIS0_EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %57, ptr noundef nonnull align 8 dereferenceable(24) %4)
          to label %59 unwind label %48

59:                                               ; preds = %56
  br label %72

60:                                               ; preds = %53
  store i64 0, ptr %3, align 8, !tbaa !11
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %61) #5
  %63 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %8, i32 0, i32 0
  store ptr %62, ptr %63, align 8
  %64 = load ptr, ptr %2, align 8, !tbaa !5
  %65 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %64) #5
  %66 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %9, i32 0, i32 0
  store ptr %65, ptr %66, align 8
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %8, i32 0, i32 0
  %68 = load ptr, ptr %67, align 8
  %69 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %9, i32 0, i32 0
  %70 = load ptr, ptr %69, align 8
  invoke void @_ZSt14random_shuffleIN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %68, ptr %70)
          to label %71 unwind label %48

71:                                               ; preds = %60
  br label %72

72:                                               ; preds = %71, %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !15
  br label %73

73:                                               ; preds = %83, %72
  %74 = load i32, ptr %10, align 4, !tbaa !15
  %75 = icmp slt i32 %74, 4
  br i1 %75, label %77, label %76

76:                                               ; preds = %73
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %90

77:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %78 = invoke noundef float @_Z19measure_clock_speedv()
          to label %79 unwind label %86

79:                                               ; preds = %77
  store float %78, ptr %11, align 4, !tbaa !17
  %80 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @max_clock_speed, ptr noundef nonnull align 4 dereferenceable(4) %11)
          to label %81 unwind label %86

81:                                               ; preds = %79
  %82 = load float, ptr %80, align 4, !tbaa !17
  store float %82, ptr @max_clock_speed, align 4, !tbaa !17
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %83

83:                                               ; preds = %81
  %84 = load i32, ptr %10, align 4, !tbaa !15
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %10, align 4, !tbaa !15
  br label %73, !llvm.loop !19

86:                                               ; preds = %79, %77
  %87 = landingpad { ptr, i32 }
          cleanup
  %88 = extractvalue { ptr, i32 } %87, 0
  store ptr %88, ptr %6, align 8
  %89 = extractvalue { ptr, i32 } %87, 1
  store i32 %89, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %173

90:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  store double 0.000000e+00, ptr %12, align 8, !tbaa !21
  br label %91

91:                                               ; preds = %109, %90
  %92 = load i64, ptr %3, align 8, !tbaa !11
  %93 = load ptr, ptr %2, align 8, !tbaa !5
  %94 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %93) #5
  %95 = icmp ult i64 %92, %94
  br i1 %95, label %96, label %110

96:                                               ; preds = %91
  %97 = load i64, ptr %3, align 8, !tbaa !11
  %98 = icmp eq i64 %97, 0
  br i1 %98, label %99, label %106

99:                                               ; preds = %96
  %100 = invoke noundef double @_ZNK5Eigen10BenchTimer11getRealTimeEv(ptr noundef nonnull align 16 dereferenceable(80) @_ZL5timer)
          to label %101 unwind label %102

101:                                              ; preds = %99
  store double %100, ptr %12, align 8, !tbaa !21
  br label %106

102:                                              ; preds = %110, %106, %99
  %103 = landingpad { ptr, i32 }
          cleanup
  %104 = extractvalue { ptr, i32 } %103, 0
  store ptr %104, ptr %6, align 8
  %105 = extractvalue { ptr, i32 } %103, 1
  store i32 %105, ptr %7, align 4
  br label %172

106:                                              ; preds = %101, %96
  %107 = load ptr, ptr %2, align 8, !tbaa !5
  %108 = load double, ptr %12, align 8, !tbaa !21
  invoke void @_Z23try_run_some_benchmarksRSt6vectorI11benchmark_tSaIS0_EEdRm(ptr noundef nonnull align 8 dereferenceable(24) %107, double noundef %108, ptr noundef nonnull align 8 dereferenceable(8) %3)
          to label %109 unwind label %102

109:                                              ; preds = %106
  br label %91, !llvm.loop !23

110:                                              ; preds = %91
  %111 = load ptr, ptr %2, align 8, !tbaa !5
  %112 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %111) #5
  %113 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %13, i32 0, i32 0
  store ptr %112, ptr %113, align 8
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %114) #5
  %116 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %14, i32 0, i32 0
  store ptr %115, ptr %116, align 8
  %117 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %13, i32 0, i32 0
  %118 = load ptr, ptr %117, align 8
  %119 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %14, i32 0, i32 0
  %120 = load ptr, ptr %119, align 8
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %118, ptr %120)
          to label %121 unwind label %102

121:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #5
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %122) #5
  %124 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %16, i32 0, i32 0
  store ptr %123, ptr %124, align 8
  br label %125

125:                                              ; preds = %161, %121
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %126 = load ptr, ptr %2, align 8, !tbaa !5
  %127 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %126) #5
  %128 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator.36", ptr %17, i32 0, i32 0
  store ptr %127, ptr %128, align 8
  %129 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP11benchmark_tSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  br i1 %129, label %131, label %130

130:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %163

131:                                              ; preds = %125
  %132 = call noundef zeroext i1 @_ZNKSt6vectorI11benchmark_tSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br i1 %132, label %153, label %133

133:                                              ; preds = %131
  %134 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %135 = getelementptr inbounds %struct.benchmark_t, ptr %134, i32 0, i32 0
  %136 = load i16, ptr %135, align 4, !tbaa !24
  %137 = zext i16 %136 to i32
  %138 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  %139 = getelementptr inbounds %struct.benchmark_t, ptr %138, i32 0, i32 0
  %140 = load i16, ptr %139, align 4, !tbaa !24
  %141 = zext i16 %140 to i32
  %142 = icmp ne i32 %137, %141
  br i1 %142, label %153, label %143

143:                                              ; preds = %133
  %144 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  %145 = getelementptr inbounds %struct.benchmark_t, ptr %144, i32 0, i32 1
  %146 = load i16, ptr %145, align 2, !tbaa !27
  %147 = zext i16 %146 to i32
  %148 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  %149 = getelementptr inbounds %struct.benchmark_t, ptr %148, i32 0, i32 1
  %150 = load i16, ptr %149, align 2, !tbaa !27
  %151 = zext i16 %150 to i32
  %152 = icmp ne i32 %147, %151
  br i1 %152, label %153, label %160

153:                                              ; preds = %143, %133, %131
  %154 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  invoke void @_ZNSt6vectorI11benchmark_tSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr noundef nonnull align 4 dereferenceable(12) %154)
          to label %155 unwind label %156

155:                                              ; preds = %153
  br label %160

156:                                              ; preds = %153
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %6, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  br label %171

160:                                              ; preds = %155, %143
  br label %161

161:                                              ; preds = %160
  %162 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #5
  br label %125, !llvm.loop !28

163:                                              ; preds = %130
  %164 = load ptr, ptr %2, align 8, !tbaa !5
  %165 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI11benchmark_tSaIS0_EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %164, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %166 unwind label %167

166:                                              ; preds = %163
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  ret void

167:                                              ; preds = %163
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %6, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %7, align 4
  br label %171

171:                                              ; preds = %167, %156
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #5
  br label %172

172:                                              ; preds = %171, %102
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  br label %173

173:                                              ; preds = %172, %86, %48
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  br label %174

174:                                              ; preds = %173
  %175 = load ptr, ptr %6, align 8
  %176 = load i32, ptr %7, align 4
  %177 = insertvalue { ptr, i32 } poison, ptr %175, 0
  %178 = insertvalue { ptr, i32 } %177, i32 %176, 1
  resume { ptr, i32 } %178
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt14random_shuffleIN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr, ptr) #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr, ptr) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP11benchmark_tSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) #3 align 2

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

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { 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 #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 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !22, i64 0}
!22 = !{!"double", !7, i64 0}
!23 = distinct !{!23, !20}
!24 = !{!25, !26, i64 0}
!25 = !{!"_ZTS11benchmark_t", !26, i64 0, !26, i64 2, !10, i64 4, !18, i64 8}
!26 = !{!"short", !7, i64 0}
!27 = !{!25, !26, i64 2}
!28 = distinct !{!28, !20}


; 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.Eigen::BenchTimer" = type { %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix", %"class.Eigen::Matrix" }
%"class.Eigen::Matrix" = type { %"class.Eigen::PlainObjectBase" }
%"class.Eigen::PlainObjectBase" = type { %"class.Eigen::DenseStorage" }
%"class.Eigen::DenseStorage" = type { %"struct.Eigen::internal::plain_array" }
%"struct.Eigen::internal::plain_array" = type { [2 x double] }
%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector.31" = type { %"struct.std::_Vector_base.32" }
%"struct.std::_Vector_base.32" = type { %"struct.std::_Vector_base<benchmark_t, std::allocator<benchmark_t>>::_Vector_impl" }
%"struct.std::_Vector_base<benchmark_t, std::allocator<benchmark_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<benchmark_t, std::allocator<benchmark_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<benchmark_t, std::allocator<benchmark_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.__gnu_cxx::__normal_iterator.36" = type { ptr }

@_ZL5timer = external hidden global %"class.Eigen::BenchTimer", align 16
@max_clock_speed = external dso_local global float, align 4
@_ZSt4cerr = external global %"class.std::basic_ostream", align 8
@_ZL16session_filename = external hidden constant [54 x i8], align 16
@.str.48 = external hidden unnamed_addr constant [31 x i8], align 1
@.str.49 = external hidden unnamed_addr constant [16 x i8], align 1

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_(ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: mustprogress uwtable
declare dso_local noundef float @_Z19measure_clock_speedv() local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZNK5Eigen10BenchTimer11getRealTimeEv(ptr noundef nonnull align 16 dereferenceable(80)) local_unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z14run_benchmarksRSt6vectorI11benchmark_tSaIS0_EE(ptr noundef nonnull align 8 dereferenceable(24) %0) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %2 = alloca i64, align 8
  %3 = alloca %"class.std::vector.31", align 8
  %4 = alloca float, align 4
  %5 = alloca %"class.std::vector.31", align 8
  %6 = alloca %"class.__gnu_cxx::__normal_iterator.36", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator.36", align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #5
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %8 = invoke noundef zeroext i1 @_Z22deserialize_benchmarksPKcRSt6vectorI11benchmark_tSaIS2_EERm(ptr noundef nonnull @_ZL16session_filename, ptr noundef nonnull align 8 dereferenceable(24) %3, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %9 unwind label %33

9:                                                ; preds = %1
  br i1 %8, label %10, label %.critedge

10:                                               ; preds = %9
  %11 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cerr, ptr noundef nonnull @.str.48)
          to label %12 unwind label %33

12:                                               ; preds = %10
  %13 = load i64, ptr %2, align 8, !tbaa !5
  %14 = uitofp i64 %13 to float
  %15 = fmul float %14, 1.000000e+02
  %16 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %17 = uitofp i64 %16 to float
  %18 = fdiv float %15, %17
  %19 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %11, float noundef %18)
          to label %20 unwind label %33

20:                                               ; preds = %12
  %21 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef nonnull @.str.49)
          to label %22 unwind label %33

22:                                               ; preds = %20
  %23 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %21, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %24 unwind label %33

24:                                               ; preds = %22
  %25 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  %26 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %27 = icmp eq i64 %25, %26
  %28 = load i64, ptr %2, align 8
  %29 = icmp ne i64 %28, 0
  %or.cond = select i1 %27, i1 %29, i1 false
  br i1 %or.cond, label %30, label %.critedge

30:                                               ; preds = %24
  %31 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %32 = icmp ult i64 %28, %31
  br i1 %32, label %35, label %.critedge

33:                                               ; preds = %.critedge, %35, %22, %20, %12, %10, %1
  %34 = landingpad { ptr, i32 }
          cleanup
  br label %99

35:                                               ; preds = %30
  %36 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI11benchmark_tSaIS0_EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %3)
          to label %39 unwind label %33

.critedge:                                        ; preds = %24, %9, %30
  store i64 0, ptr %2, align 8, !tbaa !5
  %37 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %38 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  invoke void @_ZSt14random_shuffleIN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %37, ptr %38)
          to label %39 unwind label %33

39:                                               ; preds = %.critedge, %35
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %40 = invoke noundef float @_Z19measure_clock_speedv()
          to label %41 unwind label %55

41:                                               ; preds = %39
  store float %40, ptr %4, align 4, !tbaa !9
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @max_clock_speed, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %43 = load float, ptr %42, align 4, !tbaa !9
  store float %43, ptr @max_clock_speed, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %44 = invoke noundef float @_Z19measure_clock_speedv()
          to label %45 unwind label %55

45:                                               ; preds = %41
  store float %44, ptr %4, align 4, !tbaa !9
  %46 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @max_clock_speed, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %47 = load float, ptr %46, align 4, !tbaa !9
  store float %47, ptr @max_clock_speed, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %48 = invoke noundef float @_Z19measure_clock_speedv()
          to label %49 unwind label %55

49:                                               ; preds = %45
  store float %48, ptr %4, align 4, !tbaa !9
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @max_clock_speed, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %51 = load float, ptr %50, align 4, !tbaa !9
  store float %51, ptr @max_clock_speed, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #5
  %52 = invoke noundef float @_Z19measure_clock_speedv()
          to label %.preheader.preheader unwind label %55

.preheader.preheader:                             ; preds = %49
  store float %52, ptr %4, align 4, !tbaa !9
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) @max_clock_speed, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %54 = load float, ptr %53, align 4, !tbaa !9
  store float %54, ptr @max_clock_speed, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %.preheader

55:                                               ; preds = %49, %45, %41, %39
  %56 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #5
  br label %99

.preheader:                                       ; preds = %.preheader.preheader, %65
  %.022 = phi double [ %.123, %65 ], [ 0.000000e+00, %.preheader.preheader ]
  %57 = load i64, ptr %2, align 8, !tbaa !5
  %58 = call noundef i64 @_ZNKSt6vectorI11benchmark_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %59 = icmp ult i64 %57, %58
  br i1 %59, label %60, label %66

60:                                               ; preds = %.preheader
  %61 = load i64, ptr %2, align 8, !tbaa !5
  %62 = icmp eq i64 %61, 0
  br i1 %62, label %63, label %65

63:                                               ; preds = %60
  %64 = call noundef double @_ZNK5Eigen10BenchTimer11getRealTimeEv(ptr noundef nonnull align 16 dereferenceable(80) @_ZL5timer)
  br label %65

.loopexit:                                        ; preds = %65
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %99

.loopexit.split-lp:                               ; preds = %66
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %99

65:                                               ; preds = %63, %60
  %.123 = phi double [ %64, %63 ], [ %.022, %60 ]
  invoke void @_Z23try_run_some_benchmarksRSt6vectorI11benchmark_tSaIS0_EEdRm(ptr noundef nonnull align 8 dereferenceable(24) %0, double noundef %.123, ptr noundef nonnull align 8 dereferenceable(8) %2)
          to label %.preheader unwind label %.loopexit, !llvm.loop !11

66:                                               ; preds = %.preheader
  %67 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  %68 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  invoke void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr %67, ptr %68)
          to label %69 unwind label %.loopexit.split-lp

69:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %5) #5
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #5
  %70 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  store ptr %70, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %71 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  store ptr %71, ptr %7, align 8
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP11benchmark_tSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br i1 %72, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %91, %69
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  %73 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorI11benchmark_tSaIS0_EEaSERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %5)
          to label %95 unwind label %96

.lr.ph:                                           ; preds = %69, %91
  %74 = call noundef zeroext i1 @_ZNKSt6vectorI11benchmark_tSaIS0_EE5emptyEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  br i1 %74, label %87, label %75

75:                                               ; preds = %.lr.ph
  %76 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %77 = load i16, ptr %76, align 4, !tbaa !13
  %78 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %79 = load i16, ptr %78, align 4, !tbaa !13
  %.not = icmp eq i16 %77, %79
  br i1 %.not, label %80, label %87

80:                                               ; preds = %75
  %81 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE4backEv(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  %82 = getelementptr inbounds i8, ptr %81, i64 2
  %83 = load i16, ptr %82, align 2, !tbaa !17
  %84 = call noundef ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  %85 = getelementptr inbounds i8, ptr %84, i64 2
  %86 = load i16, ptr %85, align 2, !tbaa !17
  %.not29 = icmp eq i16 %83, %86
  br i1 %.not29, label %91, label %87

87:                                               ; preds = %80, %75, %.lr.ph
  %88 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  invoke void @_ZNSt6vectorI11benchmark_tSaIS0_EE9push_backERKS0_(ptr noundef nonnull align 8 dereferenceable(24) %5, ptr noundef nonnull align 4 dereferenceable(12) %88)
          to label %91 unwind label %89

89:                                               ; preds = %87
  %90 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #5
  br label %98

91:                                               ; preds = %80, %87
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  %93 = call ptr @_ZNSt6vectorI11benchmark_tSaIS0_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #5
  store ptr %93, ptr %7, align 8
  %94 = call noundef zeroext i1 @_ZN9__gnu_cxxneIP11benchmark_tSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  br i1 %94, label %.lr.ph, label %._crit_edge, !llvm.loop !18

95:                                               ; preds = %._crit_edge
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  ret void

96:                                               ; preds = %._crit_edge
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %98

98:                                               ; preds = %96, %89
  %.pn = phi { ptr, i32 } [ %90, %89 ], [ %97, %96 ]
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %5) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %5) #5
  br label %99

99:                                               ; preds = %.loopexit, %.loopexit.split-lp, %98, %55, %33
  %.pn33 = phi { ptr, i32 } [ %56, %55 ], [ %34, %33 ], [ %.pn, %98 ], [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt6vectorI11benchmark_tSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %2) #5
  resume { ptr, i32 } %.pn33
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt14random_shuffleIN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr, ptr) local_unnamed_addr #1

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt4sortIN9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS2_SaIS2_EEEEEvT_S8_(ptr, ptr) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZN9__gnu_cxxneIP11benchmark_tSt6vectorIS1_SaIS1_EEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #4

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK9__gnu_cxx17__normal_iteratorIP11benchmark_tSt6vectorIS1_SaIS1_EEEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #3 align 2

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

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

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


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