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

; 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.9", %"class.std::recursive_mutex" }
%"class.std::map.9" = type { %"class.std::_Rb_tree.10" }
%"class.std::_Rb_tree.10" = 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.std::allocator" = type { i8 }
%"struct.Test::FuncSNLF2" = type { ptr, %"class.std::__cxx11::basic_string" }

@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZN4Test3Log5s_logE = external global %"class.Test::Log", align 8
@_ZN4Test26PerformanceMeasurerStorage9s_storageE = external global %"class.Test::PerformanceMeasurerStorage", align 8
@.str.7 = 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #2 align 2

declare i32 @__gxx_personality_v0(...)

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

55:                                               ; preds = %7
  %56 = getelementptr inbounds %"struct.Test::FuncSNLF2", ptr %5, 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 %104

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.3)
          to label %60 unwind label %104

60:                                               ; preds = %58
  %61 = getelementptr inbounds %"struct.Test::FuncSNLF2", ptr %6, 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 %104

63:                                               ; preds = %60
  %64 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %62, ptr noundef @.str.4)
          to label %65 unwind label %104

65:                                               ; preds = %63
  %66 = load i64, ptr %8, align 8, !tbaa !5
  %67 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %64, i64 noundef %66)
          to label %68 unwind label %104

68:                                               ; preds = %65
  %69 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef @.str.5)
          to label %70 unwind label %104

70:                                               ; preds = %68
  %71 = load i64, ptr %9, align 8, !tbaa !5
  %72 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %69, i64 noundef %71)
          to label %73 unwind label %104

73:                                               ; preds = %70
  %74 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %72, ptr noundef @.str.5)
          to label %75 unwind label %104

75:                                               ; preds = %73
  %76 = load i64, ptr %10, align 8, !tbaa !5
  %77 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %74, i64 noundef %76)
          to label %78 unwind label %104

78:                                               ; preds = %75
  %79 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %77, ptr noundef @.str.6)
          to label %80 unwind label %104

80:                                               ; preds = %78
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #7
  invoke void @_ZNKSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEE3strEv(ptr dead_on_unwind writable sret(%"class.std::__cxx11::basic_string") align 8 %20, ptr noundef nonnull align 8 dereferenceable(128) %17)
          to label %81 unwind label %108

81:                                               ; preds = %80
  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) %20)
          to label %82 unwind label %112

82:                                               ; preds = %81
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr %17) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  %83 = load i64, ptr %8, align 8, !tbaa !5
  %84 = load i64, ptr %9, align 8, !tbaa !5
  %85 = load i64, ptr %10, align 8, !tbaa !5
  %86 = load i32, ptr %11, align 4, !tbaa !9
  call void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %22, i64 noundef %83, i64 noundef %84, i64 noundef 1, i64 noundef %85, i32 noundef %86)
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  store float 0.000000e+00, ptr %23, align 4, !tbaa !17
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %21, ptr noundef nonnull align 8 dereferenceable(24) %22, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %23)
          to label %87 unwind label %118

87:                                               ; preds = %82
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %24) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #7
  %88 = load i64, ptr %9, align 8, !tbaa !5
  invoke void @_ZN4Test7ToShapeEm(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %25, i64 noundef %88)
          to label %89 unwind label %122

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #7
  store float 0.000000e+00, ptr %26, align 4, !tbaa !17
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %24, ptr noundef nonnull align 8 dereferenceable(24) %25, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %26)
          to label %90 unwind label %126

90:                                               ; preds = %89
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %27) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %28) #7
  %91 = load i64, ptr %9, align 8, !tbaa !5
  invoke void @_ZN4Test7ToShapeEm(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %28, i64 noundef %91)
          to label %92 unwind label %131

92:                                               ; preds = %90
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #7
  store float 0.000000e+00, ptr %29, align 4, !tbaa !17
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %27, ptr noundef nonnull align 8 dereferenceable(24) %28, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %29)
          to label %93 unwind label %135

93:                                               ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %28) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %30) #7
  invoke void @_ZN4Test6TensorIfEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %30)
          to label %94 unwind label %140

94:                                               ; preds = %93
  %95 = load i32, ptr %12, align 4, !tbaa !11
  %96 = icmp ne i32 %95, 0
  br i1 %96, label %97, label %153

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 24, ptr %31) #7
  %98 = load i64, ptr %10, align 8, !tbaa !5
  %99 = load i64, ptr %9, align 8, !tbaa !5
  %100 = invoke noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef %98, i64 noundef %99)
          to label %101 unwind label %144

101:                                              ; preds = %97
  invoke void @_ZN4Test7ToShapeEm(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %31, i64 noundef %100)
          to label %102 unwind label %144

102:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #7
  store float 0.000000e+00, ptr %32, align 4, !tbaa !17
  invoke void @_ZN4Test6TensorIfE7ReshapeERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %30, ptr noundef nonnull align 8 dereferenceable(24) %31, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %32)
          to label %103 unwind label %148

103:                                              ; preds = %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  br label %153

104:                                              ; preds = %78, %75, %73, %70, %68, %65, %63, %60, %58, %55, %7
  %105 = landingpad { ptr, i32 }
          cleanup
  %106 = extractvalue { ptr, i32 } %105, 0
  store ptr %106, ptr %18, align 8
  %107 = extractvalue { ptr, i32 } %105, 1
  store i32 %107, ptr %19, align 4
  br label %117

108:                                              ; preds = %80
  %109 = landingpad { ptr, i32 }
          cleanup
  %110 = extractvalue { ptr, i32 } %109, 0
  store ptr %110, ptr %18, align 8
  %111 = extractvalue { ptr, i32 } %109, 1
  store i32 %111, ptr %19, align 4
  br label %116

112:                                              ; preds = %81
  %113 = landingpad { ptr, i32 }
          cleanup
  %114 = extractvalue { ptr, i32 } %113, 0
  store ptr %114, ptr %18, align 8
  %115 = extractvalue { ptr, i32 } %113, 1
  store i32 %115, ptr %19, align 4
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #7
  br label %116

116:                                              ; preds = %112, %108
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #7
  br label %117

117:                                              ; preds = %116, %104
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %17) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr %17) #7
  br label %267

118:                                              ; preds = %82
  %119 = landingpad { ptr, i32 }
          cleanup
  %120 = extractvalue { ptr, i32 } %119, 0
  store ptr %120, ptr %18, align 8
  %121 = extractvalue { ptr, i32 } %119, 1
  store i32 %121, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  br label %266

122:                                              ; preds = %87
  %123 = landingpad { ptr, i32 }
          cleanup
  %124 = extractvalue { ptr, i32 } %123, 0
  store ptr %124, ptr %18, align 8
  %125 = extractvalue { ptr, i32 } %123, 1
  store i32 %125, ptr %19, align 4
  br label %130

126:                                              ; preds = %89
  %127 = landingpad { ptr, i32 }
          cleanup
  %128 = extractvalue { ptr, i32 } %127, 0
  store ptr %128, ptr %18, align 8
  %129 = extractvalue { ptr, i32 } %127, 1
  store i32 %129, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #7
  br label %130

130:                                              ; preds = %126, %122
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  br label %265

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

135:                                              ; preds = %92
  %136 = landingpad { ptr, i32 }
          cleanup
  %137 = extractvalue { ptr, i32 } %136, 0
  store ptr %137, ptr %18, align 8
  %138 = extractvalue { ptr, i32 } %136, 1
  store i32 %138, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %28) #7
  br label %139

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

140:                                              ; preds = %93
  %141 = landingpad { ptr, i32 }
          cleanup
  %142 = extractvalue { ptr, i32 } %141, 0
  store ptr %142, ptr %18, align 8
  %143 = extractvalue { ptr, i32 } %141, 1
  store i32 %143, ptr %19, align 4
  br label %263

144:                                              ; preds = %101, %97
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %18, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %19, align 4
  br label %152

148:                                              ; preds = %102
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %18, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %31) #7
  br label %152

152:                                              ; preds = %148, %144
  call void @llvm.lifetime.end.p0(i64 24, ptr %31) #7
  br label %262

153:                                              ; preds = %103, %94
  call void @llvm.lifetime.start.p0(i64 64, ptr %33) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #7
  %154 = load i64, ptr %8, align 8, !tbaa !5
  %155 = load i64, ptr %9, align 8, !tbaa !5
  %156 = load i64, ptr %10, align 8, !tbaa !5
  %157 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %34, i64 noundef %154, i64 noundef %155, i64 noundef 1, i64 noundef %156, i32 noundef %157)
          to label %158 unwind label %216

158:                                              ; preds = %153
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #7
  store float 0.000000e+00, ptr %35, align 4, !tbaa !17
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %33, ptr noundef nonnull align 8 dereferenceable(24) %34, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %35)
          to label %159 unwind label %220

159:                                              ; preds = %158
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr %36) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #7
  %160 = load i64, ptr %8, align 8, !tbaa !5
  %161 = load i64, ptr %9, align 8, !tbaa !5
  %162 = load i64, ptr %10, align 8, !tbaa !5
  %163 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %37, i64 noundef %160, i64 noundef %161, i64 noundef 1, i64 noundef %162, i32 noundef %163)
          to label %164 unwind label %225

