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

%"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.0 }
%union.anon.0 = 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.Test::PerformanceMeasurerStorage" = type { %"class.std::map.14", %"class.std::recursive_mutex" }
%"class.std::map.14" = type { %"class.std::_Rb_tree.15" }
%"class.std::_Rb_tree.15" = type { %"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, Test::PerformanceMeasurerStorage::Thread>, std::_Select1st<std::pair<const std::thread::id, Test::PerformanceMeasurerStorage::Thread>>, std::less<std::thread::id>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, Test::PerformanceMeasurerStorage::Thread>, std::_Select1st<std::pair<const std::thread::id, Test::PerformanceMeasurerStorage::Thread>>, std::less<std::thread::id>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::recursive_mutex" = type { %"class.std::__recursive_mutex_base" }
%"class.std::__recursive_mutex_base" = type { %union.pthread_mutex_t }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::__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.Test::Tensor" = type { i32, %"class.std::vector", i64, %"class.std::vector.7" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Test::Tensor.9" = type { i32, %"class.std::vector", i64, %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<unsigned char, Simd::Allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, Simd::Allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, Simd::Allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, Simd::Allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Simd::Allocator" = type { i8 }
%"class.std::allocator" = type { i8 }
%"struct.Test::FuncCvt" = type { ptr, %"class.std::__cxx11::basic_string" }

@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZN4Test3Log5s_logE = external global %"class.Test::Log", align 8
@_ZN4Test26PerformanceMeasurerStorage9s_storageE = external global %"class.Test::PerformanceMeasurerStorage", align 8
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #0 personality ptr @__gxx_personality_v0 {
  %9 = alloca i64, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca i8, align 1
  %18 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca %"class.std::__cxx11::basic_string", align 8
  %22 = alloca %"class.Test::Tensor", align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca float, align 4
  %25 = alloca %"class.Test::Tensor.9", align 8
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca i8, align 1
  %28 = alloca %"class.Test::Tensor.9", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca i8, align 1
  %31 = alloca %"class.std::vector.7", align 8
  %32 = alloca %"struct.Simd::Allocator", align 1
  %33 = alloca %"class.std::vector.7", align 8
  %34 = alloca %"struct.Simd::Allocator", align 1
  %35 = alloca i32, align 4
  %36 = alloca %"class.std::__cxx11::basic_string", align 8
  %37 = alloca i1, align 1
  %38 = alloca %"class.std::allocator", align 1
  %39 = alloca i1, align 1
  %40 = alloca i1, align 1
  %41 = alloca i1, align 1
  store i64 %0, ptr %9, align 8, !tbaa !5
  store i64 %1, ptr %10, align 8, !tbaa !5
  store i64 %2, ptr %11, align 8, !tbaa !5
  store i64 %3, ptr %12, align 8, !tbaa !5
  store i32 %4, ptr %13, align 4, !tbaa !9
  store i32 %5, ptr %14, align 4, !tbaa !11
  store ptr %6, ptr %15, align 8, !tbaa !13
  store ptr %7, ptr %16, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #7
  store i8 1, ptr %17, align 1, !tbaa !15
  %42 = load i64, ptr %9, align 8, !tbaa !5
  %43 = load i64, ptr %10, align 8, !tbaa !5
  %44 = load i64, ptr %11, align 8, !tbaa !5
  %45 = load i64, ptr %12, align 8, !tbaa !5
  %46 = load i32, ptr %13, align 4, !tbaa !9
  %47 = load i32, ptr %14, align 4, !tbaa !11
  call void @_ZN4Test7FuncCvtIfhE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %42, i64 noundef %43, i64 noundef %44, i64 noundef %45, i32 noundef %46, i32 noundef %47)
  %48 = load i64, ptr %9, align 8, !tbaa !5
  %49 = load i64, ptr %10, align 8, !tbaa !5
  %50 = load i64, ptr %11, align 8, !tbaa !5
  %51 = load i64, ptr %12, align 8, !tbaa !5
  %52 = load i32, ptr %13, align 4, !tbaa !9
  %53 = load i32, ptr %14, align 4, !tbaa !11
  call void @_ZN4Test7FuncCvtIfhE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %48, i64 noundef %49, i64 noundef %50, i64 noundef %51, i32 noundef %52, i32 noundef %53)
  call void @llvm.lifetime.start.p0(i64 392, ptr %18) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18)
  %54 = getelementptr inbounds i8, ptr %18, i64 16
  %55 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %54, ptr noundef @.str)
          to label %56 unwind label %129

