; LLVM IR from ermig1979/Simd :: src/Test (TestCompare)

; 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.Test::Log" = type { %"class.std::mutex", %"class.std::basic_ofstream", i32, i8, i8, %"class.std::map", %"class.std::map" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.8 }
%union.anon.8 = type { i32 }
%"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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::thread::id, std::__cxx11::basic_string<char>>>, std::less<std::thread::id>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::thread::id, std::__cxx11::basic_string<char>>>, std::less<std::thread::id>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Simd::Allocator" = type { i8 }

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZN4Test3Log5s_logE = external global %"class.Test::Log", align 8
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [46 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test12CompareCycleERKSt6vectorIfN4Simd9AllocatorIfEEES6_mfbiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE = external hidden unnamed_addr constant [104 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [26 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

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

; 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) #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) #2 align 2

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

declare void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fabsf(float noundef) #6

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4Simd3MaxIfEET_S1_S1_(float noundef, float noundef) #7

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

; 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)) #3

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

; 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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test12CompareCycleERKSt6vectorIfN4Simd9AllocatorIfEEES6_mfbiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2, float noundef %3, i1 noundef zeroext %4, i32 noundef %5, ptr noundef nonnull align 8 dereferenceable(32) %6) #2 personality ptr @__gxx_personality_v0 {
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca float, align 4
  %12 = alloca i8, align 1
  %13 = alloca i32, align 4
  %14 = alloca ptr, align 8
  %15 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %16 = alloca %"class.std::vector.12", align 8
  %17 = alloca float, align 4
  %18 = alloca %"struct.Simd::Allocator", align 1
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca i64, align 8
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca float, align 4
  %33 = alloca i64, align 8
  %34 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %35 = alloca %"class.std::__cxx11::basic_string", align 8
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  store ptr %0, ptr %8, align 8, !tbaa !5
  store ptr %1, ptr %9, align 8, !tbaa !5
  store i64 %2, ptr %10, align 8, !tbaa !9
  store float %3, ptr %11, align 4, !tbaa !11
  %37 = zext i1 %4 to i8
  store i8 %37, ptr %12, align 1, !tbaa !13
  store i32 %5, ptr %13, align 4, !tbaa !15
  store ptr %6, ptr %14, align 8, !tbaa !5
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = call noundef i64 @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %38) #8
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = call noundef i64 @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %40) #8
  %42 = icmp eq i64 %39, %41
  br i1 %42, label %43, label %49

43:                                               ; preds = %7
  %44 = load ptr, ptr %8, align 8, !tbaa !5
  %45 = call noundef i64 @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #8
  %46 = load i64, ptr %10, align 8, !tbaa !9
  %47 = urem i64 %45, %46
  %48 = icmp eq i64 %47, 0
  br label %49

49:                                               ; preds = %43, %7
  %50 = phi i1 [ false, %7 ], [ %48, %43 ]
  br i1 %50, label %51, label %52

51:                                               ; preds = %49
  br label %54

52:                                               ; preds = %49
  call void @__assert_fail(ptr noundef @.str.18, ptr noundef @.str.1, i32 noundef 274, ptr noundef @__PRETTY_FUNCTION__._ZN4Test12CompareCycleERKSt6vectorIfN4Simd9AllocatorIfEEES6_mfbiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE) #9
  unreachable

53:                                               ; No predecessors!
  br label %54

54:                                               ; preds = %53, %51
  call void @llvm.lifetime.start.p0(i64 392, ptr %15) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15)
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  %55 = load i64, ptr %10, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store float 0.000000e+00, ptr %17, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %18) #8
  invoke void @_ZN4Simd9AllocatorIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %56 unwind label %73

56:                                               ; preds = %54
  invoke void @_ZNSt6vectorIfN4Simd9AllocatorIfEEEC2EmRKfRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %55, ptr noundef nonnull align 4 dereferenceable(4) %17, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %57 unwind label %73

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  store i32 0, ptr %21, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = call noundef i64 @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %58) #8
  %60 = load i64, ptr %10, align 8, !tbaa !9
  %61 = udiv i64 %59, %60
  store i64 %61, ptr %22, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #8
  store i64 0, ptr %23, align 8, !tbaa !9
  br label %62

62:                                               ; preds = %246, %57
  %63 = load i64, ptr %23, align 8, !tbaa !9
  %64 = load i64, ptr %22, align 8, !tbaa !9
  %65 = icmp ult i64 %63, %64
  br i1 %65, label %66, label %70

66:                                               ; preds = %62
  %67 = load i32, ptr %21, align 4, !tbaa !15
  %68 = load i32, ptr %13, align 4, !tbaa !15
  %69 = icmp sle i32 %67, %68
  br label %70

70:                                               ; preds = %66, %62
  %71 = phi i1 [ false, %62 ], [ %69, %66 ]
  br i1 %71, label %77, label %72

72:                                               ; preds = %70
  store i32 2, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %251

73:                                               ; preds = %56, %54
  %74 = landingpad { ptr, i32 }
          cleanup
  %75 = extractvalue { ptr, i32 } %74, 0
  store ptr %75, ptr %19, align 8
  %76 = extractvalue { ptr, i32 } %74, 1
  store i32 %76, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %18) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %293

77:                                               ; preds = %70
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #8
  %78 = load ptr, ptr %8, align 8, !tbaa !5
  %79 = call noundef ptr @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %78) #8
  %80 = load i64, ptr %23, align 8, !tbaa !9
  %81 = load i64, ptr %10, align 8, !tbaa !9
  %82 = mul i64 %80, %81
  %83 = getelementptr inbounds float, ptr %79, i64 %82
  store ptr %83, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  %84 = load ptr, ptr %9, align 8, !tbaa !5
  %85 = call noundef ptr @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %84) #8
  %86 = load i64, ptr %23, align 8, !tbaa !9
  %87 = load i64, ptr %10, align 8, !tbaa !9
  %88 = mul i64 %86, %87
  %89 = getelementptr inbounds float, ptr %85, i64 %88
  store ptr %89, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #8
  store float 0.000000e+00, ptr %27, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store float 0.000000e+00, ptr %28, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  store i64 0, ptr %29, align 8, !tbaa !9
  br label %90

90:                                               ; preds = %132, %77
  %91 = load i64, ptr %29, align 8, !tbaa !9
  %92 = load i64, ptr %10, align 8, !tbaa !9
  %93 = icmp ult i64 %91, %92
  br i1 %93, label %95, label %94

94:                                               ; preds = %90
  store i32 5, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %139

95:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %96 = load ptr, ptr %26, align 8, !tbaa !5
  %97 = load i64, ptr %29, align 8, !tbaa !9
  %98 = getelementptr inbounds float, ptr %96, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !11
  %100 = load ptr, ptr %25, align 8, !tbaa !5
  %101 = load i64, ptr %29, align 8, !tbaa !9
  %102 = getelementptr inbounds float, ptr %100, i64 %101
  %103 = load float, ptr %102, align 4, !tbaa !11
  %104 = fsub float %99, %103
  store float %104, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  %105 = load ptr, ptr %25, align 8, !tbaa !5
  %106 = load i64, ptr %29, align 8, !tbaa !9
  %107 = getelementptr inbounds float, ptr %105, i64 %106
  %108 = load float, ptr %107, align 4, !tbaa !11
  %109 = invoke noundef float @_ZSt4fabsf(float noundef %108)
          to label %110 unwind label %135

110:                                              ; preds = %95
  %111 = load ptr, ptr %26, align 8, !tbaa !5
  %112 = load i64, ptr %29, align 8, !tbaa !9
  %113 = getelementptr inbounds float, ptr %111, i64 %112
  %114 = load float, ptr %113, align 4, !tbaa !11
  %115 = invoke noundef float @_ZSt4fabsf(float noundef %114)
          to label %116 unwind label %135

116:                                              ; preds = %110
  %117 = invoke noundef float @_ZN4Simd3MaxIfEET_S1_S1_(float noundef %109, float noundef %115)
          to label %118 unwind label %135

118:                                              ; preds = %116
  store float %117, ptr %31, align 4, !tbaa !11
  %119 = load float, ptr %30, align 4, !tbaa !11
  %120 = invoke noundef float @_ZSt4fabsf(float noundef %119)
          to label %121 unwind label %135

121:                                              ; preds = %118
  %122 = load float, ptr %31, align 4, !tbaa !11
  %123 = fdiv float %120, %122
  %124 = load i64, ptr %29, align 8, !tbaa !9
  %125 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfN4Simd9AllocatorIfEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %124) #8
  store float %123, ptr %125, align 4, !tbaa !11
  %126 = load float, ptr %30, align 4, !tbaa !11
  %127 = load float, ptr %27, align 4, !tbaa !11
  %128 = fadd float %127, %126
  store float %128, ptr %27, align 4, !tbaa !11
  %129 = load float, ptr %31, align 4, !tbaa !11
  %130 = load float, ptr %28, align 4, !tbaa !11
  %131 = fadd float %130, %129
  store float %131, ptr %28, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %132

132:                                              ; preds = %121
  %133 = load i64, ptr %29, align 8, !tbaa !9
  %134 = add i64 %133, 1
  store i64 %134, ptr %29, align 8, !tbaa !9
  br label %90, !llvm.loop !17

135:                                              ; preds = %118, %116, %110, %95
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %19, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  br label %250

139:                                              ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %140 = load float, ptr %27, align 4, !tbaa !11
  %141 = invoke noundef float @_ZSt4fabsf(float noundef %140)
          to label %142 unwind label %167

142:                                              ; preds = %139
  %143 = fpext float %141 to double
  %144 = load i64, ptr %10, align 8, !tbaa !9
  %145 = invoke noundef double @_ZSt4sqrtImEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef %144)
          to label %146 unwind label %167

146:                                              ; preds = %142
  %147 = fmul double %143, %145
  %148 = load float, ptr %28, align 4, !tbaa !11
  %149 = fpext float %148 to double
  %150 = fdiv double %147, %149
  %151 = fptrunc double %150 to float
  store float %151, ptr %32, align 4, !tbaa !11
  %152 = load float, ptr %32, align 4, !tbaa !11
  %153 = load float, ptr %11, align 4, !tbaa !11
  %154 = fcmp ogt float %152, %153
  br i1 %154, label %155, label %245

155:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #8
  store i64 0, ptr %33, align 8, !tbaa !9
  br label %156

156:                                              ; preds = %241, %155
  %157 = load i64, ptr %33, align 8, !tbaa !9
  %158 = load i64, ptr %10, align 8, !tbaa !9
  %159 = icmp ult i64 %157, %158
  br i1 %159, label %160, label %164

160:                                              ; preds = %156
  %161 = load i32, ptr %21, align 4, !tbaa !15
  %162 = load i32, ptr %13, align 4, !tbaa !15
  %163 = icmp sle i32 %161, %162
  br label %164

164:                                              ; preds = %160, %156
  %165 = phi i1 [ false, %156 ], [ %163, %160 ]
  br i1 %165, label %171, label %166

166:                                              ; preds = %164
  store i32 8, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %244

167:                                              ; preds = %142, %139
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %19, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %20, align 4
  br label %249

171:                                              ; preds = %164
  %172 = load i64, ptr %33, align 8, !tbaa !9
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfN4Simd9AllocatorIfEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %172) #8
  %174 = load float, ptr %173, align 4, !tbaa !11
  %175 = load float, ptr %11, align 4, !tbaa !11
  %176 = fcmp oge float %174, %175
  br i1 %176, label %177, label %240

177:                                              ; preds = %171
  %178 = load i32, ptr %21, align 4, !tbaa !15
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %21, align 4, !tbaa !15
  %180 = load i8, ptr %12, align 1, !tbaa !13, !range !19, !noundef !20
  %181 = trunc i8 %180 to i1
  br i1 %181, label %182, label %239

182:                                              ; preds = %177
  %183 = load i32, ptr %21, align 4, !tbaa !15
  %184 = icmp eq i32 %183, 1
  br i1 %184, label %185, label %200

185:                                              ; preds = %182
  %186 = getelementptr inbounds i8, ptr %15, i64 16
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %186, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %188 unwind label %196

188:                                              ; preds = %185
  %189 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %187, ptr noundef @.str.10)
          to label %190 unwind label %196

190:                                              ; preds = %188
  %191 = load ptr, ptr %14, align 8, !tbaa !5
  %192 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %189, ptr noundef nonnull align 8 dereferenceable(32) %191)
          to label %193 unwind label %196

193:                                              ; preds = %190
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %195 unwind label %196

195:                                              ; preds = %193
  br label %200

196:                                              ; preds = %236, %234, %229, %227, %221, %219, %213, %211, %208, %206, %203, %200, %193, %190, %188, %185
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %19, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #8
  br label %249

200:                                              ; preds = %195, %182
  %201 = getelementptr inbounds i8, ptr %15, i64 16
  %202 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %201, ptr noundef @.str.11)
          to label %203 unwind label %196

203:                                              ; preds = %200
  %204 = load i64, ptr %23, align 8, !tbaa !9
  %205 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %202, i64 noundef %204)
          to label %206 unwind label %196

206:                                              ; preds = %203
  %207 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %205, ptr noundef @.str.7)
          to label %208 unwind label %196

208:                                              ; preds = %206
  %209 = load i64, ptr %33, align 8, !tbaa !9
  %210 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %207, i64 noundef %209)
          to label %211 unwind label %196

211:                                              ; preds = %208
  %212 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %210, ptr noundef @.str.12)
          to label %213 unwind label %196

213:                                              ; preds = %211
  %214 = load ptr, ptr %25, align 8, !tbaa !5
  %215 = load i64, ptr %33, align 8, !tbaa !9
  %216 = getelementptr inbounds float, ptr %214, i64 %215
  %217 = load float, ptr %216, align 4, !tbaa !11
  %218 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %212, float noundef %217)
          to label %219 unwind label %196

219:                                              ; preds = %213
  %220 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %218, ptr noundef @.str.3)
          to label %221 unwind label %196

221:                                              ; preds = %219
  %222 = load ptr, ptr %26, align 8, !tbaa !5
  %223 = load i64, ptr %33, align 8, !tbaa !9
  %224 = getelementptr inbounds float, ptr %222, i64 %223
  %225 = load float, ptr %224, align 4, !tbaa !11
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %220, float noundef %225)
          to label %227 unwind label %196

227:                                              ; preds = %221
  %228 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %226, ptr noundef @.str.19)
          to label %229 unwind label %196

229:                                              ; preds = %227
  %230 = load i64, ptr %33, align 8, !tbaa !9
  %231 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfN4Simd9AllocatorIfEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %230) #8
  %232 = load float, ptr %231, align 4, !tbaa !11
  %233 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %228, float noundef %232)
          to label %234 unwind label %196

234:                                              ; preds = %229
  %235 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %233, ptr noundef @.str.16)
          to label %236 unwind label %196

236:                                              ; preds = %234
  %237 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %235, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %238 unwind label %196

238:                                              ; preds = %236
  br label %239

239:                                              ; preds = %238, %177
  br label %240

240:                                              ; preds = %239, %171
  br label %241

241:                                              ; preds = %240
  %242 = load i64, ptr %33, align 8, !tbaa !9
  %243 = add i64 %242, 1
  store i64 %243, ptr %33, align 8, !tbaa !9
  br label %156, !llvm.loop !21

244:                                              ; preds = %166
  br label %245

245:                                              ; preds = %244, %146
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  br label %246

246:                                              ; preds = %245
  %247 = load i64, ptr %23, align 8, !tbaa !9
  %248 = add i64 %247, 1
  store i64 %248, ptr %23, align 8, !tbaa !9
  br label %62, !llvm.loop !22

249:                                              ; preds = %196, %167
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %250

250:                                              ; preds = %249, %135
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #8
  br label %292

251:                                              ; preds = %72
  %252 = load i8, ptr %12, align 1, !tbaa !13, !range !19, !noundef !20
  %253 = trunc i8 %252 to i1
  br i1 %253, label %254, label %289

254:                                              ; preds = %251
  %255 = load i32, ptr %21, align 4, !tbaa !15
  %256 = icmp sgt i32 %255, 0
  br i1 %256, label %257, label %289

257:                                              ; preds = %254
  call void @llvm.lifetime.start.p0(i64 392, ptr %34) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %34)
          to label %258 unwind label %265

258:                                              ; preds = %257
  %259 = getelementptr inbounds i8, ptr %34, i64 16
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %35, ptr noundef nonnull align 8 dereferenceable(128) %15)
          to label %260 unwind label %269

260:                                              ; preds = %258
  %261 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %259, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %262 unwind label %273

262:                                              ; preds = %260
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %36, ptr noundef nonnull align 8 dereferenceable(128) %34)
          to label %263 unwind label %278

263:                                              ; preds = %262
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %264 unwind label %282

264:                                              ; preds = %263
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %34) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %34) #8
  br label %289

265:                                              ; preds = %257
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %19, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %20, align 4
  br label %288

269:                                              ; preds = %258
  %270 = landingpad { ptr, i32 }
          cleanup
  %271 = extractvalue { ptr, i32 } %270, 0
  store ptr %271, ptr %19, align 8
  %272 = extractvalue { ptr, i32 } %270, 1
  store i32 %272, ptr %20, align 4
  br label %277