164:                                              ; preds = %159
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #7
  store float 0.000000e+00, ptr %38, align 4, !tbaa !17
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %36, ptr noundef nonnull align 8 dereferenceable(24) %37, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %38)
          to label %165 unwind label %229

165:                                              ; preds = %164
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #7
  %166 = invoke noundef ptr @_ZN4Test6TensorIfE4DataEv(ptr noundef nonnull align 8 dereferenceable(64) %21)
          to label %167 unwind label %234

167:                                              ; preds = %165
  %168 = invoke noundef i64 @_ZNK4Test6TensorIfE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %21)
          to label %169 unwind label %234

169:                                              ; preds = %167
  invoke void @_ZN4Test10FillRandomEPfmff(ptr noundef %166, i64 noundef %168, float noundef -1.000000e+01, float noundef 1.000000e+01)
          to label %170 unwind label %234

170:                                              ; preds = %169
  %171 = invoke noundef ptr @_ZN4Test6TensorIfE4DataEv(ptr noundef nonnull align 8 dereferenceable(64) %24)
          to label %172 unwind label %234

172:                                              ; preds = %170
  %173 = invoke noundef i64 @_ZNK4Test6TensorIfE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %24)
          to label %174 unwind label %234

174:                                              ; preds = %172
  invoke void @_ZN4Test10FillRandomEPfmff(ptr noundef %171, i64 noundef %173, float noundef -1.000000e+01, float noundef 1.000000e+01)
          to label %175 unwind label %234

175:                                              ; preds = %174
  %176 = invoke noundef ptr @_ZN4Test6TensorIfE4DataEv(ptr noundef nonnull align 8 dereferenceable(64) %27)
          to label %177 unwind label %234

177:                                              ; preds = %175
  %178 = invoke noundef i64 @_ZNK4Test6TensorIfE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %27)
          to label %179 unwind label %234

179:                                              ; preds = %177
  invoke void @_ZN4Test10FillRandomEPfmff(ptr noundef %176, i64 noundef %178, float noundef -1.000000e+01, float noundef 1.000000e+01)
          to label %180 unwind label %234

180:                                              ; preds = %179
  %181 = invoke noundef i64 @_ZN4Test26PerformanceMeasurerStorage5AlignEm(ptr noundef nonnull align 8 dereferenceable(88) @_ZN4Test26PerformanceMeasurerStorage9s_storageE, i64 noundef 8)
          to label %182 unwind label %234

182:                                              ; preds = %180
  %183 = load i64, ptr %8, align 8, !tbaa !5
  %184 = load i64, ptr %9, align 8, !tbaa !5
  %185 = load i64, ptr %10, align 8, !tbaa !5
  %186 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZNK4Test9FuncSNLF24CallERKNS_6TensorIfEEmmmS4_S4_f20SimdTensorFormatTypeRS2_S6_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(64) %21, i64 noundef %183, i64 noundef %184, i64 noundef %185, ptr noundef nonnull align 8 dereferenceable(64) %24, ptr noundef nonnull align 8 dereferenceable(64) %27, float noundef 0x3EB0C6F7A0000000, i32 noundef %186, ptr noundef nonnull align 8 dereferenceable(64) %30, ptr noundef nonnull align 8 dereferenceable(64) %33)
          to label %187 unwind label %234

187:                                              ; preds = %182
  %188 = load i64, ptr %8, align 8, !tbaa !5
  %189 = load i64, ptr %9, align 8, !tbaa !5
  %190 = load i64, ptr %10, align 8, !tbaa !5
  %191 = load i32, ptr %11, align 4, !tbaa !9
  invoke void @_ZNK4Test9FuncSNLF24CallERKNS_6TensorIfEEmmmS4_S4_f20SimdTensorFormatTypeRS2_S6_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(64) %21, i64 noundef %188, i64 noundef %189, i64 noundef %190, ptr noundef nonnull align 8 dereferenceable(64) %24, ptr noundef nonnull align 8 dereferenceable(64) %27, float noundef 0x3EB0C6F7A0000000, i32 noundef %191, ptr noundef nonnull align 8 dereferenceable(64) %30, ptr noundef nonnull align 8 dereferenceable(64) %36)
          to label %192 unwind label %234

192:                                              ; preds = %187
  %193 = load i8, ptr %15, align 1, !tbaa !15, !range !19, !noundef !20
  %194 = trunc i8 %193 to i1
  store i1 false, ptr %40, align 1
  store i1 false, ptr %42, align 1
  store i1 false, ptr %43, align 1
  store i1 false, ptr %44, align 1
  br i1 %194, label %195, label %199