56:                                               ; preds = %8
  %57 = getelementptr inbounds %"struct.Test::FuncCvt", ptr %6, i32 0, i32 1
  %58 = 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) %55, ptr noundef nonnull align 8 dereferenceable(32) %57)
          to label %59 unwind label %129

59:                                               ; preds = %56
  %60 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %58, ptr noundef @.str.1)
          to label %61 unwind label %129

61:                                               ; preds = %59
  %62 = getelementptr inbounds %"struct.Test::FuncCvt", ptr %7, i32 0, i32 1
  %63 = 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) %60, ptr noundef nonnull align 8 dereferenceable(32) %62)
          to label %64 unwind label %129

64:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %21, ptr noundef nonnull align 8 dereferenceable(128) %18)
          to label %65 unwind label %133

65:                                               ; preds = %64
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %66 unwind label %137

66:                                               ; preds = %65
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr %18) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %23) #7
  %67 = load i64, ptr %9, align 8, !tbaa !5
  %68 = load i64, ptr %10, align 8, !tbaa !5
  %69 = load i64, ptr %11, align 8, !tbaa !5
  %70 = load i64, ptr %12, align 8, !tbaa !5
  %71 = load i32, ptr %13, align 4, !tbaa !9
  call void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %23, i64 noundef %67, i64 noundef %68, i64 noundef %69, i64 noundef %70, i32 noundef %71)
  %72 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store float 0.000000e+00, ptr %24, align 4, !tbaa !17
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %22, ptr noundef nonnull align 8 dereferenceable(24) %23, i32 noundef %72, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %73 unwind label %143

73:                                               ; preds = %66
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  invoke void @_ZN4Test10FillRandomERNS_6TensorIfEEff(ptr noundef nonnull align 8 dereferenceable(64) %22, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %74 unwind label %147

74:                                               ; preds = %73
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  %75 = load i64, ptr %9, align 8, !tbaa !5
  %76 = load i64, ptr %10, align 8, !tbaa !5
  %77 = load i64, ptr %11, align 8, !tbaa !5
  %78 = load i64, ptr %12, align 8, !tbaa !5
  %79 = load i32, ptr %13, align 4, !tbaa !9
  invoke void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %26, i64 noundef %75, i64 noundef %76, i64 noundef %77, i64 noundef %78, i32 noundef %79)
          to label %80 unwind label %151

80:                                               ; preds = %74
  %81 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %27) #7
  store i8 0, ptr %27, align 1, !tbaa !19
  invoke void @_ZN4Test6TensorIhEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKh(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %81, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %82 unwind label %155

82:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %29) #7
  %83 = load i64, ptr %9, align 8, !tbaa !5
  %84 = load i64, ptr %10, align 8, !tbaa !5
  %85 = load i64, ptr %11, align 8, !tbaa !5
  %86 = load i64, ptr %12, align 8, !tbaa !5
  %87 = load i32, ptr %13, align 4, !tbaa !9
  invoke void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %29, i64 noundef %83, i64 noundef %84, i64 noundef %85, i64 noundef %86, i32 noundef %87)
          to label %88 unwind label %160

88:                                               ; preds = %82
  %89 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %30) #7
  store i8 0, ptr %30, align 1, !tbaa !19
  invoke void @_ZN4Test6TensorIhEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKh(ptr noundef nonnull align 8 dereferenceable(64) %28, ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef %89, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %90 unwind label %164

90:                                               ; preds = %88
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #7
  %91 = load i64, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %32) #7
  invoke void @_ZN4Simd9AllocatorIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %92 unwind label %169

92:                                               ; preds = %90
  invoke void @_ZNSt6vectorIfN4Simd9AllocatorIfEEEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %31, i64 noundef %91, ptr noundef nonnull align 1 dereferenceable(1) %32)
          to label %93 unwind label %169

93:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #7
  %94 = load i64, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #7
  invoke void @_ZN4Simd9AllocatorIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %95 unwind label %173

95:                                               ; preds = %93
  invoke void @_ZNSt6vectorIfN4Simd9AllocatorIfEEEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %94, ptr noundef nonnull align 1 dereferenceable(1) %34)
          to label %96 unwind label %173

96:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  invoke void @_ZN4Test10FillRandomERSt6vectorIfN4Simd9AllocatorIfEEEff(ptr noundef nonnull align 8 dereferenceable(24) %31, float noundef -1.000000e+02, float noundef 1.000000e+02)
          to label %97 unwind label %177

97:                                               ; preds = %96
  invoke void @_ZN4Test10FillRandomERSt6vectorIfN4Simd9AllocatorIfEEEff(ptr noundef nonnull align 8 dereferenceable(24) %33, float noundef -1.000000e+02, float noundef 1.000000e+02)
          to label %98 unwind label %177

98:                                               ; preds = %97
  %99 = invoke noundef i64 @_ZN4Test26PerformanceMeasurerStorage5AlignEm(ptr noundef nonnull align 8 dereferenceable(88) @_ZN4Test26PerformanceMeasurerStorage9s_storageE, i64 noundef 8)
          to label %100 unwind label %177

100:                                              ; preds = %98
  %101 = load i32, ptr %14, align 4, !tbaa !11
  invoke void @_ZNK4Test7FuncCvtIfhE4CallERKNS_6TensorIfEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IhEE26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(64) %22, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(64) %25, i32 noundef %101)
          to label %102 unwind label %177

102:                                              ; preds = %100
  %103 = load i32, ptr %14, align 4, !tbaa !11
  invoke void @_ZNK4Test7FuncCvtIfhE4CallERKNS_6TensorIfEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IhEE26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(64) %22, ptr noundef nonnull align 8 dereferenceable(24) %31, ptr noundef nonnull align 8 dereferenceable(24) %33, ptr noundef nonnull align 8 dereferenceable(64) %28, i32 noundef %103)
          to label %104 unwind label %177

104:                                              ; preds = %102
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store i32 1, ptr %35, align 4, !tbaa !20
  %105 = load i8, ptr %17, align 1, !tbaa !15, !range !22, !noundef !23
  %106 = trunc i8 %105 to i1
  store i1 false, ptr %37, align 1
  store i1 false, ptr %39, align 1
  store i1 false, ptr %40, align 1
  store i1 false, ptr %41, align 1
  br i1 %106, label %107, label %112

107:                                              ; preds = %104
  %108 = load i32, ptr %35, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #7
  store i1 true, ptr %37, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #7
  store i1 true, ptr %39, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  store i1 true, ptr %40, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %109 unwind label %181

109:                                              ; preds = %107
  store i1 true, ptr %41, align 1
  %110 = invoke noundef zeroext i1 @_ZN4Test7CompareIhEEbRKNS_6TensorIT_EES5_ibiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(64) %28, i32 noundef %108, i1 noundef zeroext true, i32 noundef 64, ptr noundef nonnull align 8 dereferenceable(32) %36)
          to label %111 unwind label %185

111:                                              ; preds = %109
  br label %112

