; LLVM IR from o0o0o0o0o0o0o/image-processing-from-scratch :: ImageMatting/Eigen/bench (analyze-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.__gnu_cxx::__normal_iterator" = type { ptr }
%struct.preprocessed_inputfile_t = type { %"class.std::__cxx11::basic_string", %"class.std::vector.3" }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<preprocessed_inputfile_entry_t, std::allocator<preprocessed_inputfile_entry_t>>::_Vector_impl" }
%"struct.std::_Vector_base<preprocessed_inputfile_entry_t, std::allocator<preprocessed_inputfile_entry_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<preprocessed_inputfile_entry_t, std::allocator<preprocessed_inputfile_entry_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<preprocessed_inputfile_entry_t, std::allocator<preprocessed_inputfile_entry_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.preprocessed_inputfile_entry_t = type { i16, i16, float }

; 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef float @_Z20efficiency_of_subsetRKSt6vectorI24preprocessed_inputfile_tSaIS0_EERKS_ImSaImEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) #2 {
  %3 = alloca float, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca float, align 4
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i16, align 2
  %12 = alloca float, align 4
  %13 = alloca i64, align 8
  %14 = alloca i32, align 4
  %15 = alloca float, align 4
  %16 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %17 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  %18 = load ptr, ptr %5, align 8, !tbaa !5
  %19 = call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #4
  %20 = icmp ule i64 %19, 1
  br i1 %20, label %21, label %22

21:                                               ; preds = %2
  store float 1.000000e+00, ptr %3, align 4
  br label %111

22:                                               ; preds = %2
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %24, i64 noundef 0) #4
  %26 = load i64, ptr %25, align 8, !tbaa !9
  %27 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %26) #4
  store ptr %27, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %28, i32 0, i32 1
  %30 = call noundef i64 @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %29) #4
  store i64 %30, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store float 1.000000e+00, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  store i64 0, ptr %9, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  store i64 0, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #4
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %31, i32 0, i32 1
  %33 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %32, i64 noundef 0) #4
  %34 = getelementptr inbounds %struct.preprocessed_inputfile_entry_t, ptr %33, i32 0, i32 0
  %35 = load i16, ptr %34, align 4, !tbaa !13
  store i16 %35, ptr %11, align 2, !tbaa !16
  br label %36

36:                                               ; preds = %108, %22
  %37 = load i64, ptr %9, align 8, !tbaa !9
  %38 = load i64, ptr %7, align 8, !tbaa !9
  %39 = icmp ult i64 %37, %38
  br i1 %39, label %40, label %109

40:                                               ; preds = %36
  %41 = load i64, ptr %9, align 8, !tbaa !9
  %42 = add i64 %41, 1
  store i64 %42, ptr %9, align 8, !tbaa !9
  %43 = load i64, ptr %9, align 8, !tbaa !9
  %44 = load i64, ptr %7, align 8, !tbaa !9
  %45 = icmp eq i64 %43, %44
  br i1 %45, label %57, label %46

46:                                               ; preds = %40
  %47 = load ptr, ptr %6, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %47, i32 0, i32 1
  %49 = load i64, ptr %9, align 8, !tbaa !9
  %50 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef %49) #4
  %51 = getelementptr inbounds %struct.preprocessed_inputfile_entry_t, ptr %50, i32 0, i32 0
  %52 = load i16, ptr %51, align 4, !tbaa !13
  %53 = zext i16 %52 to i32
  %54 = load i16, ptr %11, align 2, !tbaa !16
  %55 = zext i16 %54 to i32
  %56 = icmp ne i32 %53, %55
  br i1 %56, label %57, label %108

57:                                               ; preds = %46, %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store float 0.000000e+00, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %58 = load i64, ptr %10, align 8, !tbaa !9
  store i64 %58, ptr %13, align 8, !tbaa !9
  br label %59

59:                                               ; preds = %90, %57
  %60 = load i64, ptr %13, align 8, !tbaa !9
  %61 = load i64, ptr %9, align 8, !tbaa !9
  %62 = icmp ult i64 %60, %61
  br i1 %62, label %64, label %63

63:                                               ; preds = %59
  store i32 4, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  br label %93

64:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  store float 1.000000e+00, ptr %15, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  %65 = load ptr, ptr %5, align 8, !tbaa !5
  %66 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %65) #4
  %67 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %16, i32 0, i32 0
  store ptr %66, ptr %67, align 8
  br label %68

68:                                               ; preds = %85, %64
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  %69 = load ptr, ptr %5, align 8, !tbaa !5
  %70 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %69) #4
  %71 = getelementptr inbounds %"class.__gnu_cxx::__normal_iterator", ptr %17, i32 0, i32 0
  store ptr %70, ptr %71, align 8
  %72 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull align 8 dereferenceable(8) %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  br i1 %72, label %74, label %73

73:                                               ; preds = %68
  store i32 7, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %87

