; LLVM IR from huawei-noah/bolt :: compute/tensor/src/matmul.ll (Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.0" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<unsigned char *, std::allocator<unsigned char *>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char *, std::allocator<unsigned char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char *, std::allocator<unsigned char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char *, std::allocator<unsigned char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::allocator.5" = type { i8 }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ArchInfo = type { i32, ptr }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [18 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: nounwind
declare i64 @syscall(i64 noundef, ...) #1

declare i32 @printf(ptr noundef, ...) #2

declare i32 @fflush(ptr noundef) #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @ee2str(i32 noundef) #4

; 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 hidden void @_ZL16align_input_descP10TensorDescS0_(ptr noundef, ptr noundef) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor8get_descEv(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, ptr noundef nonnull align 8 dereferenceable(32)) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8tensor1d8DataTypej(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef) #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef, i32 noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #8

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef %0, i1 noundef zeroext %1, ptr noundef %2, i1 noundef zeroext %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7) #7 personality ptr @__gxx_personality_v0 {
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca i8, align 1
  %12 = alloca ptr, align 8
  %13 = alloca i8, align 1
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca %class.Tensor, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  %24 = alloca %struct.TensorDesc, align 4
  %25 = alloca ptr, align 8
  %26 = alloca %class.Tensor, align 8
  %27 = alloca %struct.TensorDesc, align 4
  %28 = alloca ptr, align 8
  %29 = alloca %class.Tensor, align 8
  %30 = alloca %struct.TensorDesc, align 4
  %31 = alloca ptr, align 8
  %32 = alloca %class.Tensor, align 8
  %33 = alloca ptr, align 8
  %34 = alloca i8, align 1
  %35 = alloca i32, align 4
  %36 = alloca %struct.TensorDesc, align 4
  %37 = alloca %struct.TensorDesc, align 8
  %38 = alloca %struct.TensorDesc, align 8
  %39 = alloca %struct.TensorDesc, align 8
  %40 = alloca %struct.TensorDesc, align 4
  %41 = alloca %struct.TensorDesc, align 8
  %42 = alloca %struct.TensorDesc, align 8
  %43 = alloca %struct.TensorDesc, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca %"class.std::vector.3", align 8
  %49 = alloca %"class.std::initializer_list", align 8
  %50 = alloca [4 x ptr], align 8
  %51 = alloca %"class.std::allocator.5", align 1
  %52 = alloca ptr, align 8
  %53 = alloca %class.Tensor, align 8
  %54 = alloca i32, align 4
  %55 = alloca %struct.TensorDesc, align 8
  %56 = alloca i32, align 4
  %57 = alloca %struct.TensorDesc, align 8
  %58 = alloca i32, align 4
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca i32, align 4
  %65 = alloca %struct.TensorDesc, align 8
  %66 = alloca i32, align 4
  %67 = alloca %struct.TensorDesc, align 8
  %68 = alloca i32, align 4
  %69 = alloca %struct.TensorDesc, align 8
  %70 = alloca i32, align 4
  %71 = alloca i32, align 4
  %72 = alloca i32, align 4
  %73 = alloca %"class.std::vector.8", align 8
  %74 = alloca %"class.std::vector.8", align 8
  %75 = alloca %"class.std::vector.8", align 8
  %76 = alloca ptr, align 8
  %77 = alloca %"class.std::vector.8", align 8
  %78 = alloca i32, align 4
  %79 = alloca i32, align 4
  %80 = alloca ptr, align 8
  %81 = alloca ptr, align 8
  %82 = alloca ptr, align 8
  %83 = alloca %struct.TensorDesc, align 4
  %84 = alloca %struct.TensorDesc, align 4
  %85 = alloca %struct.TensorDesc, align 4
  %86 = alloca i32, align 4
  %87 = alloca %struct.TensorDesc, align 8
  %88 = alloca %struct.TensorDesc, align 8
  %89 = alloca %struct.TensorDesc, align 8
  %90 = alloca i32, align 4
  %91 = alloca %struct.TensorDesc, align 4
  %92 = alloca %struct.TensorDesc, align 4
  %93 = alloca %struct.TensorDesc, align 4
  %94 = alloca i32, align 4
  %95 = alloca %struct.TensorDesc, align 8
  %96 = alloca %struct.TensorDesc, align 8
  %97 = alloca %struct.TensorDesc, align 8
  %98 = alloca i32, align 4
  %99 = alloca %struct.TensorDesc, align 4
  %100 = alloca %struct.TensorDesc, align 4
  %101 = alloca %struct.TensorDesc, align 4
  %102 = alloca i32, align 4
  %103 = alloca %struct.TensorDesc, align 8
  %104 = alloca %struct.TensorDesc, align 8
  %105 = alloca %struct.TensorDesc, align 8
  %106 = alloca i32, align 4
  store ptr %0, ptr %10, align 8, !tbaa !5
  %107 = zext i1 %1 to i8
  store i8 %107, ptr %11, align 1, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !5
  %108 = zext i1 %3 to i8
  store i8 %108, ptr %13, align 1, !tbaa !9
  store ptr %4, ptr %14, align 8, !tbaa !5
  store ptr %5, ptr %15, align 8, !tbaa !5
  store ptr %6, ptr %16, align 8, !tbaa !5
  store ptr %7, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  %109 = load ptr, ptr %17, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.ArchInfo, ptr %109, i32 0, i32 0
  %111 = load i32, ptr %110, align 8, !tbaa !11
  store i32 %111, ptr %18, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #9
  %112 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #9
  %113 = call noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %112)
  store i32 %113, ptr %19, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %114 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %114) #9
  %115 = load i32, ptr %18, align 4, !tbaa !14
  %116 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %21, i32 noundef %115)
          to label %117 unwind label %146

117:                                              ; preds = %8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  store ptr %116, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 92, ptr %24) #9
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %24, ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %0) #9
  %118 = load i32, ptr %18, align 4, !tbaa !14
  %119 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %26, i32 noundef %118)
          to label %120 unwind label %150

120:                                              ; preds = %117
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  store ptr %119, ptr %25, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 92, ptr %27) #9
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %27, ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %2) #9
  %121 = load i32, ptr %18, align 4, !tbaa !14
  %122 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %29, i32 noundef %121)
          to label %123 unwind label %154

123:                                              ; preds = %120
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  store ptr %122, ptr %28, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 92, ptr %30) #9
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %30, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  %124 = load i32, ptr %18, align 4, !tbaa !14
  %125 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %32, i32 noundef %124)
          to label %126 unwind label %158

126:                                              ; preds = %123
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  store ptr %125, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  store ptr null, ptr %33, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %34) #9
  %127 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 0
  %128 = load i32, ptr %127, align 4, !tbaa !17
  %129 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 0
  %130 = load i32, ptr %129, align 4, !tbaa !17
  %131 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 0
  %132 = load i32, ptr %131, align 4, !tbaa !17
  %133 = call noundef float @_ZN6Tensor9get_scaleEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %134 = fptosi float %133 to i32
  %135 = call noundef zeroext i1 @_Z11useINT8Type8DataTypeS_S_i(i32 noundef %128, i32 noundef %130, i32 noundef %132, i32 noundef %134)
  %136 = zext i1 %135 to i8
  store i8 %136, ptr %34, align 1, !tbaa !9
  %137 = load ptr, ptr %25, align 8, !tbaa !5
  %138 = icmp eq ptr %137, null
  br i1 %138, label %145, label %139

139:                                              ; preds = %126
  %140 = load ptr, ptr %28, align 8, !tbaa !5
  %141 = icmp eq ptr %140, null
  br i1 %141, label %145, label %142

142:                                              ; preds = %139
  %143 = load ptr, ptr %31, align 8, !tbaa !5
  %144 = icmp eq ptr %143, null
  br i1 %144, label %145, label %162

145:                                              ; preds = %142, %139, %126
  store i32 1, ptr %9, align 4
  store i32 1, ptr %35, align 4
  br label %843

146:                                              ; preds = %8
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %22, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %23, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %848

150:                                              ; preds = %117
  %151 = landingpad { ptr, i32 }
          cleanup
  %152 = extractvalue { ptr, i32 } %151, 0
  store ptr %152, ptr %22, align 8
  %153 = extractvalue { ptr, i32 } %151, 1
  store i32 %153, ptr %23, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #9
  br label %847

154:                                              ; preds = %120
  %155 = landingpad { ptr, i32 }
          cleanup
  %156 = extractvalue { ptr, i32 } %155, 0
  store ptr %156, ptr %22, align 8
  %157 = extractvalue { ptr, i32 } %155, 1
  store i32 %157, ptr %23, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  br label %846

158:                                              ; preds = %123
  %159 = landingpad { ptr, i32 }
          cleanup
  %160 = extractvalue { ptr, i32 } %159, 0
  store ptr %160, ptr %22, align 8
  %161 = extractvalue { ptr, i32 } %159, 1
  store i32 %161, ptr %23, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #9
  br label %845

162:                                              ; preds = %142
  %163 = load i32, ptr %18, align 4, !tbaa !14
  %164 = icmp eq i32 %163, 2
  br i1 %164, label %168, label %165

165:                                              ; preds = %162
  %166 = load i32, ptr %18, align 4, !tbaa !14
  %167 = icmp eq i32 %166, 7
  br i1 %167, label %168, label %169

168:                                              ; preds = %165, %162
  store i32 51, ptr %9, align 4
  store i32 1, ptr %35, align 4
  br label %843

169:                                              ; preds = %165
  %170 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 1
  %171 = load i32, ptr %170, align 4, !tbaa !21
  %172 = call noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef %171, i32 noundef 0)
  %173 = icmp ne i32 %172, 0
  br i1 %173, label %185, label %174

174:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 92, ptr %36) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %24, i64 92, i1 false), !tbaa.struct !22
  %175 = getelementptr inbounds %struct.TensorDesc, ptr %36, i32 0, i32 1
  store i32 0, ptr %175, align 4, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %37, ptr align 4 %24, i64 92, i1 false), !tbaa.struct !22
  %176 = load ptr, ptr %25, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %36, i64 92, i1 false), !tbaa.struct !22
  %177 = load ptr, ptr %20, align 8, !tbaa !5
  %178 = call noundef i32 @_Z15transformToNCHW10TensorDescPKvS_Pv(ptr noundef byval(%struct.TensorDesc) align 8 %37, ptr noundef %176, ptr noundef byval(%struct.TensorDesc) align 8 %38, ptr noundef %177)
  %179 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %179, ptr %25, align 8, !tbaa !5
  %180 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %24, i64 92, i1 false), !tbaa.struct !22
  %181 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %39)
  %182 = zext i32 %181 to i64
  %183 = getelementptr inbounds i8, ptr %180, i64 %182
  store ptr %183, ptr %20, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 1
  store i32 0, ptr %184, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 92, ptr %36) #9
  br label %185

185:                                              ; preds = %174, %169
  %186 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 1
  %187 = load i32, ptr %186, align 4, !tbaa !21
  %188 = call noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef %187, i32 noundef 0)
  %189 = icmp ne i32 %188, 0
  br i1 %189, label %201, label %190

190:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 92, ptr %40) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %27, i64 92, i1 false), !tbaa.struct !22
  %191 = getelementptr inbounds %struct.TensorDesc, ptr %40, i32 0, i32 1
  store i32 0, ptr %191, align 4, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %41, ptr align 4 %27, i64 92, i1 false), !tbaa.struct !22
  %192 = load ptr, ptr %28, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %42, ptr align 4 %40, i64 92, i1 false), !tbaa.struct !22
  %193 = load ptr, ptr %20, align 8, !tbaa !5
  %194 = call noundef i32 @_Z15transformToNCHW10TensorDescPKvS_Pv(ptr noundef byval(%struct.TensorDesc) align 8 %41, ptr noundef %192, ptr noundef byval(%struct.TensorDesc) align 8 %42, ptr noundef %193)
  %195 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %195, ptr %28, align 8, !tbaa !5
  %196 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %27, i64 92, i1 false), !tbaa.struct !22
  %197 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %43)
  %198 = zext i32 %197 to i64
  %199 = getelementptr inbounds i8, ptr %196, i64 %198
  store ptr %199, ptr %20, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 1
  store i32 0, ptr %200, align 4, !tbaa !21
  call void @llvm.lifetime.end.p0(i64 92, ptr %40) #9
  br label %201

201:                                              ; preds = %190, %185
  %202 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 2
  %203 = load i32, ptr %202, align 4, !tbaa !26
  %204 = icmp eq i32 %203, 1
  br i1 %204, label %205, label %212

205:                                              ; preds = %201
  %206 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 2
  store i32 2, ptr %206, align 4, !tbaa !26
  %207 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %208 = getelementptr inbounds [20 x i32], ptr %207, i64 0, i64 1
  store i32 1, ptr %208, align 4, !tbaa !15
  %209 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 2
  store i32 2, ptr %209, align 4, !tbaa !26
  %210 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %211 = getelementptr inbounds [20 x i32], ptr %210, i64 0, i64 1
  store i32 1, ptr %211, align 4, !tbaa !15
  br label %212

212:                                              ; preds = %205, %201
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  %213 = load i8, ptr %11, align 1, !tbaa !9, !range !27, !noundef !28
  %214 = trunc i8 %213 to i1
  br i1 %214, label %215, label %216

215:                                              ; preds = %212
  store i32 1, ptr %44, align 4, !tbaa !15
  store i32 13, ptr %46, align 4, !tbaa !24
  br label %217

216:                                              ; preds = %212
  store i32 0, ptr %44, align 4, !tbaa !15
  store i32 14, ptr %46, align 4, !tbaa !24
  br label %217

217:                                              ; preds = %216, %215
  %218 = load i8, ptr %13, align 1, !tbaa !9, !range !27, !noundef !28
  %219 = trunc i8 %218 to i1
  br i1 %219, label %220, label %221

220:                                              ; preds = %217
  store i32 0, ptr %45, align 4, !tbaa !15
  store i32 13, ptr %47, align 4, !tbaa !24
  br label %222

221:                                              ; preds = %217
  store i32 1, ptr %45, align 4, !tbaa !15
  store i32 14, ptr %47, align 4, !tbaa !24
  br label %222

222:                                              ; preds = %221, %220
  call void @_ZL16align_input_descP10TensorDescS0_(ptr noundef %24, ptr noundef %27)
  call void @llvm.lifetime.start.p0(i64 24, ptr %48) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #9
  %223 = load ptr, ptr %25, align 8, !tbaa !5
  store ptr %223, ptr %50, align 8, !tbaa !5
  %224 = getelementptr inbounds ptr, ptr %50, i64 1
  %225 = load ptr, ptr %28, align 8, !tbaa !5
  store ptr %225, ptr %224, align 8, !tbaa !5
  %226 = getelementptr inbounds ptr, ptr %50, i64 2
  %227 = load ptr, ptr %31, align 8, !tbaa !5
  store ptr %227, ptr %226, align 8, !tbaa !5
  %228 = getelementptr inbounds ptr, ptr %50, i64 3
  %229 = load ptr, ptr %20, align 8, !tbaa !5
  store ptr %229, ptr %228, align 8, !tbaa !5
  %230 = getelementptr inbounds %"class.std::initializer_list", ptr %49, i32 0, i32 0
  store ptr %50, ptr %230, align 8, !tbaa !29
  %231 = getelementptr inbounds %"class.std::initializer_list", ptr %49, i32 0, i32 1
  store i64 4, ptr %231, align 8, !tbaa !32
  call void @llvm.lifetime.start.p0(i64 1, ptr %51) #9
  call void @_ZNSaIPhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #9
  %232 = getelementptr inbounds { ptr, i64 }, ptr %49, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8
  %234 = getelementptr inbounds { ptr, i64 }, ptr %49, i32 0, i32 1
  %235 = load i64, ptr %234, align 8
  invoke void @_ZNSt6vectorIPhSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %48, ptr %233, i64 %235, ptr noundef nonnull align 1 dereferenceable(1) %51)
          to label %236 unwind label %253

236:                                              ; preds = %222
  call void @_ZNSt15__new_allocatorIPhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #9
  %237 = invoke noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %238 unwind label %257

238:                                              ; preds = %236
  %239 = icmp ugt i32 %237, 0
  br i1 %239, label %240, label %287

240:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %52) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %4) #9
  %241 = load i32, ptr %18, align 4, !tbaa !14
  %242 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %53, i32 noundef %241)
          to label %243 unwind label %261

243:                                              ; preds = %240
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  store ptr %242, ptr %52, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #9
  store i32 0, ptr %54, align 4, !tbaa !15
  br label %244

244:                                              ; preds = %282, %243
  %245 = load i32, ptr %54, align 4, !tbaa !15
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %30, i64 92, i1 false), !tbaa.struct !22
  %246 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %55)
          to label %247 unwind label %265

247:                                              ; preds = %244
  %248 = invoke noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %249 unwind label %265

249:                                              ; preds = %247
  %250 = udiv i32 %246, %248
  %251 = icmp ult i32 %245, %250
  br i1 %251, label %269, label %252

252:                                              ; preds = %249
  store i32 2, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #9
  br label %285

253:                                              ; preds = %222
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %22, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %23, align 4
  call void @_ZNSt15__new_allocatorIPhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %51) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #9
  br label %842

257:                                              ; preds = %236
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %22, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %23, align 4
  br label %841

261:                                              ; preds = %240
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %22, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %23, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  br label %286

265:                                              ; preds = %279, %273, %269, %247, %244
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %22, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #9
  br label %286

269:                                              ; preds = %249
  %270 = load ptr, ptr %31, align 8, !tbaa !5
  %271 = load i32, ptr %54, align 4, !tbaa !15
  %272 = invoke noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %273 unwind label %265

273:                                              ; preds = %269
  %274 = mul i32 %271, %272
  %275 = zext i32 %274 to i64
  %276 = getelementptr inbounds i8, ptr %270, i64 %275
  %277 = load ptr, ptr %52, align 8, !tbaa !5
  %278 = invoke noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %279 unwind label %265

279:                                              ; preds = %273
  %280 = zext i32 %278 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %276, ptr noundef %277, i64 noundef %280)
          to label %281 unwind label %265

281:                                              ; preds = %279
  br label %282

282:                                              ; preds = %281
  %283 = load i32, ptr %54, align 4, !tbaa !15
  %284 = add i32 %283, 1
  store i32 %284, ptr %54, align 4, !tbaa !15
  br label %244, !llvm.loop !33

285:                                              ; preds = %252
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  br label %330

286:                                              ; preds = %265, %261
  call void @llvm.lifetime.end.p0(i64 8, ptr %52) #9
  br label %841

287:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 %30, i64 92, i1 false), !tbaa.struct !22
  %288 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %57)
          to label %289 unwind label %296

289:                                              ; preds = %287
  store i32 %288, ptr %56, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #9
  %290 = load i32, ptr %56, align 4, !tbaa !15
  store i32 %290, ptr %58, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #9
  store i32 0, ptr %59, align 4, !tbaa !15
  br label %291

291:                                              ; preds = %320, %289
  %292 = load i32, ptr %59, align 4, !tbaa !15
  %293 = load i32, ptr %56, align 4, !tbaa !15
  %294 = icmp ult i32 %292, %293
  br i1 %294, label %300, label %295

295:                                              ; preds = %291
  store i32 5, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  br label %328

296:                                              ; preds = %287
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %22, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %23, align 4
  br label %329

300:                                              ; preds = %291
  %301 = load ptr, ptr %31, align 8, !tbaa !5
  %302 = load i32, ptr %59, align 4, !tbaa !15
  %303 = zext i32 %302 to i64
  %304 = getelementptr inbounds i8, ptr %301, i64 %303
  %305 = load i32, ptr %58, align 4, !tbaa !15
  %306 = load i32, ptr %56, align 4, !tbaa !15
  %307 = load i32, ptr %59, align 4, !tbaa !15
  %308 = sub i32 %306, %307
  %309 = icmp ult i32 %305, %308
  br i1 %309, label %310, label %312

310:                                              ; preds = %300
  %311 = load i32, ptr %58, align 4, !tbaa !15
  br label %316

312:                                              ; preds = %300
  %313 = load i32, ptr %56, align 4, !tbaa !15
  %314 = load i32, ptr %59, align 4, !tbaa !15
  %315 = sub i32 %313, %314
  br label %316

316:                                              ; preds = %312, %310
  %317 = phi i32 [ %311, %310 ], [ %315, %312 ]
  %318 = zext i32 %317 to i64
  invoke void @_Z10UNI_MEMSETPvim(ptr noundef %304, i32 noundef 0, i64 noundef %318)
          to label %319 unwind label %324

319:                                              ; preds = %316
  br label %320

320:                                              ; preds = %319
  %321 = load i32, ptr %58, align 4, !tbaa !15
  %322 = load i32, ptr %59, align 4, !tbaa !15
  %323 = add i32 %322, %321
  store i32 %323, ptr %59, align 4, !tbaa !15
  br label %291, !llvm.loop !35

324:                                              ; preds = %316
  %325 = landingpad { ptr, i32 }
          cleanup
  %326 = extractvalue { ptr, i32 } %325, 0
  store ptr %326, ptr %22, align 8
  %327 = extractvalue { ptr, i32 } %325, 1
  store i32 %327, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #9
  br label %329

328:                                              ; preds = %295
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #9
  br label %330

329:                                              ; preds = %324, %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #9
  br label %841

330:                                              ; preds = %328, %285
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #9
  store i32 0, ptr %60, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #9
  %331 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %332 = getelementptr inbounds [20 x i32], ptr %331, i64 0, i64 1
  %333 = load i32, ptr %332, align 4, !tbaa !15
  %334 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %335 = getelementptr inbounds [20 x i32], ptr %334, i64 0, i64 0
  %336 = load i32, ptr %335, align 4, !tbaa !15
  %337 = mul i32 %333, %336
  %338 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 0
  %339 = load i32, ptr %338, align 4, !tbaa !17
  %340 = invoke noundef i32 @_Z7bytesOf8DataType(i32 noundef %339)
          to label %341 unwind label %402

341:                                              ; preds = %330
  %342 = mul i32 %337, %340
  store i32 %342, ptr %61, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #9
  %343 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %344 = getelementptr inbounds [20 x i32], ptr %343, i64 0, i64 1
  %345 = load i32, ptr %344, align 4, !tbaa !15
  %346 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %347 = getelementptr inbounds [20 x i32], ptr %346, i64 0, i64 0
  %348 = load i32, ptr %347, align 4, !tbaa !15
  %349 = mul i32 %345, %348
  %350 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 0
  %351 = load i32, ptr %350, align 4, !tbaa !17
  %352 = invoke noundef i32 @_Z7bytesOf8DataType(i32 noundef %351)
          to label %353 unwind label %406

353:                                              ; preds = %341
  %354 = mul i32 %349, %352
  store i32 %354, ptr %62, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #9
  %355 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %356 = getelementptr inbounds [20 x i32], ptr %355, i64 0, i64 1
  %357 = load i32, ptr %356, align 4, !tbaa !15
  %358 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %359 = getelementptr inbounds [20 x i32], ptr %358, i64 0, i64 0
  %360 = load i32, ptr %359, align 4, !tbaa !15
  %361 = mul i32 %357, %360
  %362 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 0
  %363 = load i32, ptr %362, align 4, !tbaa !17
  %364 = invoke noundef i32 @_Z7bytesOf8DataType(i32 noundef %363)
          to label %365 unwind label %410

365:                                              ; preds = %353
  %366 = mul i32 %361, %364
  store i32 %366, ptr %63, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %24, i64 92, i1 false), !tbaa.struct !22
  %367 = invoke noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %65)
          to label %368 unwind label %414

368:                                              ; preds = %365
  %369 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %370 = getelementptr inbounds [20 x i32], ptr %369, i64 0, i64 1
  %371 = load i32, ptr %370, align 4, !tbaa !15
  %372 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %373 = getelementptr inbounds [20 x i32], ptr %372, i64 0, i64 0
  %374 = load i32, ptr %373, align 4, !tbaa !15
  %375 = mul i32 %371, %374
  %376 = udiv i32 %367, %375
  store i32 %376, ptr %64, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %67, ptr align 4 %27, i64 92, i1 false), !tbaa.struct !22
  %377 = invoke noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %67)
          to label %378 unwind label %418

378:                                              ; preds = %368
  %379 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %380 = getelementptr inbounds [20 x i32], ptr %379, i64 0, i64 1
  %381 = load i32, ptr %380, align 4, !tbaa !15
  %382 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %383 = getelementptr inbounds [20 x i32], ptr %382, i64 0, i64 0
  %384 = load i32, ptr %383, align 4, !tbaa !15
  %385 = mul i32 %381, %384
  %386 = udiv i32 %377, %385
  store i32 %386, ptr %66, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %68) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %69, ptr align 4 %30, i64 92, i1 false), !tbaa.struct !22
  %387 = invoke noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %69)
          to label %388 unwind label %422

