; 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_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = 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::__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.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 }
%"class.Test::Tensor" = type { i32, %"class.std::vector", i64, %"class.std::vector.7" }
%"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 }
%"struct.Simd::Allocator" = type { i8 }
%"class.std::allocator" = type { i8 }
%"struct.Test::FuncCvt.19" = 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 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)) #1 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) #0

; 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test27SynetConvert8uTo32fAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIhfEES3_(i64 noundef %0, i64 noundef %1, i64 noundef %2, i64 noundef %3, i32 noundef %4, i32 noundef %5, ptr noundef %6, ptr noundef %7) #1 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.9", align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca i8, align 1
  %25 = alloca %"class.Test::Tensor", align 8
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca float, align 4
  %28 = alloca %"class.Test::Tensor", align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca float, align 4
  %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 %"class.std::__cxx11::basic_string", align 8
  %36 = alloca i1, align 1
  %37 = alloca %"class.std::allocator", align 1
  %38 = alloca i1, align 1
  %39 = alloca i1, align 1
  %40 = 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
  %41 = load i64, ptr %9, align 8, !tbaa !5
  %42 = load i64, ptr %10, align 8, !tbaa !5
  %43 = load i64, ptr %11, align 8, !tbaa !5
  %44 = load i64, ptr %12, align 8, !tbaa !5
  %45 = load i32, ptr %13, align 4, !tbaa !9
  %46 = load i32, ptr %14, align 4, !tbaa !11
  call void @_ZN4Test7FuncCvtIhfE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %41, i64 noundef %42, i64 noundef %43, i64 noundef %44, i32 noundef %45, i32 noundef %46)
  %47 = load i64, ptr %9, align 8, !tbaa !5
  %48 = load i64, ptr %10, align 8, !tbaa !5
  %49 = load i64, ptr %11, align 8, !tbaa !5
  %50 = load i64, ptr %12, align 8, !tbaa !5
  %51 = load i32, ptr %13, align 4, !tbaa !9
  %52 = load i32, ptr %14, align 4, !tbaa !11
  call void @_ZN4Test7FuncCvtIhfE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(ptr noundef nonnull align 8 dereferenceable(40) %7, i64 noundef %47, i64 noundef %48, i64 noundef %49, i64 noundef %50, i32 noundef %51, i32 noundef %52)
  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)
  %53 = getelementptr inbounds i8, ptr %18, i64 16
  %54 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %53, ptr noundef @.str)
          to label %55 unwind label %127

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

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

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

63:                                               ; preds = %60
  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 %64 unwind label %131

64:                                               ; preds = %63
  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 %65 unwind label %135

65:                                               ; preds = %64
  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
  %66 = load i64, ptr %9, align 8, !tbaa !5
  %67 = load i64, ptr %10, align 8, !tbaa !5
  %68 = load i64, ptr %11, align 8, !tbaa !5
  %69 = load i64, ptr %12, align 8, !tbaa !5
  %70 = 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 %66, i64 noundef %67, i64 noundef %68, i64 noundef %69, i32 noundef %70)
  %71 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 1, ptr %24) #7
  store i8 0, ptr %24, align 1, !tbaa !17
  invoke void @_ZN4Test6TensorIhEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKh(ptr noundef nonnull align 8 dereferenceable(64) %22, ptr noundef nonnull align 8 dereferenceable(24) %23, i32 noundef %71, ptr noundef nonnull align 1 dereferenceable(1) %24)
          to label %72 unwind label %141

72:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 1, 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_6TensorIhEEhh(ptr noundef nonnull align 8 dereferenceable(64) %22, i8 noundef zeroext 0, i8 noundef zeroext -1)
          to label %73 unwind label %145

73:                                               ; preds = %72
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  %74 = load i64, ptr %9, align 8, !tbaa !5
  %75 = load i64, ptr %10, align 8, !tbaa !5
  %76 = load i64, ptr %11, align 8, !tbaa !5
  %77 = load i64, ptr %12, align 8, !tbaa !5
  %78 = 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 %74, i64 noundef %75, i64 noundef %76, i64 noundef %77, i32 noundef %78)
          to label %79 unwind label %149

79:                                               ; preds = %73
  %80 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #7
  store float 0.000000e+00, ptr %27, align 4, !tbaa !18
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef %80, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %81 unwind label %153

81:                                               ; preds = %79
  call void @llvm.lifetime.end.p0(i64 4, 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
  %82 = load i64, ptr %9, align 8, !tbaa !5
  %83 = load i64, ptr %10, align 8, !tbaa !5
  %84 = load i64, ptr %11, align 8, !tbaa !5
  %85 = load i64, ptr %12, align 8, !tbaa !5
  %86 = 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 %82, i64 noundef %83, i64 noundef %84, i64 noundef %85, i32 noundef %86)
          to label %87 unwind label %158

87:                                               ; preds = %81
  %88 = load i32, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #7
  store float 0.000000e+00, ptr %30, align 4, !tbaa !18
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %28, ptr noundef nonnull align 8 dereferenceable(24) %29, i32 noundef %88, ptr noundef nonnull align 4 dereferenceable(4) %30)
          to label %89 unwind label %162

89:                                               ; preds = %87
  call void @llvm.lifetime.end.p0(i64 4, 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
  %90 = 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 %91 unwind label %167

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

92:                                               ; preds = %91
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #7
  %93 = 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 %94 unwind label %171

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

95:                                               ; preds = %94
  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+00, float noundef 1.000000e+00)
          to label %96 unwind label %175

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

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

99:                                               ; preds = %97
  %100 = load i32, ptr %14, align 4, !tbaa !11
  invoke void @_ZNK4Test7FuncCvtIhfE4CallERKNS_6TensorIhEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IfEE26SimdSynetCompatibilityType(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 %100)
          to label %101 unwind label %175

101:                                              ; preds = %99
  %102 = load i32, ptr %14, align 4, !tbaa !11
  invoke void @_ZNK4Test7FuncCvtIhfE4CallERKNS_6TensorIhEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IfEE26SimdSynetCompatibilityType(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 %102)
          to label %103 unwind label %175

103:                                              ; preds = %101
  %104 = load i8, ptr %17, align 1, !tbaa !15, !range !20, !noundef !21
  %105 = trunc i8 %104 to i1
  store i1 false, ptr %36, align 1
  store i1 false, ptr %38, align 1
  store i1 false, ptr %39, align 1
  store i1 false, ptr %40, align 1
  br i1 %105, label %106, label %110

106:                                              ; preds = %103
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #7
  store i1 true, ptr %36, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %37) #7
  store i1 true, ptr %38, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  store i1 true, ptr %39, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef @.str.2, ptr noundef nonnull align 1 dereferenceable(1) %37)
          to label %107 unwind label %179

107:                                              ; preds = %106
  store i1 true, ptr %40, align 1
  %108 = invoke noundef zeroext i1 @_ZN4Test7CompareERKNS_6TensorIfEES3_fbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(64) %28, float noundef 0x3F50624DE0000000, i1 noundef zeroext true, i32 noundef 64, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %35)
          to label %109 unwind label %183

109:                                              ; preds = %107
  br label %110

110:                                              ; preds = %109, %103
  %111 = phi i1 [ false, %103 ], [ %108, %109 ]
  %112 = zext i1 %111 to i8
  store i8 %112, ptr %17, align 1, !tbaa !15
  %113 = load i1, ptr %40, align 1
  br i1 %113, label %114, label %115

114:                                              ; preds = %110
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %115

115:                                              ; preds = %114, %110
  %116 = load i1, ptr %39, align 1
  br i1 %116, label %117, label %118

117:                                              ; preds = %115
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  br label %118

118:                                              ; preds = %117, %115
  %119 = load i1, ptr %38, align 1
  br i1 %119, label %120, label %121

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

121:                                              ; preds = %120, %118
  %122 = load i1, ptr %36, align 1
  br i1 %122, label %123, label %124

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

124:                                              ; preds = %123, %121
  %125 = load i8, ptr %17, align 1, !tbaa !15, !range !20, !noundef !21
  %126 = trunc i8 %125 to i1
  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 @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %28) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #7
  call void @_ZN4Test6TensorIhED2Ev(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 %126

127:                                              ; preds = %60, %58, %55, %8
  %128 = landingpad { ptr, i32 }
          cleanup
  %129 = extractvalue { ptr, i32 } %128, 0
  store ptr %129, ptr %19, align 8
  %130 = extractvalue { ptr, i32 } %128, 1
  store i32 %130, ptr %20, align 4
  br label %140

131:                                              ; preds = %63
  %132 = landingpad { ptr, i32 }
          cleanup
  %133 = extractvalue { ptr, i32 } %132, 0
  store ptr %133, ptr %19, align 8
  %134 = extractvalue { ptr, i32 } %132, 1
  store i32 %134, ptr %20, align 4
  br label %139

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

139:                                              ; preds = %135, %131
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #7
  br label %140

140:                                              ; preds = %139, %127
  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 %207

141:                                              ; preds = %65
  %142 = landingpad { ptr, i32 }
          cleanup
  %143 = extractvalue { ptr, i32 } %142, 0
  store ptr %143, ptr %19, align 8
  %144 = extractvalue { ptr, i32 } %142, 1
  store i32 %144, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 1, 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 %206

145:                                              ; preds = %72
  %146 = landingpad { ptr, i32 }
          cleanup
  %147 = extractvalue { ptr, i32 } %146, 0
  store ptr %147, ptr %19, align 8
  %148 = extractvalue { ptr, i32 } %146, 1
  store i32 %148, ptr %20, align 4
  br label %205

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

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

157:                                              ; preds = %153, %149
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  br label %204

158:                                              ; preds = %81
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %19, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %20, align 4
  br label %166

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

166:                                              ; preds = %162, %158
  call void @llvm.lifetime.end.p0(i64 24, ptr %29) #7
  br label %203

167:                                              ; preds = %91, %89
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %19, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %32) #7
  br label %202

171:                                              ; preds = %94, %92
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %19, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #7
  br label %201

175:                                              ; preds = %101, %99, %97, %96, %95
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %19, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %20, align 4
  br label %200

179:                                              ; preds = %106
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %19, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %20, align 4
  br label %190

183:                                              ; preds = %107
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %19, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %20, align 4
  %187 = load i1, ptr %40, align 1
  br i1 %187, label %188, label %189

188:                                              ; preds = %183
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #7
  br label %189

189:                                              ; preds = %188, %183
  br label %190

190:                                              ; preds = %189, %179
  %191 = load i1, ptr %39, align 1
  br i1 %191, label %192, label %193

192:                                              ; preds = %190
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %37) #7
  br label %193

193:                                              ; preds = %192, %190
  %194 = load i1, ptr %38, align 1
  br i1 %194, label %195, label %196

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

196:                                              ; preds = %195, %193
  %197 = load i1, ptr %36, align 1
  br i1 %197, label %198, label %199

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

199:                                              ; preds = %198, %196
  br label %200

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

201:                                              ; preds = %200, %171
  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 %202

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

203:                                              ; preds = %202, %166
  call void @llvm.lifetime.end.p0(i64 64, ptr %28) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #7
  br label %204

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

205:                                              ; preds = %204, %145
  call void @_ZN4Test6TensorIhED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #7
  br label %206

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

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

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

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

declare void @_ZN4Test10FillRandomERNS_6TensorIhEEhh(ptr noundef nonnull align 8 dereferenceable(64), i8 noundef zeroext, i8 noundef zeroext) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Test7FuncCvtIhfE4CallERKNS_6TensorIhEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IfEE26SimdSynetCompatibilityType(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) #1 align 2

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = !{!7, !7, i64 0}
!18 = !{!19, !19, i64 0}
!19 = !{!"float", !7, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}


; 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_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%"class.std::vector" = 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::__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.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 }
%"class.Test::Tensor" = type { i32, %"class.std::vector", i64, %"class.std::vector.7" }
%"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 }
%"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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

; Function Attrs: mustprogress uwtable
declare void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128)) unnamed_addr #1 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 #1 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) #0

; 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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZN4Test27SynetConvert8uTo32fAutoTestEmmmm20SimdTensorFormatType26SimdSynetCompatibilityTypeNS_7FuncCvtIhfEES3_(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 #1 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.9", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca i8, align 1
  %14 = alloca %"class.Test::Tensor", align 8
  %15 = alloca %"class.std::vector", align 8
  %16 = alloca float, align 4
  %17 = alloca %"class.Test::Tensor", align 8
  %18 = alloca %"class.std::vector", align 8
  %19 = alloca float, align 4
  %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 @_ZN4Test7FuncCvtIhfE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(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 @_ZN4Test7FuncCvtIhfE6UpdateEmmmm20SimdTensorFormatType26SimdSynetCompatibilityType(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 1, ptr nonnull %13) #7
  store i8 0, ptr %13, align 1, !tbaa !5
  invoke void @_ZN4Test6TensorIhEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKh(ptr noundef nonnull align 8 dereferenceable(64) %11, ptr noundef nonnull align 8 dereferenceable(24) %12, i32 noundef %4, ptr noundef nonnull align 1 dereferenceable(1) %13)
          to label %39 unwind label %64

39:                                               ; preds = %38
  call void @llvm.lifetime.end.p0(i64 1, 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_6TensorIhEEhh(ptr noundef nonnull align 8 dereferenceable(64) %11, i8 noundef zeroext 0, i8 noundef zeroext -1)
          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 4, ptr nonnull %16) #7
  store float 0.000000e+00, ptr %16, align 4, !tbaa !8
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %14, ptr noundef nonnull align 8 dereferenceable(24) %15, i32 noundef %4, ptr noundef nonnull align 4 dereferenceable(4) %16)
          to label %42 unwind label %70

42:                                               ; preds = %41
  call void @llvm.lifetime.end.p0(i64 4, 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 4, ptr nonnull %19) #7
  store float 0.000000e+00, ptr %19, align 4, !tbaa !8
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %17, ptr noundef nonnull align 8 dereferenceable(24) %18, i32 noundef %4, ptr noundef nonnull align 4 dereferenceable(4) %19)
          to label %44 unwind label %75

44:                                               ; preds = %43
  call void @llvm.lifetime.end.p0(i64 4, 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+00, float noundef 1.000000e+00)
          to label %47 unwind label %82

47:                                               ; preds = %46
  invoke void @_ZN4Test10FillRandomERSt6vectorIfN4Simd9AllocatorIfEEEff(ptr noundef nonnull align 8 dereferenceable(24) %22, float noundef -1.000000e+00, float noundef 1.000000e+00)
          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 @_ZNK4Test7FuncCvtIhfE4CallERKNS_6TensorIhEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IfEE26SimdSynetCompatibilityType(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 @_ZNK4Test7FuncCvtIhfE4CallERKNS_6TensorIhEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IfEE26SimdSynetCompatibilityType(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 @_ZN4Test7CompareERKNS_6TensorIfEES3_fbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %14, ptr noundef nonnull align 8 dereferenceable(64) %17, float noundef 0x3F50624DE0000000, i1 noundef zeroext true, i32 noundef 64, i32 noundef 2, 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 @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %17) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %14) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %14) #7
  call void @_ZN4Test6TensorIhED2Ev(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 1, 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 4, ptr nonnull %16) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #7
  br label %72

72:                                               ; preds = %70, %68
  %.pn64 = 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 4, ptr nonnull %19) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #7
  br label %77

77:                                               ; preds = %75, %73
  %.pn66 = 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
  %.pn68 = 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
  %.pn68.pn = phi { ptr, i32 } [ %.pn68, %88 ], [ %83, %82 ]
  call void @_ZNSt6vectorIfN4Simd9AllocatorIfEEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  br label %90

90:                                               ; preds = %89, %80
  %.pn68.pn.pn = phi { ptr, i32 } [ %.pn68.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
  %.pn68.pn.pn.pn = phi { ptr, i32 } [ %.pn68.pn.pn, %90 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %17) #7
  br label %92

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

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

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

95:                                               ; preds = %94, %64
  %.pn68.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn68.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
  %.pn68.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn68.pn.pn.pn.pn.pn.pn.pn, %95 ], [ %.pn.pn, %63 ]
  resume { ptr, i32 } %.pn68.pn.pn.pn.pn.pn.pn.pn.pn
}

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

declare void @_ZN4Test10FillRandomERNS_6TensorIhEEhh(ptr noundef nonnull align 8 dereferenceable(64), i8 noundef zeroext, i8 noundef zeroext) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Test7FuncCvtIhfE4CallERKNS_6TensorIhEERKSt6vectorIfN4Simd9AllocatorIfEEESC_RNS2_IfEE26SimdSynetCompatibilityType(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 #1 align 2

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !9, i64 0}
!9 = !{!"float", !6, i64 0}


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