273:                                              ; preds = %260
  %274 = landingpad { ptr, i32 }
          cleanup
  %275 = extractvalue { ptr, i32 } %274, 0
  store ptr %275, ptr %19, align 8
  %276 = extractvalue { ptr, i32 } %274, 1
  store i32 %276, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  br label %277

277:                                              ; preds = %273, %269
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #8
  br label %287

278:                                              ; preds = %262
  %279 = landingpad { ptr, i32 }
          cleanup
  %280 = extractvalue { ptr, i32 } %279, 0
  store ptr %280, ptr %19, align 8
  %281 = extractvalue { ptr, i32 } %279, 1
  store i32 %281, ptr %20, align 4
  br label %286

282:                                              ; preds = %263
  %283 = landingpad { ptr, i32 }
          cleanup
  %284 = extractvalue { ptr, i32 } %283, 0
  store ptr %284, ptr %19, align 8
  %285 = extractvalue { ptr, i32 } %283, 1
  store i32 %285, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  br label %286

286:                                              ; preds = %282, %278
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  br label %287

287:                                              ; preds = %286, %277
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %34) #8
  br label %288

288:                                              ; preds = %287, %265
  call void @llvm.lifetime.end.p0(i64 392, ptr %34) #8
  br label %292

289:                                              ; preds = %264, %254, %251
  %290 = load i32, ptr %21, align 4, !tbaa !15
  %291 = icmp eq i32 %290, 0
  store i32 1, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %15) #8
  ret i1 %291

292:                                              ; preds = %288, %250
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %293

293:                                              ; preds = %292, %73
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %15) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %15) #8
  br label %294

294:                                              ; preds = %293
  %295 = load ptr, ptr %19, align 8
  %296 = load i32, ptr %20, align 4
  %297 = insertvalue { ptr, i32 } poison, ptr %295, 0
  %298 = insertvalue { ptr, i32 } %297, i32 %296, 1
  resume { ptr, i32 } %298
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtImEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef) #6

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"bool", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !18}
!22 = distinct !{!22, !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.Test::Log" = type { %"class.std::mutex", %"class.std::basic_ofstream", i32, i8, i8, %"class.std::map", %"class.std::map" }
%"class.std::mutex" = type { %"class.std::__mutex_base" }
%"class.std::__mutex_base" = type { %union.pthread_mutex_t }
%union.pthread_mutex_t = type { %struct.__pthread_mutex_s }
%struct.__pthread_mutex_s = type { i32, i32, i32, i32, i32, i16, i16, %struct.__pthread_internal_list }
%struct.__pthread_internal_list = type { ptr, ptr }
%"class.std::basic_ofstream" = type { %"class.std::basic_ostream.base", %"class.std::basic_filebuf", %"class.std::basic_ios" }
%"class.std::basic_ostream.base" = type { ptr }
%"class.std::basic_filebuf" = type { %"class.std::basic_streambuf", %union.pthread_mutex_t, %"class.std::__basic_file", i32, %struct.__mbstate_t, %struct.__mbstate_t, %struct.__mbstate_t, ptr, i64, i8, i8, i8, i8, ptr, ptr, i8, ptr, ptr, i64, ptr, ptr }
%"class.std::basic_streambuf" = type { ptr, ptr, ptr, ptr, ptr, ptr, ptr, %"class.std::locale" }
%"class.std::locale" = type { ptr }
%"class.std::__basic_file" = type <{ ptr, i8, [7 x i8] }>
%struct.__mbstate_t = type { i32, %union.anon.8 }
%union.anon.8 = type { i32 }
%"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::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::thread::id, std::__cxx11::basic_string<char>>>, std::less<std::thread::id>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, std::__cxx11::basic_string<char>>, std::_Select1st<std::pair<const std::thread::id, std::__cxx11::basic_string<char>>>, std::less<std::thread::id>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Simd::Allocator" = type { i8 }

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZN4Test3Log5s_logE = external global %"class.Test::Log", align 8
@.str.10 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [46 x i8], align 1
@__PRETTY_FUNCTION__._ZN4Test12CompareCycleERKSt6vectorIfN4Simd9AllocatorIfEEES6_mfbiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE = external hidden unnamed_addr constant [104 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [26 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: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

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

; 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 #3

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind noalias writable sret(%"class.std::__cxx11::basic_string") align 8, ptr noundef nonnull align 8 dereferenceable(128)) local_unnamed_addr #2 align 2

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

declare void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656), i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt4fabsf(float noundef) local_unnamed_addr #6

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef float @_ZN4Simd3MaxIfEET_S1_S1_(float noundef, float noundef) local_unnamed_addr #7

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

; 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)) #3

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

; 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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test12CompareCycleERKSt6vectorIfN4Simd9AllocatorIfEEES6_mfbiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(24) %0, ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %2, float noundef %3, i1 noundef zeroext %4, i32 noundef %5, ptr noundef nonnull align 8 dereferenceable(32) %6) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %9 = alloca %"class.std::vector.12", align 8
  %10 = alloca float, align 4
  %11 = alloca %"struct.Simd::Allocator", align 1
  %12 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %13 = alloca %"class.std::__cxx11::basic_string", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = tail call noundef i64 @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  %16 = tail call noundef i64 @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %17 = icmp eq i64 %15, %16
  br i1 %17, label %18, label %.critedge

18:                                               ; preds = %7
  %19 = tail call noundef i64 @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  %20 = urem i64 %19, %2
  %21 = icmp eq i64 %20, 0
  br i1 %21, label %22, label %.critedge

.critedge:                                        ; preds = %7, %18
  tail call void @__assert_fail(ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.1, i32 noundef 274, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Test12CompareCycleERKSt6vectorIfN4Simd9AllocatorIfEEES6_mfbiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE) #10
  unreachable

22:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %8) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #9
  store float 0.000000e+00, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %11) #9
  call void @_ZN4Simd9AllocatorIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %11)
  invoke void @_ZNSt6vectorIfN4Simd9AllocatorIfEEEC2EmRKfRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %2, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 1 dereferenceable(1) %11)
          to label %23 unwind label %31

23:                                               ; preds = %22
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #9
  %24 = call noundef i64 @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  %25 = udiv i64 %24, %2
  %26 = icmp uge i64 %24, %2
  %27 = icmp sgt i32 %5, -1
  %28 = and i1 %26, %27
  br i1 %28, label %.lr.ph102, label %._crit_edge.thread

.lr.ph102:                                        ; preds = %23
  %29 = getelementptr inbounds i8, ptr %8, i64 16
  %umax = call i64 @llvm.umax.i64(i64 %2, i64 1)
  br label %33

._crit_edge:                                      ; preds = %.loopexit
  %30 = icmp sgt i32 %.374, 0
  %or.cond = select i1 %4, i1 %30, i1 false
  br i1 %or.cond, label %127, label %._crit_edge.thread

31:                                               ; preds = %22
  %32 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #9
  br label %151

33:                                               ; preds = %.lr.ph102, %.loopexit
  %.071101 = phi i32 [ 0, %.lr.ph102 ], [ %.374, %.loopexit ]
  %.07898 = phi i64 [ 0, %.lr.ph102 ], [ %123, %.loopexit ]
  %34 = call noundef ptr @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %0) #9
  %35 = mul i64 %.07898, %2
  %36 = getelementptr inbounds float, ptr %34, i64 %35
  %37 = call noundef ptr @_ZNKSt6vectorIfN4Simd9AllocatorIfEEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %1) #9
  %38 = getelementptr inbounds float, ptr %37, i64 %35
  br label %99

39:                                               ; preds = %99
  %40 = call noundef float @_ZSt4fabsf(float noundef %112)
  %41 = fpext float %40 to double
  %42 = call noundef double @_ZSt4sqrtImEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef %2)
  %43 = fmul double %42, %41
  %44 = fpext float %113 to double
  %45 = fdiv double %43, %44
  %46 = fptrunc double %45 to float
  %47 = fcmp ogt float %46, %3
  %48 = icmp sle i32 %.071101, %5
  %or.cond104 = select i1 %47, i1 %48, i1 false
  br i1 %or.cond104, label %.lr.ph, label %.loopexit

.lr.ph:                                           ; preds = %39
  br i1 %4, label %.lr.ph.split.us, label %.lr.ph.split

.lr.ph.split.us:                                  ; preds = %.lr.ph, %93
  %.096.us = phi i64 [ %94, %93 ], [ 0, %.lr.ph ]
  %.17295.us = phi i32 [ %.273.us, %93 ], [ %.071101, %.lr.ph ]
  %49 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfN4Simd9AllocatorIfEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.096.us) #9
  %50 = load float, ptr %49, align 4, !tbaa !5
  %51 = fcmp ult float %50, %3
  br i1 %51, label %93, label %52

52:                                               ; preds = %.lr.ph.split.us
  %53 = add nsw i32 %.17295.us, 1
  %54 = icmp eq i32 %.17295.us, 0
  br i1 %54, label %55, label %63

55:                                               ; preds = %52
  %56 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %57 unwind label %.split.us

57:                                               ; preds = %55
  %58 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %56, ptr noundef nonnull @.str.10)
          to label %59 unwind label %.split.us

59:                                               ; preds = %57
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef nonnull align 8 dereferenceable(32) %6)
          to label %61 unwind label %.split.us

61:                                               ; preds = %59
  %62 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %60, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %63 unwind label %.split.us

63:                                               ; preds = %61, %52
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull @.str.11)
          to label %65 unwind label %.split.us

65:                                               ; preds = %63
  %66 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %64, i64 noundef %.07898)
          to label %67 unwind label %.split.us

67:                                               ; preds = %65
  %68 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull @.str.7)
          to label %69 unwind label %.split.us

69:                                               ; preds = %67
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %68, i64 noundef %.096.us)
          to label %71 unwind label %.split.us

71:                                               ; preds = %69
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %70, ptr noundef nonnull @.str.12)
          to label %73 unwind label %.split.us

73:                                               ; preds = %71
  %74 = getelementptr inbounds float, ptr %36, i64 %.096.us
  %75 = load float, ptr %74, align 4, !tbaa !5
  %76 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %72, float noundef %75)
          to label %77 unwind label %.split.us

77:                                               ; preds = %73
  %78 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %76, ptr noundef nonnull @.str.3)
          to label %79 unwind label %.split.us

79:                                               ; preds = %77
  %80 = getelementptr inbounds float, ptr %38, i64 %.096.us
  %81 = load float, ptr %80, align 4, !tbaa !5
  %82 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %78, float noundef %81)
          to label %83 unwind label %.split.us

83:                                               ; preds = %79
  %84 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %82, ptr noundef nonnull @.str.19)
          to label %85 unwind label %.split.us

85:                                               ; preds = %83
  %86 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfN4Simd9AllocatorIfEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.096.us) #9
  %87 = load float, ptr %86, align 4, !tbaa !5
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %84, float noundef %87)
          to label %89 unwind label %.split.us

89:                                               ; preds = %85
  %90 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %88, ptr noundef nonnull @.str.16)
          to label %91 unwind label %.split.us

91:                                               ; preds = %89
  %92 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %90, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %93 unwind label %.split.us

93:                                               ; preds = %91, %.lr.ph.split.us
  %.273.us = phi i32 [ %53, %91 ], [ %.17295.us, %.lr.ph.split.us ]
  %94 = add nuw i64 %.096.us, 1
  %95 = icmp ult i64 %94, %2
  %96 = icmp sle i32 %.273.us, %5
  %97 = select i1 %95, i1 %96, i1 false
  br i1 %97, label %.lr.ph.split.us, label %.loopexit, !llvm.loop !9

.split.us:                                        ; preds = %91, %89, %85, %83, %79, %77, %73, %71, %69, %67, %65, %63, %61, %59, %57, %55
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %150

99:                                               ; preds = %33, %99
  %.07594 = phi i64 [ 0, %33 ], [ %114, %99 ]
  %.07693 = phi float [ 0.000000e+00, %33 ], [ %113, %99 ]
  %.07792 = phi float [ 0.000000e+00, %33 ], [ %112, %99 ]
  %100 = getelementptr inbounds float, ptr %38, i64 %.07594
  %101 = load float, ptr %100, align 4, !tbaa !5
  %102 = getelementptr inbounds float, ptr %36, i64 %.07594
  %103 = load float, ptr %102, align 4, !tbaa !5
  %104 = fsub float %101, %103
  %105 = call noundef float @_ZSt4fabsf(float noundef %103)
  %106 = load float, ptr %100, align 4, !tbaa !5
  %107 = call noundef float @_ZSt4fabsf(float noundef %106)
  %108 = call noundef float @_ZN4Simd3MaxIfEET_S1_S1_(float noundef %105, float noundef %107)
  %109 = call noundef float @_ZSt4fabsf(float noundef %104)
  %110 = fdiv float %109, %108
  %111 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfN4Simd9AllocatorIfEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.07594) #9
  store float %110, ptr %111, align 4, !tbaa !5
  %112 = fadd float %.07792, %104
  %113 = fadd float %.07693, %108
  %114 = add nuw i64 %.07594, 1
  %exitcond.not = icmp eq i64 %114, %umax
  br i1 %exitcond.not, label %39, label %99, !llvm.loop !11

.lr.ph.split:                                     ; preds = %.lr.ph, %.lr.ph.split
  %.096 = phi i64 [ %119, %.lr.ph.split ], [ 0, %.lr.ph ]
  %.17295 = phi i32 [ %.273, %.lr.ph.split ], [ %.071101, %.lr.ph ]
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIfN4Simd9AllocatorIfEEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %9, i64 noundef %.096) #9
  %116 = load float, ptr %115, align 4, !tbaa !5
  %117 = fcmp oge float %116, %3
  %118 = zext i1 %117 to i32
  %.273 = add nsw i32 %.17295, %118
  %119 = add nuw i64 %.096, 1
  %120 = icmp ult i64 %119, %2
  %121 = icmp sle i32 %.273, %5
  %122 = select i1 %120, i1 %121, i1 false
  br i1 %122, label %.lr.ph.split, label %.loopexit, !llvm.loop !9

.loopexit:                                        ; preds = %.lr.ph.split, %93, %39
  %.374 = phi i32 [ %.071101, %39 ], [ %.273.us, %93 ], [ %.273, %.lr.ph.split ]
  %123 = add nuw i64 %.07898, 1
  %124 = icmp ult i64 %123, %25
  %125 = icmp sle i32 %.374, %5
  %126 = select i1 %124, i1 %125, i1 false
  br i1 %126, label %33, label %._crit_edge, !llvm.loop !12

127:                                              ; preds = %._crit_edge
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %12) #9
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12)
          to label %128 unwind label %135

128:                                              ; preds = %127
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %13, ptr noundef nonnull align 8 dereferenceable(128) %8)
          to label %129 unwind label %137

129:                                              ; preds = %128
  %130 = getelementptr inbounds i8, ptr %12, i64 16
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsIcSt11char_traitsIcESaIcEERSt13basic_ostreamIT_T0_ES7_RKNSt7__cxx1112basic_stringIS4_S5_T1_EE(ptr noundef nonnull align 8 dereferenceable(8) %130, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %132 unwind label %139

132:                                              ; preds = %129
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #9
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %14, ptr noundef nonnull align 8 dereferenceable(128) %12)
          to label %133 unwind label %142

133:                                              ; preds = %132
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 0, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %134 unwind label %144

134:                                              ; preds = %133
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %12) #9
  br label %._crit_edge.thread

135:                                              ; preds = %127
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %148

137:                                              ; preds = %128
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %141

139:                                              ; preds = %129
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  br label %141

141:                                              ; preds = %139, %137
  %.pn = phi { ptr, i32 } [ %140, %139 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #9
  br label %147

142:                                              ; preds = %132
  %143 = landingpad { ptr, i32 }
          cleanup
  br label %146

144:                                              ; preds = %133
  %145 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  br label %146

146:                                              ; preds = %144, %142
  %.pn83 = phi { ptr, i32 } [ %145, %144 ], [ %143, %142 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #9
  br label %147

147:                                              ; preds = %146, %141
  %.pn83.pn = phi { ptr, i32 } [ %.pn83, %146 ], [ %.pn, %141 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #9
  br label %148

148:                                              ; preds = %147, %135
  %.pn83.pn.pn = phi { ptr, i32 } [ %.pn83.pn, %147 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %12) #9
  br label %150

._crit_edge.thread:                               ; preds = %23, %134, %._crit_edge
  %.071.lcssa109 = phi i32 [ 1, %134 ], [ %.374, %._crit_edge ], [ 0, %23 ]
  %149 = icmp eq i32 %.071.lcssa109, 0
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #9
  ret i1 %149

150:                                              ; preds = %148, %.split.us
  %.pn87 = phi { ptr, i32 } [ %98, %.split.us ], [ %.pn83.pn.pn, %148 ]
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #9
  br label %151

151:                                              ; preds = %150, %31
  %.pn87.pn = phi { ptr, i32 } [ %.pn87, %150 ], [ %32, %31 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #9
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #9
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #9
  resume { ptr, i32 } %.pn87.pn
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtImEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i64 noundef) local_unnamed_addr #6

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

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

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

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

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


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