74:                                               ; preds = %68
  %75 = load ptr, ptr %4, align 8, !tbaa !5
  %76 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKmSt6vectorImSaImEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #4
  %77 = load i64, ptr %76, align 8, !tbaa !9
  %78 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %75, i64 noundef %77) #4
  %79 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %78, i32 0, i32 1
  %80 = load i64, ptr %13, align 8, !tbaa !9
  %81 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %79, i64 noundef %80) #4
  %82 = getelementptr inbounds %struct.preprocessed_inputfile_entry_t, ptr %81, i32 0, i32 2
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %15, ptr noundef nonnull align 4 dereferenceable(4) %82)
  %84 = load float, ptr %83, align 4, !tbaa !11
  store float %84, ptr %15, align 4, !tbaa !11
  br label %85

85:                                               ; preds = %74
  %86 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKmSt6vectorImSaImEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %16) #4
  br label %68, !llvm.loop !17

87:                                               ; preds = %73
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %12, ptr noundef nonnull align 4 dereferenceable(4) %15)
  %89 = load float, ptr %88, align 4, !tbaa !11
  store float %89, ptr %12, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %90

90:                                               ; preds = %87
  %91 = load i64, ptr %13, align 8, !tbaa !9
  %92 = add i64 %91, 1
  store i64 %92, ptr %13, align 8, !tbaa !9
  br label %59, !llvm.loop !19

93:                                               ; preds = %63
  %94 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %8, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %95 = load float, ptr %94, align 4, !tbaa !11
  store float %95, ptr %8, align 4, !tbaa !11
  %96 = load i64, ptr %9, align 8, !tbaa !9
  %97 = load i64, ptr %7, align 8, !tbaa !9
  %98 = icmp ult i64 %96, %97
  br i1 %98, label %99, label %107

99:                                               ; preds = %93
  %100 = load i64, ptr %9, align 8, !tbaa !9
  store i64 %100, ptr %10, align 8, !tbaa !9
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.preprocessed_inputfile_t, ptr %101, i32 0, i32 1
  %103 = load i64, ptr %9, align 8, !tbaa !9
  %104 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %102, i64 noundef %103) #4
  %105 = getelementptr inbounds %struct.preprocessed_inputfile_entry_t, ptr %104, i32 0, i32 0
  %106 = load i16, ptr %105, align 4, !tbaa !13
  store i16 %106, ptr %11, align 2, !tbaa !16
  br label %107

107:                                              ; preds = %99, %93
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  br label %108

108:                                              ; preds = %107, %46
  br label %36, !llvm.loop !20

109:                                              ; preds = %36
  %110 = load float, ptr %8, align 4, !tbaa !11
  store float %110, ptr %3, align 4
  store i32 1, ptr %14, align 4
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %111

111:                                              ; preds = %109, %21
  %112 = load float, ptr %3, align 4
  ret float %112
}

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

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

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

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

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

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKmSt6vectorImSaImEEEppEv(ptr noundef nonnull align 8 dereferenceable(8)) #1 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)) #3

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


; 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.__gnu_cxx::__normal_iterator" = type { ptr }

; 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: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #1 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef float @_Z20efficiency_of_subsetRKSt6vectorI24preprocessed_inputfile_tSaIS0_EERKS_ImSaImEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1) local_unnamed_addr #1 {
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %7 = alloca %"class.__gnu_cxx::__normal_iterator", align 8
  %8 = tail call noundef i64 @_ZNKSt6vectorImSaImEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  %9 = icmp ult i64 %8, 2
  br i1 %9, label %50, label %10

10:                                               ; preds = %2
  %11 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNKSt6vectorImSaImEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef 0) #3
  %12 = load i64, ptr %11, align 8, !tbaa !5
  %13 = tail call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %12) #3
  %14 = getelementptr inbounds i8, ptr %13, i64 32
  %15 = tail call noundef i64 @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #3
  store float 1.000000e+00, ptr %3, align 4, !tbaa !9
  %16 = tail call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef 0) #3
  %.not47 = icmp eq i64 %15, 0
  br i1 %.not47, label %._crit_edge46, label %.lr.ph45.preheader

.lr.ph45.preheader:                               ; preds = %10
  %17 = load i16, ptr %16, align 4, !tbaa !11
  br label %.lr.ph45

.lr.ph45:                                         ; preds = %.lr.ph45.preheader, %48
  %indvars.iv = phi i64 [ 1, %.lr.ph45.preheader ], [ %indvars.iv.next, %48 ]
  %.02643 = phi i16 [ %17, %.lr.ph45.preheader ], [ %.2, %48 ]
  %.02742 = phi i64 [ 0, %.lr.ph45.preheader ], [ %.229, %48 ]
  %.03041 = phi i64 [ 0, %.lr.ph45.preheader ], [ %18, %48 ]
  %18 = add nuw i64 %.03041, 1
  %19 = icmp eq i64 %18, %15
  br i1 %19, label %23, label %20

20:                                               ; preds = %.lr.ph45
  %21 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %18) #3
  %22 = load i16, ptr %21, align 4, !tbaa !11
  %.not = icmp eq i16 %22, %.02643
  br i1 %.not, label %48, label %23

23:                                               ; preds = %20, %.lr.ph45
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #3
  store float 0.000000e+00, ptr %4, align 4, !tbaa !9
  %.not3536 = icmp ugt i64 %.02742, %.03041
  br i1 %.not3536, label %._crit_edge40, label %.lr.ph39

._crit_edge40:                                    ; preds = %._crit_edge, %23
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %3, ptr noundef nonnull align 4 dereferenceable(4) %4)
  %25 = load float, ptr %24, align 4, !tbaa !9
  store float %25, ptr %3, align 4, !tbaa !9
  %26 = icmp ult i64 %18, %15
  br i1 %26, label %44, label %47

.lr.ph39:                                         ; preds = %23, %._crit_edge
  %.037 = phi i64 [ %32, %._crit_edge ], [ %.02742, %23 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %5) #3
  store float 1.000000e+00, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  %27 = call ptr @_ZNKSt6vectorImSaImEE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store ptr %27, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %28 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store ptr %28, ptr %7, align 8
  %29 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br i1 %29, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph, %.lr.ph39
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  %30 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3maxIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %4, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %31 = load float, ptr %30, align 4, !tbaa !9
  store float %31, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %5) #3
  %32 = add nuw i64 %.037, 1
  %exitcond = icmp eq i64 %32, %indvars.iv
  br i1 %exitcond, label %._crit_edge40, label %.lr.ph39, !llvm.loop !14

.lr.ph:                                           ; preds = %.lr.ph39, %.lr.ph
  %33 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK9__gnu_cxx17__normal_iteratorIPKmSt6vectorImSaImEEEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  %34 = load i64, ptr %33, align 8, !tbaa !5
  %35 = call noundef nonnull align 8 dereferenceable(56) ptr @_ZNKSt6vectorI24preprocessed_inputfile_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %0, i64 noundef %34) #3
  %36 = getelementptr inbounds i8, ptr %35, i64 32
  %37 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %.037) #3
  %38 = getelementptr inbounds i8, ptr %37, i64 4
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZSt3minIfERKT_S2_S2_(ptr noundef nonnull align 4 dereferenceable(4) %5, ptr noundef nonnull align 4 dereferenceable(4) %38)
  %40 = load float, ptr %39, align 4, !tbaa !9
  store float %40, ptr %5, align 4, !tbaa !9
  %41 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZN9__gnu_cxx17__normal_iteratorIPKmSt6vectorImSaImEEEppEv(ptr noundef nonnull align 8 dereferenceable(8) %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  %42 = call ptr @_ZNKSt6vectorImSaImEE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #3
  store ptr %42, ptr %7, align 8
  %43 = call noundef zeroext i1 @_ZN9__gnu_cxxneIPKmSt6vectorImSaImEEEEbRKNS_17__normal_iteratorIT_T0_EESB_(ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  br i1 %43, label %.lr.ph, label %._crit_edge, !llvm.loop !16

44:                                               ; preds = %._crit_edge40
  %45 = call noundef nonnull align 4 dereferenceable(8) ptr @_ZNKSt6vectorI30preprocessed_inputfile_entry_tSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %14, i64 noundef %18) #3
  %46 = load i16, ptr %45, align 4, !tbaa !11
  br label %47

47:                                               ; preds = %44, %._crit_edge40
  %.128 = phi i64 [ %18, %44 ], [ %.02742, %._crit_edge40 ]
  %.1 = phi i16 [ %46, %44 ], [ %.02643, %._crit_edge40 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #3
  br label %48

48:                                               ; preds = %47, %20
  %.229 = phi i64 [ %.128, %47 ], [ %.02742, %20 ]
  %.2 = phi i16 [ %.1, %47 ], [ %.02643, %20 ]
  %indvars.iv.next = add i64 %indvars.iv, 1
  %exitcond48.not = icmp eq i64 %18, %15
  br i1 %exitcond48.not, label %._crit_edge46.loopexit, label %.lr.ph45, !llvm.loop !17

._crit_edge46.loopexit:                           ; preds = %48
  %.pre = load float, ptr %3, align 4, !tbaa !9
  br label %._crit_edge46

._crit_edge46:                                    ; preds = %._crit_edge46.loopexit, %10
  %49 = phi float [ %.pre, %._crit_edge46.loopexit ], [ 1.000000e+00, %10 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #3
  br label %50

50:                                               ; preds = %2, %._crit_edge46
  %.031 = phi float [ %49, %._crit_edge46 ], [ 1.000000e+00, %2 ]
  ret float %.031
}

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

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

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

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

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

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

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

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

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


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