388:                                              ; preds = %378
  %389 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %390 = getelementptr inbounds [20 x i32], ptr %389, i64 0, i64 1
  %391 = load i32, ptr %390, align 4, !tbaa !15
  %392 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %393 = getelementptr inbounds [20 x i32], ptr %392, i64 0, i64 0
  %394 = load i32, ptr %393, align 4, !tbaa !15
  %395 = mul i32 %391, %394
  %396 = udiv i32 %387, %395
  store i32 %396, ptr %68, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 4, ptr %70) #9
  store i32 0, ptr %70, align 4, !tbaa !15
  br label %397

397:                                              ; preds = %829, %388
  %398 = load i32, ptr %70, align 4, !tbaa !15
  %399 = load i32, ptr %68, align 4, !tbaa !15
  %400 = icmp ult i32 %398, %399
  br i1 %400, label %426, label %401

401:                                              ; preds = %397
  store i32 8, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #9
  br label %834

402:                                              ; preds = %330
  %403 = landingpad { ptr, i32 }
          cleanup
  %404 = extractvalue { ptr, i32 } %403, 0
  store ptr %404, ptr %22, align 8
  %405 = extractvalue { ptr, i32 } %403, 1
  store i32 %405, ptr %23, align 4
  br label %840

406:                                              ; preds = %341
  %407 = landingpad { ptr, i32 }
          cleanup
  %408 = extractvalue { ptr, i32 } %407, 0
  store ptr %408, ptr %22, align 8
  %409 = extractvalue { ptr, i32 } %407, 1
  store i32 %409, ptr %23, align 4
  br label %839

410:                                              ; preds = %353
  %411 = landingpad { ptr, i32 }
          cleanup
  %412 = extractvalue { ptr, i32 } %411, 0
  store ptr %412, ptr %22, align 8
  %413 = extractvalue { ptr, i32 } %411, 1
  store i32 %413, ptr %23, align 4
  br label %838

414:                                              ; preds = %365
  %415 = landingpad { ptr, i32 }
          cleanup
  %416 = extractvalue { ptr, i32 } %415, 0
  store ptr %416, ptr %22, align 8
  %417 = extractvalue { ptr, i32 } %415, 1
  store i32 %417, ptr %23, align 4
  br label %837

418:                                              ; preds = %368
  %419 = landingpad { ptr, i32 }
          cleanup
  %420 = extractvalue { ptr, i32 } %419, 0
  store ptr %420, ptr %22, align 8
  %421 = extractvalue { ptr, i32 } %419, 1
  store i32 %421, ptr %23, align 4
  br label %836

422:                                              ; preds = %378
  %423 = landingpad { ptr, i32 }
          cleanup
  %424 = extractvalue { ptr, i32 } %423, 0
  store ptr %424, ptr %22, align 8
  %425 = extractvalue { ptr, i32 } %423, 1
  store i32 %425, ptr %23, align 4
  br label %835

426:                                              ; preds = %397
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %73) #9
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %74) #9
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %74) #9
  call void @llvm.lifetime.start.p0(i64 24, ptr %75) #9
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %76) #9
  %427 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef 3) #9
  %428 = load ptr, ptr %427, align 8, !tbaa !5
  %429 = load i32, ptr %70, align 4, !tbaa !15
  %430 = load i32, ptr %60, align 4, !tbaa !15
  %431 = mul i32 %429, %430
  %432 = zext i32 %431 to i64
  %433 = getelementptr inbounds i8, ptr %428, i64 %432
  store ptr %433, ptr %76, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %77) #9
  %434 = load i32, ptr %70, align 4, !tbaa !15
  %435 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %436 = getelementptr inbounds [20 x i32], ptr %435, i64 0, i64 0
  %437 = getelementptr inbounds i32, ptr %436, i64 2
  %438 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 2
  %439 = load i32, ptr %438, align 4, !tbaa !26
  %440 = sub i32 %439, 2
  invoke void @_Z19calculateLocalIndexjPKjj(ptr dead_on_unwind writable sret(%"class.std::vector.8") align 8 %77, i32 noundef %434, ptr noundef %437, i32 noundef %440)
          to label %441 unwind label %448

441:                                              ; preds = %426
  %442 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %75, ptr noundef nonnull align 8 dereferenceable(24) %77) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %77) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %77) #9
  %443 = load i32, ptr %64, align 4, !tbaa !15
  %444 = load i32, ptr %68, align 4, !tbaa !15
  %445 = icmp eq i32 %443, %444
  br i1 %445, label %446, label %452

446:                                              ; preds = %441
  %447 = load i32, ptr %70, align 4, !tbaa !15
  store i32 %447, ptr %71, align 4, !tbaa !15
  br label %496

448:                                              ; preds = %426
  %449 = landingpad { ptr, i32 }
          cleanup
  %450 = extractvalue { ptr, i32 } %449, 0
  store ptr %450, ptr %22, align 8
  %451 = extractvalue { ptr, i32 } %449, 1
  store i32 %451, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 24, ptr %77) #9
  br label %833

452:                                              ; preds = %441
  %453 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %73, ptr noundef nonnull align 8 dereferenceable(24) %75)
          to label %454 unwind label %461

454:                                              ; preds = %452
  call void @llvm.lifetime.start.p0(i64 4, ptr %78) #9
  store i32 2, ptr %78, align 4, !tbaa !15
  br label %455

455:                                              ; preds = %483, %454
  %456 = load i32, ptr %78, align 4, !tbaa !15
  %457 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 2
  %458 = load i32, ptr %457, align 4, !tbaa !26
  %459 = icmp ult i32 %456, %458
  br i1 %459, label %465, label %460

460:                                              ; preds = %455
  store i32 11, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %78) #9
  br label %486

461:                                              ; preds = %532, %502, %486, %452
  %462 = landingpad { ptr, i32 }
          cleanup
  %463 = extractvalue { ptr, i32 } %462, 0
  store ptr %463, ptr %22, align 8
  %464 = extractvalue { ptr, i32 } %462, 1
  store i32 %464, ptr %23, align 4
  br label %833

465:                                              ; preds = %455
  %466 = load i32, ptr %78, align 4, !tbaa !15
  %467 = sub i32 %466, 2
  %468 = zext i32 %467 to i64
  %469 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %468) #9
  %470 = load i32, ptr %469, align 4, !tbaa !15
  %471 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %472 = load i32, ptr %78, align 4, !tbaa !15
  %473 = zext i32 %472 to i64
  %474 = getelementptr inbounds [20 x i32], ptr %471, i64 0, i64 %473
  %475 = load i32, ptr %474, align 4, !tbaa !15
  %476 = icmp uge i32 %470, %475
  br i1 %476, label %477, label %482

477:                                              ; preds = %465
  %478 = load i32, ptr %78, align 4, !tbaa !15
  %479 = sub i32 %478, 2
  %480 = zext i32 %479 to i64
  %481 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %73, i64 noundef %480) #9
  store i32 0, ptr %481, align 4, !tbaa !15
  br label %482

482:                                              ; preds = %477, %465
  br label %483

483:                                              ; preds = %482
  %484 = load i32, ptr %78, align 4, !tbaa !15
  %485 = add i32 %484, 1
  store i32 %485, ptr %78, align 4, !tbaa !15
  br label %455, !llvm.loop !36

486:                                              ; preds = %460
  %487 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %73) #9
  %488 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %489 = getelementptr inbounds [20 x i32], ptr %488, i64 0, i64 0
  %490 = getelementptr inbounds i32, ptr %489, i64 2
  %491 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 2
  %492 = load i32, ptr %491, align 4, !tbaa !26
  %493 = sub i32 %492, 2
  %494 = invoke noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef %487, ptr noundef %490, i32 noundef %493)
          to label %495 unwind label %461

495:                                              ; preds = %486
  store i32 %494, ptr %71, align 4, !tbaa !15
  br label %496

496:                                              ; preds = %495, %446
  %497 = load i32, ptr %66, align 4, !tbaa !15
  %498 = load i32, ptr %68, align 4, !tbaa !15
  %499 = icmp eq i32 %497, %498
  br i1 %499, label %500, label %502

500:                                              ; preds = %496
  %501 = load i32, ptr %70, align 4, !tbaa !15
  store i32 %501, ptr %72, align 4, !tbaa !15
  br label %542

502:                                              ; preds = %496
  %503 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %74, ptr noundef nonnull align 8 dereferenceable(24) %75)
          to label %504 unwind label %461

504:                                              ; preds = %502
  call void @llvm.lifetime.start.p0(i64 4, ptr %79) #9
  store i32 2, ptr %79, align 4, !tbaa !15
  br label %505

505:                                              ; preds = %529, %504
  %506 = load i32, ptr %79, align 4, !tbaa !15
  %507 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 2
  %508 = load i32, ptr %507, align 4, !tbaa !26
  %509 = icmp ult i32 %506, %508
  br i1 %509, label %511, label %510

510:                                              ; preds = %505
  store i32 14, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %79) #9
  br label %532

511:                                              ; preds = %505
  %512 = load i32, ptr %79, align 4, !tbaa !15
  %513 = sub i32 %512, 2
  %514 = zext i32 %513 to i64
  %515 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %514) #9
  %516 = load i32, ptr %515, align 4, !tbaa !15
  %517 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %518 = load i32, ptr %79, align 4, !tbaa !15
  %519 = zext i32 %518 to i64
  %520 = getelementptr inbounds [20 x i32], ptr %517, i64 0, i64 %519
  %521 = load i32, ptr %520, align 4, !tbaa !15
  %522 = icmp uge i32 %516, %521
  br i1 %522, label %523, label %528

523:                                              ; preds = %511
  %524 = load i32, ptr %79, align 4, !tbaa !15
  %525 = sub i32 %524, 2
  %526 = zext i32 %525 to i64
  %527 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %74, i64 noundef %526) #9
  store i32 0, ptr %527, align 4, !tbaa !15
  br label %528

528:                                              ; preds = %523, %511
  br label %529

529:                                              ; preds = %528
  %530 = load i32, ptr %79, align 4, !tbaa !15
  %531 = add i32 %530, 1
  store i32 %531, ptr %79, align 4, !tbaa !15
  br label %505, !llvm.loop !37

532:                                              ; preds = %510
  %533 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %74) #9
  %534 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %535 = getelementptr inbounds [20 x i32], ptr %534, i64 0, i64 0
  %536 = getelementptr inbounds i32, ptr %535, i64 2
  %537 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 2
  %538 = load i32, ptr %537, align 4, !tbaa !26
  %539 = sub i32 %538, 2
  %540 = invoke noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef %533, ptr noundef %536, i32 noundef %539)
          to label %541 unwind label %461

541:                                              ; preds = %532
  store i32 %540, ptr %72, align 4, !tbaa !15
  br label %542

542:                                              ; preds = %541, %500
  call void @llvm.lifetime.start.p0(i64 8, ptr %80) #9
  %543 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef 0) #9
  %544 = load ptr, ptr %543, align 8, !tbaa !5
  %545 = load i32, ptr %71, align 4, !tbaa !15
  %546 = load i32, ptr %61, align 4, !tbaa !15
  %547 = mul i32 %545, %546
  %548 = zext i32 %547 to i64
  %549 = getelementptr inbounds i8, ptr %544, i64 %548
  store ptr %549, ptr %80, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %81) #9
  %550 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef 1) #9
  %551 = load ptr, ptr %550, align 8, !tbaa !5
  %552 = load i32, ptr %72, align 4, !tbaa !15
  %553 = load i32, ptr %62, align 4, !tbaa !15
  %554 = mul i32 %552, %553
  %555 = zext i32 %554 to i64
  %556 = getelementptr inbounds i8, ptr %551, i64 %555
  store ptr %556, ptr %81, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %82) #9
  %557 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %48, i64 noundef 2) #9
  %558 = load ptr, ptr %557, align 8, !tbaa !5
  %559 = load i32, ptr %70, align 4, !tbaa !15
  %560 = load i32, ptr %63, align 4, !tbaa !15
  %561 = mul i32 %559, %560
  %562 = zext i32 %561 to i64
  %563 = getelementptr inbounds i8, ptr %558, i64 %562
  store ptr %563, ptr %82, align 8, !tbaa !5
  %564 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %565 = load i32, ptr %44, align 4, !tbaa !15
  %566 = sub i32 1, %565
  %567 = zext i32 %566 to i64
  %568 = getelementptr inbounds [20 x i32], ptr %564, i64 0, i64 %567
  %569 = load i32, ptr %568, align 4, !tbaa !15
  %570 = icmp eq i32 %569, 1
  br i1 %570, label %571, label %654

571:                                              ; preds = %542
  call void @llvm.lifetime.start.p0(i64 92, ptr %83) #9
  %572 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 0
  %573 = load i32, ptr %572, align 4, !tbaa !17
  %574 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %575 = load i32, ptr %44, align 4, !tbaa !15
  %576 = zext i32 %575 to i64
  %577 = getelementptr inbounds [20 x i32], ptr %574, i64 0, i64 %576
  %578 = load i32, ptr %577, align 4, !tbaa !15
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %83, i32 noundef %573, i32 noundef %578)
          to label %579 unwind label %629

579:                                              ; preds = %571
  call void @llvm.lifetime.start.p0(i64 92, ptr %84) #9
  %580 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 0
  %581 = load i32, ptr %580, align 4, !tbaa !17
  %582 = load i32, ptr %47, align 4, !tbaa !24
  %583 = icmp eq i32 %582, 13
  %584 = zext i1 %583 to i64
  %585 = select i1 %583, i32 14, i32 13
  %586 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %587 = getelementptr inbounds [20 x i32], ptr %586, i64 0, i64 1
  %588 = load i32, ptr %587, align 4, !tbaa !15
  %589 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %590 = getelementptr inbounds [20 x i32], ptr %589, i64 0, i64 0
  %591 = load i32, ptr %590, align 4, !tbaa !15
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %84, i32 noundef %581, i32 noundef %585, i32 noundef %588, i32 noundef %591)
          to label %592 unwind label %633

592:                                              ; preds = %579
  call void @llvm.lifetime.start.p0(i64 92, ptr %85) #9
  %593 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 0
  %594 = load i32, ptr %593, align 4, !tbaa !17
  %595 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %596 = getelementptr inbounds [20 x i32], ptr %595, i64 0, i64 0
  %597 = load i32, ptr %596, align 4, !tbaa !15
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %85, i32 noundef %594, i32 noundef %597)
          to label %598 unwind label %637

598:                                              ; preds = %592
  call void @llvm.lifetime.start.p0(i64 4, ptr %86) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %87, ptr align 4 %84, i64 92, i1 false), !tbaa.struct !22
  %599 = load ptr, ptr %81, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %88, ptr align 4 %83, i64 92, i1 false), !tbaa.struct !22
  %600 = load ptr, ptr %80, align 8, !tbaa !5
  %601 = load i32, ptr %19, align 4, !tbaa !15
  %602 = load ptr, ptr %76, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %89, ptr align 4 %85, i64 92, i1 false), !tbaa.struct !22
  %603 = load ptr, ptr %82, align 8, !tbaa !5
  %604 = load ptr, ptr %33, align 8, !tbaa !5
  %605 = load ptr, ptr %17, align 8, !tbaa !5
  %606 = getelementptr inbounds %struct.ArchInfo, ptr %605, i32 0, i32 0
  %607 = load i32, ptr %606, align 8, !tbaa !11
  %608 = invoke i32 @matrix_vector_multiply(ptr noundef byval(%struct.TensorDesc) align 8 %87, ptr noundef %599, ptr noundef byval(%struct.TensorDesc) align 8 %88, ptr noundef %600, i32 noundef %601, ptr noundef %602, ptr noundef byval(%struct.TensorDesc) align 8 %89, ptr noundef %603, ptr noundef %604, i32 noundef %607)
          to label %609 unwind label %641

609:                                              ; preds = %598
  store i32 %608, ptr %86, align 4, !tbaa !38
  %610 = load i32, ptr %86, align 4, !tbaa !38
  %611 = icmp ne i32 %610, 0
  br i1 %611, label %612, label %649

612:                                              ; preds = %609
  call void @llvm.lifetime.start.p0(i64 4, ptr %90) #9
  %613 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %614 = trunc i64 %613 to i32
  store i32 %614, ptr %90, align 4, !tbaa !15
  %615 = load i32, ptr %90, align 4, !tbaa !15
  %616 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %615)
          to label %617 unwind label %645

617:                                              ; preds = %612
  %618 = load ptr, ptr @stdout, align 8, !tbaa !5
  %619 = invoke i32 @fflush(ptr noundef %618)
          to label %620 unwind label %645

620:                                              ; preds = %617
  %621 = load i32, ptr %86, align 4, !tbaa !38
  %622 = invoke ptr @ee2str(i32 noundef %621)
          to label %623 unwind label %645

623:                                              ; preds = %620
  %624 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %622)
          to label %625 unwind label %645

625:                                              ; preds = %623
  %626 = load ptr, ptr @stdout, align 8, !tbaa !5
  %627 = invoke i32 @fflush(ptr noundef %626)
          to label %628 unwind label %645

628:                                              ; preds = %625
  call void @exit(i32 noundef 1) #10
  unreachable

629:                                              ; preds = %571
  %630 = landingpad { ptr, i32 }
          cleanup
  %631 = extractvalue { ptr, i32 } %630, 0
  store ptr %631, ptr %22, align 8
  %632 = extractvalue { ptr, i32 } %630, 1
  store i32 %632, ptr %23, align 4
  br label %653

633:                                              ; preds = %579
  %634 = landingpad { ptr, i32 }
          cleanup
  %635 = extractvalue { ptr, i32 } %634, 0
  store ptr %635, ptr %22, align 8
  %636 = extractvalue { ptr, i32 } %634, 1
  store i32 %636, ptr %23, align 4
  br label %652

637:                                              ; preds = %592
  %638 = landingpad { ptr, i32 }
          cleanup
  %639 = extractvalue { ptr, i32 } %638, 0
  store ptr %639, ptr %22, align 8
  %640 = extractvalue { ptr, i32 } %638, 1
  store i32 %640, ptr %23, align 4
  br label %651

641:                                              ; preds = %598
  %642 = landingpad { ptr, i32 }
          cleanup
  %643 = extractvalue { ptr, i32 } %642, 0
  store ptr %643, ptr %22, align 8
  %644 = extractvalue { ptr, i32 } %642, 1
  store i32 %644, ptr %23, align 4
  br label %650

645:                                              ; preds = %625, %623, %620, %617, %612
  %646 = landingpad { ptr, i32 }
          cleanup
  %647 = extractvalue { ptr, i32 } %646, 0
  store ptr %647, ptr %22, align 8
  %648 = extractvalue { ptr, i32 } %646, 1
  store i32 %648, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %90) #9
  br label %650

649:                                              ; preds = %609
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %85) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %84) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %83) #9
  br label %828

650:                                              ; preds = %645, %641
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #9
  br label %651

651:                                              ; preds = %650, %637
  call void @llvm.lifetime.end.p0(i64 92, ptr %85) #9
  br label %652

652:                                              ; preds = %651, %633
  call void @llvm.lifetime.end.p0(i64 92, ptr %84) #9
  br label %653

653:                                              ; preds = %652, %629
  call void @llvm.lifetime.end.p0(i64 92, ptr %83) #9
  br label %832

654:                                              ; preds = %542
  %655 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %656 = load i32, ptr %45, align 4, !tbaa !15
  %657 = sub i32 1, %656
  %658 = zext i32 %657 to i64
  %659 = getelementptr inbounds [20 x i32], ptr %655, i64 0, i64 %658
  %660 = load i32, ptr %659, align 4, !tbaa !15
  %661 = icmp eq i32 %660, 1
  br i1 %661, label %662, label %742

662:                                              ; preds = %654
  call void @llvm.lifetime.start.p0(i64 92, ptr %91) #9
  %663 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 0
  %664 = load i32, ptr %663, align 4, !tbaa !17
  %665 = load i32, ptr %46, align 4, !tbaa !24
  %666 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %667 = getelementptr inbounds [20 x i32], ptr %666, i64 0, i64 1
  %668 = load i32, ptr %667, align 4, !tbaa !15
  %669 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %670 = getelementptr inbounds [20 x i32], ptr %669, i64 0, i64 0
  %671 = load i32, ptr %670, align 4, !tbaa !15
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %91, i32 noundef %664, i32 noundef %665, i32 noundef %668, i32 noundef %671)
          to label %672 unwind label %717

672:                                              ; preds = %662
  call void @llvm.lifetime.start.p0(i64 92, ptr %92) #9
  %673 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 0
  %674 = load i32, ptr %673, align 4, !tbaa !17
  %675 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %676 = load i32, ptr %45, align 4, !tbaa !15
  %677 = zext i32 %676 to i64
  %678 = getelementptr inbounds [20 x i32], ptr %675, i64 0, i64 %677
  %679 = load i32, ptr %678, align 4, !tbaa !15
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %92, i32 noundef %674, i32 noundef %679)
          to label %680 unwind label %721

680:                                              ; preds = %672
  call void @llvm.lifetime.start.p0(i64 92, ptr %93) #9
  %681 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 0
  %682 = load i32, ptr %681, align 4, !tbaa !17
  %683 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %684 = getelementptr inbounds [20 x i32], ptr %683, i64 0, i64 1
  %685 = load i32, ptr %684, align 4, !tbaa !15
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %93, i32 noundef %682, i32 noundef %685)
          to label %686 unwind label %725

686:                                              ; preds = %680
  call void @llvm.lifetime.start.p0(i64 4, ptr %94) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %95, ptr align 4 %91, i64 92, i1 false), !tbaa.struct !22
  %687 = load ptr, ptr %80, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %96, ptr align 4 %92, i64 92, i1 false), !tbaa.struct !22
  %688 = load ptr, ptr %81, align 8, !tbaa !5
  %689 = load i32, ptr %19, align 4, !tbaa !15
  %690 = load ptr, ptr %76, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %97, ptr align 4 %93, i64 92, i1 false), !tbaa.struct !22
  %691 = load ptr, ptr %82, align 8, !tbaa !5
  %692 = load ptr, ptr %33, align 8, !tbaa !5
  %693 = load ptr, ptr %17, align 8, !tbaa !5
  %694 = getelementptr inbounds %struct.ArchInfo, ptr %693, i32 0, i32 0
  %695 = load i32, ptr %694, align 8, !tbaa !11
  %696 = invoke i32 @matrix_vector_multiply(ptr noundef byval(%struct.TensorDesc) align 8 %95, ptr noundef %687, ptr noundef byval(%struct.TensorDesc) align 8 %96, ptr noundef %688, i32 noundef %689, ptr noundef %690, ptr noundef byval(%struct.TensorDesc) align 8 %97, ptr noundef %691, ptr noundef %692, i32 noundef %695)
          to label %697 unwind label %729

697:                                              ; preds = %686
  store i32 %696, ptr %94, align 4, !tbaa !38
  %698 = load i32, ptr %94, align 4, !tbaa !38
  %699 = icmp ne i32 %698, 0
  br i1 %699, label %700, label %737

700:                                              ; preds = %697
  call void @llvm.lifetime.start.p0(i64 4, ptr %98) #9
  %701 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %702 = trunc i64 %701 to i32
  store i32 %702, ptr %98, align 4, !tbaa !15
  %703 = load i32, ptr %98, align 4, !tbaa !15
  %704 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %703)
          to label %705 unwind label %733

705:                                              ; preds = %700
  %706 = load ptr, ptr @stdout, align 8, !tbaa !5
  %707 = invoke i32 @fflush(ptr noundef %706)
          to label %708 unwind label %733

708:                                              ; preds = %705
  %709 = load i32, ptr %94, align 4, !tbaa !38
  %710 = invoke ptr @ee2str(i32 noundef %709)
          to label %711 unwind label %733

711:                                              ; preds = %708
  %712 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %710)
          to label %713 unwind label %733

713:                                              ; preds = %711
  %714 = load ptr, ptr @stdout, align 8, !tbaa !5
  %715 = invoke i32 @fflush(ptr noundef %714)
          to label %716 unwind label %733

716:                                              ; preds = %713
  call void @exit(i32 noundef 1) #10
  unreachable

717:                                              ; preds = %662
  %718 = landingpad { ptr, i32 }
          cleanup
  %719 = extractvalue { ptr, i32 } %718, 0
  store ptr %719, ptr %22, align 8
  %720 = extractvalue { ptr, i32 } %718, 1
  store i32 %720, ptr %23, align 4
  br label %741

721:                                              ; preds = %672
  %722 = landingpad { ptr, i32 }
          cleanup
  %723 = extractvalue { ptr, i32 } %722, 0
  store ptr %723, ptr %22, align 8
  %724 = extractvalue { ptr, i32 } %722, 1
  store i32 %724, ptr %23, align 4
  br label %740

725:                                              ; preds = %680
  %726 = landingpad { ptr, i32 }
          cleanup
  %727 = extractvalue { ptr, i32 } %726, 0
  store ptr %727, ptr %22, align 8
  %728 = extractvalue { ptr, i32 } %726, 1
  store i32 %728, ptr %23, align 4
  br label %739

729:                                              ; preds = %686
  %730 = landingpad { ptr, i32 }
          cleanup
  %731 = extractvalue { ptr, i32 } %730, 0
  store ptr %731, ptr %22, align 8
  %732 = extractvalue { ptr, i32 } %730, 1
  store i32 %732, ptr %23, align 4
  br label %738

733:                                              ; preds = %713, %711, %708, %705, %700
  %734 = landingpad { ptr, i32 }
          cleanup
  %735 = extractvalue { ptr, i32 } %734, 0
  store ptr %735, ptr %22, align 8
  %736 = extractvalue { ptr, i32 } %734, 1
  store i32 %736, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %98) #9
  br label %738

737:                                              ; preds = %697
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %93) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %92) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %91) #9
  br label %827

738:                                              ; preds = %733, %729
  call void @llvm.lifetime.end.p0(i64 4, ptr %94) #9
  br label %739

739:                                              ; preds = %738, %725
  call void @llvm.lifetime.end.p0(i64 92, ptr %93) #9
  br label %740

740:                                              ; preds = %739, %721
  call void @llvm.lifetime.end.p0(i64 92, ptr %92) #9
  br label %741

741:                                              ; preds = %740, %717
  call void @llvm.lifetime.end.p0(i64 92, ptr %91) #9
  br label %832

742:                                              ; preds = %654
  call void @llvm.lifetime.start.p0(i64 92, ptr %99) #9
  %743 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 0
  %744 = load i32, ptr %743, align 4, !tbaa !17
  %745 = load i32, ptr %46, align 4, !tbaa !24
  %746 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %747 = getelementptr inbounds [20 x i32], ptr %746, i64 0, i64 1
  %748 = load i32, ptr %747, align 4, !tbaa !15
  %749 = getelementptr inbounds %struct.TensorDesc, ptr %24, i32 0, i32 3
  %750 = getelementptr inbounds [20 x i32], ptr %749, i64 0, i64 0
  %751 = load i32, ptr %750, align 4, !tbaa !15
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %99, i32 noundef %744, i32 noundef %745, i32 noundef %748, i32 noundef %751)
          to label %752 unwind label %802

752:                                              ; preds = %742
  call void @llvm.lifetime.start.p0(i64 92, ptr %100) #9
  %753 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 0
  %754 = load i32, ptr %753, align 4, !tbaa !17
  %755 = load i32, ptr %47, align 4, !tbaa !24
  %756 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %757 = getelementptr inbounds [20 x i32], ptr %756, i64 0, i64 1
  %758 = load i32, ptr %757, align 4, !tbaa !15
  %759 = getelementptr inbounds %struct.TensorDesc, ptr %27, i32 0, i32 3
  %760 = getelementptr inbounds [20 x i32], ptr %759, i64 0, i64 0
  %761 = load i32, ptr %760, align 4, !tbaa !15
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %100, i32 noundef %754, i32 noundef %755, i32 noundef %758, i32 noundef %761)
          to label %762 unwind label %806

762:                                              ; preds = %752
  call void @llvm.lifetime.start.p0(i64 92, ptr %101) #9
  %763 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 0
  %764 = load i32, ptr %763, align 4, !tbaa !17
  %765 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %766 = getelementptr inbounds [20 x i32], ptr %765, i64 0, i64 1
  %767 = load i32, ptr %766, align 4, !tbaa !15
  %768 = getelementptr inbounds %struct.TensorDesc, ptr %30, i32 0, i32 3
  %769 = getelementptr inbounds [20 x i32], ptr %768, i64 0, i64 0
  %770 = load i32, ptr %769, align 4, !tbaa !15
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %101, i32 noundef %764, i32 noundef 14, i32 noundef %767, i32 noundef %770)
          to label %771 unwind label %810

771:                                              ; preds = %762
  call void @llvm.lifetime.start.p0(i64 4, ptr %102) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %103, ptr align 4 %99, i64 92, i1 false), !tbaa.struct !22
  %772 = load ptr, ptr %80, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %104, ptr align 4 %100, i64 92, i1 false), !tbaa.struct !22
  %773 = load ptr, ptr %81, align 8, !tbaa !5
  %774 = load i32, ptr %19, align 4, !tbaa !15
  %775 = load ptr, ptr %76, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %105, ptr align 4 %101, i64 92, i1 false), !tbaa.struct !22
  %776 = load ptr, ptr %82, align 8, !tbaa !5
  %777 = load ptr, ptr %33, align 8, !tbaa !5
  %778 = load ptr, ptr %17, align 8, !tbaa !5
  %779 = getelementptr inbounds %struct.ArchInfo, ptr %778, i32 0, i32 0
  %780 = load i32, ptr %779, align 8, !tbaa !11
  %781 = invoke i32 @matrix_matrix_multiply(ptr noundef byval(%struct.TensorDesc) align 8 %103, ptr noundef %772, ptr noundef byval(%struct.TensorDesc) align 8 %104, ptr noundef %773, i32 noundef %774, ptr noundef %775, ptr noundef byval(%struct.TensorDesc) align 8 %105, ptr noundef %776, ptr noundef %777, i32 noundef %780)
          to label %782 unwind label %814

782:                                              ; preds = %771
  store i32 %781, ptr %102, align 4, !tbaa !38
  %783 = load i32, ptr %102, align 4, !tbaa !38
  %784 = icmp ne i32 %783, 0
  br i1 %784, label %785, label %822

785:                                              ; preds = %782
  call void @llvm.lifetime.start.p0(i64 4, ptr %106) #9
  %786 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %787 = trunc i64 %786 to i32
  store i32 %787, ptr %106, align 4, !tbaa !15
  %788 = load i32, ptr %106, align 4, !tbaa !15
  %789 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %788)
          to label %790 unwind label %818

790:                                              ; preds = %785
  %791 = load ptr, ptr @stdout, align 8, !tbaa !5
  %792 = invoke i32 @fflush(ptr noundef %791)
          to label %793 unwind label %818

793:                                              ; preds = %790
  %794 = load i32, ptr %102, align 4, !tbaa !38
  %795 = invoke ptr @ee2str(i32 noundef %794)
          to label %796 unwind label %818

796:                                              ; preds = %793
  %797 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %795)
          to label %798 unwind label %818

798:                                              ; preds = %796
  %799 = load ptr, ptr @stdout, align 8, !tbaa !5
  %800 = invoke i32 @fflush(ptr noundef %799)
          to label %801 unwind label %818

801:                                              ; preds = %798
  call void @exit(i32 noundef 1) #10
  unreachable

802:                                              ; preds = %742
  %803 = landingpad { ptr, i32 }
          cleanup
  %804 = extractvalue { ptr, i32 } %803, 0
  store ptr %804, ptr %22, align 8
  %805 = extractvalue { ptr, i32 } %803, 1
  store i32 %805, ptr %23, align 4
  br label %826

806:                                              ; preds = %752
  %807 = landingpad { ptr, i32 }
          cleanup
  %808 = extractvalue { ptr, i32 } %807, 0
  store ptr %808, ptr %22, align 8
  %809 = extractvalue { ptr, i32 } %807, 1
  store i32 %809, ptr %23, align 4
  br label %825

810:                                              ; preds = %762
  %811 = landingpad { ptr, i32 }
          cleanup
  %812 = extractvalue { ptr, i32 } %811, 0
  store ptr %812, ptr %22, align 8
  %813 = extractvalue { ptr, i32 } %811, 1
  store i32 %813, ptr %23, align 4
  br label %824

814:                                              ; preds = %771
  %815 = landingpad { ptr, i32 }
          cleanup
  %816 = extractvalue { ptr, i32 } %815, 0
  store ptr %816, ptr %22, align 8
  %817 = extractvalue { ptr, i32 } %815, 1
  store i32 %817, ptr %23, align 4
  br label %823

818:                                              ; preds = %798, %796, %793, %790, %785
  %819 = landingpad { ptr, i32 }
          cleanup
  %820 = extractvalue { ptr, i32 } %819, 0
  store ptr %820, ptr %22, align 8
  %821 = extractvalue { ptr, i32 } %819, 1
  store i32 %821, ptr %23, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %106) #9
  br label %823

822:                                              ; preds = %782
  call void @llvm.lifetime.end.p0(i64 4, ptr %102) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %101) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %100) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %99) #9
  br label %827

823:                                              ; preds = %818, %814
  call void @llvm.lifetime.end.p0(i64 4, ptr %102) #9
  br label %824

824:                                              ; preds = %823, %810
  call void @llvm.lifetime.end.p0(i64 92, ptr %101) #9
  br label %825

825:                                              ; preds = %824, %806
  call void @llvm.lifetime.end.p0(i64 92, ptr %100) #9
  br label %826

826:                                              ; preds = %825, %802
  call void @llvm.lifetime.end.p0(i64 92, ptr %99) #9
  br label %832

827:                                              ; preds = %822, %737
  br label %828

828:                                              ; preds = %827, %649
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %75) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %74) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %74) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #9
  br label %829

829:                                              ; preds = %828
  %830 = load i32, ptr %70, align 4, !tbaa !15
  %831 = add i32 %830, 1
  store i32 %831, ptr %70, align 4, !tbaa !15
  br label %397, !llvm.loop !40

832:                                              ; preds = %826, %741, %653
  call void @llvm.lifetime.end.p0(i64 8, ptr %82) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %81) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %80) #9
  br label %833

833:                                              ; preds = %832, %461, %448
  call void @llvm.lifetime.end.p0(i64 8, ptr %76) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %75) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %75) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %74) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %74) #9
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %73) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %70) #9
  br label %835

834:                                              ; preds = %401
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  store i32 0, ptr %9, align 4
  store i32 1, ptr %35, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  call void @_ZNSt6vectorIPhSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  br label %843

835:                                              ; preds = %833, %422
  call void @llvm.lifetime.end.p0(i64 4, ptr %68) #9
  br label %836

836:                                              ; preds = %835, %418
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #9
  br label %837

837:                                              ; preds = %836, %414
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #9
  br label %838

838:                                              ; preds = %837, %410
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #9
  br label %839

839:                                              ; preds = %838, %406
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #9
  br label %840

840:                                              ; preds = %839, %402
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  br label %841

841:                                              ; preds = %840, %329, %286, %257
  call void @_ZNSt6vectorIPhSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %48) #9
  br label %842

842:                                              ; preds = %841, %253
  call void @llvm.lifetime.end.p0(i64 24, ptr %48) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  br label %845

843:                                              ; preds = %834, %168, %145
  call void @llvm.lifetime.end.p0(i64 1, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %27) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %24) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  %844 = load i32, ptr %9, align 4
  ret i32 %844

845:                                              ; preds = %842, %158
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %30) #9
  br label %846

846:                                              ; preds = %845, %154
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %27) #9
  br label %847

847:                                              ; preds = %846, %150
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %24) #9
  br label %848

848:                                              ; preds = %847, %146
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  br label %849

849:                                              ; preds = %848
  %850 = load ptr, ptr %22, align 8
  %851 = load i32, ptr %23, align 4
  %852 = insertvalue { ptr, i32 } poison, ptr %850, 0
  %853 = insertvalue { ptr, i32 } %852, i32 %851, 1
  resume { ptr, i32 } %853
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32)) #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef, i32 noundef) #8

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z11useINT8Type8DataTypeS_S_i(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6Tensor9get_scaleEv(ptr noundef nonnull align 8 dereferenceable(32)) #5 align 2

declare noundef i32 @_Z15transformToNCHW10TensorDescPKvS_Pv(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef) #2

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10UNI_MEMCPYPvPKvm(ptr noundef, ptr noundef, i64 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z10UNI_MEMSETPvim(ptr noundef, i32 noundef, i64 noundef) #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z7bytesOf8DataType(i32 noundef) #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef, ptr noundef, i32 noundef) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #5 align 2

declare i32 @matrix_vector_multiply(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, i32 noundef) #2

declare i32 @matrix_matrix_multiply(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, i32 noundef) #2

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS8ArchInfo", !13, i64 0, !6, i64 8}
!13 = !{!"_ZTS4Arch", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"int", !7, i64 0}
!17 = !{!18, !19, i64 0}
!18 = !{!"_ZTS10TensorDesc", !19, i64 0, !20, i64 4, !16, i64 8, !7, i64 12}
!19 = !{!"_ZTS8DataType", !7, i64 0}
!20 = !{!"_ZTS10DataFormat", !7, i64 0}
!21 = !{!18, !20, i64 4}
!22 = !{i64 0, i64 4, !23, i64 4, i64 4, !24, i64 8, i64 4, !15, i64 12, i64 80, !25}
!23 = !{!19, !19, i64 0}
!24 = !{!20, !20, i64 0}
!25 = !{!7, !7, i64 0}
!26 = !{!18, !16, i64 8}
!27 = !{i8 0, i8 2}
!28 = !{}
!29 = !{!30, !6, i64 0}
!30 = !{!"_ZTSSt16initializer_listIPhE", !6, i64 0, !31, i64 8}
!31 = !{!"long", !7, i64 0}
!32 = !{!30, !31, i64 8}
!33 = distinct !{!33, !34}
!34 = !{!"llvm.loop.mustprogress"}
!35 = distinct !{!35, !34}
!36 = distinct !{!36, !34}
!37 = distinct !{!37, !34}
!38 = !{!39, !39, i64 0}
!39 = !{!"_ZTS2EE", !7, i64 0}
!40 = distinct !{!40, !34}


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

%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }
%class.Tensor = type { %"class.std::shared_ptr", %"class.std::shared_ptr.0" }
%"class.std::shared_ptr" = type { %"class.std::__shared_ptr" }
%"class.std::__shared_ptr" = type { ptr, %"class.std::__shared_count" }
%"class.std::__shared_count" = type { ptr }
%"class.std::shared_ptr.0" = type { %"class.std::__shared_ptr.1" }
%"class.std::__shared_ptr.1" = type { ptr, %"class.std::__shared_count" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<unsigned char *, std::allocator<unsigned char *>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char *, std::allocator<unsigned char *>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char *, std::allocator<unsigned char *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char *, std::allocator<unsigned char *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.5" = type { i8 }
%"class.std::vector.8" = type { %"struct.std::_Vector_base.9" }
%"struct.std::_Vector_base.9" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.2 = external hidden unnamed_addr constant [18 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: nounwind
declare i64 @syscall(i64 noundef, ...) local_unnamed_addr #1

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @fflush(ptr nocapture noundef) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @exit(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local ptr @ee2str(i32 noundef) local_unnamed_addr #4

; 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 hidden void @_ZL16align_input_descP10TensorDescS0_(ptr noundef, ptr noundef) local_unnamed_addr #5

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor8get_descEv(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z8tensor1d8DataTypej(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind noalias writable sret(%struct.TensorDesc) align 4, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #8

; Function Attrs: mustprogress uwtable
define dso_local noundef range(i32 0, 52) i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef %0, i1 noundef zeroext %1, ptr noundef %2, i1 noundef zeroext %3, ptr noundef %4, ptr noundef nonnull %5, ptr noundef %6, ptr nocapture noundef readonly %7) local_unnamed_addr #7 personality ptr @__gxx_personality_v0 {
  %9 = alloca %class.Tensor, align 8
  %10 = alloca %struct.TensorDesc, align 8
  %11 = alloca %class.Tensor, align 8
  %12 = alloca %struct.TensorDesc, align 8
  %13 = alloca %class.Tensor, align 8
  %14 = alloca %struct.TensorDesc, align 8
  %15 = alloca %class.Tensor, align 8
  %16 = alloca %struct.TensorDesc, align 8
  %17 = alloca %struct.TensorDesc, align 8
  %18 = alloca %"class.std::vector.3", align 8
  %19 = alloca [4 x ptr], align 8
  %20 = alloca %"class.std::allocator.5", align 1
  %21 = alloca %class.Tensor, align 8
  %22 = alloca %"class.std::vector.8", align 8
  %23 = alloca %"class.std::vector.8", align 8
  %24 = alloca %"class.std::vector.8", align 8
  %25 = alloca %"class.std::vector.8", align 8
  %26 = alloca %struct.TensorDesc, align 8
  %27 = alloca %struct.TensorDesc, align 8
  %28 = alloca %struct.TensorDesc, align 8
  %29 = alloca %struct.TensorDesc, align 8
  %30 = alloca %struct.TensorDesc, align 8
  %31 = alloca %struct.TensorDesc, align 8
  %32 = alloca %struct.TensorDesc, align 8
  %33 = alloca %struct.TensorDesc, align 8
  %34 = alloca %struct.TensorDesc, align 8
  %35 = load i32, ptr %7, align 8, !tbaa !5
  %36 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #10
  %37 = tail call noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %36)
  %38 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %5, i64 noundef 0) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %38) #10
  %39 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %9, i32 noundef %35)
          to label %40 unwind label %56

40:                                               ; preds = %8
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %10) #10
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %10, ptr noundef nonnull align 8 dereferenceable(32) %0)
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull align 8 dereferenceable(32) %0) #10
  %41 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %11, i32 noundef %35)
          to label %42 unwind label %58

42:                                               ; preds = %40
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %12) #10
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %12, ptr noundef nonnull align 8 dereferenceable(32) %2)
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %2) #10
  %43 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %13, i32 noundef %35)
          to label %44 unwind label %60

44:                                               ; preds = %42
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %14) #10
  call void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %14, ptr noundef nonnull align 8 dereferenceable(32) %6)
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %6) #10
  %45 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %15, i32 noundef %35)
          to label %46 unwind label %62

46:                                               ; preds = %44
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  %47 = load i32, ptr %10, align 8, !tbaa !11
  %48 = load i32, ptr %12, align 8, !tbaa !11
  %49 = load i32, ptr %14, align 8, !tbaa !11
  %50 = call noundef float @_ZN6Tensor9get_scaleEv(ptr noundef nonnull align 8 dereferenceable(32) %6)
  %51 = fptosi float %50 to i32
  %52 = call noundef zeroext i1 @_Z11useINT8Type8DataTypeS_S_i(i32 noundef %47, i32 noundef %48, i32 noundef %49, i32 noundef %51)
  %53 = icmp eq ptr %41, null
  %54 = icmp eq ptr %43, null
  %or.cond = or i1 %53, %54
  %55 = icmp eq ptr %45, null
  %or.cond3 = or i1 %or.cond, %55
  br i1 %or.cond3, label %385, label %64

56:                                               ; preds = %8
  %57 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #10
  br label %389

58:                                               ; preds = %40
  %59 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #10
  br label %388

60:                                               ; preds = %42
  %61 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #10
  br label %387

62:                                               ; preds = %44
  %63 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #10
  br label %386

64:                                               ; preds = %46
  switch i32 %35, label %65 [
    i32 7, label %385
    i32 2, label %385
  ]

65:                                               ; preds = %64
  %66 = getelementptr inbounds i8, ptr %10, i64 4
  %67 = load i32, ptr %66, align 4, !tbaa !16
  %68 = call noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef %67, i32 noundef 0)
  %.not = icmp eq i32 %68, 0
  br i1 %.not, label %69, label %74

69:                                               ; preds = %65
  %.sroa.082.0.copyload = load i32, ptr %10, align 8, !tbaa !17
  %.sroa.587.0..sroa_idx = getelementptr inbounds i8, ptr %10, i64 8
  %.sroa.587.0..sroa_idx88 = getelementptr inbounds i8, ptr %16, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(84) %.sroa.587.0..sroa_idx88, ptr noundef nonnull align 8 dereferenceable(84) %.sroa.587.0..sroa_idx, i64 84, i1 false)
  store i32 %.sroa.082.0.copyload, ptr %16, align 8, !tbaa !17
  %.sroa.484.0..sroa_idx85 = getelementptr inbounds i8, ptr %16, i64 4
  store i32 0, ptr %.sroa.484.0..sroa_idx85, align 4, !tbaa !18
  %70 = call noundef i32 @_Z15transformToNCHW10TensorDescPKvS_Pv(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %10, ptr noundef nonnull %41, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %16, ptr noundef %39)
  %71 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %10)
  %72 = zext i32 %71 to i64
  %73 = getelementptr inbounds i8, ptr %39, i64 %72
  store i32 0, ptr %66, align 4, !tbaa !16
  br label %74

74:                                               ; preds = %69, %65
  %.0152 = phi ptr [ %41, %65 ], [ %39, %69 ]
  %.0128 = phi ptr [ %39, %65 ], [ %73, %69 ]
  %75 = getelementptr inbounds i8, ptr %12, i64 4
  %76 = load i32, ptr %75, align 4, !tbaa !16
  %77 = call noundef i32 @_Z16isSameDataFormat10DataFormatS_(i32 noundef %76, i32 noundef 0)
  %.not174 = icmp eq i32 %77, 0
  br i1 %.not174, label %78, label %83

78:                                               ; preds = %74
  %.sroa.077.0.copyload = load i32, ptr %12, align 8, !tbaa !17
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %12, i64 8
  %.sroa.5.0..sroa_idx81 = getelementptr inbounds i8, ptr %17, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(84) %.sroa.5.0..sroa_idx81, ptr noundef nonnull align 8 dereferenceable(84) %.sroa.5.0..sroa_idx, i64 84, i1 false)
  store i32 %.sroa.077.0.copyload, ptr %17, align 8, !tbaa !17
  %.sroa.4.0..sroa_idx79 = getelementptr inbounds i8, ptr %17, i64 4
  store i32 0, ptr %.sroa.4.0..sroa_idx79, align 4, !tbaa !18
  %79 = call noundef i32 @_Z15transformToNCHW10TensorDescPKvS_Pv(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %12, ptr noundef nonnull %43, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %17, ptr noundef %.0128)
  %80 = call noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %12)
  %81 = zext i32 %80 to i64
  %82 = getelementptr inbounds i8, ptr %.0128, i64 %81
  store i32 0, ptr %75, align 4, !tbaa !16
  br label %83

83:                                               ; preds = %78, %74
  %.0153 = phi ptr [ %43, %74 ], [ %.0128, %78 ]
  %.1 = phi ptr [ %.0128, %74 ], [ %82, %78 ]
  %84 = getelementptr inbounds i8, ptr %10, i64 8
  %85 = load i32, ptr %84, align 8, !tbaa !19
  %86 = icmp eq i32 %85, 1
  br i1 %86, label %87, label %91

87:                                               ; preds = %83
  store i32 2, ptr %84, align 8, !tbaa !19
  %88 = getelementptr inbounds i8, ptr %10, i64 16
  store i32 1, ptr %88, align 8, !tbaa !20
  %89 = getelementptr inbounds i8, ptr %14, i64 8
  store i32 2, ptr %89, align 8, !tbaa !19
  %90 = getelementptr inbounds i8, ptr %14, i64 16
  store i32 1, ptr %90, align 8, !tbaa !20
  br label %91

91:                                               ; preds = %87, %83
  %. = select i1 %1, i32 13, i32 14
  %.0162 = select i1 %3, i32 13, i32 14
  %not. = xor i1 %3, true
  call void @_ZL16align_input_descP10TensorDescS0_(ptr noundef nonnull %10, ptr noundef nonnull %12)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %18) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %19) #10
  store ptr %.0152, ptr %19, align 8, !tbaa !21
  %92 = getelementptr inbounds i8, ptr %19, i64 8
  store ptr %.0153, ptr %92, align 8, !tbaa !21
  %93 = getelementptr inbounds i8, ptr %19, i64 16
  store ptr %45, ptr %93, align 8, !tbaa !21
  %94 = getelementptr inbounds i8, ptr %19, i64 24
  store ptr %.1, ptr %94, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %20) #10
  call void @_ZNSaIPhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  invoke void @_ZNSt6vectorIPhSaIS0_EEC2ESt16initializer_listIS0_ERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %18, ptr nonnull %19, i64 4, ptr noundef nonnull align 1 dereferenceable(1) %20)
          to label %95 unwind label %108

95:                                               ; preds = %91
  call void @_ZNSt15__new_allocatorIPhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #10
  %96 = invoke noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %97 unwind label %110

97:                                               ; preds = %95
  %.not175 = icmp eq i32 %96, 0
  br i1 %.not175, label %127, label %98

98:                                               ; preds = %97
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %4) #10
  %99 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %21, i32 noundef %35)
          to label %100 unwind label %112

100:                                              ; preds = %98
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  br label %101

101:                                              ; preds = %125, %100
  %.0163 = phi i32 [ 0, %100 ], [ %126, %125 ]
  %102 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %14)
          to label %103 unwind label %114

103:                                              ; preds = %101
  %104 = invoke noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %105 unwind label %114

105:                                              ; preds = %103
  %106 = udiv i32 %102, %104
  %107 = icmp ult i32 %.0163, %106
  br i1 %107, label %116, label %.loopexit

108:                                              ; preds = %91
  %109 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIPhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %20) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %19) #10
  br label %384

110:                                              ; preds = %95
  %111 = landingpad { ptr, i32 }
          cleanup
  br label %383

112:                                              ; preds = %98
  %113 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #10
  br label %383

114:                                              ; preds = %120, %118, %116, %103, %101
  %115 = landingpad { ptr, i32 }
          cleanup
  br label %383

116:                                              ; preds = %105
  %117 = invoke noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %118 unwind label %114

118:                                              ; preds = %116
  %119 = invoke noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32) %4)
          to label %120 unwind label %114

120:                                              ; preds = %118
  %121 = mul i32 %117, %.0163
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds i8, ptr %45, i64 %122
  %124 = zext i32 %119 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %123, ptr noundef %99, i64 noundef %124)
          to label %125 unwind label %114

125:                                              ; preds = %120
  %126 = add nuw i32 %.0163, 1
  br label %101, !llvm.loop !22

127:                                              ; preds = %97
  %128 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %14)
          to label %.preheader207 unwind label %130

.preheader207:                                    ; preds = %127
  %.not222 = icmp eq i32 %128, 0
  br i1 %.not222, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.preheader207
  %129 = zext i32 %128 to i64
  call void @_Z10UNI_MEMSETPvim(ptr noundef nonnull %45, i32 noundef 0, i64 noundef %129)
  br label %.loopexit

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

.loopexit:                                        ; preds = %105, %.lr.ph.preheader, %.preheader207
  %132 = getelementptr inbounds i8, ptr %10, i64 12
  %133 = getelementptr inbounds i8, ptr %10, i64 16
  %134 = load i32, ptr %133, align 8, !tbaa !20
  %135 = load i32, ptr %132, align 4, !tbaa !20
  %136 = load i32, ptr %10, align 8, !tbaa !11
  %137 = invoke noundef i32 @_Z7bytesOf8DataType(i32 noundef %136)
          to label %138 unwind label %192

138:                                              ; preds = %.loopexit
  %139 = mul i32 %135, %134
  %140 = mul i32 %139, %137
  %141 = getelementptr inbounds i8, ptr %12, i64 12
  %142 = getelementptr inbounds i8, ptr %12, i64 16
  %143 = load i32, ptr %142, align 8, !tbaa !20
  %144 = load i32, ptr %141, align 4, !tbaa !20
  %145 = load i32, ptr %12, align 8, !tbaa !11
  %146 = invoke noundef i32 @_Z7bytesOf8DataType(i32 noundef %145)
          to label %147 unwind label %194

147:                                              ; preds = %138
  %148 = mul i32 %144, %143
  %149 = mul i32 %148, %146
  %150 = getelementptr inbounds i8, ptr %14, i64 12
  %151 = getelementptr inbounds i8, ptr %14, i64 16
  %152 = load i32, ptr %151, align 8, !tbaa !20
  %153 = load i32, ptr %150, align 4, !tbaa !20
  %154 = load i32, ptr %14, align 8, !tbaa !11
  %155 = invoke noundef i32 @_Z7bytesOf8DataType(i32 noundef %154)
          to label %156 unwind label %196

156:                                              ; preds = %147
  %157 = mul i32 %153, %152
  %158 = mul i32 %157, %155
  %159 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %10)
  %160 = load i32, ptr %133, align 8, !tbaa !20
  %161 = load i32, ptr %132, align 4, !tbaa !20
  %162 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %12)
  %163 = load i32, ptr %142, align 8, !tbaa !20
  %164 = load i32, ptr %141, align 4, !tbaa !20
  %165 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %14)
  %166 = load i32, ptr %151, align 8, !tbaa !20
  %167 = load i32, ptr %150, align 4, !tbaa !20
  %168 = mul i32 %167, %166
  %.not223 = icmp ugt i32 %168, %165
  br i1 %.not223, label %._crit_edge221, label %.lr.ph220

.lr.ph220:                                        ; preds = %156
  %169 = udiv i32 %165, %168
  %170 = mul i32 %164, %163
  %171 = udiv i32 %162, %170
  %172 = mul i32 %161, %160
  %173 = udiv i32 %159, %172
  %174 = getelementptr inbounds i8, ptr %14, i64 20
  %175 = getelementptr inbounds i8, ptr %14, i64 8
  %176 = icmp eq i32 %173, %169
  %177 = getelementptr inbounds i8, ptr %10, i64 20
  %178 = icmp eq i32 %171, %169
  %179 = getelementptr inbounds i8, ptr %12, i64 8
  %180 = getelementptr inbounds i8, ptr %12, i64 20
  %181 = xor i1 %1, true
  %182 = zext i1 %181 to i64
  %183 = getelementptr inbounds [20 x i32], ptr %132, i64 0, i64 %182
  %184 = zext i1 %3 to i64
  %185 = getelementptr inbounds [20 x i32], ptr %141, i64 0, i64 %184
  %186 = zext i1 %not. to i64
  %187 = getelementptr inbounds [20 x i32], ptr %141, i64 0, i64 %186
  %188 = zext i1 %1 to i64
  %189 = getelementptr inbounds [20 x i32], ptr %132, i64 0, i64 %188
  %190 = select i1 %3, i32 14, i32 13
  %191 = zext i32 %169 to i64
  br label %198

._crit_edge221:                                   ; preds = %380, %156
  call void @_ZNSt6vectorIPhSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br label %385

192:                                              ; preds = %.loopexit
  %193 = landingpad { ptr, i32 }
          cleanup
  br label %383

194:                                              ; preds = %138
  %195 = landingpad { ptr, i32 }
          cleanup
  br label %383

196:                                              ; preds = %147
  %197 = landingpad { ptr, i32 }
          cleanup
  br label %383

198:                                              ; preds = %.lr.ph220, %380
  %indvars.iv231 = phi i64 [ 0, %.lr.ph220 ], [ %indvars.iv.next232, %380 ]
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %22) #10
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %23) #10
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %24) #10
  call void @_ZNSt6vectorIjSaIjEEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  %199 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 3) #10
  %200 = load ptr, ptr %199, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %25) #10
  %201 = load i32, ptr %175, align 8, !tbaa !19
  %202 = add i32 %201, -2
  %203 = trunc nuw i64 %indvars.iv231 to i32
  invoke void @_Z19calculateLocalIndexjPKjj(ptr dead_on_unwind nonnull writable sret(%"class.std::vector.8") align 8 %25, i32 noundef %203, ptr noundef nonnull %174, i32 noundef %202)
          to label %204 unwind label %206

204:                                              ; preds = %198
  %205 = call noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24) %24, ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %25) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #10
  br i1 %176, label %229, label %208

206:                                              ; preds = %198
  %207 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %25) #10
  br label %382

208:                                              ; preds = %204
  %209 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %22, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %.preheader206 unwind label %216

.preheader206:                                    ; preds = %208
  %210 = load i32, ptr %84, align 8, !tbaa !19
  %211 = icmp ugt i32 %210, 2
  br i1 %211, label %.lr.ph214, label %._crit_edge

._crit_edge:                                      ; preds = %225, %.preheader206
  %212 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  %213 = load i32, ptr %84, align 8, !tbaa !19
  %214 = add i32 %213, -2
  %215 = call noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef %212, ptr noundef nonnull %177, i32 noundef %214)
  br label %229

216:                                              ; preds = %230, %208
  %217 = landingpad { ptr, i32 }
          cleanup
  br label %382

.lr.ph214:                                        ; preds = %.preheader206, %225
  %indvars.iv = phi i64 [ %indvars.iv.next, %225 ], [ 2, %.preheader206 ]
  %218 = add nsw i64 %indvars.iv, -2
  %219 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %218) #10
  %220 = load i32, ptr %219, align 4, !tbaa !20
  %221 = getelementptr inbounds [20 x i32], ptr %132, i64 0, i64 %indvars.iv
  %222 = load i32, ptr %221, align 4, !tbaa !20
  %.not176 = icmp ult i32 %220, %222
  br i1 %.not176, label %225, label %223

223:                                              ; preds = %.lr.ph214
  %224 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %218) #10
  store i32 0, ptr %224, align 4, !tbaa !20
  br label %225

225:                                              ; preds = %.lr.ph214, %223
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %226 = load i32, ptr %84, align 8, !tbaa !19
  %227 = zext i32 %226 to i64
  %228 = icmp ult i64 %indvars.iv.next, %227
  br i1 %228, label %.lr.ph214, label %._crit_edge, !llvm.loop !24

229:                                              ; preds = %204, %._crit_edge
  %.0160 = phi i32 [ %215, %._crit_edge ], [ %203, %204 ]
  br i1 %178, label %249, label %230

230:                                              ; preds = %229
  %231 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24) %23, ptr noundef nonnull align 8 dereferenceable(24) %24)
          to label %.preheader unwind label %216

.preheader:                                       ; preds = %230
  %232 = load i32, ptr %179, align 8, !tbaa !19
  %233 = icmp ugt i32 %232, 2
  br i1 %233, label %.lr.ph216, label %._crit_edge217

._crit_edge217:                                   ; preds = %245, %.preheader
  %234 = call noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  %235 = load i32, ptr %179, align 8, !tbaa !19
  %236 = add i32 %235, -2
  %237 = call noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef %234, ptr noundef nonnull %180, i32 noundef %236)
  br label %249

.lr.ph216:                                        ; preds = %.preheader, %245
  %indvars.iv228 = phi i64 [ %indvars.iv.next229, %245 ], [ 2, %.preheader ]
  %238 = add nsw i64 %indvars.iv228, -2
  %239 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %238) #10
  %240 = load i32, ptr %239, align 4, !tbaa !20
  %241 = getelementptr inbounds [20 x i32], ptr %141, i64 0, i64 %indvars.iv228
  %242 = load i32, ptr %241, align 4, !tbaa !20
  %.not177 = icmp ult i32 %240, %242
  br i1 %.not177, label %245, label %243

243:                                              ; preds = %.lr.ph216
  %244 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24) %23, i64 noundef %238) #10
  store i32 0, ptr %244, align 4, !tbaa !20
  br label %245

245:                                              ; preds = %.lr.ph216, %243
  %indvars.iv.next229 = add nuw nsw i64 %indvars.iv228, 1
  %246 = load i32, ptr %179, align 8, !tbaa !19
  %247 = zext i32 %246 to i64
  %248 = icmp ult i64 %indvars.iv.next229, %247
  br i1 %248, label %.lr.ph216, label %._crit_edge217, !llvm.loop !25

249:                                              ; preds = %229, %._crit_edge217
  %.0159 = phi i32 [ %237, %._crit_edge217 ], [ %203, %229 ]
  %250 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 0) #10
  %251 = load ptr, ptr %250, align 8, !tbaa !21
  %252 = mul i32 %140, %.0160
  %253 = zext i32 %252 to i64
  %254 = getelementptr inbounds i8, ptr %251, i64 %253
  %255 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 1) #10
  %256 = load ptr, ptr %255, align 8, !tbaa !21
  %257 = mul i32 %149, %.0159
  %258 = zext i32 %257 to i64
  %259 = getelementptr inbounds i8, ptr %256, i64 %258
  %260 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %18, i64 noundef 2) #10
  %261 = load ptr, ptr %260, align 8, !tbaa !21
  %262 = mul i32 %158, %203
  %263 = zext i32 %262 to i64
  %264 = getelementptr inbounds i8, ptr %261, i64 %263
  %265 = load i32, ptr %183, align 4, !tbaa !20
  %266 = icmp eq i32 %265, 1
  br i1 %266, label %267, label %303

267:                                              ; preds = %249
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %26) #10
  %268 = load i32, ptr %10, align 8, !tbaa !11
  %269 = load i32, ptr %189, align 4, !tbaa !20
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %26, i32 noundef %268, i32 noundef %269)
          to label %270 unwind label %291

270:                                              ; preds = %267
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %27) #10
  %271 = load i32, ptr %12, align 8, !tbaa !11
  %272 = load i32, ptr %142, align 8, !tbaa !20
  %273 = load i32, ptr %141, align 4, !tbaa !20
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %27, i32 noundef %271, i32 noundef %190, i32 noundef %272, i32 noundef %273)
          to label %274 unwind label %293

274:                                              ; preds = %270
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %28) #10
  %275 = load i32, ptr %14, align 8, !tbaa !11
  %276 = load i32, ptr %150, align 4, !tbaa !20
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %28, i32 noundef %275, i32 noundef %276)
          to label %277 unwind label %295

277:                                              ; preds = %274
  %278 = load i32, ptr %7, align 8, !tbaa !5
  %279 = invoke i32 @matrix_vector_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %27, ptr noundef %259, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %26, ptr noundef %254, i32 noundef %37, ptr noundef %200, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %28, ptr noundef %264, ptr noundef null, i32 noundef %278)
          to label %280 unwind label %297

280:                                              ; preds = %277
  %.not196 = icmp eq i32 %279, 0
  br i1 %.not196, label %299, label %281

281:                                              ; preds = %280
  %282 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %283 = trunc i64 %282 to i32
  %284 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %283)
  %285 = load ptr, ptr @stdout, align 8, !tbaa !21
  %286 = call i32 @fflush(ptr noundef %285)
  %287 = call ptr @ee2str(i32 noundef %279)
  %288 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %287)
  %289 = load ptr, ptr @stdout, align 8, !tbaa !21
  %290 = call i32 @fflush(ptr noundef %289)
  call void @exit(i32 noundef 1) #11
  unreachable

291:                                              ; preds = %267
  %292 = landingpad { ptr, i32 }
          cleanup
  br label %302

293:                                              ; preds = %270
  %294 = landingpad { ptr, i32 }
          cleanup
  br label %301

295:                                              ; preds = %274
  %296 = landingpad { ptr, i32 }
          cleanup
  br label %300

297:                                              ; preds = %277
  %298 = landingpad { ptr, i32 }
          cleanup
  br label %300

299:                                              ; preds = %280
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %28) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %27) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %26) #10
  br label %380

300:                                              ; preds = %297, %295
  %.pn187 = phi { ptr, i32 } [ %298, %297 ], [ %296, %295 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %28) #10
  br label %301

301:                                              ; preds = %300, %293
  %.pn187.pn = phi { ptr, i32 } [ %.pn187, %300 ], [ %294, %293 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %27) #10
  br label %302

302:                                              ; preds = %301, %291
  %.pn187.pn.pn = phi { ptr, i32 } [ %.pn187.pn, %301 ], [ %292, %291 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %26) #10
  br label %382

303:                                              ; preds = %249
  %304 = load i32, ptr %185, align 4, !tbaa !20
  %305 = icmp eq i32 %304, 1
  br i1 %305, label %306, label %342

306:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %29) #10
  %307 = load i32, ptr %10, align 8, !tbaa !11
  %308 = load i32, ptr %133, align 8, !tbaa !20
  %309 = load i32, ptr %132, align 4, !tbaa !20
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %29, i32 noundef %307, i32 noundef %., i32 noundef %308, i32 noundef %309)
          to label %310 unwind label %330

310:                                              ; preds = %306
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %30) #10
  %311 = load i32, ptr %12, align 8, !tbaa !11
  %312 = load i32, ptr %187, align 4, !tbaa !20
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %30, i32 noundef %311, i32 noundef %312)
          to label %313 unwind label %332

313:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %31) #10
  %314 = load i32, ptr %14, align 8, !tbaa !11
  %315 = load i32, ptr %151, align 8, !tbaa !20
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %31, i32 noundef %314, i32 noundef %315)
          to label %316 unwind label %334

316:                                              ; preds = %313
  %317 = load i32, ptr %7, align 8, !tbaa !5
  %318 = invoke i32 @matrix_vector_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %29, ptr noundef %254, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %30, ptr noundef %259, i32 noundef %37, ptr noundef %200, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %31, ptr noundef %264, ptr noundef null, i32 noundef %317)
          to label %319 unwind label %336

319:                                              ; preds = %316
  %.not186 = icmp eq i32 %318, 0
  br i1 %.not186, label %338, label %320

320:                                              ; preds = %319
  %321 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %322 = trunc i64 %321 to i32
  %323 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %322)
  %324 = load ptr, ptr @stdout, align 8, !tbaa !21
  %325 = call i32 @fflush(ptr noundef %324)
  %326 = call ptr @ee2str(i32 noundef %318)
  %327 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %326)
  %328 = load ptr, ptr @stdout, align 8, !tbaa !21
  %329 = call i32 @fflush(ptr noundef %328)
  call void @exit(i32 noundef 1) #11
  unreachable

330:                                              ; preds = %306
  %331 = landingpad { ptr, i32 }
          cleanup
  br label %341

332:                                              ; preds = %310
  %333 = landingpad { ptr, i32 }
          cleanup
  br label %340

334:                                              ; preds = %313
  %335 = landingpad { ptr, i32 }
          cleanup
  br label %339

336:                                              ; preds = %316
  %337 = landingpad { ptr, i32 }
          cleanup
  br label %339

338:                                              ; preds = %319
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %31) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %30) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %29) #10
  br label %380

339:                                              ; preds = %336, %334
  %.pn182 = phi { ptr, i32 } [ %337, %336 ], [ %335, %334 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %31) #10
  br label %340

340:                                              ; preds = %339, %332
  %.pn182.pn = phi { ptr, i32 } [ %.pn182, %339 ], [ %333, %332 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %30) #10
  br label %341

341:                                              ; preds = %340, %330
  %.pn182.pn.pn = phi { ptr, i32 } [ %.pn182.pn, %340 ], [ %331, %330 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %29) #10
  br label %382

342:                                              ; preds = %303
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %32) #10
  %343 = load i32, ptr %10, align 8, !tbaa !11
  %344 = load i32, ptr %133, align 8, !tbaa !20
  %345 = load i32, ptr %132, align 4, !tbaa !20
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %32, i32 noundef %343, i32 noundef %., i32 noundef %344, i32 noundef %345)
          to label %346 unwind label %368

346:                                              ; preds = %342
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %33) #10
  %347 = load i32, ptr %12, align 8, !tbaa !11
  %348 = load i32, ptr %142, align 8, !tbaa !20
  %349 = load i32, ptr %141, align 4, !tbaa !20
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %33, i32 noundef %347, i32 noundef %.0162, i32 noundef %348, i32 noundef %349)
          to label %350 unwind label %370

350:                                              ; preds = %346
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %34) #10
  %351 = load i32, ptr %14, align 8, !tbaa !11
  %352 = load i32, ptr %151, align 8, !tbaa !20
  %353 = load i32, ptr %150, align 4, !tbaa !20
  invoke void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %34, i32 noundef %351, i32 noundef 14, i32 noundef %352, i32 noundef %353)
          to label %354 unwind label %372

354:                                              ; preds = %350
  %355 = load i32, ptr %7, align 8, !tbaa !5
  %356 = invoke i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %32, ptr noundef %254, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %33, ptr noundef %259, i32 noundef %37, ptr noundef %200, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %34, ptr noundef %264, ptr noundef null, i32 noundef %355)
          to label %357 unwind label %374

357:                                              ; preds = %354
  %.not181 = icmp eq i32 %356, 0
  br i1 %.not181, label %376, label %358

358:                                              ; preds = %357
  %359 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %360 = trunc i64 %359 to i32
  %361 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %360)
  %362 = load ptr, ptr @stdout, align 8, !tbaa !21
  %363 = call i32 @fflush(ptr noundef %362)
  %364 = call ptr @ee2str(i32 noundef %356)
  %365 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %364)
  %366 = load ptr, ptr @stdout, align 8, !tbaa !21
  %367 = call i32 @fflush(ptr noundef %366)
  call void @exit(i32 noundef 1) #11
  unreachable

368:                                              ; preds = %342
  %369 = landingpad { ptr, i32 }
          cleanup
  br label %379

370:                                              ; preds = %346
  %371 = landingpad { ptr, i32 }
          cleanup
  br label %378

372:                                              ; preds = %350
  %373 = landingpad { ptr, i32 }
          cleanup
  br label %377

374:                                              ; preds = %354
  %375 = landingpad { ptr, i32 }
          cleanup
  br label %377

376:                                              ; preds = %357
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %34) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %33) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %32) #10
  br label %380

377:                                              ; preds = %374, %372
  %.pn = phi { ptr, i32 } [ %375, %374 ], [ %373, %372 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %34) #10
  br label %378

378:                                              ; preds = %377, %370
  %.pn.pn = phi { ptr, i32 } [ %.pn, %377 ], [ %371, %370 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %33) #10
  br label %379

379:                                              ; preds = %378, %368
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %378 ], [ %369, %368 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %32) #10
  br label %382

380:                                              ; preds = %338, %376, %299
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  %indvars.iv.next232 = add nuw nsw i64 %indvars.iv231, 1
  %381 = icmp ult i64 %indvars.iv.next232, %191
  br i1 %381, label %198, label %._crit_edge221, !llvm.loop !26

382:                                              ; preds = %302, %341, %379, %216, %206
  %.pn187.pn.pn.pn.pn = phi { ptr, i32 } [ %217, %216 ], [ %207, %206 ], [ %.pn187.pn.pn, %302 ], [ %.pn182.pn.pn, %341 ], [ %.pn.pn.pn, %379 ]
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %24) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %24) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %23) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %23) #10
  call void @_ZNSt6vectorIjSaIjEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %22) #10
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %22) #10
  br label %383

383:                                              ; preds = %192, %196, %382, %194, %112, %114, %130, %110
  %.pn197.pn = phi { ptr, i32 } [ %131, %130 ], [ %111, %110 ], [ %115, %114 ], [ %113, %112 ], [ %193, %192 ], [ %195, %194 ], [ %.pn187.pn.pn.pn.pn, %382 ], [ %197, %196 ]
  call void @_ZNSt6vectorIPhSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %18) #10
  br label %384

384:                                              ; preds = %383, %108
  %.pn197.pn.pn = phi { ptr, i32 } [ %.pn197.pn, %383 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %18) #10
  br label %386

385:                                              ; preds = %64, %64, %46, %._crit_edge221
  %.0 = phi i32 [ 0, %._crit_edge221 ], [ 1, %46 ], [ 51, %64 ], [ 51, %64 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %14) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %12) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #10
  ret i32 %.0

386:                                              ; preds = %384, %62
  %.pn197.pn.pn.pn = phi { ptr, i32 } [ %.pn197.pn.pn, %384 ], [ %63, %62 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %14) #10
  br label %387

387:                                              ; preds = %386, %60
  %.pn197.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn197.pn.pn.pn, %386 ], [ %61, %60 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %12) #10
  br label %388

388:                                              ; preds = %387, %58
  %.pn197.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn197.pn.pn.pn.pn, %387 ], [ %59, %58 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #10
  br label %389

389:                                              ; preds = %388, %56
  %.pn197.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn197.pn.pn.pn.pn.pn, %388 ], [ %57, %56 ]
  resume { ptr, i32 } %.pn197.pn.pn.pn.pn.pn.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt6vectorI6TensorSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef i32 @_ZN6Tensor5bytesEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #7 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef, i32 noundef) local_unnamed_addr #8

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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_Z11useINT8Type8DataTypeS_S_i(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef float @_ZN6Tensor9get_scaleEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #5 align 2

declare noundef i32 @_Z15transformToNCHW10TensorDescPKvS_Pv(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef) local_unnamed_addr #9

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10UNI_MEMCPYPvPKvm(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z10UNI_MEMSETPvim(ptr noundef, i32 noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z7bytesOf8DataType(i32 noundef) local_unnamed_addr #8

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #4

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt6vectorIPhSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSEOS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

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

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorIjSaIjEEaSERKS1_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNSt6vectorIjSaIjEEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z20calculateGlobalIndexPKjS0_j(ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIjSaIjEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #5 align 2

declare i32 @matrix_vector_multiply(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #9

declare i32 @matrix_matrix_multiply(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #9

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

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

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

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

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


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