195:                                              ; preds = %192
  call void @llvm.lifetime.start.p0(i64 32, ptr %39) #7
  store i1 true, ptr %40, align 1
  call void @llvm.lifetime.start.p0(i64 1, ptr %41) #7
  store i1 true, ptr %42, align 1
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  store i1 true, ptr %43, align 1
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %41)
          to label %196 unwind label %238

196:                                              ; preds = %195
  store i1 true, ptr %44, align 1
  %197 = invoke noundef zeroext i1 @_ZN4Test7CompareERKNS_6TensorIfEES3_fbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %33, ptr noundef nonnull align 8 dereferenceable(64) %36, float noundef 0x3F50624DE0000000, i1 noundef zeroext true, i32 noundef 32, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %39)
          to label %198 unwind label %242

198:                                              ; preds = %196
  br label %199

199:                                              ; preds = %198, %192
  %200 = phi i1 [ false, %192 ], [ %197, %198 ]
  %201 = zext i1 %200 to i8
  store i8 %201, ptr %15, align 1, !tbaa !15
  %202 = load i1, ptr %44, align 1
  br i1 %202, label %203, label %204

203:                                              ; preds = %199
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  br label %204

204:                                              ; preds = %203, %199
  %205 = load i1, ptr %43, align 1
  br i1 %205, label %206, label %207

206:                                              ; preds = %204
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  br label %207

207:                                              ; preds = %206, %204
  %208 = load i1, ptr %42, align 1
  br i1 %208, label %209, label %210

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

210:                                              ; preds = %209, %207
  %211 = load i1, ptr %40, align 1
  br i1 %211, label %212, label %213

212:                                              ; preds = %210
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #7
  br label %213

213:                                              ; preds = %212, %210
  %214 = load i8, ptr %15, align 1, !tbaa !15, !range !19, !noundef !20
  %215 = trunc i8 %214 to i1
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %36) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %33) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %30) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %27) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %24) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  ret i1 %215

216:                                              ; preds = %153
  %217 = landingpad { ptr, i32 }
          cleanup
  %218 = extractvalue { ptr, i32 } %217, 0
  store ptr %218, ptr %18, align 8
  %219 = extractvalue { ptr, i32 } %217, 1
  store i32 %219, ptr %19, align 4
  br label %224

220:                                              ; preds = %158
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %18, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #7
  br label %224

224:                                              ; preds = %220, %216
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #7
  br label %261

225:                                              ; preds = %159
  %226 = landingpad { ptr, i32 }
          cleanup
  %227 = extractvalue { ptr, i32 } %226, 0
  store ptr %227, ptr %18, align 8
  %228 = extractvalue { ptr, i32 } %226, 1
  store i32 %228, ptr %19, align 4
  br label %233

229:                                              ; preds = %164
  %230 = landingpad { ptr, i32 }
          cleanup
  %231 = extractvalue { ptr, i32 } %230, 0
  store ptr %231, ptr %18, align 8
  %232 = extractvalue { ptr, i32 } %230, 1
  store i32 %232, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #7
  br label %233

233:                                              ; preds = %229, %225
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #7
  br label %260

234:                                              ; preds = %187, %182, %180, %179, %177, %175, %174, %172, %170, %169, %167, %165
  %235 = landingpad { ptr, i32 }
          cleanup
  %236 = extractvalue { ptr, i32 } %235, 0
  store ptr %236, ptr %18, align 8
  %237 = extractvalue { ptr, i32 } %235, 1
  store i32 %237, ptr %19, align 4
  br label %259

238:                                              ; preds = %195
  %239 = landingpad { ptr, i32 }
          cleanup
  %240 = extractvalue { ptr, i32 } %239, 0
  store ptr %240, ptr %18, align 8
  %241 = extractvalue { ptr, i32 } %239, 1
  store i32 %241, ptr %19, align 4
  br label %249

242:                                              ; preds = %196
  %243 = landingpad { ptr, i32 }
          cleanup
  %244 = extractvalue { ptr, i32 } %243, 0
  store ptr %244, ptr %18, align 8
  %245 = extractvalue { ptr, i32 } %243, 1
  store i32 %245, ptr %19, align 4
  %246 = load i1, ptr %44, align 1
  br i1 %246, label %247, label %248

247:                                              ; preds = %242
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #7
  br label %248

248:                                              ; preds = %247, %242
  br label %249

249:                                              ; preds = %248, %238
  %250 = load i1, ptr %43, align 1
  br i1 %250, label %251, label %252

251:                                              ; preds = %249
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %41) #7
  br label %252

252:                                              ; preds = %251, %249
  %253 = load i1, ptr %42, align 1
  br i1 %253, label %254, label %255