112:                                              ; preds = %111, %104
  %113 = phi i1 [ false, %104 ], [ %110, %111 ]
  %114 = zext i1 %113 to i8
  store i8 %114, ptr %17, align 1, !tbaa !15
  %115 = load i1, ptr %41, align 1
  br i1 %115, label %116, label %117

116:                                              ; preds = %112
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  br label %117

117:                                              ; preds = %116, %112
  %118 = load i1, ptr %40, align 1
  br i1 %118, label %119, label %120

119:                                              ; preds = %117
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  br label %120

120:                                              ; preds = %119, %117
  %121 = load i1, ptr %39, align 1
  br i1 %121, label %122, label %123

122:                                              ; preds = %120
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  br label %123

123:                                              ; preds = %122, %120
  %124 = load i1, ptr %37, align 1
  br i1 %124, label %125, label %126

125:                                              ; preds = %123
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #7
  br label %126

126:                                              ; preds = %125, %123
  %127 = load i8, ptr %17, align 1, !tbaa !15, !range !22, !noundef !23
  %128 = trunc i8 %127 to i1
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %28) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #7
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  ret i1 %128

129:                                              ; preds = %61, %59, %56, %8
  %130 = landingpad { ptr, i32 }
          cleanup
  %131 = extractvalue { ptr, i32 } %130, 0
  store ptr %131, ptr %19, align 8
  %132 = extractvalue { ptr, i32 } %130, 1
  store i32 %132, ptr %20, align 4
  br label %142

133:                                              ; preds = %64
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %19, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %20, align 4
  br label %141

137:                                              ; preds = %65
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %19, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %20, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #7
  br label %141

141:                                              ; preds = %137, %133
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  br label %142

142:                                              ; preds = %141, %129
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %18) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr %18) #7
  br label %209

143:                                              ; preds = %66
  %144 = landingpad { ptr, i32 }
          cleanup
  %145 = extractvalue { ptr, i32 } %144, 0
  store ptr %145, ptr %19, align 8
  %146 = extractvalue { ptr, i32 } %144, 1
  store i32 %146, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %23) #7
  br label %208

147:                                              ; preds = %73
  %148 = landingpad { ptr, i32 }
          cleanup
  %149 = extractvalue { ptr, i32 } %148, 0
  store ptr %149, ptr %19, align 8
  %150 = extractvalue { ptr, i32 } %148, 1
  store i32 %150, ptr %20, align 4
  br label %207

151:                                              ; preds = %74
  %152 = landingpad { ptr, i32 }
          cleanup
  %153 = extractvalue { ptr, i32 } %152, 0
  store ptr %153, ptr %19, align 8
  %154 = extractvalue { ptr, i32 } %152, 1
  store i32 %154, ptr %20, align 4
  br label %159

155:                                              ; preds = %80
  %156 = landingpad { ptr, i32 }
          cleanup
  %157 = extractvalue { ptr, i32 } %156, 0
  store ptr %157, ptr %19, align 8
  %158 = extractvalue { ptr, i32 } %156, 1
  store i32 %158, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %27) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %159

159:                                              ; preds = %155, %151
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %206

160:                                              ; preds = %82
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %19, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %20, align 4
  br label %168

164:                                              ; preds = %88
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %19, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %30) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #7
  br label %168

168:                                              ; preds = %164, %160
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  br label %205

169:                                              ; preds = %92, %90
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %19, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  br label %204

173:                                              ; preds = %95, %93
  %174 = landingpad { ptr, i32 }
          cleanup
  %175 = extractvalue { ptr, i32 } %174, 0
  store ptr %175, ptr %19, align 8
  %176 = extractvalue { ptr, i32 } %174, 1
  store i32 %176, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  br label %203

177:                                              ; preds = %102, %100, %98, %97, %96
  %178 = landingpad { ptr, i32 }
          cleanup
  %179 = extractvalue { ptr, i32 } %178, 0
  store ptr %179, ptr %19, align 8
  %180 = extractvalue { ptr, i32 } %178, 1
  store i32 %180, ptr %20, align 4
  br label %202

181:                                              ; preds = %107
  %182 = landingpad { ptr, i32 }
          cleanup
  %183 = extractvalue { ptr, i32 } %182, 0
  store ptr %183, ptr %19, align 8
  %184 = extractvalue { ptr, i32 } %182, 1
  store i32 %184, ptr %20, align 4
  br label %192

185:                                              ; preds = %109
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %19, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %20, align 4
  %189 = load i1, ptr %41, align 1
  br i1 %189, label %190, label %191

190:                                              ; preds = %185
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #7
  br label %191

191:                                              ; preds = %190, %185
  br label %192

192:                                              ; preds = %191, %181
  %193 = load i1, ptr %40, align 1
  br i1 %193, label %194, label %195

194:                                              ; preds = %192
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #7
  br label %195

195:                                              ; preds = %194, %192
  %196 = load i1, ptr %39, align 1
  br i1 %196, label %197, label %198

197:                                              ; preds = %195
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #7
  br label %198

198:                                              ; preds = %197, %195
  %199 = load i1, ptr %37, align 1
  br i1 %199, label %200, label %201

200:                                              ; preds = %198
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #7
  br label %201

201:                                              ; preds = %200, %198
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  br label %202

202:                                              ; preds = %201, %177
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #7
  br label %203

203:                                              ; preds = %202, %173
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #7
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  br label %204

204:                                              ; preds = %203, %169
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %28) #7
  br label %205

205:                                              ; preds = %204, %168
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #7
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #7
  br label %206

206:                                              ; preds = %205, %159
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #7
  br label %207

207:                                              ; preds = %206, %147
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #7
  br label %208

208:                                              ; preds = %207, %143
  call void @llvm.lifetime.end.p0(i64 64, ptr %22) #7
  br label %209

209:                                              ; preds = %208, %142
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #7
  br label %210

210:                                              ; preds = %209
  %211 = load ptr, ptr %19, align 8
  %212 = load i32, ptr %20, align 4
  %213 = insertvalue { ptr, i32 } poison, ptr %211, 0
  %214 = insertvalue { ptr, i32 } %213, i32 %212, 1
  resume { ptr, i32 } %214
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Test7FuncCvtIfhE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) #0 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

; 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)) #0 align 2

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #5 align 2

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

declare void @_ZN4Test10FillRandomERNS_6TensorIfEEff(ptr noundef nonnull align 8 dereferenceable(64), float noundef, float noundef) #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Test6TensorIhEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKh(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

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

declare void @_ZN4Test10FillRandomERSt6vectorIfN4Simd9AllocatorIfEEEff(ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) #3

declare noundef i64 @_ZN4Test26PerformanceMeasurerStorage5AlignEm(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Test7FuncCvtIfhE4CallERKNS_6TensorIfEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IhEE26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZN4Test7CompareIhEEbRKNS_6TensorIT_EES5_ibiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64), i32 noundef, i1 noundef zeroext, i32 noundef, ptr noundef nonnull align 8 dereferenceable(32)) #2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #6 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 = { 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 = { "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 = { alwaysinline 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 #6 = { 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 #7 = { nounwind }

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

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


; 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.0 }
%union.anon.0 = 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.Test::PerformanceMeasurerStorage" = type { %"class.std::map.14", %"class.std::recursive_mutex" }
%"class.std::map.14" = type { %"class.std::_Rb_tree.15" }
%"class.std::_Rb_tree.15" = type { %"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, Test::PerformanceMeasurerStorage::Thread>, std::_Select1st<std::pair<const std::thread::id, Test::PerformanceMeasurerStorage::Thread>>, std::less<std::thread::id>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::thread::id, std::pair<const std::thread::id, Test::PerformanceMeasurerStorage::Thread>, std::_Select1st<std::pair<const std::thread::id, Test::PerformanceMeasurerStorage::Thread>>, std::less<std::thread::id>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"class.std::recursive_mutex" = type { %"class.std::__recursive_mutex_base" }
%"class.std::__recursive_mutex_base" = type { %union.pthread_mutex_t }
%"class.std::__cxx11::basic_stringstream" = type { %"class.std::basic_iostream.base", %"class.std::__cxx11::basic_stringbuf", %"class.std::basic_ios" }
%"class.std::basic_iostream.base" = type { %"class.std::basic_istream.base", %"class.std::basic_ostream.base" }
%"class.std::basic_istream.base" = type { ptr, i64 }
%"class.std::__cxx11::basic_stringbuf" = type { %"class.std::basic_streambuf", i32, %"class.std::__cxx11::basic_string" }
%"class.std::__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.Test::Tensor" = type { i32, %"class.std::vector", i64, %"class.std::vector.7" }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, Simd::Allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Test::Tensor.9" = type { i32, %"class.std::vector", i64, %"class.std::vector.10" }
%"class.std::vector.10" = type { %"struct.std::_Vector_base.11" }
%"struct.std::_Vector_base.11" = type { %"struct.std::_Vector_base<unsigned char, Simd::Allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, Simd::Allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, Simd::Allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, Simd::Allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Simd::Allocator" = type { i8 }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [6 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@_ZN4Test3Log5s_logE = external global %"class.Test::Log", align 8
@_ZN4Test26PerformanceMeasurerStorage9s_storageE = external global %"class.Test::PerformanceMeasurerStorage", align 8
@.str.2 = external hidden unnamed_addr constant [1 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test27SynetConvert32fTo8uAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIfhEES3_(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef nonnull %6, ptr noundef %7) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %9 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %10 = alloca %"class.std::__cxx11::basic_string", align 8
  %11 = alloca %"class.Test::Tensor", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca float, align 4
  %14 = alloca %"class.Test::Tensor.9", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca i8, align 1
  %17 = alloca %"class.Test::Tensor.9", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca i8, align 1
  %20 = alloca %"class.std::vector.7", align 8
  %21 = alloca %"struct.Simd::Allocator", align 1
  %22 = alloca %"class.std::vector.7", align 8
  %23 = alloca %"struct.Simd::Allocator", align 1
  %24 = alloca %"class.std::__cxx11::basic_string", align 8
  %25 = alloca %"class.std::allocator", align 1
  tail call void @_ZN4Test7FuncCvtIfhE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5)
  tail call void @_ZN4Test7FuncCvtIfhE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5)
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %9) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %9)
  %26 = getelementptr inbounds i8, ptr %9, i64 16
  %27 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull @.str)
          to label %28 unwind label %56

28:                                               ; preds = %8
  %29 = getelementptr inbounds i8, ptr %6, i64 8
  %30 = 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) %27, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %31 unwind label %56

31:                                               ; preds = %28
  %32 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef nonnull @.str.1)
          to label %33 unwind label %56

33:                                               ; preds = %31
  %34 = getelementptr inbounds i8, ptr %7, i64 8
  %35 = 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) %32, ptr noundef nonnull align 8 dereferenceable(32) %34)
          to label %36 unwind label %56

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

37:                                               ; preds = %36
  invoke void @_ZN4Test3Log5WriteENS0_5LevelERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(656) @_ZN4Test3Log5s_logE, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %38 unwind label %60

38:                                               ; preds = %37
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %9) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %9) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %12, i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #7
  store float 0.000000e+00, ptr %13, align 4, !tbaa !5
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef %4, ptr noundef nonnull align 4 dereferenceable(4) %13)
          to label %39 unwind label %64

39:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  invoke void @_ZN4Test10FillRandomERNS_6TensorIfEEff(ptr noundef nonnull align 8 dereferenceable(64) %11, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %40 unwind label %66

40:                                               ; preds = %39
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #7
  invoke void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %15, i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4)
          to label %41 unwind label %68

41:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %16) #7
  store i8 0, ptr %16, align 1, !tbaa !9
  invoke void @_ZN4Test6TensorIhEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKh(ptr noundef nonnull align 8 dereferenceable(64) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef %4, ptr noundef nonnull align 1 dereferenceable(1) %16)
          to label %42 unwind label %70

42:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #7
  invoke void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %18, i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4)
          to label %43 unwind label %73

43:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %19) #7
  store i8 0, ptr %19, align 1, !tbaa !9
  invoke void @_ZN4Test6TensorIhEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKh(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 8 dereferenceable(24) %18, i32 noundef %4, ptr noundef nonnull align 1 dereferenceable(1) %19)
          to label %44 unwind label %75

44:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %21) #7
  call void @_ZN4Simd9AllocatorIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %21)
  invoke void @_ZNSt6vectorIfN4Simd9AllocatorIfEEEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %1, ptr noundef nonnull align 1 dereferenceable(1) %21)
          to label %45 unwind label %78

45:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %23) #7
  call void @_ZN4Simd9AllocatorIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %23)
  invoke void @_ZNSt6vectorIfN4Simd9AllocatorIfEEEC2EmRKS2_(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %1, ptr noundef nonnull align 1 dereferenceable(1) %23)
          to label %46 unwind label %80

46:                                               ; preds = %45
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  invoke void @_ZN4Test10FillRandomERSt6vectorIfN4Simd9AllocatorIfEEEff(ptr noundef nonnull align 8 dereferenceable(24) %20, float noundef -1.000000e+02, float noundef 1.000000e+02)
          to label %47 unwind label %82

47:                                               ; preds = %46
  invoke void @_ZN4Test10FillRandomERSt6vectorIfN4Simd9AllocatorIfEEEff(ptr noundef nonnull align 8 dereferenceable(24) %22, float noundef -1.000000e+02, float noundef 1.000000e+02)
          to label %48 unwind label %82

48:                                               ; preds = %47
  %49 = invoke noundef i64 @_ZN4Test26PerformanceMeasurerStorage5AlignEm(ptr noundef nonnull align 8 dereferenceable(88) @_ZN4Test26PerformanceMeasurerStorage9s_storageE, i64 noundef 8)
          to label %50 unwind label %82

50:                                               ; preds = %48
  invoke void @_ZNK4Test7FuncCvtIfhE4CallERKNS_6TensorIfEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IhEE26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(64) %14, i32 noundef %5)
          to label %51 unwind label %82

51:                                               ; preds = %50
  invoke void @_ZNK4Test7FuncCvtIfhE4CallERKNS_6TensorIfEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IhEE26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %7, ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(24) %20, ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(64) %17, i32 noundef %5)
          to label %52 unwind label %82

52:                                               ; preds = %51
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %24) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %25) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %25)
          to label %53 unwind label %84

53:                                               ; preds = %52
  %54 = invoke noundef zeroext i1 @_ZN4Test7CompareIhEEbRKNS_6TensorIT_EES5_ibiRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %14, ptr noundef nonnull align 8 dereferenceable(64) %17, i32 noundef 1, i1 noundef zeroext true, i32 noundef 64, ptr noundef nonnull align 8 dereferenceable(32) %24)
          to label %55 unwind label %86

55:                                               ; preds = %53
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #7
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #7
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #7
  ret i1 %54

56:                                               ; preds = %33, %31, %28, %8
  %57 = landingpad { ptr, i32 }
          cleanup
  br label %63

58:                                               ; preds = %36
  %59 = landingpad { ptr, i32 }
          cleanup
  br label %62

60:                                               ; preds = %37
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #7
  br label %62

62:                                               ; preds = %60, %58
  %.pn = phi { ptr, i32 } [ %61, %60 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #7
  br label %63

63:                                               ; preds = %62, %56
  %.pn.pn = phi { ptr, i32 } [ %.pn, %62 ], [ %57, %56 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %9) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %9) #7
  br label %96

64:                                               ; preds = %38
  %65 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  br label %95

66:                                               ; preds = %39
  %67 = landingpad { ptr, i32 }
          cleanup
  br label %94

68:                                               ; preds = %40
  %69 = landingpad { ptr, i32 }
          cleanup
  br label %72

70:                                               ; preds = %41
  %71 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %16) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %72

72:                                               ; preds = %70, %68
  %.pn65 = phi { ptr, i32 } [ %71, %70 ], [ %69, %68 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #7
  br label %93

73:                                               ; preds = %42
  %74 = landingpad { ptr, i32 }
          cleanup
  br label %77

75:                                               ; preds = %43
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %19) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  br label %77

77:                                               ; preds = %75, %73
  %.pn67 = phi { ptr, i32 } [ %76, %75 ], [ %74, %73 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #7
  br label %92

78:                                               ; preds = %44
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %21) #7
  br label %91

80:                                               ; preds = %45
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %23) #7
  br label %90

82:                                               ; preds = %51, %50, %48, %47, %46
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %89

84:                                               ; preds = %52
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %88

86:                                               ; preds = %53
  %87 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #7
  br label %88

88:                                               ; preds = %84, %86
  %.pn69 = phi { ptr, i32 } [ %87, %86 ], [ %85, %84 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %25) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %25) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %24) #7
  br label %89

89:                                               ; preds = %88, %82
  %.pn69.pn = phi { ptr, i32 } [ %.pn69, %88 ], [ %83, %82 ]
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  br label %90

90:                                               ; preds = %89, %80
  %.pn69.pn.pn = phi { ptr, i32 } [ %.pn69.pn, %89 ], [ %81, %80 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #7
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  br label %91

91:                                               ; preds = %90, %78
  %.pn69.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn, %90 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #7
  br label %92

92:                                               ; preds = %91, %77
  %.pn69.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn, %91 ], [ %.pn67, %77 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #7
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #7
  br label %93

93:                                               ; preds = %92, %72
  %.pn69.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn.pn, %92 ], [ %.pn65, %72 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #7
  br label %94

94:                                               ; preds = %93, %66
  %.pn69.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn.pn.pn, %93 ], [ %67, %66 ]
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #7
  br label %95

95:                                               ; preds = %94, %64
  %.pn69.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn.pn.pn.pn, %94 ], [ %65, %64 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %11) #7
  br label %96

96:                                               ; preds = %95, %63
  %.pn69.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn69.pn.pn.pn.pn.pn.pn.pn, %95 ], [ %.pn.pn, %63 ]
  resume { ptr, i32 } %.pn69.pn.pn.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN4Test7FuncCvtIfhE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40), i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

; 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 #0 align 2

; 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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i64 noundef, i64 noundef, i64 noundef, i64 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 4 dereferenceable(4)) unnamed_addr #5 align 2

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

declare void @_ZN4Test10FillRandomERNS_6TensorIfEEff(ptr noundef nonnull align 8 dereferenceable(64), float noundef, float noundef) local_unnamed_addr #3

; Function Attrs: alwaysinline mustprogress uwtable
declare dso_local void @_ZN4Test6TensorIhEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKh(ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), i32 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #5 align 2

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

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

declare void @_ZN4Test10FillRandomERSt6vectorIfN4Simd9AllocatorIfEEEff(ptr noundef nonnull align 8 dereferenceable(24), float noundef, float noundef) local_unnamed_addr #3

declare noundef i64 @_ZN4Test26PerformanceMeasurerStorage5AlignEm(ptr noundef nonnull align 8 dereferenceable(88), i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Test7FuncCvtIfhE4CallERKNS_6TensorIfEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IhEE26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(64), i32 noundef) local_unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #6 align 2

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #6 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { "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 = { alwaysinline 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 #6 = { 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 #7 = { 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 = !{!7, !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass