; 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" }

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 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
@__PRETTY_FUNCTION__._ZN4Test7CompareEPKfmS1_mmmfbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE = external hidden unnamed_addr constant [131 x i8], align 1
@.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.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [17 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: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test7CompareEPKfmS1_mmmfbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, float noundef %6, i1 noundef zeroext %7, i32 noundef %8, i32 noundef %9, ptr noundef nonnull align 8 dereferenceable(32) %10) #2 personality ptr @__gxx_personality_v0 {
  %12 = alloca i1, align 1
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca float, align 4
  %20 = alloca i8, align 1
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca ptr, align 8
  %24 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %25 = alloca i32, align 4
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  %28 = alloca i64, align 8
  %29 = alloca float, align 4
  %30 = alloca ptr, align 8
  %31 = alloca i32, align 4
  %32 = alloca float, align 4
  %33 = alloca i8, align 1
  %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 %13, align 8, !tbaa !5
  store i64 %1, ptr %14, align 8, !tbaa !9
  store ptr %2, ptr %15, align 8, !tbaa !5
  store i64 %3, ptr %16, align 8, !tbaa !9
  store i64 %4, ptr %17, align 8, !tbaa !9
  store i64 %5, ptr %18, align 8, !tbaa !9
  store float %6, ptr %19, align 4, !tbaa !11
  %37 = zext i1 %7 to i8
  store i8 %37, ptr %20, align 1, !tbaa !13
  store i32 %8, ptr %21, align 4, !tbaa !15
  store i32 %9, ptr %22, align 4, !tbaa !17
  store ptr %10, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 392, ptr %24) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %24)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #8
  store i32 0, ptr %25, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  store i64 0, ptr %26, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %238, %11
  %39 = load i64, ptr %26, align 8, !tbaa !9
  %40 = load i64, ptr %18, align 8, !tbaa !9
  %41 = icmp ult i64 %39, %40
  br i1 %41, label %43, label %42

42:                                               ; preds = %38
  store i32 2, ptr %27, align 4
  br label %241

43:                                               ; preds = %38
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #8
  store i64 0, ptr %28, align 8, !tbaa !9
  br label %44

44:                                               ; preds = %224, %43
  %45 = load i64, ptr %28, align 8, !tbaa !9
  %46 = load i64, ptr %17, align 8, !tbaa !9
  %47 = icmp ult i64 %45, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  store i32 5, ptr %27, align 4
  br label %229

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  %51 = load i64, ptr %28, align 8, !tbaa !9
  %52 = getelementptr inbounds float, ptr %50, i64 %51
  %53 = load float, ptr %52, align 4, !tbaa !11
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  %55 = load i64, ptr %28, align 8, !tbaa !9
  %56 = getelementptr inbounds float, ptr %54, i64 %55
  %57 = load float, ptr %56, align 4, !tbaa !11
  %58 = fsub float %53, %57
  %59 = invoke noundef float @_ZSt4fabsf(float noundef %58)
          to label %60 unwind label %88

60:                                               ; preds = %49
  store float %59, ptr %29, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %61 = load ptr, ptr %13, align 8, !tbaa !5
  %62 = load i64, ptr %28, align 8, !tbaa !9
  %63 = getelementptr inbounds float, ptr %61, i64 %62
  %64 = load float, ptr %63, align 4, !tbaa !11
  %65 = load ptr, ptr %15, align 8, !tbaa !5
  %66 = load i64, ptr %28, align 8, !tbaa !9
  %67 = getelementptr inbounds float, ptr %65, i64 %66
  %68 = load float, ptr %67, align 4, !tbaa !11
  %69 = fsub float %64, %68
  %70 = invoke noundef float @_ZSt4fabsf(float noundef %69)
          to label %71 unwind label %92

71:                                               ; preds = %60
  %72 = load ptr, ptr %13, align 8, !tbaa !5
  %73 = load i64, ptr %28, align 8, !tbaa !9
  %74 = getelementptr inbounds float, ptr %72, i64 %73
  %75 = load float, ptr %74, align 4, !tbaa !11
  %76 = invoke noundef float @_ZSt4fabsf(float noundef %75)
          to label %77 unwind label %92

77:                                               ; preds = %71
  %78 = load ptr, ptr %15, align 8, !tbaa !5
  %79 = load i64, ptr %28, align 8, !tbaa !9
  %80 = getelementptr inbounds float, ptr %78, i64 %79
  %81 = load float, ptr %80, align 4, !tbaa !11
  %82 = invoke noundef float @_ZSt4fabsf(float noundef %81)
          to label %83 unwind label %92

83:                                               ; preds = %77
  %84 = invoke noundef float @_ZN4Simd3MaxIfEET_S1_S1_(float noundef %76, float noundef %82)
          to label %85 unwind label %92

85:                                               ; preds = %83
  %86 = fdiv float %70, %84
  store float %86, ptr %32, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 1, ptr %33) #8
  store i8 0, ptr %33, align 1, !tbaa !13
  %87 = load i32, ptr %22, align 4, !tbaa !17
  switch i32 %87, label %129 [
    i32 0, label %96
    i32 1, label %101
    i32 2, label %106
    i32 3, label %117
    i32 4, label %128
  ]

88:                                               ; preds = %49
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %30, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %31, align 4
  br label %228

92:                                               ; preds = %83, %77, %71, %60
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %30, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %31, align 4
  br label %227

96:                                               ; preds = %85
  %97 = load float, ptr %29, align 4, !tbaa !11
  %98 = load float, ptr %19, align 4, !tbaa !11
  %99 = fcmp ogt float %97, %98
  %100 = zext i1 %99 to i8
  store i8 %100, ptr %33, align 1, !tbaa !13
  br label %129

101:                                              ; preds = %85
  %102 = load float, ptr %32, align 4, !tbaa !11
  %103 = load float, ptr %19, align 4, !tbaa !11
  %104 = fcmp ogt float %102, %103
  %105 = zext i1 %104 to i8
  store i8 %105, ptr %33, align 1, !tbaa !13
  br label %129

106:                                              ; preds = %85
  %107 = load float, ptr %29, align 4, !tbaa !11
  %108 = load float, ptr %19, align 4, !tbaa !11
  %109 = fcmp ogt float %107, %108
  br i1 %109, label %110, label %114

110:                                              ; preds = %106
  %111 = load float, ptr %32, align 4, !tbaa !11
  %112 = load float, ptr %19, align 4, !tbaa !11
  %113 = fcmp ogt float %111, %112
  br label %114

114:                                              ; preds = %110, %106
  %115 = phi i1 [ false, %106 ], [ %113, %110 ]
  %116 = zext i1 %115 to i8
  store i8 %116, ptr %33, align 1, !tbaa !13
  br label %129

117:                                              ; preds = %85
  %118 = load float, ptr %29, align 4, !tbaa !11
  %119 = load float, ptr %19, align 4, !tbaa !11
  %120 = fcmp ogt float %118, %119
  br i1 %120, label %125, label %121

121:                                              ; preds = %117
  %122 = load float, ptr %32, align 4, !tbaa !11
  %123 = load float, ptr %19, align 4, !tbaa !11
  %124 = fcmp ogt float %122, %123
  br label %125

125:                                              ; preds = %121, %117
  %126 = phi i1 [ true, %117 ], [ %124, %121 ]
  %127 = zext i1 %126 to i8
  store i8 %127, ptr %33, align 1, !tbaa !13
  br label %129

128:                                              ; preds = %85
  call void @__assert_fail(ptr noundef @.str.2, ptr noundef @.str.1, i32 noundef 228, ptr noundef @__PRETTY_FUNCTION__._ZN4Test7CompareEPKfmS1_mmmfbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE) #9
  unreachable

129:                                              ; preds = %125, %114, %101, %96, %85
  %130 = load i8, ptr %33, align 1, !tbaa !13, !range !19, !noundef !20
  %131 = trunc i8 %130 to i1
  br i1 %131, label %132, label %220

132:                                              ; preds = %129
  %133 = load i32, ptr %25, align 4, !tbaa !15
  %134 = add nsw i32 %133, 1
  store i32 %134, ptr %25, align 4, !tbaa !15
  %135 = load i8, ptr %20, align 1, !tbaa !13, !range !19, !noundef !20
  %136 = trunc i8 %135 to i1
  br i1 %136, label %137, label %205

137:                                              ; preds = %132
  %138 = load i32, ptr %25, align 4, !tbaa !15
  %139 = icmp eq i32 %138, 1
  br i1 %139, label %140, label %155

140:                                              ; preds = %137
  %141 = getelementptr inbounds i8, ptr %24, i64 16
  %142 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %141, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %143 unwind label %151

143:                                              ; preds = %140
  %144 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %142, ptr noundef @.str.10)
          to label %145 unwind label %151

145:                                              ; preds = %143
  %146 = load ptr, ptr %23, align 8, !tbaa !5
  %147 = 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) %144, ptr noundef nonnull align 8 dereferenceable(32) %146)
          to label %148 unwind label %151

148:                                              ; preds = %145
  %149 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %147, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %150 unwind label %151

150:                                              ; preds = %148
  br label %155

151:                                              ; preds = %215, %212, %202, %200, %197, %195, %192, %190, %188, %182, %180, %174, %172, %168, %165, %161, %155, %148, %145, %143, %140
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %30, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %31, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  br label %227

155:                                              ; preds = %150, %137
  %156 = getelementptr inbounds i8, ptr %24, i64 16
  %157 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %156, ptr noundef @.str.11)
          to label %158 unwind label %151

158:                                              ; preds = %155
  %159 = load i64, ptr %18, align 8, !tbaa !9
  %160 = icmp ugt i64 %159, 1
  br i1 %160, label %161, label %168

161:                                              ; preds = %158
  %162 = getelementptr inbounds i8, ptr %24, i64 16
  %163 = load i64, ptr %26, align 8, !tbaa !9
  %164 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %162, i64 noundef %163)
          to label %165 unwind label %151

165:                                              ; preds = %161
  %166 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %164, ptr noundef @.str.7)
          to label %167 unwind label %151

167:                                              ; preds = %165
  br label %168

168:                                              ; preds = %167, %158
  %169 = getelementptr inbounds i8, ptr %24, i64 16
  %170 = load i64, ptr %28, align 8, !tbaa !9
  %171 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %169, i64 noundef %170)
          to label %172 unwind label %151

172:                                              ; preds = %168
  %173 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %171, ptr noundef @.str.12)
          to label %174 unwind label %151

174:                                              ; preds = %172
  %175 = load ptr, ptr %13, align 8, !tbaa !5
  %176 = load i64, ptr %28, align 8, !tbaa !9
  %177 = getelementptr inbounds float, ptr %175, i64 %176
  %178 = load float, ptr %177, align 4, !tbaa !11
  %179 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %173, float noundef %178)
          to label %180 unwind label %151

180:                                              ; preds = %174
  %181 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %179, ptr noundef @.str.3)
          to label %182 unwind label %151

182:                                              ; preds = %180
  %183 = load ptr, ptr %15, align 8, !tbaa !5
  %184 = load i64, ptr %28, align 8, !tbaa !9
  %185 = getelementptr inbounds float, ptr %183, i64 %184
  %186 = load float, ptr %185, align 4, !tbaa !11
  %187 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %181, float noundef %186)
          to label %188 unwind label %151

188:                                              ; preds = %182
  %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.13)
          to label %190 unwind label %151

190:                                              ; preds = %188
  %191 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %189, ptr noundef @.str.14)
          to label %192 unwind label %151

192:                                              ; preds = %190
  %193 = load float, ptr %29, align 4, !tbaa !11
  %194 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %191, float noundef %193)
          to label %195 unwind label %151

195:                                              ; preds = %192
  %196 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %194, ptr noundef @.str.15)
          to label %197 unwind label %151

197:                                              ; preds = %195
  %198 = load float, ptr %32, align 4, !tbaa !11
  %199 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %196, float noundef %198)
          to label %200 unwind label %151

200:                                              ; preds = %197
  %201 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %199, ptr noundef @.str.16)
          to label %202 unwind label %151

202:                                              ; preds = %200
  %203 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %201, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %204 unwind label %151

204:                                              ; preds = %202
  br label %205

205:                                              ; preds = %204, %132
  %206 = load i32, ptr %25, align 4, !tbaa !15
  %207 = load i32, ptr %21, align 4, !tbaa !15
  %208 = icmp sgt i32 %206, %207
  br i1 %208, label %209, label %219

209:                                              ; preds = %205
  %210 = load i8, ptr %20, align 1, !tbaa !13, !range !19, !noundef !20
  %211 = trunc i8 %210 to i1
  br i1 %211, label %212, label %218

212:                                              ; preds = %209
  %213 = getelementptr inbounds i8, ptr %24, i64 16
  %214 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %213, ptr noundef @.str.17)
          to label %215 unwind label %151

215:                                              ; preds = %212
  %216 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %214, ptr noundef @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %217 unwind label %151

217:                                              ; preds = %215
  br label %218

218:                                              ; preds = %217, %209
  store i32 9, ptr %27, align 4
  br label %221

219:                                              ; preds = %205
  br label %220

220:                                              ; preds = %219, %129
  store i32 0, ptr %27, align 4
  br label %221

221:                                              ; preds = %220, %218
  call void @llvm.lifetime.end.p0(i64 1, ptr %33) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  %222 = load i32, ptr %27, align 4
  switch i32 %222, label %229 [
    i32 0, label %223
  ]

223:                                              ; preds = %221
  br label %224

224:                                              ; preds = %223
  %225 = load i64, ptr %28, align 8, !tbaa !9
  %226 = add i64 %225, 1
  store i64 %226, ptr %28, align 8, !tbaa !9
  br label %44, !llvm.loop !21

227:                                              ; preds = %151, %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  br label %228

228:                                              ; preds = %227, %88
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  br label %287

229:                                              ; preds = %221, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #8
  %230 = load i32, ptr %27, align 4
  switch i32 %230, label %241 [
    i32 5, label %231
  ]

231:                                              ; preds = %229
  %232 = load i64, ptr %14, align 8, !tbaa !9
  %233 = load ptr, ptr %13, align 8, !tbaa !5
  %234 = getelementptr inbounds float, ptr %233, i64 %232
  store ptr %234, ptr %13, align 8, !tbaa !5
  %235 = load i64, ptr %16, align 8, !tbaa !9
  %236 = load ptr, ptr %15, align 8, !tbaa !5
  %237 = getelementptr inbounds float, ptr %236, i64 %235
  store ptr %237, ptr %15, align 8, !tbaa !5
  br label %238

238:                                              ; preds = %231
  %239 = load i64, ptr %26, align 8, !tbaa !9
  %240 = add i64 %239, 1
  store i64 %240, ptr %26, align 8, !tbaa !9
  br label %38, !llvm.loop !23

241:                                              ; preds = %229, %42
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  %242 = load i32, ptr %27, align 4
  switch i32 %242, label %285 [
    i32 2, label %243
    i32 9, label %244
  ]

243:                                              ; preds = %241
  br label %244

244:                                              ; preds = %243, %241
  %245 = load i8, ptr %20, align 1, !tbaa !13, !range !19, !noundef !20
  %246 = trunc i8 %245 to i1
  br i1 %246, label %247, label %282

247:                                              ; preds = %244
  %248 = load i32, ptr %25, align 4, !tbaa !15
  %249 = icmp sgt i32 %248, 0
  br i1 %249, label %250, label %282

250:                                              ; preds = %247
  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 %251 unwind label %258

251:                                              ; preds = %250
  %252 = 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) %24)
          to label %253 unwind label %262

253:                                              ; preds = %251
  %254 = 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) %252, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %255 unwind label %266

255:                                              ; preds = %253
  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 %256 unwind label %271

256:                                              ; preds = %255
  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 %257 unwind label %275

257:                                              ; preds = %256
  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 %282

258:                                              ; preds = %250
  %259 = landingpad { ptr, i32 }
          cleanup
  %260 = extractvalue { ptr, i32 } %259, 0
  store ptr %260, ptr %30, align 8
  %261 = extractvalue { ptr, i32 } %259, 1
  store i32 %261, ptr %31, align 4
  br label %281

262:                                              ; preds = %251
  %263 = landingpad { ptr, i32 }
          cleanup
  %264 = extractvalue { ptr, i32 } %263, 0
  store ptr %264, ptr %30, align 8
  %265 = extractvalue { ptr, i32 } %263, 1
  store i32 %265, ptr %31, align 4
  br label %270

266:                                              ; preds = %253
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %30, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %31, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #8
  br label %270

270:                                              ; preds = %266, %262
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #8
  br label %280

271:                                              ; preds = %255
  %272 = landingpad { ptr, i32 }
          cleanup
  %273 = extractvalue { ptr, i32 } %272, 0
  store ptr %273, ptr %30, align 8
  %274 = extractvalue { ptr, i32 } %272, 1
  store i32 %274, ptr %31, align 4
  br label %279

275:                                              ; preds = %256
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %30, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %31, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #8
  br label %279

279:                                              ; preds = %275, %271
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #8
  br label %280

280:                                              ; preds = %279, %270
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %34) #8
  br label %281

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

282:                                              ; preds = %257, %247, %244
  %283 = load i32, ptr %25, align 4, !tbaa !15
  %284 = icmp eq i32 %283, 0
  store i1 %284, ptr %12, align 1
  store i32 1, ptr %27, align 4
  br label %285

285:                                              ; preds = %282, %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %24) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %24) #8
  %286 = load i1, ptr %12, align 1
  ret i1 %286

287:                                              ; preds = %281, %228
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %24) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr %24) #8
  br label %288

288:                                              ; preds = %287
  %289 = load ptr, ptr %30, align 8
  %290 = load i32, ptr %31, align 4
  %291 = insertvalue { ptr, i32 } poison, ptr %289, 0
  %292 = insertvalue { ptr, i32 } %291, i32 %290, 1
  resume { ptr, i32 } %292
}

; 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

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 = !{!18, !18, i64 0}
!18 = !{!"_ZTSN4Test14DifferenceTypeE", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = distinct !{!21, !22}
!22 = !{!"llvm.loop.mustprogress"}
!23 = distinct !{!23, !22}


; 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" }

@.str.1 = external hidden unnamed_addr constant [73 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 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
@__PRETTY_FUNCTION__._ZN4Test7CompareEPKfmS1_mmmfbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE = external hidden unnamed_addr constant [131 x i8], align 1
@.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.13 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [17 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: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test7CompareEPKfmS1_mmmfbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr nocapture noundef readonly %0, i64 noundef %1, ptr nocapture noundef readonly %2, i64 noundef %3, i64 noundef %4, i64 noundef %5, float noundef %6, i1 noundef zeroext %7, i32 noundef %8, i32 noundef %9, ptr noundef nonnull align 8 dereferenceable(32) %10) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %12 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %13 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %14 = alloca %"class.std::__cxx11::basic_string", align 8
  %15 = alloca %"class.std::__cxx11::basic_string", align 8
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %12) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12)
  %.not = icmp eq i64 %5, 0
  br i1 %.not, label %.thread108.thread, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %11
  %.not158 = icmp eq i64 %4, 0
  %16 = getelementptr inbounds i8, ptr %12, i64 16
  %.not159 = icmp eq i64 %5, 1
  br i1 %.not158, label %.thread108.thread, label %.preheader.lr.ph.split.us

.preheader.lr.ph.split.us:                        ; preds = %.preheader.lr.ph
  br i1 %7, label %.preheader.us.us, label %.preheader.us

.preheader.us.us:                                 ; preds = %.preheader.lr.ph.split.us, %._crit_edge.split.us.us.us
  %.069138.us.us = phi ptr [ %92, %._crit_edge.split.us.us.us ], [ %0, %.preheader.lr.ph.split.us ]
  %.074136.us.us = phi i64 [ %94, %._crit_edge.split.us.us.us ], [ 0, %.preheader.lr.ph.split.us ]
  %.075135.us.us = phi i32 [ %.37899.us.us.us, %._crit_edge.split.us.us.us ], [ 0, %.preheader.lr.ph.split.us ]
  %.080133.us.us = phi ptr [ %93, %._crit_edge.split.us.us.us ], [ %2, %.preheader.lr.ph.split.us ]
  br label %17

17:                                               ; preds = %.critedge.thread.us.us.us, %.preheader.us.us
  %.070127.us.us.us = phi i64 [ 0, %.preheader.us.us ], [ %91, %.critedge.thread.us.us.us ]
  %.176126.us.us.us = phi i32 [ %.075135.us.us, %.preheader.us.us ], [ %.37899.us.us.us, %.critedge.thread.us.us.us ]
  %18 = getelementptr inbounds float, ptr %.069138.us.us, i64 %.070127.us.us.us
  %19 = load float, ptr %18, align 4, !tbaa !5
  %20 = getelementptr inbounds float, ptr %.080133.us.us, i64 %.070127.us.us.us
  %21 = load float, ptr %20, align 4, !tbaa !5
  %22 = fsub float %19, %21
  %23 = call noundef float @_ZSt4fabsf(float noundef %22)
  %24 = load float, ptr %18, align 4, !tbaa !5
  %25 = load float, ptr %20, align 4, !tbaa !5
  %26 = fsub float %24, %25
  %27 = call noundef float @_ZSt4fabsf(float noundef %26)
  %28 = load float, ptr %18, align 4, !tbaa !5
  %29 = call noundef float @_ZSt4fabsf(float noundef %28)
  %30 = load float, ptr %20, align 4, !tbaa !5
  %31 = call noundef float @_ZSt4fabsf(float noundef %30)
  %32 = call noundef float @_ZN4Simd3MaxIfEET_S1_S1_(float noundef %29, float noundef %31)
  %33 = fdiv float %27, %32
  switch i32 %9, label %.critedge.thread.us.us.us [
    i32 0, label %44
    i32 1, label %42
    i32 2, label %38
    i32 3, label %34
    i32 4, label %.split.us
  ]

34:                                               ; preds = %17
  %35 = fcmp ogt float %23, %6
  %36 = fcmp ogt float %33, %6
  %37 = or i1 %35, %36
  br i1 %37, label %46, label %.critedge.thread.us.us.us

38:                                               ; preds = %17
  %39 = fcmp ogt float %23, %6
  %40 = fcmp ogt float %33, %6
  %41 = and i1 %39, %40
  br i1 %41, label %46, label %.critedge.thread.us.us.us

42:                                               ; preds = %17
  %43 = fcmp ogt float %33, %6
  br i1 %43, label %46, label %.critedge.thread.us.us.us

44:                                               ; preds = %17
  %45 = fcmp ogt float %23, %6
  br i1 %45, label %46, label %.critedge.thread.us.us.us

46:                                               ; preds = %44, %42, %38, %34
  %47 = add nsw i32 %.176126.us.us.us, 1
  %48 = icmp eq i32 %.176126.us.us.us, 0
  br i1 %48, label %49, label %57

49:                                               ; preds = %46
  %50 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %51 unwind label %.loopexit.split.us.split.us.split.us

51:                                               ; preds = %49
  %52 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %50, ptr noundef nonnull @.str.10)
          to label %53 unwind label %.loopexit.split.us.split.us.split.us

53:                                               ; preds = %51
  %54 = 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) %52, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %55 unwind label %.loopexit.split.us.split.us.split.us

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

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

59:                                               ; preds = %57
  br i1 %.not159, label %64, label %60

60:                                               ; preds = %59
  %61 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %16, i64 noundef %.074136.us.us)
          to label %62 unwind label %.loopexit.split.us.split.us.split.us

62:                                               ; preds = %60
  %63 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %61, ptr noundef nonnull @.str.7)
          to label %64 unwind label %.loopexit.split.us.split.us.split.us

64:                                               ; preds = %62, %59
  %65 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %16, i64 noundef %.070127.us.us.us)
          to label %66 unwind label %.loopexit.split.us.split.us.split.us

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

68:                                               ; preds = %66
  %69 = load float, ptr %18, align 4, !tbaa !5
  %70 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %67, float noundef %69)
          to label %71 unwind label %.loopexit.split.us.split.us.split.us

71:                                               ; preds = %68
  %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.3)
          to label %73 unwind label %.loopexit.split.us.split.us.split.us

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

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

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

80:                                               ; preds = %78
  %81 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %79, float noundef %23)
          to label %82 unwind label %.loopexit.split.us.split.us.split.us

82:                                               ; preds = %80
  %83 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %81, ptr noundef nonnull @.str.15)
          to label %84 unwind label %.loopexit.split.us.split.us.split.us

84:                                               ; preds = %82
  %85 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEf(ptr noundef nonnull align 8 dereferenceable(8) %83, float noundef %33)
          to label %86 unwind label %.loopexit.split.us.split.us.split.us

86:                                               ; preds = %84
  %87 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr noundef nonnull @.str.16)
          to label %88 unwind label %.loopexit.split.us.split.us.split.us

88:                                               ; preds = %86
  %89 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %87, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %90 unwind label %.loopexit.split.us.split.us.split.us

90:                                               ; preds = %88
  %.not.us.us.us.not = icmp slt i32 %.176126.us.us.us, %8
  br i1 %.not.us.us.us.not, label %.critedge.thread.us.us.us, label %.split130.us

.critedge.thread.us.us.us:                        ; preds = %90, %44, %42, %38, %34, %17
  %.37899.us.us.us = phi i32 [ %.176126.us.us.us, %17 ], [ %.176126.us.us.us, %44 ], [ %.176126.us.us.us, %34 ], [ %.176126.us.us.us, %38 ], [ %.176126.us.us.us, %42 ], [ %47, %90 ]
  %91 = add nuw i64 %.070127.us.us.us, 1
  %exitcond166.not = icmp eq i64 %91, %4
  br i1 %exitcond166.not, label %._crit_edge.split.us.us.us, label %17, !llvm.loop !9

._crit_edge.split.us.us.us:                       ; preds = %.critedge.thread.us.us.us
  %92 = getelementptr inbounds float, ptr %.069138.us.us, i64 %1
  %93 = getelementptr inbounds float, ptr %.080133.us.us, i64 %3
  %94 = add nuw i64 %.074136.us.us, 1
  %exitcond167.not = icmp eq i64 %94, %5
  br i1 %exitcond167.not, label %.thread108, label %.preheader.us.us, !llvm.loop !11

.loopexit.split.us.split.us.split.us:             ; preds = %88, %86, %84, %82, %80, %78, %76, %73, %71, %68, %66, %64, %62, %60, %57, %55, %53, %51, %49
  %lpad.loopexit.us.us.us = landingpad { ptr, i32 }
          cleanup
  br label %156

.preheader.us:                                    ; preds = %.preheader.lr.ph.split.us, %._crit_edge.split.us145
  %.069138.us = phi ptr [ %126, %._crit_edge.split.us145 ], [ %0, %.preheader.lr.ph.split.us ]
  %.074136.us = phi i64 [ %128, %._crit_edge.split.us145 ], [ 0, %.preheader.lr.ph.split.us ]
  %.075135.us = phi i32 [ %.37899.us144, %._crit_edge.split.us145 ], [ 0, %.preheader.lr.ph.split.us ]
  %.080133.us = phi ptr [ %127, %._crit_edge.split.us145 ], [ %2, %.preheader.lr.ph.split.us ]
  br label %95

95:                                               ; preds = %.preheader.us, %.critedge.thread.us143
  %.070127.us141 = phi i64 [ 0, %.preheader.us ], [ %125, %.critedge.thread.us143 ]
  %.176126.us142 = phi i32 [ %.075135.us, %.preheader.us ], [ %.37899.us144, %.critedge.thread.us143 ]
  %96 = getelementptr inbounds float, ptr %.069138.us, i64 %.070127.us141
  %97 = load float, ptr %96, align 4, !tbaa !5
  %98 = getelementptr inbounds float, ptr %.080133.us, i64 %.070127.us141
  %99 = load float, ptr %98, align 4, !tbaa !5
  %100 = fsub float %97, %99
  %101 = call noundef float @_ZSt4fabsf(float noundef %100)
  %102 = load float, ptr %96, align 4, !tbaa !5
  %103 = load float, ptr %98, align 4, !tbaa !5
  %104 = fsub float %102, %103
  %105 = call noundef float @_ZSt4fabsf(float noundef %104)
  %106 = load float, ptr %96, align 4, !tbaa !5
  %107 = call noundef float @_ZSt4fabsf(float noundef %106)
  %108 = load float, ptr %98, align 4, !tbaa !5
  %109 = call noundef float @_ZSt4fabsf(float noundef %108)
  %110 = call noundef float @_ZN4Simd3MaxIfEET_S1_S1_(float noundef %107, float noundef %109)
  %111 = fdiv float %105, %110
  switch i32 %9, label %.critedge.thread.us143 [
    i32 0, label %122
    i32 1, label %120
    i32 2, label %116
    i32 3, label %112
    i32 4, label %.split.us
  ]

112:                                              ; preds = %95
  %113 = fcmp ogt float %101, %6
  %114 = fcmp ogt float %111, %6
  %115 = or i1 %113, %114
  br i1 %115, label %.thread.us, label %.critedge.thread.us143

116:                                              ; preds = %95
  %117 = fcmp ogt float %101, %6
  %118 = fcmp ogt float %111, %6
  %119 = and i1 %117, %118
  br i1 %119, label %.thread.us, label %.critedge.thread.us143

120:                                              ; preds = %95
  %121 = fcmp ogt float %111, %6
  br i1 %121, label %.thread.us, label %.critedge.thread.us143

122:                                              ; preds = %95
  %123 = fcmp ogt float %101, %6
  br i1 %123, label %.thread.us, label %.critedge.thread.us143

.thread.us:                                       ; preds = %122, %120, %116, %112
  %124 = add nsw i32 %.176126.us142, 1
  %.not92.us = icmp slt i32 %.176126.us142, %8
  br i1 %.not92.us, label %.critedge.thread.us143, label %.thread108

.critedge.thread.us143:                           ; preds = %.thread.us, %122, %120, %116, %112, %95
  %.37899.us144 = phi i32 [ %124, %.thread.us ], [ %.176126.us142, %95 ], [ %.176126.us142, %122 ], [ %.176126.us142, %112 ], [ %.176126.us142, %116 ], [ %.176126.us142, %120 ]
  %125 = add nuw i64 %.070127.us141, 1
  %exitcond.not = icmp eq i64 %125, %4
  br i1 %exitcond.not, label %._crit_edge.split.us145, label %95, !llvm.loop !9

._crit_edge.split.us145:                          ; preds = %.critedge.thread.us143
  %126 = getelementptr inbounds float, ptr %.069138.us, i64 %1
  %127 = getelementptr inbounds float, ptr %.080133.us, i64 %3
  %128 = add nuw i64 %.074136.us, 1
  %exitcond165.not = icmp eq i64 %128, %5
  br i1 %exitcond165.not, label %.thread108, label %.preheader.us, !llvm.loop !11

.split.us:                                        ; preds = %95, %17
  call void @__assert_fail(ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.1, i32 noundef 228, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN4Test7CompareEPKfmS1_mmmfbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE) #9
  unreachable

.loopexit.split-lp:                               ; preds = %.split130.us, %130
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %156

.split130.us:                                     ; preds = %90
  %129 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull @.str.17)
          to label %130 unwind label %.loopexit.split-lp

130:                                              ; preds = %.split130.us
  %131 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEPFRSoS_E(ptr noundef nonnull align 8 dereferenceable(8) %129, ptr noundef nonnull @_ZSt4endlIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_)
          to label %.thread108 unwind label %.loopexit.split-lp

.thread108:                                       ; preds = %._crit_edge.split.us145, %.thread.us, %._crit_edge.split.us.us.us, %130
  %.5111 = phi i32 [ %47, %130 ], [ %.37899.us.us.us, %._crit_edge.split.us.us.us ], [ %124, %.thread.us ], [ %.37899.us144, %._crit_edge.split.us145 ]
  %132 = icmp sgt i32 %.5111, 0
  %or.cond = select i1 %7, i1 %132, i1 false
  br i1 %or.cond, label %133, label %.thread108.thread

133:                                              ; preds = %.thread108
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %13) #8
  invoke void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %13)
          to label %134 unwind label %141

134:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %14) #8
  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 %135 unwind label %143

135:                                              ; preds = %134
  %136 = getelementptr inbounds i8, ptr %13, i64 16
  %137 = 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) %136, ptr noundef nonnull align 8 dereferenceable(32) %14)
          to label %138 unwind label %145

138:                                              ; preds = %135
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %14) #8
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #8
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind nonnull writable sret(%"class.std::__cxx11::basic_string") align 8 %15, ptr noundef nonnull align 8 dereferenceable(128) %13)
          to label %139 unwind label %148

139:                                              ; preds = %138
  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) %15)
          to label %140 unwind label %150

140:                                              ; preds = %139
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %13) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %13) #8
  br label %.thread108.thread

141:                                              ; preds = %133
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %154

143:                                              ; preds = %134
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %147

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

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

148:                                              ; preds = %138
  %149 = landingpad { ptr, i32 }
          cleanup
  br label %152

150:                                              ; preds = %139
  %151 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #8
  br label %152

152:                                              ; preds = %150, %148
  %.pn85 = phi { ptr, i32 } [ %151, %150 ], [ %149, %148 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #8
  br label %153

153:                                              ; preds = %152, %147
  %.pn85.pn = phi { ptr, i32 } [ %.pn85, %152 ], [ %.pn, %147 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %13) #8
  br label %154

154:                                              ; preds = %153, %141
  %.pn85.pn.pn = phi { ptr, i32 } [ %.pn85.pn, %153 ], [ %142, %141 ]
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %13) #8
  br label %156

.thread108.thread:                                ; preds = %.preheader.lr.ph, %11, %140, %.thread108
  %.5111170 = phi i32 [ 1, %140 ], [ %.5111, %.thread108 ], [ 0, %11 ], [ 0, %.preheader.lr.ph ]
  %155 = icmp eq i32 %.5111170, 0
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %12) #8
  ret i1 %155

156:                                              ; preds = %.loopexit.split.us.split.us.split.us, %.loopexit.split-lp, %154
  %.pn85.pn.pn.pn = phi { ptr, i32 } [ %.pn85.pn.pn, %154 ], [ %lpad.loopexit.us.us.us, %.loopexit.split.us.split.us.split.us ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %12) #8
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %12) #8
  resume { ptr, i32 } %.pn85.pn.pn.pn
}

; 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

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 = { 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 = !{!"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}


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