254:                                              ; preds = %252
  call void @llvm.lifetime.end.p0(i64 1, ptr %41) #7
  br label %255

255:                                              ; preds = %254, %252
  %256 = load i1, ptr %40, align 1
  br i1 %256, label %257, label %258

257:                                              ; preds = %255
  call void @llvm.lifetime.end.p0(i64 32, ptr %39) #7
  br label %258

258:                                              ; preds = %257, %255
  br label %259

259:                                              ; preds = %258, %234
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %36) #7
  br label %260

260:                                              ; preds = %259, %233
  call void @llvm.lifetime.end.p0(i64 64, ptr %36) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %33) #7
  br label %261

261:                                              ; preds = %260, %224
  call void @llvm.lifetime.end.p0(i64 64, ptr %33) #7
  br label %262

262:                                              ; preds = %261, %152
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %30) #7
  br label %263

263:                                              ; preds = %262, %140
  call void @llvm.lifetime.end.p0(i64 64, ptr %30) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %27) #7
  br label %264

264:                                              ; preds = %263, %139
  call void @llvm.lifetime.end.p0(i64 64, ptr %27) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %24) #7
  br label %265

265:                                              ; preds = %264, %130
  call void @llvm.lifetime.end.p0(i64 64, ptr %24) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %21) #7
  br label %266

266:                                              ; preds = %265, %118
  call void @llvm.lifetime.end.p0(i64 64, ptr %21) #7
  br label %267

267:                                              ; preds = %266, %117
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #7
  br label %268

268:                                              ; preds = %267
  %269 = load ptr, ptr %18, align 8
  %270 = load i32, ptr %19, align 4
  %271 = insertvalue { ptr, i32 } poison, ptr %269, 0
  %272 = insertvalue { ptr, i32 } %271, i32 %270, 1
  resume { ptr, i32 } %272
}

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef, i64 noundef) #6

declare void @_ZN4Test10FillRandomEPfmff(ptr noundef, i64 noundef, float noundef, float noundef) #4

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Test9FuncSNLF24CallERKNS_6TensorIfEEmmmS4_S4_f20SimdTensorFormatTypeRS2_S6_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(64), i64 noundef, i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64), float noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) #2 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)) #3

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


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

%"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.9", %"class.std::recursive_mutex" }
%"class.std::map.9" = type { %"class.std::_Rb_tree.10" }
%"class.std::_Rb_tree.10" = 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.std::allocator" = type { i8 }

@.str.2 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@_ZN4Test3Log5s_logE = external global %"class.Test::Log", align 8
@_ZN4Test26PerformanceMeasurerStorage9s_storageE = external global %"class.Test::PerformanceMeasurerStorage", align 8
@.str.7 = 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 nounwind uwtable
declare void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #1 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 #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress nounwind uwtable
declare void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32)) 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 #1 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 uwtable
define dso_local noundef zeroext i1 @_ZN4Test36SynetNormalizeLayerForwardV2AutoTestEmmm20SimdTensorFormatTypeiNS_9FuncSNLF2ES1_(i64 noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %5, ptr noundef %6) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %8 = alloca %"class.std::__cxx11::basic_stringstream", align 8
  %9 = alloca %"class.std::__cxx11::basic_string", align 8
  %10 = alloca %"class.Test::Tensor", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca float, align 4
  %13 = alloca %"class.Test::Tensor", align 8
  %14 = alloca %"class.std::vector", align 8
  %15 = alloca float, align 4
  %16 = alloca %"class.Test::Tensor", align 8
  %17 = alloca %"class.std::vector", align 8
  %18 = alloca float, align 4
  %19 = alloca %"class.Test::Tensor", align 8
  %20 = alloca %"class.std::vector", align 8
  %21 = alloca float, align 4
  %22 = alloca %"class.Test::Tensor", align 8
  %23 = alloca %"class.std::vector", align 8
  %24 = alloca float, align 4
  %25 = alloca %"class.Test::Tensor", align 8
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca float, align 4
  %28 = alloca %"class.std::__cxx11::basic_string", align 8
  %29 = alloca %"class.std::allocator", align 1
  tail call void @_ZN4Test9FuncSNLF26UpdateEmmm20SimdTensorFormatType(ptr noundef nonnull align 8 dereferenceable(40) %5, i64 noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3)
  tail call void @_ZN4Test9FuncSNLF26UpdateEmmm20SimdTensorFormatType(ptr noundef nonnull align 8 dereferenceable(40) %6, i64 noundef %0, i64 noundef %1, i64 noundef %2, i32 noundef %3)
  call void @llvm.lifetime.start.p0(i64 392, ptr nonnull %8) #7
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEC1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8)
  %30 = getelementptr inbounds i8, ptr %8, i64 16
  %31 = 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.2)
          to label %32 unwind label %67

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

35:                                               ; preds = %32
  %36 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %34, ptr noundef nonnull @.str.3)
          to label %37 unwind label %67

37:                                               ; preds = %35
  %38 = getelementptr inbounds i8, ptr %6, i64 8
  %39 = 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) %36, ptr noundef nonnull align 8 dereferenceable(32) %38)
          to label %40 unwind label %67

40:                                               ; preds = %37
  %41 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %39, ptr noundef nonnull @.str.4)
          to label %42 unwind label %67

42:                                               ; preds = %40
  %43 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %41, i64 noundef %0)
          to label %44 unwind label %67

44:                                               ; preds = %42
  %45 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull @.str.5)
          to label %46 unwind label %67

46:                                               ; preds = %44
  %47 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %45, i64 noundef %1)
          to label %48 unwind label %67

48:                                               ; preds = %46
  %49 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull @.str.5)
          to label %50 unwind label %67

50:                                               ; preds = %48
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEm(ptr noundef nonnull align 8 dereferenceable(8) %49, i64 noundef %2)
          to label %52 unwind label %67

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %51, ptr noundef nonnull @.str.6)
          to label %54 unwind label %67

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

55:                                               ; preds = %54
  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) %9)
          to label %56 unwind label %71

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

57:                                               ; preds = %56
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  invoke void @_ZN4Test7ToShapeEm(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %14, i64 noundef %1)
          to label %58 unwind label %77

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %15) #7
  store float 0.000000e+00, ptr %15, align 4, !tbaa !5
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %13, ptr noundef nonnull align 8 dereferenceable(24) %14, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %15)
          to label %59 unwind label %79

59:                                               ; preds = %58
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %16) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %17) #7
  invoke void @_ZN4Test7ToShapeEm(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %17, i64 noundef %1)
          to label %60 unwind label %82

60:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %18) #7
  store float 0.000000e+00, ptr %18, align 4, !tbaa !5
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %16, ptr noundef nonnull align 8 dereferenceable(24) %17, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %18)
          to label %61 unwind label %84

61:                                               ; preds = %60
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %19) #7
  invoke void @_ZN4Test6TensorIfEC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %19)
          to label %62 unwind label %87

62:                                               ; preds = %61
  %.not = icmp eq i32 %4, 0
  br i1 %.not, label %94, label %63

63:                                               ; preds = %62
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %20) #7
  %64 = call noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef %2, i64 noundef %1)
  invoke void @_ZN4Test7ToShapeEm(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %20, i64 noundef %64)
          to label %65 unwind label %89

65:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #7
  store float 0.000000e+00, ptr %21, align 4, !tbaa !5
  invoke void @_ZN4Test6TensorIfE7ReshapeERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %19, ptr noundef nonnull align 8 dereferenceable(24) %20, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %21)
          to label %66 unwind label %91

66:                                               ; preds = %65
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  br label %94

67:                                               ; preds = %52, %50, %48, %46, %44, %42, %40, %37, %35, %32, %7
  %68 = landingpad { ptr, i32 }
          cleanup
  br label %74

69:                                               ; preds = %54
  %70 = landingpad { ptr, i32 }
          cleanup
  br label %73

71:                                               ; preds = %55
  %72 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #7
  br label %73

73:                                               ; preds = %71, %69
  %.pn = phi { ptr, i32 } [ %72, %71 ], [ %70, %69 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #7
  br label %74

74:                                               ; preds = %73, %67
  %.pn.pn = phi { ptr, i32 } [ %.pn, %73 ], [ %68, %67 ]
  call void @_ZNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(128) %8) #7
  call void @llvm.lifetime.end.p0(i64 392, ptr nonnull %8) #7
  br label %140

75:                                               ; preds = %56
  %76 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  br label %139

77:                                               ; preds = %57
  %78 = landingpad { ptr, i32 }
          cleanup
  br label %81

79:                                               ; preds = %58
  %80 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %15) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %14) #7
  br label %81

81:                                               ; preds = %79, %77
  %.pn70 = phi { ptr, i32 } [ %80, %79 ], [ %78, %77 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  br label %138

82:                                               ; preds = %59
  %83 = landingpad { ptr, i32 }
          cleanup
  br label %86

84:                                               ; preds = %60
  %85 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %18) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %17) #7
  br label %86

86:                                               ; preds = %84, %82
  %.pn72 = phi { ptr, i32 } [ %85, %84 ], [ %83, %82 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %17) #7
  br label %137

87:                                               ; preds = %61
  %88 = landingpad { ptr, i32 }
          cleanup
  br label %136

89:                                               ; preds = %63
  %90 = landingpad { ptr, i32 }
          cleanup
  br label %93

91:                                               ; preds = %65
  %92 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %20) #7
  br label %93

93:                                               ; preds = %91, %89
  %.pn74 = phi { ptr, i32 } [ %92, %91 ], [ %90, %89 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %20) #7
  br label %135

94:                                               ; preds = %66, %62
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %22) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #7
  invoke void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %23, i64 noundef %0, i64 noundef %1, i64 noundef 1, i64 noundef %2, i32 noundef %3)
          to label %95 unwind label %115

95:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %24) #7
  store float 0.000000e+00, ptr %24, align 4, !tbaa !5
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %22, ptr noundef nonnull align 8 dereferenceable(24) %23, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %24)
          to label %96 unwind label %117

96:                                               ; preds = %95
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %24) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %25) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #7
  invoke void @_ZN4Test7ToShapeEmmmm20SimdTensorFormatType(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %26, i64 noundef %0, i64 noundef %1, i64 noundef 1, i64 noundef %2, i32 noundef %3)
          to label %97 unwind label %120

97:                                               ; preds = %96
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #7
  store float 0.000000e+00, ptr %27, align 4, !tbaa !5
  invoke void @_ZN4Test6TensorIfEC2ERKSt6vectorImSaImEE20SimdTensorFormatTypeRKf(ptr noundef nonnull align 8 dereferenceable(64) %25, ptr noundef nonnull align 8 dereferenceable(24) %26, i32 noundef -1, ptr noundef nonnull align 4 dereferenceable(4) %27)
          to label %98 unwind label %122

98:                                               ; preds = %97
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #7
  %99 = call noundef ptr @_ZN4Test6TensorIfE4DataEv(ptr noundef nonnull align 8 dereferenceable(64) %10)
  %100 = call noundef i64 @_ZNK4Test6TensorIfE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %10)
  invoke void @_ZN4Test10FillRandomEPfmff(ptr noundef %99, i64 noundef %100, float noundef -1.000000e+01, float noundef 1.000000e+01)
          to label %101 unwind label %125

101:                                              ; preds = %98
  %102 = call noundef ptr @_ZN4Test6TensorIfE4DataEv(ptr noundef nonnull align 8 dereferenceable(64) %13)
  %103 = call noundef i64 @_ZNK4Test6TensorIfE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %13)
  invoke void @_ZN4Test10FillRandomEPfmff(ptr noundef %102, i64 noundef %103, float noundef -1.000000e+01, float noundef 1.000000e+01)
          to label %104 unwind label %125

104:                                              ; preds = %101
  %105 = call noundef ptr @_ZN4Test6TensorIfE4DataEv(ptr noundef nonnull align 8 dereferenceable(64) %16)
  %106 = call noundef i64 @_ZNK4Test6TensorIfE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64) %16)
  invoke void @_ZN4Test10FillRandomEPfmff(ptr noundef %105, i64 noundef %106, float noundef -1.000000e+01, float noundef 1.000000e+01)
          to label %107 unwind label %125

107:                                              ; preds = %104
  %108 = invoke noundef i64 @_ZN4Test26PerformanceMeasurerStorage5AlignEm(ptr noundef nonnull align 8 dereferenceable(88) @_ZN4Test26PerformanceMeasurerStorage9s_storageE, i64 noundef 8)
          to label %109 unwind label %125

109:                                              ; preds = %107
  invoke void @_ZNK4Test9FuncSNLF24CallERKNS_6TensorIfEEmmmS4_S4_f20SimdTensorFormatTypeRS2_S6_(ptr noundef nonnull align 8 dereferenceable(40) %5, ptr noundef nonnull align 8 dereferenceable(64) %10, i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(64) %13, ptr noundef nonnull align 8 dereferenceable(64) %16, float noundef 0x3EB0C6F7A0000000, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(64) %19, ptr noundef nonnull align 8 dereferenceable(64) %22)
          to label %110 unwind label %125

110:                                              ; preds = %109
  invoke void @_ZNK4Test9FuncSNLF24CallERKNS_6TensorIfEEmmmS4_S4_f20SimdTensorFormatTypeRS2_S6_(ptr noundef nonnull align 8 dereferenceable(40) %6, ptr noundef nonnull align 8 dereferenceable(64) %10, i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr noundef nonnull align 8 dereferenceable(64) %13, ptr noundef nonnull align 8 dereferenceable(64) %16, float noundef 0x3EB0C6F7A0000000, i32 noundef %3, ptr noundef nonnull align 8 dereferenceable(64) %19, ptr noundef nonnull align 8 dereferenceable(64) %25)
          to label %111 unwind label %125

111:                                              ; preds = %110
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %29) #7
  call void @_ZNSaIcEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  invoke void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull @.str.7, ptr noundef nonnull align 1 dereferenceable(1) %29)
          to label %112 unwind label %127

112:                                              ; preds = %111
  %113 = invoke noundef zeroext i1 @_ZN4Test7CompareERKNS_6TensorIfEES3_fbiNS_14DifferenceTypeERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE(ptr noundef nonnull align 8 dereferenceable(64) %22, ptr noundef nonnull align 8 dereferenceable(64) %25, float noundef 0x3F50624DE0000000, i1 noundef zeroext true, i32 noundef 32, i32 noundef 2, ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %114 unwind label %129

114:                                              ; preds = %112
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %19) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %16) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %10) #7
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #7
  ret i1 %113

115:                                              ; preds = %94
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

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

119:                                              ; preds = %117, %115
  %.pn76 = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #7
  br label %134

120:                                              ; preds = %96
  %121 = landingpad { ptr, i32 }
          cleanup
  br label %124

122:                                              ; preds = %97
  %123 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #7
  call void @_ZNSt6vectorImSaImEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #7
  br label %124

124:                                              ; preds = %122, %120
  %.pn78 = phi { ptr, i32 } [ %123, %122 ], [ %121, %120 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #7
  br label %133

125:                                              ; preds = %110, %109, %107, %104, %101, %98
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %132

127:                                              ; preds = %111
  %128 = landingpad { ptr, i32 }
          cleanup
  br label %131

129:                                              ; preds = %112
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #7
  br label %131

131:                                              ; preds = %127, %129
  %.pn80 = phi { ptr, i32 } [ %130, %129 ], [ %128, %127 ]
  call void @_ZNSt15__new_allocatorIcED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %29) #7
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %29) #7
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #7
  br label %132

132:                                              ; preds = %131, %125
  %.pn80.pn = phi { ptr, i32 } [ %.pn80, %131 ], [ %126, %125 ]
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %25) #7
  br label %133

133:                                              ; preds = %132, %124
  %.pn80.pn.pn = phi { ptr, i32 } [ %.pn80.pn, %132 ], [ %.pn78, %124 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %25) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %22) #7
  br label %134

134:                                              ; preds = %133, %119
  %.pn80.pn.pn.pn = phi { ptr, i32 } [ %.pn80.pn.pn, %133 ], [ %.pn76, %119 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %22) #7
  br label %135

135:                                              ; preds = %134, %93
  %.pn80.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn80.pn.pn.pn, %134 ], [ %.pn74, %93 ]
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %19) #7
  br label %136

136:                                              ; preds = %135, %87
  %.pn80.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn80.pn.pn.pn.pn, %135 ], [ %88, %87 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %19) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %16) #7
  br label %137

137:                                              ; preds = %136, %86
  %.pn80.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn80.pn.pn.pn.pn.pn, %136 ], [ %.pn72, %86 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %16) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %13) #7
  br label %138

138:                                              ; preds = %137, %81
  %.pn80.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn80.pn.pn.pn.pn.pn.pn, %137 ], [ %.pn70, %81 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %13) #7
  call void @_ZN4Test6TensorIfED2Ev(ptr noundef nonnull align 8 dereferenceable(64) %10) #7
  br label %139

139:                                              ; preds = %138, %75
  %.pn80.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn80.pn.pn.pn.pn.pn.pn.pn, %138 ], [ %76, %75 ]
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %10) #7
  br label %140

140:                                              ; preds = %139, %74
  %.pn80.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn80.pn.pn.pn.pn.pn.pn.pn.pn, %139 ], [ %.pn.pn, %74 ]
  resume { ptr, i32 } %.pn80.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZN4Simd3MaxImEET_S1_S1_(i64 noundef, i64 noundef) local_unnamed_addr #6

declare void @_ZN4Test10FillRandomEPfmff(ptr noundef, i64 noundef, float noundef, float noundef) local_unnamed_addr #4

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

; Function Attrs: alwaysinline mustprogress nounwind uwtable
declare dso_local noundef i64 @_ZNK4Test6TensorIfE4SizeEv(ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #6 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNK4Test9FuncSNLF24CallERKNS_6TensorIfEEmmmS4_S4_f20SimdTensorFormatTypeRS2_S6_(ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(64), i64 noundef, i64 noundef, i64 noundef, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64), float noundef, i32 noundef, ptr noundef nonnull align 8 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(64)) local_unnamed_addr #2 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 #3

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


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