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

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

%"struct.Test::FuncCvt" = type { ptr, %"class.std::__cxx11::basic_string" }
%"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] }

@__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.format = external hidden unnamed_addr constant [2 x i32], align 4
@__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility = external hidden unnamed_addr constant [4 x i32], align 16
@_ZN4Test1CE = external global i32, align 4
@_ZN4Test1HE = external global i32, align 4
@_ZN4Test1WE = external global i32, align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) #0

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i8, align 1
  %6 = alloca [2 x i32], align 4
  %7 = alloca [4 x i32], align 16
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %"struct.Test::FuncCvt", align 8
  %12 = alloca i1, align 1
  %13 = alloca %"struct.Test::FuncCvt", align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i1, align 1
  %17 = alloca %"struct.Test::FuncCvt", align 8
  %18 = alloca i1, align 1
  %19 = alloca %"struct.Test::FuncCvt", align 8
  %20 = alloca i1, align 1
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %5) #5
  store i8 1, ptr %5, align 1, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %6, ptr align 4 @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.format, i64 8, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %7) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %7, ptr align 16 @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !11
  br label %21

21:                                               ; preds = %135, %2
  %22 = load i32, ptr %8, align 4, !tbaa !11
  %23 = icmp sle i32 %22, 1
  br i1 %23, label %25, label %24

24:                                               ; preds = %21
  store i32 2, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %138

25:                                               ; preds = %21
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !11
  br label %26

26:                                               ; preds = %100, %25
  %27 = load i32, ptr %10, align 4, !tbaa !11
  %28 = icmp sle i32 %27, 3
  br i1 %28, label %30, label %29

29:                                               ; preds = %26
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %134

30:                                               ; preds = %26
  %31 = load i8, ptr %5, align 1, !tbaa !9, !range !13, !noundef !14
  %32 = trunc i8 %31 to i1
  store i1 false, ptr %12, align 1
  store i1 false, ptr %16, align 1
  br i1 %32, label %33, label %58

33:                                               ; preds = %30
  %34 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !11
  %35 = sdiv i32 %34, 2
  %36 = sext i32 %35 to i64
  %37 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !11
  %38 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %37)
  %39 = fptosi double %38 to i32
  %40 = sext i32 %39 to i64
  %41 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !11
  %42 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %41)
  %43 = fptosi double %42 to i32
  %44 = sext i32 %43 to i64
  %45 = load i32, ptr %8, align 4, !tbaa !11
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !15
  %49 = load i32, ptr %10, align 4, !tbaa !11
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %50
  %52 = load i32, ptr %51, align 4, !tbaa !17
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(40) %53)
  store i1 true, ptr %12, align 1
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %13, ptr noundef nonnull align 8 dereferenceable(40) %54)
          to label %55 unwind label %103

55:                                               ; preds = %33
  store i1 true, ptr %16, align 1
  %56 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %36, i64 noundef %40, i64 noundef %44, i32 noundef %48, i32 noundef %52, ptr noundef %11, ptr noundef %13)
          to label %57 unwind label %107

57:                                               ; preds = %55
  br label %58

58:                                               ; preds = %57, %30
  %59 = phi i1 [ false, %30 ], [ %56, %57 ]
  %60 = zext i1 %59 to i8
  store i8 %60, ptr %5, align 1, !tbaa !9
  %61 = load i1, ptr %16, align 1
  br i1 %61, label %62, label %63

62:                                               ; preds = %58
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #5
  br label %63

63:                                               ; preds = %62, %58
  %64 = load i1, ptr %12, align 1
  br i1 %64, label %65, label %66

65:                                               ; preds = %63
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #5
  br label %66

66:                                               ; preds = %65, %63
  %67 = load i8, ptr %5, align 1, !tbaa !9, !range !13, !noundef !14
  %68 = trunc i8 %67 to i1
  store i1 false, ptr %18, align 1
  store i1 false, ptr %20, align 1
  br i1 %68, label %69, label %91

69:                                               ; preds = %66
  %70 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !11
  %71 = sdiv i32 %70, 3
  %72 = add nsw i32 %71, 9
  %73 = sext i32 %72 to i64
  %74 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !11
  %75 = sdiv i32 %74, 5
  %76 = sub nsw i32 %75, 9
  %77 = sext i32 %76 to i64
  %78 = load i32, ptr %8, align 4, !tbaa !11
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds [2 x i32], ptr %6, i64 0, i64 %79
  %81 = load i32, ptr %80, align 4, !tbaa !15
  %82 = load i32, ptr %10, align 4, !tbaa !11
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [4 x i32], ptr %7, i64 0, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !17
  %86 = load ptr, ptr %3, align 8, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %17, ptr noundef nonnull align 8 dereferenceable(40) %86)
  store i1 true, ptr %18, align 1
  %87 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 8 dereferenceable(40) %87)
          to label %88 unwind label %118

88:                                               ; preds = %69
  store i1 true, ptr %20, align 1
  %89 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %73, i64 noundef %77, i32 noundef %81, i32 noundef %85, ptr noundef %17, ptr noundef %19)
          to label %90 unwind label %122

90:                                               ; preds = %88
  br label %91

91:                                               ; preds = %90, %66
  %92 = phi i1 [ false, %66 ], [ %89, %90 ]
  %93 = zext i1 %92 to i8
  store i8 %93, ptr %5, align 1, !tbaa !9
  %94 = load i1, ptr %20, align 1
  br i1 %94, label %95, label %96

95:                                               ; preds = %91
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #5
  br label %96

96:                                               ; preds = %95, %91
  %97 = load i1, ptr %18, align 1
  br i1 %97, label %98, label %99

98:                                               ; preds = %96
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  br label %99

99:                                               ; preds = %98, %96
  br label %100

100:                                              ; preds = %99
  %101 = load i32, ptr %10, align 4, !tbaa !11
  %102 = add nsw i32 %101, 1
  store i32 %102, ptr %10, align 4, !tbaa !11
  br label %26, !llvm.loop !19

103:                                              ; preds = %33
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %14, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %15, align 4
  br label %114

107:                                              ; preds = %55
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %14, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %15, align 4
  %111 = load i1, ptr %16, align 1
  br i1 %111, label %112, label %113

112:                                              ; preds = %107
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %13) #5
  br label %113

113:                                              ; preds = %112, %107
  br label %114

114:                                              ; preds = %113, %103
  %115 = load i1, ptr %12, align 1
  br i1 %115, label %116, label %117

116:                                              ; preds = %114
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %11) #5
  br label %117

117:                                              ; preds = %116, %114
  br label %133

118:                                              ; preds = %69
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %14, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %15, align 4
  br label %129

122:                                              ; preds = %88
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %14, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %15, align 4
  %126 = load i1, ptr %20, align 1
  br i1 %126, label %127, label %128

127:                                              ; preds = %122
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %19) #5
  br label %128

128:                                              ; preds = %127, %122
  br label %129

129:                                              ; preds = %128, %118
  %130 = load i1, ptr %18, align 1
  br i1 %130, label %131, label %132

131:                                              ; preds = %129
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %17) #5
  br label %132

132:                                              ; preds = %131, %129
  br label %133

133:                                              ; preds = %132, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  br label %141

134:                                              ; preds = %29
  br label %135

135:                                              ; preds = %134
  %136 = load i32, ptr %8, align 4, !tbaa !11
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %8, align 4, !tbaa !11
  br label %21, !llvm.loop !21

138:                                              ; preds = %24
  %139 = load i8, ptr %5, align 1, !tbaa !9, !range !13, !noundef !14
  %140 = trunc i8 %139 to i1
  store i32 1, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %5) #5
  ret i1 %140

141:                                              ; preds = %133
  %142 = load ptr, ptr %14, align 8
  %143 = load i32, ptr %15, align 4
  %144 = insertvalue { ptr, i32 } poison, ptr %142, 0
  %145 = insertvalue { ptr, i32 } %144, i32 %143, 1
  resume { ptr, i32 } %145
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #4 align 2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 #5 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{i8 0, i8 2}
!14 = !{}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTS20SimdTensorFormatType", !7, i64 0}
!17 = !{!18, !18, i64 0}
!18 = !{!"_ZTS26SimdSynetCompatibilityType", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"struct.Test::FuncCvt" = type { ptr, %"class.std::__cxx11::basic_string" }
%"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] }

@__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.format = external hidden unnamed_addr constant [2 x i32], align 4
@__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility = external hidden unnamed_addr constant [4 x i32], align 16
@_ZN4Test1CE = external local_unnamed_addr global i32, align 4
@_ZN4Test1HE = external local_unnamed_addr global i32, align 4
@_ZN4Test1WE = external local_unnamed_addr global i32, align 4

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_(ptr noundef nonnull align 8 dereferenceable(40) %0, ptr noundef nonnull align 8 dereferenceable(40) %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
.preheader:
  %2 = alloca %"struct.Test::FuncCvt", align 8
  %3 = alloca %"struct.Test::FuncCvt", align 8
  %4 = alloca %"struct.Test::FuncCvt", align 8
  %5 = alloca %"struct.Test::FuncCvt", align 8
  %6 = load i32, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.format, align 4
  %7 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !5
  %8 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %9 = tail call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %8)
  %10 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %11 = tail call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %10)
  %12 = load i32, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, align 16, !tbaa !9
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %119 unwind label %.loopexit

13:                                               ; preds = %.critedge40.3
  %14 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !5
  %15 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %16 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %15)
  %17 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %18 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %17)
  %19 = load i32, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, align 16, !tbaa !9
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %20 unwind label %.loopexit.split-lp

20:                                               ; preds = %13
  %21 = fptosi double %18 to i32
  %22 = sext i32 %21 to i64
  %23 = fptosi double %16 to i32
  %24 = sext i32 %23 to i64
  %25 = sdiv i32 %14, 2
  %26 = sext i32 %25 to i64
  %27 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %26, i64 noundef %24, i64 noundef %22, i32 noundef %218, i32 noundef %19, ptr noundef nonnull %2, ptr noundef nonnull %3)
          to label %.critedge.1 unwind label %.loopexit.split-lp57

.critedge.1:                                      ; preds = %20
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #3
  br i1 %27, label %28, label %.critedge40.1.3

28:                                               ; preds = %.critedge.1
  %29 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %30 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %31 unwind label %.loopexit.split-lp62

31:                                               ; preds = %28
  %32 = sdiv i32 %30, 5
  %33 = add nsw i32 %32, -9
  %34 = sext i32 %33 to i64
  %35 = sdiv i32 %29, 3
  %36 = add nsw i32 %35, 9
  %37 = sext i32 %36 to i64
  %38 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %37, i64 noundef %34, i32 noundef %218, i32 noundef %19, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %.critedge40.1 unwind label %.loopexit.split-lp67

.critedge40.1:                                    ; preds = %31
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br i1 %38, label %39, label %.critedge40.1.3

39:                                               ; preds = %.critedge40.1
  %40 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !5
  %41 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %42 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %41)
  %43 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %44 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %43)
  %45 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, i64 4), align 4, !tbaa !9
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %46 unwind label %.loopexit.split-lp

46:                                               ; preds = %39
  %47 = fptosi double %44 to i32
  %48 = sext i32 %47 to i64
  %49 = fptosi double %42 to i32
  %50 = sext i32 %49 to i64
  %51 = sdiv i32 %40, 2
  %52 = sext i32 %51 to i64
  %53 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %52, i64 noundef %50, i64 noundef %48, i32 noundef %218, i32 noundef %45, ptr noundef nonnull %2, ptr noundef nonnull %3)
          to label %.critedge.1.1 unwind label %.loopexit.split-lp57

.critedge.1.1:                                    ; preds = %46
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #3
  br i1 %53, label %54, label %.critedge40.1.3

54:                                               ; preds = %.critedge.1.1
  %55 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %56 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %57 unwind label %.loopexit.split-lp62

57:                                               ; preds = %54
  %58 = sdiv i32 %56, 5
  %59 = add nsw i32 %58, -9
  %60 = sext i32 %59 to i64
  %61 = sdiv i32 %55, 3
  %62 = add nsw i32 %61, 9
  %63 = sext i32 %62 to i64
  %64 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %63, i64 noundef %60, i32 noundef %218, i32 noundef %45, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %.critedge40.1.1 unwind label %.loopexit.split-lp67

.critedge40.1.1:                                  ; preds = %57
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br i1 %64, label %65, label %.critedge40.1.3

65:                                               ; preds = %.critedge40.1.1
  %66 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !5
  %67 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %68 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %67)
  %69 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %70 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %69)
  %71 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, i64 8), align 8, !tbaa !9
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %72 unwind label %.loopexit.split-lp

72:                                               ; preds = %65
  %73 = fptosi double %70 to i32
  %74 = sext i32 %73 to i64
  %75 = fptosi double %68 to i32
  %76 = sext i32 %75 to i64
  %77 = sdiv i32 %66, 2
  %78 = sext i32 %77 to i64
  %79 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %78, i64 noundef %76, i64 noundef %74, i32 noundef %218, i32 noundef %71, ptr noundef nonnull %2, ptr noundef nonnull %3)
          to label %.critedge.1.2 unwind label %.loopexit.split-lp57

.critedge.1.2:                                    ; preds = %72
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #3
  br i1 %79, label %80, label %.critedge40.1.3

80:                                               ; preds = %.critedge.1.2
  %81 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %82 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %83 unwind label %.loopexit.split-lp62

83:                                               ; preds = %80
  %84 = sdiv i32 %82, 5
  %85 = add nsw i32 %84, -9
  %86 = sext i32 %85 to i64
  %87 = sdiv i32 %81, 3
  %88 = add nsw i32 %87, 9
  %89 = sext i32 %88 to i64
  %90 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %89, i64 noundef %86, i32 noundef %218, i32 noundef %71, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %.critedge40.1.2 unwind label %.loopexit.split-lp67

.critedge40.1.2:                                  ; preds = %83
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br i1 %90, label %91, label %.critedge40.1.3

91:                                               ; preds = %.critedge40.1.2
  %92 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !5
  %93 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %94 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %93)
  %95 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %96 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %95)
  %97 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, i64 12), align 4, !tbaa !9
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %98 unwind label %.loopexit.split-lp

98:                                               ; preds = %91
  %99 = fptosi double %96 to i32
  %100 = sext i32 %99 to i64
  %101 = fptosi double %94 to i32
  %102 = sext i32 %101 to i64
  %103 = sdiv i32 %92, 2
  %104 = sext i32 %103 to i64
  %105 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %104, i64 noundef %102, i64 noundef %100, i32 noundef %218, i32 noundef %97, ptr noundef nonnull %2, ptr noundef nonnull %3)
          to label %.critedge.1.3 unwind label %.loopexit.split-lp57

.critedge.1.3:                                    ; preds = %98
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #3
  br i1 %105, label %106, label %.critedge40.1.3

106:                                              ; preds = %.critedge.1.3
  %107 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %108 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %109 unwind label %.loopexit.split-lp62

109:                                              ; preds = %106
  %110 = sdiv i32 %108, 5
  %111 = add nsw i32 %110, -9
  %112 = sext i32 %111 to i64
  %113 = sdiv i32 %107, 3
  %114 = add nsw i32 %113, 9
  %115 = sext i32 %114 to i64
  %116 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %115, i64 noundef %112, i32 noundef %218, i32 noundef %97, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %117 unwind label %.loopexit.split-lp67

117:                                              ; preds = %109
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br label %.critedge40.1.3

.critedge40.1.3:                                  ; preds = %.critedge.1.2, %.critedge40.1.1, %.critedge.1, %.critedge40.3, %.critedge40.1, %.critedge.1.1, %117, %.critedge.1.3, %.critedge40.1.2
  %118 = phi i1 [ %116, %117 ], [ false, %.critedge.1.3 ], [ false, %.critedge40.1.2 ], [ false, %.critedge.1.1 ], [ false, %.critedge40.1 ], [ false, %.critedge40.3 ], [ false, %.critedge.1 ], [ false, %.critedge40.1.1 ], [ false, %.critedge.1.2 ]
  ret i1 %118

119:                                              ; preds = %.preheader
  %120 = fptosi double %11 to i32
  %121 = sext i32 %120 to i64
  %122 = fptosi double %9 to i32
  %123 = sext i32 %122 to i64
  %124 = sdiv i32 %7, 2
  %125 = sext i32 %124 to i64
  %126 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %125, i64 noundef %123, i64 noundef %121, i32 noundef %6, i32 noundef %12, ptr noundef nonnull %2, ptr noundef nonnull %3)
          to label %.critedge unwind label %.loopexit56

.critedge:                                        ; preds = %119
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #3
  br i1 %126, label %127, label %.critedge40.3

127:                                              ; preds = %.critedge
  %128 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %129 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %130 unwind label %.loopexit61

130:                                              ; preds = %127
  %131 = sdiv i32 %129, 5
  %132 = add nsw i32 %131, -9
  %133 = sext i32 %132 to i64
  %134 = sdiv i32 %128, 3
  %135 = add nsw i32 %134, 9
  %136 = sext i32 %135 to i64
  %137 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %136, i64 noundef %133, i32 noundef %6, i32 noundef %12, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %.critedge40 unwind label %.loopexit66

.critedge40:                                      ; preds = %130
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br i1 %137, label %138, label %.critedge40.3

138:                                              ; preds = %.critedge40
  %139 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !5
  %140 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %141 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %140)
  %142 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %143 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %142)
  %144 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, i64 4), align 4, !tbaa !9
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %145 unwind label %.loopexit

145:                                              ; preds = %138
  %146 = fptosi double %143 to i32
  %147 = sext i32 %146 to i64
  %148 = fptosi double %141 to i32
  %149 = sext i32 %148 to i64
  %150 = sdiv i32 %139, 2
  %151 = sext i32 %150 to i64
  %152 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %151, i64 noundef %149, i64 noundef %147, i32 noundef %6, i32 noundef %144, ptr noundef nonnull %2, ptr noundef nonnull %3)
          to label %.critedge.176 unwind label %.loopexit56

.critedge.176:                                    ; preds = %145
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #3
  br i1 %152, label %153, label %.critedge40.3

153:                                              ; preds = %.critedge.176
  %154 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %155 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %156 unwind label %.loopexit61

156:                                              ; preds = %153
  %157 = sdiv i32 %155, 5
  %158 = add nsw i32 %157, -9
  %159 = sext i32 %158 to i64
  %160 = sdiv i32 %154, 3
  %161 = add nsw i32 %160, 9
  %162 = sext i32 %161 to i64
  %163 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %162, i64 noundef %159, i32 noundef %6, i32 noundef %144, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %.critedge40.178 unwind label %.loopexit66

.critedge40.178:                                  ; preds = %156
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br i1 %163, label %164, label %.critedge40.3

164:                                              ; preds = %.critedge40.178
  %165 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !5
  %166 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %167 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %166)
  %168 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %169 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %168)
  %170 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, i64 8), align 8, !tbaa !9
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %171 unwind label %.loopexit

171:                                              ; preds = %164
  %172 = fptosi double %169 to i32
  %173 = sext i32 %172 to i64
  %174 = fptosi double %167 to i32
  %175 = sext i32 %174 to i64
  %176 = sdiv i32 %165, 2
  %177 = sext i32 %176 to i64
  %178 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %177, i64 noundef %175, i64 noundef %173, i32 noundef %6, i32 noundef %170, ptr noundef nonnull %2, ptr noundef nonnull %3)
          to label %.critedge.2 unwind label %.loopexit56

.critedge.2:                                      ; preds = %171
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #3
  br i1 %178, label %179, label %.critedge40.3

179:                                              ; preds = %.critedge.2
  %180 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %181 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %182 unwind label %.loopexit61

182:                                              ; preds = %179
  %183 = sdiv i32 %181, 5
  %184 = add nsw i32 %183, -9
  %185 = sext i32 %184 to i64
  %186 = sdiv i32 %180, 3
  %187 = add nsw i32 %186, 9
  %188 = sext i32 %187 to i64
  %189 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %188, i64 noundef %185, i32 noundef %6, i32 noundef %170, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %.critedge40.2 unwind label %.loopexit66

.critedge40.2:                                    ; preds = %182
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br i1 %189, label %190, label %.critedge40.3

190:                                              ; preds = %.critedge40.2
  %191 = load i32, ptr @_ZN4Test1CE, align 4, !tbaa !5
  %192 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %193 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %192)
  %194 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  %195 = call noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef %194)
  %196 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.compatibility, i64 12), align 4, !tbaa !9
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %2, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %3, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %197 unwind label %.loopexit

197:                                              ; preds = %190
  %198 = fptosi double %195 to i32
  %199 = sext i32 %198 to i64
  %200 = fptosi double %193 to i32
  %201 = sext i32 %200 to i64
  %202 = sdiv i32 %191, 2
  %203 = sext i32 %202 to i64
  %204 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 2, i64 noundef %203, i64 noundef %201, i64 noundef %199, i32 noundef %6, i32 noundef %196, ptr noundef nonnull %2, ptr noundef nonnull %3)
          to label %.critedge.3 unwind label %.loopexit56

.critedge.3:                                      ; preds = %197
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %2) #3
  br i1 %204, label %205, label %.critedge40.3

205:                                              ; preds = %.critedge.3
  %206 = load i32, ptr @_ZN4Test1HE, align 4, !tbaa !5
  %207 = load i32, ptr @_ZN4Test1WE, align 4, !tbaa !5
  call void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %4, ptr noundef nonnull align 8 dereferenceable(40) %0)
  invoke void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(40) %1)
          to label %208 unwind label %.loopexit61

208:                                              ; preds = %205
  %209 = sdiv i32 %207, 5
  %210 = add nsw i32 %209, -9
  %211 = sext i32 %210 to i64
  %212 = sdiv i32 %206, 3
  %213 = add nsw i32 %212, 9
  %214 = sext i32 %213 to i64
  %215 = invoke noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef 1, i64 noundef 3, i64 noundef %214, i64 noundef %211, i32 noundef %6, i32 noundef %196, ptr noundef nonnull %4, ptr noundef nonnull %5)
          to label %216 unwind label %.loopexit66

216:                                              ; preds = %208
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %4) #3
  br label %.critedge40.3

.critedge40.3:                                    ; preds = %.critedge.2, %.critedge40.178, %.critedge, %.critedge40, %.critedge.176, %216, %.critedge.3, %.critedge40.2
  %217 = phi i1 [ %215, %216 ], [ false, %.critedge.3 ], [ false, %.critedge40.2 ], [ false, %.critedge.176 ], [ false, %.critedge40 ], [ false, %.critedge ], [ false, %.critedge40.178 ], [ false, %.critedge.2 ]
  %218 = load i32, ptr getelementptr inbounds (i8, ptr @__const._ZN4Test27SynetConvert32fTo8uAutoTestERKNS_7FuncCvtIfhEES3_.format, i64 4), align 4
  br i1 %217, label %13, label %.critedge40.1.3

.loopexit:                                        ; preds = %190, %164, %138, %.preheader
  %lpad.loopexit = landingpad { ptr, i32 }
          cleanup
  br label %221

.loopexit.split-lp:                               ; preds = %91, %65, %39, %13
  %lpad.loopexit.split-lp = landingpad { ptr, i32 }
          cleanup
  br label %221

.loopexit56:                                      ; preds = %197, %171, %145, %119
  %lpad.loopexit58 = landingpad { ptr, i32 }
          cleanup
  br label %219

.loopexit.split-lp57:                             ; preds = %98, %72, %46, %20
  %lpad.loopexit.split-lp59 = landingpad { ptr, i32 }
          cleanup
  br label %219

219:                                              ; preds = %.loopexit.split-lp57, %.loopexit56
  %lpad.phi60 = phi { ptr, i32 } [ %lpad.loopexit58, %.loopexit56 ], [ %lpad.loopexit.split-lp59, %.loopexit.split-lp57 ]
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %3) #3
  br label %221

.loopexit61:                                      ; preds = %205, %179, %153, %127
  %lpad.loopexit63 = landingpad { ptr, i32 }
          cleanup
  br label %221

.loopexit.split-lp62:                             ; preds = %106, %80, %54, %28
  %lpad.loopexit.split-lp64 = landingpad { ptr, i32 }
          cleanup
  br label %221

.loopexit66:                                      ; preds = %208, %182, %156, %130
  %lpad.loopexit68 = landingpad { ptr, i32 }
          cleanup
  br label %220

.loopexit.split-lp67:                             ; preds = %109, %83, %57, %31
  %lpad.loopexit.split-lp69 = landingpad { ptr, i32 }
          cleanup
  br label %220

220:                                              ; preds = %.loopexit.split-lp67, %.loopexit66
  %lpad.phi70 = phi { ptr, i32 } [ %lpad.loopexit68, %.loopexit66 ], [ %lpad.loopexit.split-lp69, %.loopexit.split-lp67 ]
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %5) #3
  br label %221

221:                                              ; preds = %220, %.loopexit.split-lp62, %.loopexit61, %219, %.loopexit.split-lp, %.loopexit
  %.sink = phi ptr [ %2, %.loopexit ], [ %2, %.loopexit.split-lp ], [ %2, %219 ], [ %4, %.loopexit61 ], [ %4, %.loopexit.split-lp62 ], [ %4, %220 ]
  %.pn36.pn = phi { ptr, i32 } [ %lpad.loopexit, %.loopexit ], [ %lpad.loopexit.split-lp, %.loopexit.split-lp ], [ %lpad.phi60, %219 ], [ %lpad.loopexit63, %.loopexit61 ], [ %lpad.loopexit.split-lp64, %.loopexit.split-lp62 ], [ %lpad.phi70, %220 ]
  call void @_ZN4Test7FuncCvtIfhED2Ev(ptr noundef nonnull align 8 dereferenceable(40) %.sink) #3
  resume { ptr, i32 } %.pn36.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt4sqrtIiEN9__gnu_cxx11__enable_ifIXsr12__is_integerIT_EE7__valueEdE6__typeES2_(i32 noundef) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Test7FuncCvtIfhEC2ERKS1_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40)) unnamed_addr #2 align 2

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { 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 #2 = { 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 #3 = { nounwind }

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

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


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