; LLVM IR from huawei-noah/bolt :: compute/tensor/tests/test_fully_connected.ll (Z18fullyConnectedTestiPPc8DataType)

; 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.ArchInfo = type { i32, ptr }
%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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl" }
%"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl" = type { %"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@_ZL15UT_CPU_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZL18UT_SERIAL_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z18fullyConnectedTestiPPc8DataType(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.TensorDesc, align 4
  %13 = alloca %struct.TensorDesc, align 4
  %14 = alloca %struct.TensorDesc, align 4
  %15 = alloca %class.Tensor, align 8
  %16 = alloca %struct.TensorDesc, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca %class.Tensor, align 8
  %21 = alloca %struct.TensorDesc, align 8
  %22 = alloca %class.Tensor, align 8
  %23 = alloca %struct.TensorDesc, align 8
  %24 = alloca ptr, align 8
  %25 = alloca %class.Tensor, align 8
  %26 = alloca %struct.TensorDesc, align 8
  %27 = alloca %class.Tensor, align 8
  %28 = alloca %struct.TensorDesc, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %class.Tensor, align 8
  %31 = alloca %struct.TensorDesc, align 8
  %32 = alloca %class.Tensor, align 8
  %33 = alloca i32, align 4
  %34 = alloca %class.Tensor, align 8
  %35 = alloca i32, align 4
  %36 = alloca %class.Tensor, align 8
  %37 = alloca %struct.TensorDesc, align 8
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %class.Tensor, align 8
  %41 = alloca %class.Tensor, align 8
  %42 = alloca %class.Tensor, align 8
  %43 = alloca i32, align 4
  %44 = alloca %class.Tensor, align 8
  %45 = alloca %struct.TensorDesc, align 8
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  %48 = alloca %class.Tensor, align 8
  %49 = alloca i32, align 4
  %50 = alloca %class.Tensor, align 8
  %51 = alloca %struct.TensorDesc, align 8
  %52 = alloca i32, align 4
  %53 = alloca %class.Tensor, align 8
  %54 = alloca %class.Tensor, align 8
  %55 = alloca i32, align 4
  %56 = alloca %"class.std::vector", align 8
  %57 = alloca %"class.std::allocator", align 1
  %58 = alloca i32, align 4
  %59 = alloca %class.Tensor, align 8
  %60 = alloca %class.Tensor, align 8
  %61 = alloca %class.Tensor, align 8
  %62 = alloca %"class.std::vector", align 8
  %63 = alloca %class.Tensor, align 8
  %64 = alloca i32, align 4
  %65 = alloca i32, align 4
  %66 = alloca %class.Tensor, align 8
  %67 = alloca %class.Tensor, align 8
  %68 = alloca %class.Tensor, align 8
  %69 = alloca %"class.std::vector", align 8
  %70 = alloca %class.Tensor, align 8
  %71 = alloca i32, align 4
  %72 = alloca %class.Tensor, align 8
  %73 = alloca %class.Tensor, align 8
  %74 = alloca double, align 8
  %75 = alloca i32, align 4
  %76 = alloca i32, align 4
  %77 = alloca %class.Tensor, align 8
  %78 = alloca %class.Tensor, align 8
  %79 = alloca %class.Tensor, align 8
  %80 = alloca %"class.std::vector", align 8
  %81 = alloca %class.Tensor, align 8
  %82 = alloca i32, align 4
  %83 = alloca double, align 8
  %84 = alloca double, align 8
  %85 = alloca [150 x i8], align 16
  %86 = alloca [120 x i8], align 16
  %87 = alloca double, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !11
  %88 = load i32, ptr %4, align 4, !tbaa !5
  %89 = icmp eq i32 %88, 4
  br i1 %89, label %100, label %90

90:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #11
  %91 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %92 = trunc i64 %91 to i32
  store i32 %92, ptr %7, align 4, !tbaa !5
  %93 = load i32, ptr %7, align 4, !tbaa !5
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %93)
  %95 = load ptr, ptr @stdout, align 8, !tbaa !9
  %96 = call i32 @fflush(ptr noundef %95)
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %98 = load ptr, ptr @stdout, align 8, !tbaa !9
  %99 = call i32 @fflush(ptr noundef %98)
  call void @exit(i32 noundef 1) #12
  unreachable

100:                                              ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #11
  %101 = load ptr, ptr %5, align 8, !tbaa !9
  %102 = getelementptr inbounds ptr, ptr %101, i64 1
  %103 = load ptr, ptr %102, align 8, !tbaa !9
  %104 = call i32 @atoi(ptr noundef %103) #13
  store i32 %104, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #11
  %105 = load ptr, ptr %5, align 8, !tbaa !9
  %106 = getelementptr inbounds ptr, ptr %105, i64 2
  %107 = load ptr, ptr %106, align 8, !tbaa !9
  %108 = call i32 @atoi(ptr noundef %107) #13
  store i32 %108, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #11
  %109 = load ptr, ptr %5, align 8, !tbaa !9
  %110 = getelementptr inbounds ptr, ptr %109, i64 3
  %111 = load ptr, ptr %110, align 8, !tbaa !9
  %112 = call i32 @atoi(ptr noundef %111) #13
  store i32 %112, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  store i32 13, ptr %11, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 92, ptr %12) #11
  %113 = load i32, ptr %6, align 4, !tbaa !11
  %114 = load i32, ptr %8, align 4, !tbaa !5
  %115 = load i32, ptr %9, align 4, !tbaa !5
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %12, i32 noundef %113, i32 noundef 0, i32 noundef %114, i32 noundef 1, i32 noundef 1, i32 noundef %115)
  call void @llvm.lifetime.start.p0(i64 92, ptr %13) #11
  %116 = load i32, ptr %6, align 4, !tbaa !11
  %117 = load i32, ptr %11, align 4, !tbaa !13
  %118 = load i32, ptr %10, align 4, !tbaa !5
  %119 = load i32, ptr %9, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %13, i32 noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %119)
  call void @llvm.lifetime.start.p0(i64 92, ptr %14) #11
  %120 = load i32, ptr %6, align 4, !tbaa !11
  %121 = load i32, ptr %10, align 4, !tbaa !5
  call void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %14, i32 noundef %120, i32 noundef %121)
  call void @llvm.lifetime.start.p0(i64 32, ptr %15) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %12, i64 92, i1 false), !tbaa.struct !15
  call void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %15, ptr noundef byval(%struct.TensorDesc) align 8 %16)
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #11
  %122 = load i32, ptr %8, align 4, !tbaa !5
  %123 = load i32, ptr %9, align 4, !tbaa !5
  %124 = mul i32 %122, %123
  %125 = load i32, ptr %6, align 4, !tbaa !11
  %126 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %124, i32 noundef %125, i32 noundef 0)
          to label %127 unwind label %183

127:                                              ; preds = %100
  store ptr %126, ptr %17, align 8, !tbaa !9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  %128 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %20, i32 noundef 1)
          to label %129 unwind label %187

129:                                              ; preds = %127
  %130 = load ptr, ptr %17, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %12, i64 92, i1 false), !tbaa.struct !15
  %131 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %21)
          to label %132 unwind label %187

132:                                              ; preds = %129
  %133 = zext i32 %131 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %128, ptr noundef %130, i64 noundef %133)
          to label %134 unwind label %187

134:                                              ; preds = %132
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %13, i64 92, i1 false), !tbaa.struct !15
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %22, ptr noundef byval(%struct.TensorDesc) align 8 %23)
          to label %135 unwind label %191

135:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #11
  %136 = load i32, ptr %9, align 4, !tbaa !5
  %137 = load i32, ptr %10, align 4, !tbaa !5
  %138 = mul i32 %136, %137
  %139 = load i32, ptr %6, align 4, !tbaa !11
  %140 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %138, i32 noundef %139, i32 noundef 0)
          to label %141 unwind label %195

141:                                              ; preds = %135
  store ptr %140, ptr %24, align 8, !tbaa !9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %142 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %25, i32 noundef 1)
          to label %143 unwind label %199

143:                                              ; preds = %141
  %144 = load ptr, ptr %24, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %13, i64 92, i1 false), !tbaa.struct !15
  %145 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %26)
          to label %146 unwind label %199

146:                                              ; preds = %143
  %147 = zext i32 %145 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %142, ptr noundef %144, i64 noundef %147)
          to label %148 unwind label %199

148:                                              ; preds = %146
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #11
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !15
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %27, ptr noundef byval(%struct.TensorDesc) align 8 %28)
          to label %149 unwind label %203

149:                                              ; preds = %148
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  %150 = load i32, ptr %10, align 4, !tbaa !5
  %151 = load i32, ptr %6, align 4, !tbaa !11
  %152 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %150, i32 noundef %151, i32 noundef 0)
          to label %153 unwind label %207

153:                                              ; preds = %149
  store ptr %152, ptr %29, align 8, !tbaa !9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  %154 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %30, i32 noundef 1)
          to label %155 unwind label %211

155:                                              ; preds = %153
  %156 = load ptr, ptr %29, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !15
  %157 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %31)
          to label %158 unwind label %211

158:                                              ; preds = %155
  %159 = zext i32 %157 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %154, ptr noundef %156, i64 noundef %159)
          to label %160 unwind label %211

160:                                              ; preds = %158
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %32) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %32, i32 noundef 1)
          to label %161 unwind label %215

161:                                              ; preds = %160
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %162 = invoke noundef i32 @_Z33fully_connected_infer_output_sizeP6TensorS_S0_P8ArchInfo(ptr noundef %15, ptr noundef %34, ptr noundef %32, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %163 unwind label %219

163:                                              ; preds = %161
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #11
  store i32 %162, ptr %33, align 4, !tbaa !17
  %164 = load i32, ptr %33, align 4, !tbaa !17
  %165 = icmp ne i32 %164, 0
  br i1 %165, label %166, label %227

166:                                              ; preds = %163
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #11
  %167 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %168 = trunc i64 %167 to i32
  store i32 %168, ptr %35, align 4, !tbaa !5
  %169 = load i32, ptr %35, align 4, !tbaa !5
  %170 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %169)
          to label %171 unwind label %223

171:                                              ; preds = %166
  %172 = load ptr, ptr @stdout, align 8, !tbaa !9
  %173 = invoke i32 @fflush(ptr noundef %172)
          to label %174 unwind label %223

174:                                              ; preds = %171
  %175 = load i32, ptr %33, align 4, !tbaa !17
  %176 = invoke ptr @ee2str(i32 noundef %175)
          to label %177 unwind label %223

177:                                              ; preds = %174
  %178 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %176)
          to label %179 unwind label %223

179:                                              ; preds = %177
  %180 = load ptr, ptr @stdout, align 8, !tbaa !9
  %181 = invoke i32 @fflush(ptr noundef %180)
          to label %182 unwind label %223

182:                                              ; preds = %179
  call void @exit(i32 noundef 1) #12
  unreachable

183:                                              ; preds = %100
  %184 = landingpad { ptr, i32 }
          cleanup
  %185 = extractvalue { ptr, i32 } %184, 0
  store ptr %185, ptr %18, align 8
  %186 = extractvalue { ptr, i32 } %184, 1
  store i32 %186, ptr %19, align 4
  br label %560

187:                                              ; preds = %132, %129, %127
  %188 = landingpad { ptr, i32 }
          cleanup
  %189 = extractvalue { ptr, i32 } %188, 0
  store ptr %189, ptr %18, align 8
  %190 = extractvalue { ptr, i32 } %188, 1
  store i32 %190, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  br label %560

191:                                              ; preds = %134
  %192 = landingpad { ptr, i32 }
          cleanup
  %193 = extractvalue { ptr, i32 } %192, 0
  store ptr %193, ptr %18, align 8
  %194 = extractvalue { ptr, i32 } %192, 1
  store i32 %194, ptr %19, align 4
  br label %559

195:                                              ; preds = %135
  %196 = landingpad { ptr, i32 }
          cleanup
  %197 = extractvalue { ptr, i32 } %196, 0
  store ptr %197, ptr %18, align 8
  %198 = extractvalue { ptr, i32 } %196, 1
  store i32 %198, ptr %19, align 4
  br label %558

199:                                              ; preds = %146, %143, %141
  %200 = landingpad { ptr, i32 }
          cleanup
  %201 = extractvalue { ptr, i32 } %200, 0
  store ptr %201, ptr %18, align 8
  %202 = extractvalue { ptr, i32 } %200, 1
  store i32 %202, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  br label %558

203:                                              ; preds = %148
  %204 = landingpad { ptr, i32 }
          cleanup
  %205 = extractvalue { ptr, i32 } %204, 0
  store ptr %205, ptr %18, align 8
  %206 = extractvalue { ptr, i32 } %204, 1
  store i32 %206, ptr %19, align 4
  br label %557

207:                                              ; preds = %149
  %208 = landingpad { ptr, i32 }
          cleanup
  %209 = extractvalue { ptr, i32 } %208, 0
  store ptr %209, ptr %18, align 8
  %210 = extractvalue { ptr, i32 } %208, 1
  store i32 %210, ptr %19, align 4
  br label %556

211:                                              ; preds = %158, %155, %153
  %212 = landingpad { ptr, i32 }
          cleanup
  %213 = extractvalue { ptr, i32 } %212, 0
  store ptr %213, ptr %18, align 8
  %214 = extractvalue { ptr, i32 } %212, 1
  store i32 %214, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #11
  br label %556

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

219:                                              ; preds = %161
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %18, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #11
  br label %252

223:                                              ; preds = %179, %177, %174, %171, %166
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %18, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #11
  br label %252

227:                                              ; preds = %163
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #11
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %228 unwind label %253

228:                                              ; preds = %227
  call void @llvm.lifetime.start.p0(i64 32, ptr %36) #11
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %37, ptr noundef nonnull align 8 dereferenceable(32) %32)
          to label %229 unwind label %257

229:                                              ; preds = %228
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %36, ptr noundef byval(%struct.TensorDesc) align 8 %37)
          to label %230 unwind label %257

230:                                              ; preds = %229
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  %231 = invoke noundef i32 @_Z39fully_connected_infer_forward_tmp_bytes6TensorS_S_PjP8ArchInfo(ptr noundef %40, ptr noundef %41, ptr noundef %42, ptr noundef %38, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %232 unwind label %261

232:                                              ; preds = %230
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #11
  store i32 %231, ptr %39, align 4, !tbaa !17
  %233 = load i32, ptr %39, align 4, !tbaa !17
  %234 = icmp ne i32 %233, 0
  br i1 %234, label %235, label %269

235:                                              ; preds = %232
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #11
  %236 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %237 = trunc i64 %236 to i32
  store i32 %237, ptr %43, align 4, !tbaa !5
  %238 = load i32, ptr %43, align 4, !tbaa !5
  %239 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %238)
          to label %240 unwind label %265

240:                                              ; preds = %235
  %241 = load ptr, ptr @stdout, align 8, !tbaa !9
  %242 = invoke i32 @fflush(ptr noundef %241)
          to label %243 unwind label %265

243:                                              ; preds = %240
  %244 = load i32, ptr %39, align 4, !tbaa !17
  %245 = invoke ptr @ee2str(i32 noundef %244)
          to label %246 unwind label %265

246:                                              ; preds = %243
  %247 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %245)
          to label %248 unwind label %265

248:                                              ; preds = %246
  %249 = load ptr, ptr @stdout, align 8, !tbaa !9
  %250 = invoke i32 @fflush(ptr noundef %249)
          to label %251 unwind label %265

251:                                              ; preds = %248
  call void @exit(i32 noundef 1) #12
  unreachable

252:                                              ; preds = %223, %219
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #11
  br label %554

253:                                              ; preds = %227
  %254 = landingpad { ptr, i32 }
          cleanup
  %255 = extractvalue { ptr, i32 } %254, 0
  store ptr %255, ptr %18, align 8
  %256 = extractvalue { ptr, i32 } %254, 1
  store i32 %256, ptr %19, align 4
  br label %554

257:                                              ; preds = %229, %228
  %258 = landingpad { ptr, i32 }
          cleanup
  %259 = extractvalue { ptr, i32 } %258, 0
  store ptr %259, ptr %18, align 8
  %260 = extractvalue { ptr, i32 } %258, 1
  store i32 %260, ptr %19, align 4
  br label %553

261:                                              ; preds = %230
  %262 = landingpad { ptr, i32 }
          cleanup
  %263 = extractvalue { ptr, i32 } %262, 0
  store ptr %263, ptr %18, align 8
  %264 = extractvalue { ptr, i32 } %262, 1
  store i32 %264, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #11
  br label %294

265:                                              ; preds = %248, %246, %243, %240, %235
  %266 = landingpad { ptr, i32 }
          cleanup
  %267 = extractvalue { ptr, i32 } %266, 0
  store ptr %267, ptr %18, align 8
  %268 = extractvalue { ptr, i32 } %266, 1
  store i32 %268, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #11
  br label %294

269:                                              ; preds = %232
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %44) #11
  %270 = load i32, ptr %38, align 4, !tbaa !5
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %45, i32 noundef 0, i32 noundef %270)
          to label %271 unwind label %295

271:                                              ; preds = %269
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %44, ptr noundef byval(%struct.TensorDesc) align 8 %45)
          to label %272 unwind label %295

272:                                              ; preds = %271
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %273 = invoke noundef i32 @_Z38fully_connected_transform_filter_bytes6TensorPvP8ArchInfo(ptr noundef %48, ptr noundef %46, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %274 unwind label %299

274:                                              ; preds = %272
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #11
  store i32 %273, ptr %47, align 4, !tbaa !17
  %275 = load i32, ptr %47, align 4, !tbaa !17
  %276 = icmp ne i32 %275, 0
  br i1 %276, label %277, label %307

277:                                              ; preds = %274
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #11
  %278 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %279 = trunc i64 %278 to i32
  store i32 %279, ptr %49, align 4, !tbaa !5
  %280 = load i32, ptr %49, align 4, !tbaa !5
  %281 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %280)
          to label %282 unwind label %303

282:                                              ; preds = %277
  %283 = load ptr, ptr @stdout, align 8, !tbaa !9
  %284 = invoke i32 @fflush(ptr noundef %283)
          to label %285 unwind label %303

285:                                              ; preds = %282
  %286 = load i32, ptr %47, align 4, !tbaa !17
  %287 = invoke ptr @ee2str(i32 noundef %286)
          to label %288 unwind label %303

288:                                              ; preds = %285
  %289 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %287)
          to label %290 unwind label %303

290:                                              ; preds = %288
  %291 = load ptr, ptr @stdout, align 8, !tbaa !9
  %292 = invoke i32 @fflush(ptr noundef %291)
          to label %293 unwind label %303

293:                                              ; preds = %290
  call void @exit(i32 noundef 1) #12
  unreachable

294:                                              ; preds = %265, %261
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #11
  br label %552

295:                                              ; preds = %271, %269
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %18, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %19, align 4
  br label %551

299:                                              ; preds = %272
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %18, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #11
  br label %332

303:                                              ; preds = %290, %288, %285, %282, %277
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %18, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #11
  br label %332

307:                                              ; preds = %274
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr %50) #11
  %308 = load i32, ptr %46, align 4, !tbaa !5
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %51, i32 noundef 0, i32 noundef %308)
          to label %309 unwind label %333

309:                                              ; preds = %307
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %50, ptr noundef byval(%struct.TensorDesc) align 8 %51)
          to label %310 unwind label %333

310:                                              ; preds = %309
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %311 = invoke noundef i32 @_Z32fully_connected_transform_filter6TensorS_PS_P8ArchInfo(ptr noundef %53, ptr noundef %54, ptr noundef %50, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %312 unwind label %337

312:                                              ; preds = %310
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #11
  store i32 %311, ptr %52, align 4, !tbaa !17
  %313 = load i32, ptr %52, align 4, !tbaa !17
  %314 = icmp ne i32 %313, 0
  br i1 %314, label %315, label %345

315:                                              ; preds = %312
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #11
  %316 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %317 = trunc i64 %316 to i32
  store i32 %317, ptr %55, align 4, !tbaa !5
  %318 = load i32, ptr %55, align 4, !tbaa !5
  %319 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %318)
          to label %320 unwind label %341

320:                                              ; preds = %315
  %321 = load ptr, ptr @stdout, align 8, !tbaa !9
  %322 = invoke i32 @fflush(ptr noundef %321)
          to label %323 unwind label %341

323:                                              ; preds = %320
  %324 = load i32, ptr %52, align 4, !tbaa !17
  %325 = invoke ptr @ee2str(i32 noundef %324)
          to label %326 unwind label %341

326:                                              ; preds = %323
  %327 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %325)
          to label %328 unwind label %341

328:                                              ; preds = %326
  %329 = load ptr, ptr @stdout, align 8, !tbaa !9
  %330 = invoke i32 @fflush(ptr noundef %329)
          to label %331 unwind label %341

331:                                              ; preds = %328
  call void @exit(i32 noundef 1) #12
  unreachable

332:                                              ; preds = %303, %299
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #11
  br label %550

333:                                              ; preds = %309, %307
  %334 = landingpad { ptr, i32 }
          cleanup
  %335 = extractvalue { ptr, i32 } %334, 0
  store ptr %335, ptr %18, align 8
  %336 = extractvalue { ptr, i32 } %334, 1
  store i32 %336, ptr %19, align 4
  br label %549

337:                                              ; preds = %310
  %338 = landingpad { ptr, i32 }
          cleanup
  %339 = extractvalue { ptr, i32 } %338, 0
  store ptr %339, ptr %18, align 8
  %340 = extractvalue { ptr, i32 } %338, 1
  store i32 %340, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #11
  br label %369

341:                                              ; preds = %328, %326, %323, %320, %315
  %342 = landingpad { ptr, i32 }
          cleanup
  %343 = extractvalue { ptr, i32 } %342, 0
  store ptr %343, ptr %18, align 8
  %344 = extractvalue { ptr, i32 } %342, 1
  store i32 %344, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %55) #11
  br label %369

345:                                              ; preds = %312
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #11
  call void @llvm.lifetime.start.p0(i64 24, ptr %56) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %57) #11
  call void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #11
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2EmRKS0_RKS1_(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %346 unwind label %370

346:                                              ; preds = %345
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %59, ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %50) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %62, ptr noundef nonnull align 8 dereferenceable(24) %56)
          to label %347 unwind label %374

347:                                              ; preds = %346
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %63, ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  %348 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62, ptr noundef %63, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %349 unwind label %378

349:                                              ; preds = %347
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #11
  store i32 %348, ptr %58, align 4, !tbaa !17
  %350 = load i32, ptr %58, align 4, !tbaa !17
  %351 = icmp ne i32 %350, 0
  br i1 %351, label %352, label %387

352:                                              ; preds = %349
  call void @llvm.lifetime.start.p0(i64 4, ptr %64) #11
  %353 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %354 = trunc i64 %353 to i32
  store i32 %354, ptr %64, align 4, !tbaa !5
  %355 = load i32, ptr %64, align 4, !tbaa !5
  %356 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %355)
          to label %357 unwind label %383

357:                                              ; preds = %352
  %358 = load ptr, ptr @stdout, align 8, !tbaa !9
  %359 = invoke i32 @fflush(ptr noundef %358)
          to label %360 unwind label %383

360:                                              ; preds = %357
  %361 = load i32, ptr %58, align 4, !tbaa !17
  %362 = invoke ptr @ee2str(i32 noundef %361)
          to label %363 unwind label %383

363:                                              ; preds = %360
  %364 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %362)
          to label %365 unwind label %383

365:                                              ; preds = %363
  %366 = load ptr, ptr @stdout, align 8, !tbaa !9
  %367 = invoke i32 @fflush(ptr noundef %366)
          to label %368 unwind label %383

368:                                              ; preds = %365
  call void @exit(i32 noundef 1) #12
  unreachable

369:                                              ; preds = %341, %337
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #11
  br label %548

370:                                              ; preds = %345
  %371 = landingpad { ptr, i32 }
          cleanup
  %372 = extractvalue { ptr, i32 } %371, 0
  store ptr %372, ptr %18, align 8
  %373 = extractvalue { ptr, i32 } %371, 1
  store i32 %373, ptr %19, align 4
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %57) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %57) #11
  br label %547

374:                                              ; preds = %346
  %375 = landingpad { ptr, i32 }
          cleanup
  %376 = extractvalue { ptr, i32 } %375, 0
  store ptr %376, ptr %18, align 8
  %377 = extractvalue { ptr, i32 } %375, 1
  store i32 %377, ptr %19, align 4
  br label %382

378:                                              ; preds = %347
  %379 = landingpad { ptr, i32 }
          cleanup
  %380 = extractvalue { ptr, i32 } %379, 0
  store ptr %380, ptr %18, align 8
  %381 = extractvalue { ptr, i32 } %379, 1
  store i32 %381, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %63) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %62) #11
  br label %382

382:                                              ; preds = %378, %374
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %61) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %60) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %59) #11
  br label %410

383:                                              ; preds = %365, %363, %360, %357, %352
  %384 = landingpad { ptr, i32 }
          cleanup
  %385 = extractvalue { ptr, i32 } %384, 0
  store ptr %385, ptr %18, align 8
  %386 = extractvalue { ptr, i32 } %384, 1
  store i32 %386, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %64) #11
  br label %410

387:                                              ; preds = %349
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %66, ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull align 8 dereferenceable(32) %50) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %69, ptr noundef nonnull align 8 dereferenceable(24) %56)
          to label %388 unwind label %411

388:                                              ; preds = %387
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %70, ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  %389 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef %66, ptr noundef %67, ptr noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef @_ZL18UT_SERIAL_ARCHINFO)
          to label %390 unwind label %415

390:                                              ; preds = %388
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #11
  store i32 %389, ptr %65, align 4, !tbaa !17
  %391 = load i32, ptr %65, align 4, !tbaa !17
  %392 = icmp ne i32 %391, 0
  br i1 %392, label %393, label %424

393:                                              ; preds = %390
  call void @llvm.lifetime.start.p0(i64 4, ptr %71) #11
  %394 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %395 = trunc i64 %394 to i32
  store i32 %395, ptr %71, align 4, !tbaa !5
  %396 = load i32, ptr %71, align 4, !tbaa !5
  %397 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %396)
          to label %398 unwind label %420

398:                                              ; preds = %393
  %399 = load ptr, ptr @stdout, align 8, !tbaa !9
  %400 = invoke i32 @fflush(ptr noundef %399)
          to label %401 unwind label %420

401:                                              ; preds = %398
  %402 = load i32, ptr %65, align 4, !tbaa !17
  %403 = invoke ptr @ee2str(i32 noundef %402)
          to label %404 unwind label %420

404:                                              ; preds = %401
  %405 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %403)
          to label %406 unwind label %420

406:                                              ; preds = %404
  %407 = load ptr, ptr @stdout, align 8, !tbaa !9
  %408 = invoke i32 @fflush(ptr noundef %407)
          to label %409 unwind label %420

409:                                              ; preds = %406
  call void @exit(i32 noundef 1) #12
  unreachable

410:                                              ; preds = %383, %382
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #11
  br label %546

411:                                              ; preds = %387
  %412 = landingpad { ptr, i32 }
          cleanup
  %413 = extractvalue { ptr, i32 } %412, 0
  store ptr %413, ptr %18, align 8
  %414 = extractvalue { ptr, i32 } %412, 1
  store i32 %414, ptr %19, align 4
  br label %419

415:                                              ; preds = %388
  %416 = landingpad { ptr, i32 }
          cleanup
  %417 = extractvalue { ptr, i32 } %416, 0
  store ptr %417, ptr %18, align 8
  %418 = extractvalue { ptr, i32 } %416, 1
  store i32 %418, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %70) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %69) #11
  br label %419

419:                                              ; preds = %415, %411
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %68) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %67) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %66) #11
  br label %440

420:                                              ; preds = %406, %404, %401, %398, %393
  %421 = landingpad { ptr, i32 }
          cleanup
  %422 = extractvalue { ptr, i32 } %421, 0
  store ptr %422, ptr %18, align 8
  %423 = extractvalue { ptr, i32 } %421, 1
  store i32 %423, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %71) #11
  br label %440

424:                                              ; preds = %390
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %72, ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  %425 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %72, i32 noundef 1)
          to label %426 unwind label %441

426:                                              ; preds = %424
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  %427 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %73, i32 noundef 1)
          to label %428 unwind label %445

428:                                              ; preds = %426
  %429 = load i32, ptr %8, align 4, !tbaa !5
  %430 = load i32, ptr %10, align 4, !tbaa !5
  %431 = mul i32 %429, %430
  %432 = load i32, ptr %6, align 4, !tbaa !11
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %425, ptr noundef %427, i32 noundef %431, i32 noundef %432, float noundef 1.000000e+00)
          to label %433 unwind label %445

433:                                              ; preds = %428
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #11
  %434 = invoke noundef double @_Z10ut_time_msv()
          to label %435 unwind label %450

435:                                              ; preds = %433
  store double %434, ptr %74, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 4, ptr %75) #11
  store i32 0, ptr %75, align 4, !tbaa !5
  br label %436

436:                                              ; preds = %491, %435
  %437 = load i32, ptr %75, align 4, !tbaa !5
  %438 = icmp slt i32 %437, 6
  br i1 %438, label %454, label %439

439:                                              ; preds = %436
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #11
  br label %495

440:                                              ; preds = %420, %419
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #11
  br label %546

441:                                              ; preds = %424
  %442 = landingpad { ptr, i32 }
          cleanup
  %443 = extractvalue { ptr, i32 } %442, 0
  store ptr %443, ptr %18, align 8
  %444 = extractvalue { ptr, i32 } %442, 1
  store i32 %444, ptr %19, align 4
  br label %449

445:                                              ; preds = %428, %426
  %446 = landingpad { ptr, i32 }
          cleanup
  %447 = extractvalue { ptr, i32 } %446, 0
  store ptr %447, ptr %18, align 8
  %448 = extractvalue { ptr, i32 } %446, 1
  store i32 %448, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #11
  br label %449

449:                                              ; preds = %445, %441
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %72) #11
  br label %546

450:                                              ; preds = %433
  %451 = landingpad { ptr, i32 }
          cleanup
  %452 = extractvalue { ptr, i32 } %451, 0
  store ptr %452, ptr %18, align 8
  %453 = extractvalue { ptr, i32 } %451, 1
  store i32 %453, ptr %19, align 4
  br label %545

454:                                              ; preds = %436
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %77, ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(32) %50) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %80, ptr noundef nonnull align 8 dereferenceable(24) %56)
          to label %455 unwind label %477

455:                                              ; preds = %454
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %81, ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  %456 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef %77, ptr noundef %78, ptr noundef %79, ptr noundef %80, ptr noundef %81, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %457 unwind label %481

457:                                              ; preds = %455
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %80) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #11
  store i32 %456, ptr %76, align 4, !tbaa !17
  %458 = load i32, ptr %76, align 4, !tbaa !17
  %459 = icmp ne i32 %458, 0
  br i1 %459, label %460, label %490

460:                                              ; preds = %457
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #11
  %461 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %462 = trunc i64 %461 to i32
  store i32 %462, ptr %82, align 4, !tbaa !5
  %463 = load i32, ptr %82, align 4, !tbaa !5
  %464 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %463)
          to label %465 unwind label %486

465:                                              ; preds = %460
  %466 = load ptr, ptr @stdout, align 8, !tbaa !9
  %467 = invoke i32 @fflush(ptr noundef %466)
          to label %468 unwind label %486

468:                                              ; preds = %465
  %469 = load i32, ptr %76, align 4, !tbaa !17
  %470 = invoke ptr @ee2str(i32 noundef %469)
          to label %471 unwind label %486

471:                                              ; preds = %468
  %472 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %470)
          to label %473 unwind label %486

473:                                              ; preds = %471
  %474 = load ptr, ptr @stdout, align 8, !tbaa !9
  %475 = invoke i32 @fflush(ptr noundef %474)
          to label %476 unwind label %486

476:                                              ; preds = %473
  call void @exit(i32 noundef 1) #12
  unreachable

477:                                              ; preds = %454
  %478 = landingpad { ptr, i32 }
          cleanup
  %479 = extractvalue { ptr, i32 } %478, 0
  store ptr %479, ptr %18, align 8
  %480 = extractvalue { ptr, i32 } %478, 1
  store i32 %480, ptr %19, align 4
  br label %485

481:                                              ; preds = %455
  %482 = landingpad { ptr, i32 }
          cleanup
  %483 = extractvalue { ptr, i32 } %482, 0
  store ptr %483, ptr %18, align 8
  %484 = extractvalue { ptr, i32 } %482, 1
  store i32 %484, ptr %19, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %81) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %80) #11
  br label %485

485:                                              ; preds = %481, %477
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %79) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %78) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %77) #11
  br label %494

486:                                              ; preds = %473, %471, %468, %465, %460
  %487 = landingpad { ptr, i32 }
          cleanup
  %488 = extractvalue { ptr, i32 } %487, 0
  store ptr %488, ptr %18, align 8
  %489 = extractvalue { ptr, i32 } %487, 1
  store i32 %489, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #11
  br label %494

490:                                              ; preds = %457
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #11
  br label %491

491:                                              ; preds = %490
  %492 = load i32, ptr %75, align 4, !tbaa !5
  %493 = add nsw i32 %492, 1
  store i32 %493, ptr %75, align 4, !tbaa !5
  br label %436, !llvm.loop !21

494:                                              ; preds = %486, %485
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %75) #11
  br label %545

495:                                              ; preds = %439
  call void @llvm.lifetime.start.p0(i64 8, ptr %83) #11
  %496 = invoke noundef double @_Z10ut_time_msv()
          to label %497 unwind label %536

497:                                              ; preds = %495
  store double %496, ptr %83, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #11
  %498 = load double, ptr %83, align 8, !tbaa !19
  %499 = load double, ptr %74, align 8, !tbaa !19
  %500 = fsub double %498, %499
  %501 = fdiv double %500, 6.000000e+00
  store double %501, ptr %84, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 150, ptr %85) #11
  call void @llvm.lifetime.start.p0(i64 120, ptr %86) #11
  %502 = getelementptr inbounds [120 x i8], ptr %86, i64 0, i64 0
  %503 = load i32, ptr %8, align 4, !tbaa !5
  %504 = load i32, ptr %9, align 4, !tbaa !5
  %505 = load i32, ptr %9, align 4, !tbaa !5
  %506 = load i32, ptr %10, align 4, !tbaa !5
  %507 = load i32, ptr %8, align 4, !tbaa !5
  %508 = load i32, ptr %10, align 4, !tbaa !5
  %509 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %502, ptr noundef @.str.3, i32 noundef %503, i32 noundef %504, i32 noundef %505, i32 noundef %506, i32 noundef %507, i32 noundef %508) #11
  %510 = getelementptr inbounds [150 x i8], ptr %85, i64 0, i64 0
  %511 = getelementptr inbounds [120 x i8], ptr %86, i64 0, i64 0
  %512 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %510, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %511) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %87) #11
  %513 = load i32, ptr %8, align 4, !tbaa !5
  %514 = uitofp i32 %513 to double
  %515 = fmul double 2.000000e+00, %514
  %516 = load i32, ptr %10, align 4, !tbaa !5
  %517 = uitofp i32 %516 to double
  %518 = fmul double %515, %517
  %519 = load i32, ptr %9, align 4, !tbaa !5
  %520 = uitofp i32 %519 to double
  %521 = load i32, ptr %8, align 4, !tbaa !5
  %522 = uitofp i32 %521 to double
  %523 = fmul double 1.000000e+00, %522
  %524 = load i32, ptr %10, align 4, !tbaa !5
  %525 = uitofp i32 %524 to double
  %526 = fmul double %523, %525
  %527 = call double @llvm.fmuladd.f64(double %518, double %520, double %526)
  store double %527, ptr %87, align 8, !tbaa !19
  %528 = load i32, ptr %6, align 4, !tbaa !11
  %529 = getelementptr inbounds [150 x i8], ptr %85, i64 0, i64 0
  %530 = load double, ptr %87, align 8, !tbaa !19
  %531 = load double, ptr %84, align 8, !tbaa !19
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %528, ptr noundef %529, double noundef %530, double noundef %531)
          to label %532 unwind label %540

532:                                              ; preds = %497
  %533 = load ptr, ptr %17, align 8, !tbaa !9
  call void @free(ptr noundef %533) #11
  %534 = load ptr, ptr %24, align 8, !tbaa !9
  call void @free(ptr noundef %534) #11
  %535 = load ptr, ptr %29, align 8, !tbaa !9
  call void @free(ptr noundef %535) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #11
  call void @llvm.lifetime.end.p0(i64 120, ptr %86) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr %85) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #11
  call void @llvm.lifetime.end.p0(i64 24, ptr %56) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  ret i32 0

536:                                              ; preds = %495
  %537 = landingpad { ptr, i32 }
          cleanup
  %538 = extractvalue { ptr, i32 } %537, 0
  store ptr %538, ptr %18, align 8
  %539 = extractvalue { ptr, i32 } %537, 1
  store i32 %539, ptr %19, align 4
  br label %544

540:                                              ; preds = %497
  %541 = landingpad { ptr, i32 }
          cleanup
  %542 = extractvalue { ptr, i32 } %541, 0
  store ptr %542, ptr %18, align 8
  %543 = extractvalue { ptr, i32 } %541, 1
  store i32 %543, ptr %19, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %87) #11
  call void @llvm.lifetime.end.p0(i64 120, ptr %86) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr %85) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #11
  br label %544

544:                                              ; preds = %540, %536
  call void @llvm.lifetime.end.p0(i64 8, ptr %83) #11
  br label %545

545:                                              ; preds = %544, %494, %450
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #11
  br label %546

546:                                              ; preds = %545, %449, %440, %410
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #11
  br label %547

547:                                              ; preds = %546, %370
  call void @llvm.lifetime.end.p0(i64 24, ptr %56) #11
  br label %548

548:                                              ; preds = %547, %369
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #11
  br label %549

549:                                              ; preds = %548, %333
  call void @llvm.lifetime.end.p0(i64 32, ptr %50) #11
  br label %550

550:                                              ; preds = %549, %332
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #11
  br label %551

551:                                              ; preds = %550, %295
  call void @llvm.lifetime.end.p0(i64 32, ptr %44) #11
  br label %552

552:                                              ; preds = %551, %294
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #11
  br label %553

553:                                              ; preds = %552, %257
  call void @llvm.lifetime.end.p0(i64 32, ptr %36) #11
  br label %554

554:                                              ; preds = %553, %253, %252
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #11
  br label %555

555:                                              ; preds = %554, %215
  call void @llvm.lifetime.end.p0(i64 32, ptr %32) #11
  br label %556

556:                                              ; preds = %555, %211, %207
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #11
  br label %557

557:                                              ; preds = %556, %203
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #11
  br label %558

558:                                              ; preds = %557, %199, %195
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  br label %559

559:                                              ; preds = %558, %191
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #11
  br label %560

560:                                              ; preds = %559, %187, %183
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %15) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %14) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %13) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %12) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #11
  br label %561

561:                                              ; preds = %560
  %562 = load ptr, ptr %18, align 8
  %563 = load i32, ptr %19, align 4
  %564 = insertvalue { ptr, i32 } poison, ptr %562, 0
  %565 = insertvalue { ptr, i32 } %564, i32 %563, 1
  resume { ptr, i32 } %565
}

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

; Function Attrs: nounwind
declare i64 @syscall(i64 noundef, ...) #2

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

declare i32 @fflush(ptr noundef) #3

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

; Function Attrs: inlinehint mustprogress nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr noundef nonnull) #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind noalias writable sret(%class.Tensor) align 8, ptr noundef byval(%struct.TensorDesc) align 8) #0 align 2

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare noundef i32 @_Z33fully_connected_infer_output_sizeP6TensorS_S0_P8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

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

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

declare noundef i32 @_Z39fully_connected_infer_forward_tmp_bytes6TensorS_S_PjP8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

declare noundef i32 @_Z38fully_connected_transform_filter_bytes6TensorPvP8ArchInfo(ptr noundef, ptr noundef, ptr noundef) #3

declare noundef i32 @_Z32fully_connected_transform_filter6TensorS_PS_P8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

declare noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #3

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef) #7

declare noundef double @_Z10ut_time_msv() #3

; Function Attrs: nounwind
declare i32 @sprintf(ptr noundef, ptr noundef, ...) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #10

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z6ut_log8DataTypePcdd(i32 noundef, ptr noundef, double noundef, double noundef) #7

; Function Attrs: nounwind
declare void @free(ptr noundef) #2

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

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

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

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


; 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.ArchInfo = type { i32, ptr }
%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" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl" }
%"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl" = type { %"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Tensor, std::allocator<Tensor>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external local_unnamed_addr global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [23 x i8], align 1
@_ZL15UT_CPU_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@_ZL18UT_SERIAL_ARCHINFO = external hidden global %struct.ArchInfo, align 8
@.str.3 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [13 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z18fullyConnectedTestiPPc8DataType(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.TensorDesc, align 8
  %5 = alloca %struct.TensorDesc, align 8
  %6 = alloca %struct.TensorDesc, align 8
  %7 = alloca %class.Tensor, align 8
  %8 = alloca %class.Tensor, align 8
  %9 = alloca %class.Tensor, align 8
  %10 = alloca %class.Tensor, align 8
  %11 = alloca %class.Tensor, align 8
  %12 = alloca %class.Tensor, align 8
  %13 = alloca %class.Tensor, align 8
  %14 = alloca %class.Tensor, align 8
  %15 = alloca %class.Tensor, align 8
  %16 = alloca %struct.TensorDesc, align 8
  %17 = alloca i32, align 4
  %18 = alloca %class.Tensor, align 8
  %19 = alloca %class.Tensor, align 8
  %20 = alloca %class.Tensor, align 8
  %21 = alloca %class.Tensor, align 8
  %22 = alloca %struct.TensorDesc, align 8
  %23 = alloca i32, align 4
  %24 = alloca %class.Tensor, align 8
  %25 = alloca %class.Tensor, align 8
  %26 = alloca %struct.TensorDesc, align 8
  %27 = alloca %class.Tensor, align 8
  %28 = alloca %class.Tensor, align 8
  %29 = alloca %"class.std::vector", align 8
  %30 = alloca %"class.std::allocator", align 1
  %31 = alloca %class.Tensor, align 8
  %32 = alloca %class.Tensor, align 8
  %33 = alloca %class.Tensor, align 8
  %34 = alloca %"class.std::vector", align 8
  %35 = alloca %class.Tensor, align 8
  %36 = alloca %class.Tensor, align 8
  %37 = alloca %class.Tensor, align 8
  %38 = alloca %class.Tensor, align 8
  %39 = alloca %"class.std::vector", align 8
  %40 = alloca %class.Tensor, align 8
  %41 = alloca %class.Tensor, align 8
  %42 = alloca %class.Tensor, align 8
  %43 = alloca %class.Tensor, align 8
  %44 = alloca %class.Tensor, align 8
  %45 = alloca %class.Tensor, align 8
  %46 = alloca %"class.std::vector", align 8
  %47 = alloca %class.Tensor, align 8
  %48 = alloca [150 x i8], align 16
  %49 = alloca [120 x i8], align 16
  %50 = icmp eq i32 %0, 4
  br i1 %50, label %60, label %51

51:                                               ; preds = %3
  %52 = tail call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %53 = trunc i64 %52 to i32
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %53)
  %55 = load ptr, ptr @stdout, align 8, !tbaa !5
  %56 = tail call i32 @fflush(ptr noundef %55)
  %57 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %58 = load ptr, ptr @stdout, align 8, !tbaa !5
  %59 = tail call i32 @fflush(ptr noundef %58)
  tail call void @exit(i32 noundef 1) #13
  unreachable

60:                                               ; preds = %3
  %61 = getelementptr inbounds i8, ptr %1, i64 8
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = tail call i32 @atoi(ptr nocapture noundef %62) #14
  %64 = getelementptr inbounds i8, ptr %1, i64 16
  %65 = load ptr, ptr %64, align 8, !tbaa !5
  %66 = tail call i32 @atoi(ptr nocapture noundef %65) #14
  %67 = getelementptr inbounds i8, ptr %1, i64 24
  %68 = load ptr, ptr %67, align 8, !tbaa !5
  %69 = tail call i32 @atoi(ptr nocapture noundef %68) #14
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %4) #12
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %4, i32 noundef %2, i32 noundef 0, i32 noundef %63, i32 noundef 1, i32 noundef 1, i32 noundef %66)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %5) #12
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %5, i32 noundef %2, i32 noundef 13, i32 noundef %69, i32 noundef %66)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %6) #12
  call void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %6, i32 noundef %2, i32 noundef %69)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #12
  call void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %7, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
  %70 = mul i32 %66, %63
  %71 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %70, i32 noundef %2, i32 noundef 0)
          to label %72 unwind label %111

72:                                               ; preds = %60
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  %73 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %8, i32 noundef 1)
          to label %74 unwind label %113

74:                                               ; preds = %72
  %75 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
          to label %76 unwind label %113

76:                                               ; preds = %74
  %77 = zext i32 %75 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %73, ptr noundef %71, i64 noundef %77)
          to label %78 unwind label %113

78:                                               ; preds = %76
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #12
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %9, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %5)
          to label %79 unwind label %115

79:                                               ; preds = %78
  %80 = mul i32 %69, %66
  %81 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %80, i32 noundef %2, i32 noundef 0)
          to label %82 unwind label %117

82:                                               ; preds = %79
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  %83 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %10, i32 noundef 1)
          to label %84 unwind label %119

84:                                               ; preds = %82
  %85 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %5)
          to label %86 unwind label %119

86:                                               ; preds = %84
  %87 = zext i32 %85 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %83, ptr noundef %81, i64 noundef %87)
          to label %88 unwind label %119

88:                                               ; preds = %86
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #12
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %11, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %6)
          to label %89 unwind label %121

89:                                               ; preds = %88
  %90 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %69, i32 noundef %2, i32 noundef 0)
          to label %91 unwind label %123

91:                                               ; preds = %89
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %92 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %12, i32 noundef 1)
          to label %93 unwind label %125

93:                                               ; preds = %91
  %94 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %6)
          to label %95 unwind label %125

95:                                               ; preds = %93
  %96 = zext i32 %94 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %92, ptr noundef %90, i64 noundef %96)
          to label %97 unwind label %125

97:                                               ; preds = %95
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %13) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %13, i32 noundef 1)
          to label %98 unwind label %127

98:                                               ; preds = %97
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  %99 = invoke noundef i32 @_Z33fully_connected_infer_output_sizeP6TensorS_S0_P8ArchInfo(ptr noundef nonnull %7, ptr noundef nonnull %14, ptr noundef nonnull %13, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %100 unwind label %129

100:                                              ; preds = %98
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #12
  %.not = icmp eq i32 %99, 0
  br i1 %.not, label %131, label %101

101:                                              ; preds = %100
  %102 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %103 = trunc i64 %102 to i32
  %104 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %103)
  %105 = load ptr, ptr @stdout, align 8, !tbaa !5
  %106 = call i32 @fflush(ptr noundef %105)
  %107 = call ptr @ee2str(i32 noundef %99)
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %107)
  %109 = load ptr, ptr @stdout, align 8, !tbaa !5
  %110 = call i32 @fflush(ptr noundef %109)
  call void @exit(i32 noundef 1) #13
  unreachable

111:                                              ; preds = %60
  %112 = landingpad { ptr, i32 }
          cleanup
  br label %315

113:                                              ; preds = %76, %74, %72
  %114 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #12
  br label %315

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

117:                                              ; preds = %79
  %118 = landingpad { ptr, i32 }
          cleanup
  br label %313

119:                                              ; preds = %86, %84, %82
  %120 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #12
  br label %313

121:                                              ; preds = %88
  %122 = landingpad { ptr, i32 }
          cleanup
  br label %312

123:                                              ; preds = %89
  %124 = landingpad { ptr, i32 }
          cleanup
  br label %311

125:                                              ; preds = %95, %93, %91
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  br label %311

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

129:                                              ; preds = %98
  %130 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #12
  br label %309

131:                                              ; preds = %100
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %132 unwind label %147

132:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %15) #12
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %16, ptr noundef nonnull align 8 dereferenceable(32) %13)
          to label %133 unwind label %149

133:                                              ; preds = %132
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %15, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %16)
          to label %134 unwind label %149

134:                                              ; preds = %133
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %17) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %135 = invoke noundef i32 @_Z39fully_connected_infer_forward_tmp_bytes6TensorS_S_PjP8ArchInfo(ptr noundef nonnull %18, ptr noundef nonnull %19, ptr noundef nonnull %20, ptr noundef nonnull %17, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %136 unwind label %151

136:                                              ; preds = %134
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  %.not100 = icmp eq i32 %135, 0
  br i1 %.not100, label %153, label %137

137:                                              ; preds = %136
  %138 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %139 = trunc i64 %138 to i32
  %140 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %139)
  %141 = load ptr, ptr @stdout, align 8, !tbaa !5
  %142 = call i32 @fflush(ptr noundef %141)
  %143 = call ptr @ee2str(i32 noundef %135)
  %144 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %143)
  %145 = load ptr, ptr @stdout, align 8, !tbaa !5
  %146 = call i32 @fflush(ptr noundef %145)
  call void @exit(i32 noundef 1) #13
  unreachable

147:                                              ; preds = %131
  %148 = landingpad { ptr, i32 }
          cleanup
  br label %309

149:                                              ; preds = %133, %132
  %150 = landingpad { ptr, i32 }
          cleanup
  br label %308

151:                                              ; preds = %134
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  br label %307

153:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %21) #12
  %154 = load i32, ptr %17, align 4, !tbaa !9
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %22, i32 noundef 0, i32 noundef %154)
          to label %155 unwind label %169

155:                                              ; preds = %153
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %21, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %22)
          to label %156 unwind label %169

156:                                              ; preds = %155
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %23) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  %157 = invoke noundef i32 @_Z38fully_connected_transform_filter_bytes6TensorPvP8ArchInfo(ptr noundef nonnull %24, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %158 unwind label %171

158:                                              ; preds = %156
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #12
  %.not101 = icmp eq i32 %157, 0
  br i1 %.not101, label %173, label %159

159:                                              ; preds = %158
  %160 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %161 = trunc i64 %160 to i32
  %162 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %161)
  %163 = load ptr, ptr @stdout, align 8, !tbaa !5
  %164 = call i32 @fflush(ptr noundef %163)
  %165 = call ptr @ee2str(i32 noundef %157)
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %165)
  %167 = load ptr, ptr @stdout, align 8, !tbaa !5
  %168 = call i32 @fflush(ptr noundef %167)
  call void @exit(i32 noundef 1) #13
  unreachable

169:                                              ; preds = %155, %153
  %170 = landingpad { ptr, i32 }
          cleanup
  br label %306

171:                                              ; preds = %156
  %172 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #12
  br label %305

173:                                              ; preds = %158
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %25) #12
  %174 = load i32, ptr %23, align 4, !tbaa !9
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %26, i32 noundef 0, i32 noundef %174)
          to label %175 unwind label %189

175:                                              ; preds = %173
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %25, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %26)
          to label %176 unwind label %189

176:                                              ; preds = %175
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  %177 = invoke noundef i32 @_Z32fully_connected_transform_filter6TensorS_PS_P8ArchInfo(ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef nonnull %25, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %178 unwind label %191

178:                                              ; preds = %176
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #12
  %.not102 = icmp eq i32 %177, 0
  br i1 %.not102, label %193, label %179

179:                                              ; preds = %178
  %180 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %181 = trunc i64 %180 to i32
  %182 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %181)
  %183 = load ptr, ptr @stdout, align 8, !tbaa !5
  %184 = call i32 @fflush(ptr noundef %183)
  %185 = call ptr @ee2str(i32 noundef %177)
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %185)
  %187 = load ptr, ptr @stdout, align 8, !tbaa !5
  %188 = call i32 @fflush(ptr noundef %187)
  call void @exit(i32 noundef 1) #13
  unreachable

189:                                              ; preds = %175, %173
  %190 = landingpad { ptr, i32 }
          cleanup
  br label %304

191:                                              ; preds = %176
  %192 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #12
  br label %303

193:                                              ; preds = %178
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %29) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %30) #12
  call void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2EmRKS0_RKS1_(ptr noundef nonnull align 8 dereferenceable(24) %29, i64 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 1 dereferenceable(1) %30)
          to label %194 unwind label %208

194:                                              ; preds = %193
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %32, ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %34, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %195 unwind label %210

195:                                              ; preds = %194
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %196 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %31, ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef nonnull %34, ptr noundef nonnull %35, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %197 unwind label %212

197:                                              ; preds = %195
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #12
  %.not104 = icmp eq i32 %196, 0
  br i1 %.not104, label %215, label %198

198:                                              ; preds = %197
  %199 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %200 = trunc i64 %199 to i32
  %201 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %200)
  %202 = load ptr, ptr @stdout, align 8, !tbaa !5
  %203 = call i32 @fflush(ptr noundef %202)
  %204 = call ptr @ee2str(i32 noundef %196)
  %205 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %204)
  %206 = load ptr, ptr @stdout, align 8, !tbaa !5
  %207 = call i32 @fflush(ptr noundef %206)
  call void @exit(i32 noundef 1) #13
  unreachable

208:                                              ; preds = %193
  %209 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %30) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %30) #12
  br label %302

210:                                              ; preds = %194
  %211 = landingpad { ptr, i32 }
          cleanup
  br label %214

212:                                              ; preds = %195
  %213 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #12
  br label %214

214:                                              ; preds = %212, %210
  %.pn = phi { ptr, i32 } [ %213, %212 ], [ %211, %210 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %32) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #12
  br label %301

215:                                              ; preds = %197
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %39, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %216 unwind label %229

216:                                              ; preds = %215
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  %217 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef nonnull %39, ptr noundef nonnull %40, ptr noundef nonnull @_ZL18UT_SERIAL_ARCHINFO)
          to label %218 unwind label %231

218:                                              ; preds = %216
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #12
  %.not107 = icmp eq i32 %217, 0
  br i1 %.not107, label %234, label %219

219:                                              ; preds = %218
  %220 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %221 = trunc i64 %220 to i32
  %222 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %221)
  %223 = load ptr, ptr @stdout, align 8, !tbaa !5
  %224 = call i32 @fflush(ptr noundef %223)
  %225 = call ptr @ee2str(i32 noundef %217)
  %226 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %225)
  %227 = load ptr, ptr @stdout, align 8, !tbaa !5
  %228 = call i32 @fflush(ptr noundef %227)
  call void @exit(i32 noundef 1) #13
  unreachable

229:                                              ; preds = %215
  %230 = landingpad { ptr, i32 }
          cleanup
  br label %233

231:                                              ; preds = %216
  %232 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %39) #12
  br label %233

233:                                              ; preds = %231, %229
  %.pn105 = phi { ptr, i32 } [ %232, %231 ], [ %230, %229 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #12
  br label %301

234:                                              ; preds = %218
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %235 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %41, i32 noundef 1)
          to label %236 unwind label %259

236:                                              ; preds = %234
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  %237 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %42, i32 noundef 1)
          to label %238 unwind label %261

238:                                              ; preds = %236
  %239 = mul i32 %69, %63
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %235, ptr noundef %237, i32 noundef %239, i32 noundef %2, float noundef 1.000000e+00)
          to label %240 unwind label %261

240:                                              ; preds = %238
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  %241 = invoke noundef double @_Z10ut_time_msv()
          to label %.preheader.preheader unwind label %264

.preheader.preheader:                             ; preds = %240
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %266 unwind label %279

.preheader.1:                                     ; preds = %268
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %242 unwind label %279

242:                                              ; preds = %.preheader.1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %243 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef nonnull %47, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %244 unwind label %281

244:                                              ; preds = %242
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  %.not130.1 = icmp eq i32 %243, 0
  br i1 %.not130.1, label %.preheader.2, label %269

.preheader.2:                                     ; preds = %244
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %245 unwind label %279

245:                                              ; preds = %.preheader.2
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %246 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef nonnull %47, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %247 unwind label %281

247:                                              ; preds = %245
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  %.not130.2 = icmp eq i32 %246, 0
  br i1 %.not130.2, label %.preheader.3, label %269

.preheader.3:                                     ; preds = %247
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %248 unwind label %279

248:                                              ; preds = %.preheader.3
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %249 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef nonnull %47, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %250 unwind label %281

250:                                              ; preds = %248
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  %.not130.3 = icmp eq i32 %249, 0
  br i1 %.not130.3, label %.preheader.4, label %269

.preheader.4:                                     ; preds = %250
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %251 unwind label %279

251:                                              ; preds = %.preheader.4
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %252 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef nonnull %47, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %253 unwind label %281

253:                                              ; preds = %251
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  %.not130.4 = icmp eq i32 %252, 0
  br i1 %.not130.4, label %.preheader.5, label %269

.preheader.5:                                     ; preds = %253
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %46, ptr noundef nonnull align 8 dereferenceable(24) %29)
          to label %254 unwind label %279

254:                                              ; preds = %.preheader.5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %255 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef nonnull %47, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %256 unwind label %281

256:                                              ; preds = %254
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  %.not130.5 = icmp eq i32 %255, 0
  br i1 %.not130.5, label %257, label %269

257:                                              ; preds = %256
  %258 = invoke noundef double @_Z10ut_time_msv()
          to label %284 unwind label %297

259:                                              ; preds = %234
  %260 = landingpad { ptr, i32 }
          cleanup
  br label %263

261:                                              ; preds = %238, %236
  %262 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  br label %263

263:                                              ; preds = %261, %259
  %.pn108 = phi { ptr, i32 } [ %262, %261 ], [ %260, %259 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  br label %301

264:                                              ; preds = %240
  %265 = landingpad { ptr, i32 }
          cleanup
  br label %301

266:                                              ; preds = %.preheader.preheader
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  %267 = invoke noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull %46, ptr noundef nonnull %47, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %268 unwind label %281

268:                                              ; preds = %266
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  %.not130 = icmp eq i32 %267, 0
  br i1 %.not130, label %.preheader.1, label %269

269:                                              ; preds = %256, %253, %250, %247, %244, %268
  %.lcssa = phi i32 [ %267, %268 ], [ %243, %244 ], [ %246, %247 ], [ %249, %250 ], [ %252, %253 ], [ %255, %256 ]
  %270 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %271 = trunc i64 %270 to i32
  %272 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %271)
  %273 = load ptr, ptr @stdout, align 8, !tbaa !5
  %274 = call i32 @fflush(ptr noundef %273)
  %275 = call ptr @ee2str(i32 noundef %.lcssa)
  %276 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %275)
  %277 = load ptr, ptr @stdout, align 8, !tbaa !5
  %278 = call i32 @fflush(ptr noundef %277)
  call void @exit(i32 noundef 1) #13
  unreachable

279:                                              ; preds = %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %280 = landingpad { ptr, i32 }
          cleanup
  br label %283

281:                                              ; preds = %254, %251, %248, %245, %242, %266
  %282 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %46) #12
  br label %283

283:                                              ; preds = %281, %279
  %.pn112 = phi { ptr, i32 } [ %282, %281 ], [ %280, %279 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  br label %301

284:                                              ; preds = %257
  %285 = fsub double %258, %241
  %286 = fdiv double %285, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %48) #12
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %49) #12
  %287 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %49, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %63, i32 noundef %66, i32 noundef %66, i32 noundef %69, i32 noundef %63, i32 noundef %69) #12
  %288 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %48, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull %49) #12
  %289 = uitofp i32 %63 to double
  %290 = fmul double %289, 2.000000e+00
  %291 = uitofp i32 %69 to double
  %292 = fmul double %290, %291
  %293 = uitofp i32 %66 to double
  %294 = fmul double %289, %291
  %295 = call double @llvm.fmuladd.f64(double %292, double %293, double %294)
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %2, ptr noundef nonnull %48, double noundef %295, double noundef %286)
          to label %296 unwind label %299

296:                                              ; preds = %284
  call void @free(ptr noundef %71) #12
  call void @free(ptr noundef %81) #12
  call void @free(ptr noundef %90) #12
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %49) #12
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %48) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #12
  ret i32 0

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

299:                                              ; preds = %284
  %300 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %49) #12
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %48) #12
  br label %301

301:                                              ; preds = %264, %283, %299, %297, %263, %233, %214
  %.pn112.pn.pn = phi { ptr, i32 } [ %.pn108, %263 ], [ %.pn105, %233 ], [ %.pn, %214 ], [ %.pn112, %283 ], [ %265, %264 ], [ %300, %299 ], [ %298, %297 ]
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %29) #12
  br label %302

302:                                              ; preds = %301, %208
  %.pn112.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn, %301 ], [ %209, %208 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %29) #12
  br label %303

303:                                              ; preds = %302, %191
  %.pn112.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn, %302 ], [ %192, %191 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #12
  br label %304

304:                                              ; preds = %303, %189
  %.pn112.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn, %303 ], [ %190, %189 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %25) #12
  br label %305

305:                                              ; preds = %304, %171
  %.pn112.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn, %304 ], [ %172, %171 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %23) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #12
  br label %306

306:                                              ; preds = %305, %169
  %.pn112.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn, %305 ], [ %170, %169 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %21) #12
  br label %307

307:                                              ; preds = %306, %151
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn, %306 ], [ %152, %151 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %17) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  br label %308

308:                                              ; preds = %307, %149
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn.pn, %307 ], [ %150, %149 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %15) #12
  br label %309

309:                                              ; preds = %308, %147, %129
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn, %308 ], [ %148, %147 ], [ %130, %129 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  br label %310

310:                                              ; preds = %309, %127
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %309 ], [ %128, %127 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #12
  br label %311

311:                                              ; preds = %310, %125, %123
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %310 ], [ %126, %125 ], [ %124, %123 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  br label %312

312:                                              ; preds = %311, %121
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %311 ], [ %122, %121 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #12
  br label %313

313:                                              ; preds = %312, %119, %117
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %312 ], [ %120, %119 ], [ %118, %117 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  br label %314

314:                                              ; preds = %313, %115
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %313 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #12
  br label %315

315:                                              ; preds = %314, %113, %111
  %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %314 ], [ %114, %113 ], [ %112, %111 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %6) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %5) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #12
  resume { ptr, i32 } %.pn112.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

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

; Function Attrs: nounwind
declare i64 @syscall(i64 noundef, ...) local_unnamed_addr #2

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

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

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

; Function Attrs: inlinehint mustprogress nofree nounwind willreturn memory(read) uwtable
declare i32 @atoi(ptr nocapture noundef nonnull) local_unnamed_addr #5

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

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind noalias writable sret(%class.Tensor) align 8, ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #0 align 2

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare noundef i32 @_Z33fully_connected_infer_output_sizeP6TensorS_S0_P8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

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

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

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #0 align 2

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

declare noundef i32 @_Z39fully_connected_infer_forward_tmp_bytes6TensorS_S_PjP8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare noundef i32 @_Z38fully_connected_transform_filter_bytes6TensorPvP8ArchInfo(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

declare noundef i32 @_Z32fully_connected_transform_filter6TensorS_PS_P8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

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

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

declare noundef i32 @_Z15fully_connected6TensorS_S_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #8

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef, ptr noundef, i32 noundef, i32 noundef, float noundef) local_unnamed_addr #7

declare noundef double @_Z10ut_time_msv() local_unnamed_addr #8

; Function Attrs: nofree nounwind
declare noundef i32 @sprintf(ptr noalias nocapture noundef writeonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #10

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_Z6ut_log8DataTypePcdd(i32 noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #7

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #11

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

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

!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 = !{!"int", !7, i64 0}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass