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

; 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 [7 x i8], align 1

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

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

101:                                              ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #11
  %102 = load ptr, ptr %6, align 8, !tbaa !9
  %103 = getelementptr inbounds ptr, ptr %102, i64 1
  %104 = load ptr, ptr %103, align 8, !tbaa !9
  %105 = call i32 @atoi(ptr noundef %104) #13
  store i32 %105, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #11
  %106 = load ptr, ptr %6, align 8, !tbaa !9
  %107 = getelementptr inbounds ptr, ptr %106, i64 2
  %108 = load ptr, ptr %107, align 8, !tbaa !9
  %109 = call i32 @atoi(ptr noundef %108) #13
  store i32 %109, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #11
  %110 = load ptr, ptr %6, align 8, !tbaa !9
  %111 = getelementptr inbounds ptr, ptr %110, i64 3
  %112 = load ptr, ptr %111, align 8, !tbaa !9
  %113 = call i32 @atoi(ptr noundef %112) #13
  store i32 %113, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 92, ptr %13) #11
  %114 = load i32, ptr %10, align 4, !tbaa !5
  %115 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %13, i32 noundef 1, i32 noundef 14, i32 noundef %114, i32 noundef %115)
  call void @llvm.lifetime.start.p0(i64 92, ptr %14) #11
  %116 = load i32, ptr %10, align 4, !tbaa !5
  %117 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %14, i32 noundef 1, i32 noundef 14, i32 noundef %116, i32 noundef %117)
  call void @llvm.lifetime.start.p0(i64 92, ptr %15) #11
  %118 = load i32, ptr %12, align 4, !tbaa !5
  %119 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %15, i32 noundef 1, i32 noundef 13, i32 noundef %118, i32 noundef %119)
  call void @llvm.lifetime.start.p0(i64 92, ptr %16) #11
  %120 = load i32, ptr %12, align 4, !tbaa !5
  %121 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %16, i32 noundef 1, i32 noundef 13, i32 noundef %120, i32 noundef %121)
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #11
  call void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr %18) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %18, i32 noundef 1)
          to label %122 unwind label %220

122:                                              ; preds = %101
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef 1)
          to label %123 unwind label %224

123:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %22, i32 noundef 1)
          to label %124 unwind label %228

124:                                              ; preds = %123
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %13, i64 92, i1 false), !tbaa.struct !13
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef byval(%struct.TensorDesc) align 8 %23)
          to label %125 unwind label %232

125:                                              ; preds = %124
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %126 unwind label %232

126:                                              ; preds = %125
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %24, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !13
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef byval(%struct.TensorDesc) align 8 %24)
          to label %127 unwind label %232

127:                                              ; preds = %126
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %128 unwind label %232

128:                                              ; preds = %127
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %25, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !13
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef byval(%struct.TensorDesc) align 8 %25)
          to label %129 unwind label %232

129:                                              ; preds = %128
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %130 unwind label %232

130:                                              ; preds = %129
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %16, i64 92, i1 false), !tbaa.struct !13
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef byval(%struct.TensorDesc) align 8 %26)
          to label %131 unwind label %232

131:                                              ; preds = %130
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %22)
          to label %132 unwind label %232

132:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #11
  %133 = load i32, ptr %10, align 4, !tbaa !5
  %134 = load i32, ptr %11, align 4, !tbaa !5
  %135 = mul i32 %133, %134
  %136 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %135, i32 noundef 1, i32 noundef 0)
          to label %137 unwind label %236

137:                                              ; preds = %132
  store ptr %136, ptr %27, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #11
  %138 = load i32, ptr %10, align 4, !tbaa !5
  %139 = load i32, ptr %11, align 4, !tbaa !5
  %140 = mul i32 %138, %139
  %141 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %140, i32 noundef 1, i32 noundef 0)
          to label %142 unwind label %240

142:                                              ; preds = %137
  store ptr %141, ptr %28, align 8, !tbaa !9
  invoke void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32) %17, float noundef 1.000000e+00)
          to label %143 unwind label %240

143:                                              ; preds = %142
  invoke void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32) %18, float noundef 1.000000e+00)
          to label %144 unwind label %240

144:                                              ; preds = %143
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #11
  %145 = load i32, ptr %12, align 4, !tbaa !5
  %146 = load i32, ptr %11, align 4, !tbaa !5
  %147 = mul i32 %145, %146
  %148 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %147, i32 noundef 1, i32 noundef 0)
          to label %149 unwind label %244

149:                                              ; preds = %144
  store ptr %148, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #11
  %150 = load i32, ptr %12, align 4, !tbaa !5
  %151 = load i32, ptr %11, align 4, !tbaa !5
  %152 = mul i32 %150, %151
  %153 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %152, i32 noundef 1, i32 noundef 0)
          to label %154 unwind label %248

154:                                              ; preds = %149
  store ptr %153, ptr %30, align 8, !tbaa !9
  invoke void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32) %21, float noundef 1.000000e+00)
          to label %155 unwind label %248

155:                                              ; preds = %154
  invoke void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32) %22, float noundef 1.000000e+00)
          to label %156 unwind label %248

156:                                              ; preds = %155
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %157 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %31, i32 noundef 1)
          to label %158 unwind label %252

158:                                              ; preds = %156
  %159 = load ptr, ptr %27, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %13, i64 92, i1 false), !tbaa.struct !13
  %160 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %32)
          to label %161 unwind label %252

161:                                              ; preds = %158
  %162 = zext i32 %160 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %157, ptr noundef %159, i64 noundef %162)
          to label %163 unwind label %252

163:                                              ; preds = %161
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  %164 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %33, i32 noundef 1)
          to label %165 unwind label %256

165:                                              ; preds = %163
  %166 = load ptr, ptr %28, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %34, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !13
  %167 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %34)
          to label %168 unwind label %256

168:                                              ; preds = %165
  %169 = zext i32 %167 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %164, ptr noundef %166, i64 noundef %169)
          to label %170 unwind label %256

170:                                              ; preds = %168
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %171 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %35, i32 noundef 1)
          to label %172 unwind label %260

172:                                              ; preds = %170
  %173 = load ptr, ptr %29, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !13
  %174 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %36)
          to label %175 unwind label %260

175:                                              ; preds = %172
  %176 = zext i32 %174 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %171, ptr noundef %173, i64 noundef %176)
          to label %177 unwind label %260

177:                                              ; preds = %175
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %178 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %37, i32 noundef 1)
          to label %179 unwind label %264

179:                                              ; preds = %177
  %180 = load ptr, ptr %30, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %16, i64 92, i1 false), !tbaa.struct !13
  %181 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %38)
          to label %182 unwind label %264

182:                                              ; preds = %179
  %183 = zext i32 %181 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %178, ptr noundef %180, i64 noundef %183)
          to label %184 unwind label %264

184:                                              ; preds = %182
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #11
  call void @llvm.lifetime.start.p0(i64 1, ptr %39) #11
  %185 = getelementptr inbounds %struct.TensorDesc, ptr %13, i32 0, i32 1
  %186 = load i32, ptr %185, align 4, !tbaa !17
  %187 = icmp eq i32 %186, 13
  %188 = zext i1 %187 to i8
  store i8 %188, ptr %39, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 1, ptr %40) #11
  %189 = getelementptr inbounds %struct.TensorDesc, ptr %15, i32 0, i32 1
  %190 = load i32, ptr %189, align 4, !tbaa !17
  %191 = icmp eq i32 %190, 13
  %192 = zext i1 %191 to i8
  store i8 %192, ptr %40, align 1, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 32, ptr %41) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %41, i32 noundef 1)
          to label %193 unwind label %268

193:                                              ; preds = %184
  call void @llvm.lifetime.start.p0(i64 32, ptr %42) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %42, i32 noundef 1)
          to label %194 unwind label %272

194:                                              ; preds = %193
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #11
  %195 = load i8, ptr %39, align 1, !tbaa !19, !range !21, !noundef !22
  %196 = trunc i8 %195 to i1
  %197 = load i8, ptr %40, align 1, !tbaa !19, !range !21, !noundef !22
  %198 = trunc i8 %197 to i1
  %199 = invoke noundef i32 @_Z24matmul_infer_output_sizeP6TensorbS0_bS0_P8ArchInfo(ptr noundef %17, i1 noundef zeroext %196, ptr noundef %21, i1 noundef zeroext %198, ptr noundef %41, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %200 unwind label %276

200:                                              ; preds = %194
  store i32 %199, ptr %43, align 4, !tbaa !23
  %201 = load i32, ptr %43, align 4, !tbaa !23
  %202 = icmp ne i32 %201, 0
  br i1 %202, label %203, label %284

203:                                              ; preds = %200
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #11
  %204 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %205 = trunc i64 %204 to i32
  store i32 %205, ptr %44, align 4, !tbaa !5
  %206 = load i32, ptr %44, align 4, !tbaa !5
  %207 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %206)
          to label %208 unwind label %280

208:                                              ; preds = %203
  %209 = load ptr, ptr @stdout, align 8, !tbaa !9
  %210 = invoke i32 @fflush(ptr noundef %209)
          to label %211 unwind label %280

211:                                              ; preds = %208
  %212 = load i32, ptr %43, align 4, !tbaa !23
  %213 = invoke ptr @ee2str(i32 noundef %212)
          to label %214 unwind label %280

214:                                              ; preds = %211
  %215 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %213)
          to label %216 unwind label %280

216:                                              ; preds = %214
  %217 = load ptr, ptr @stdout, align 8, !tbaa !9
  %218 = invoke i32 @fflush(ptr noundef %217)
          to label %219 unwind label %280

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

220:                                              ; preds = %101
  %221 = landingpad { ptr, i32 }
          cleanup
  %222 = extractvalue { ptr, i32 } %221, 0
  store ptr %222, ptr %19, align 8
  %223 = extractvalue { ptr, i32 } %221, 1
  store i32 %223, ptr %20, align 4
  br label %575

224:                                              ; preds = %122
  %225 = landingpad { ptr, i32 }
          cleanup
  %226 = extractvalue { ptr, i32 } %225, 0
  store ptr %226, ptr %19, align 8
  %227 = extractvalue { ptr, i32 } %225, 1
  store i32 %227, ptr %20, align 4
  br label %574

228:                                              ; preds = %123
  %229 = landingpad { ptr, i32 }
          cleanup
  %230 = extractvalue { ptr, i32 } %229, 0
  store ptr %230, ptr %19, align 8
  %231 = extractvalue { ptr, i32 } %229, 1
  store i32 %231, ptr %20, align 4
  br label %573

232:                                              ; preds = %131, %130, %129, %128, %127, %126, %125, %124
  %233 = landingpad { ptr, i32 }
          cleanup
  %234 = extractvalue { ptr, i32 } %233, 0
  store ptr %234, ptr %19, align 8
  %235 = extractvalue { ptr, i32 } %233, 1
  store i32 %235, ptr %20, align 4
  br label %572

236:                                              ; preds = %132
  %237 = landingpad { ptr, i32 }
          cleanup
  %238 = extractvalue { ptr, i32 } %237, 0
  store ptr %238, ptr %19, align 8
  %239 = extractvalue { ptr, i32 } %237, 1
  store i32 %239, ptr %20, align 4
  br label %571

240:                                              ; preds = %143, %142, %137
  %241 = landingpad { ptr, i32 }
          cleanup
  %242 = extractvalue { ptr, i32 } %241, 0
  store ptr %242, ptr %19, align 8
  %243 = extractvalue { ptr, i32 } %241, 1
  store i32 %243, ptr %20, align 4
  br label %570

244:                                              ; preds = %144
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %19, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %20, align 4
  br label %569

248:                                              ; preds = %155, %154, %149
  %249 = landingpad { ptr, i32 }
          cleanup
  %250 = extractvalue { ptr, i32 } %249, 0
  store ptr %250, ptr %19, align 8
  %251 = extractvalue { ptr, i32 } %249, 1
  store i32 %251, ptr %20, align 4
  br label %568

252:                                              ; preds = %161, %158, %156
  %253 = landingpad { ptr, i32 }
          cleanup
  %254 = extractvalue { ptr, i32 } %253, 0
  store ptr %254, ptr %19, align 8
  %255 = extractvalue { ptr, i32 } %253, 1
  store i32 %255, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #11
  br label %568

256:                                              ; preds = %168, %165, %163
  %257 = landingpad { ptr, i32 }
          cleanup
  %258 = extractvalue { ptr, i32 } %257, 0
  store ptr %258, ptr %19, align 8
  %259 = extractvalue { ptr, i32 } %257, 1
  store i32 %259, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #11
  br label %568

260:                                              ; preds = %175, %172, %170
  %261 = landingpad { ptr, i32 }
          cleanup
  %262 = extractvalue { ptr, i32 } %261, 0
  store ptr %262, ptr %19, align 8
  %263 = extractvalue { ptr, i32 } %261, 1
  store i32 %263, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #11
  br label %568

264:                                              ; preds = %182, %179, %177
  %265 = landingpad { ptr, i32 }
          cleanup
  %266 = extractvalue { ptr, i32 } %265, 0
  store ptr %266, ptr %19, align 8
  %267 = extractvalue { ptr, i32 } %265, 1
  store i32 %267, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #11
  br label %568

268:                                              ; preds = %184
  %269 = landingpad { ptr, i32 }
          cleanup
  %270 = extractvalue { ptr, i32 } %269, 0
  store ptr %270, ptr %19, align 8
  %271 = extractvalue { ptr, i32 } %269, 1
  store i32 %271, ptr %20, align 4
  br label %567

272:                                              ; preds = %193
  %273 = landingpad { ptr, i32 }
          cleanup
  %274 = extractvalue { ptr, i32 } %273, 0
  store ptr %274, ptr %19, align 8
  %275 = extractvalue { ptr, i32 } %273, 1
  store i32 %275, ptr %20, align 4
  br label %566

276:                                              ; preds = %194
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %19, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %20, align 4
  br label %317

280:                                              ; preds = %216, %214, %211, %208, %203
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %19, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %44) #11
  br label %317

284:                                              ; preds = %200
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #11
  call void @llvm.lifetime.start.p0(i64 92, ptr %45) #11
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %45, ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %285 unwind label %318

285:                                              ; preds = %284
  %286 = getelementptr inbounds %struct.TensorDesc, ptr %45, i32 0, i32 0
  store i32 6, ptr %286, align 4, !tbaa !25
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %46, ptr align 4 %45, i64 92, i1 false), !tbaa.struct !13
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef byval(%struct.TensorDesc) align 8 %46)
          to label %287 unwind label %318

287:                                              ; preds = %285
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %41)
          to label %288 unwind label %318

288:                                              ; preds = %287
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %45, i64 92, i1 false), !tbaa.struct !13
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef byval(%struct.TensorDesc) align 8 %47)
          to label %289 unwind label %318

289:                                              ; preds = %288
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %42)
          to label %290 unwind label %318

290:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 32, ptr %48) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %48, i32 noundef 1)
          to label %291 unwind label %322

291:                                              ; preds = %290
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %51, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %292 = load i8, ptr %39, align 1, !tbaa !19, !range !21, !noundef !22
  %293 = trunc i8 %292 to i1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %294 = load i8, ptr %40, align 1, !tbaa !19, !range !21, !noundef !22
  %295 = trunc i8 %294 to i1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %41) #11
  %296 = invoke noundef i32 @_Z30matmul_infer_forward_tmp_bytes6TensorbS_bS_PjP8ArchInfo(ptr noundef %51, i1 noundef zeroext %293, ptr noundef %52, i1 noundef zeroext %295, ptr noundef %53, ptr noundef %49, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %297 unwind label %326

297:                                              ; preds = %291
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #11
  store i32 %296, ptr %50, align 4, !tbaa !23
  %298 = load i32, ptr %50, align 4, !tbaa !23
  %299 = icmp ne i32 %298, 0
  br i1 %299, label %300, label %334

300:                                              ; preds = %297
  call void @llvm.lifetime.start.p0(i64 4, ptr %54) #11
  %301 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %302 = trunc i64 %301 to i32
  store i32 %302, ptr %54, align 4, !tbaa !5
  %303 = load i32, ptr %54, align 4, !tbaa !5
  %304 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %303)
          to label %305 unwind label %330

305:                                              ; preds = %300
  %306 = load ptr, ptr @stdout, align 8, !tbaa !9
  %307 = invoke i32 @fflush(ptr noundef %306)
          to label %308 unwind label %330

308:                                              ; preds = %305
  %309 = load i32, ptr %50, align 4, !tbaa !23
  %310 = invoke ptr @ee2str(i32 noundef %309)
          to label %311 unwind label %330

311:                                              ; preds = %308
  %312 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %310)
          to label %313 unwind label %330

313:                                              ; preds = %311
  %314 = load ptr, ptr @stdout, align 8, !tbaa !9
  %315 = invoke i32 @fflush(ptr noundef %314)
          to label %316 unwind label %330

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

317:                                              ; preds = %280, %276
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #11
  br label %565

318:                                              ; preds = %289, %288, %287, %285, %284
  %319 = landingpad { ptr, i32 }
          cleanup
  %320 = extractvalue { ptr, i32 } %319, 0
  store ptr %320, ptr %19, align 8
  %321 = extractvalue { ptr, i32 } %319, 1
  store i32 %321, ptr %20, align 4
  br label %564

322:                                              ; preds = %290
  %323 = landingpad { ptr, i32 }
          cleanup
  %324 = extractvalue { ptr, i32 } %323, 0
  store ptr %324, ptr %19, align 8
  %325 = extractvalue { ptr, i32 } %323, 1
  store i32 %325, ptr %20, align 4
  br label %563

326:                                              ; preds = %291
  %327 = landingpad { ptr, i32 }
          cleanup
  %328 = extractvalue { ptr, i32 } %327, 0
  store ptr %328, ptr %19, align 8
  %329 = extractvalue { ptr, i32 } %327, 1
  store i32 %329, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %51) #11
  br label %367

330:                                              ; preds = %313, %311, %308, %305, %300
  %331 = landingpad { ptr, i32 }
          cleanup
  %332 = extractvalue { ptr, i32 } %331, 0
  store ptr %332, ptr %19, align 8
  %333 = extractvalue { ptr, i32 } %331, 1
  store i32 %333, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %54) #11
  br label %367

334:                                              ; preds = %297
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #11
  %335 = load i32, ptr %49, align 4, !tbaa !5
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %55, i32 noundef 0, i32 noundef %335)
          to label %336 unwind label %368

336:                                              ; preds = %334
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef byval(%struct.TensorDesc) align 8 %55)
          to label %337 unwind label %368

337:                                              ; preds = %336
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %48)
          to label %338 unwind label %368

338:                                              ; preds = %337
  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) %48, ptr noundef nonnull align 1 dereferenceable(1) %57)
          to label %339 unwind label %372

339:                                              ; preds = %338
  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 32, ptr %58) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %58, i32 noundef 1)
          to label %340 unwind label %376

340:                                              ; preds = %339
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %341 = load i8, ptr %39, align 1, !tbaa !19, !range !21, !noundef !22
  %342 = trunc i8 %341 to i1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %61, ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %343 = load i8, ptr %40, align 1, !tbaa !19, !range !21, !noundef !22
  %344 = trunc i8 %343 to i1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %62, ptr noundef nonnull align 8 dereferenceable(32) %58) #11
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %63, ptr noundef nonnull align 8 dereferenceable(24) %56)
          to label %345 unwind label %380

345:                                              ; preds = %340
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %64, ptr noundef nonnull align 8 dereferenceable(32) %41) #11
  %346 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef %60, i1 noundef zeroext %342, ptr noundef %61, i1 noundef zeroext %344, ptr noundef %62, ptr noundef %63, ptr noundef %64, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %347 unwind label %384

347:                                              ; preds = %345
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %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
  store i32 %346, ptr %59, align 4, !tbaa !23
  %348 = load i32, ptr %59, align 4, !tbaa !23
  %349 = icmp ne i32 %348, 0
  br i1 %349, label %350, label %393

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

355:                                              ; preds = %350
  %356 = load ptr, ptr @stdout, align 8, !tbaa !9
  %357 = invoke i32 @fflush(ptr noundef %356)
          to label %358 unwind label %389

358:                                              ; preds = %355
  %359 = load i32, ptr %59, align 4, !tbaa !23
  %360 = invoke ptr @ee2str(i32 noundef %359)
          to label %361 unwind label %389

361:                                              ; preds = %358
  %362 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %360)
          to label %363 unwind label %389

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

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

367:                                              ; preds = %330, %326
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #11
  br label %562

368:                                              ; preds = %337, %336, %334
  %369 = landingpad { ptr, i32 }
          cleanup
  %370 = extractvalue { ptr, i32 } %369, 0
  store ptr %370, ptr %19, align 8
  %371 = extractvalue { ptr, i32 } %369, 1
  store i32 %371, ptr %20, align 4
  br label %562

372:                                              ; preds = %338
  %373 = landingpad { ptr, i32 }
          cleanup
  %374 = extractvalue { ptr, i32 } %373, 0
  store ptr %374, ptr %19, align 8
  %375 = extractvalue { ptr, i32 } %373, 1
  store i32 %375, ptr %20, 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 %561

376:                                              ; preds = %339
  %377 = landingpad { ptr, i32 }
          cleanup
  %378 = extractvalue { ptr, i32 } %377, 0
  store ptr %378, ptr %19, align 8
  %379 = extractvalue { ptr, i32 } %377, 1
  store i32 %379, ptr %20, align 4
  br label %560

380:                                              ; preds = %340
  %381 = landingpad { ptr, i32 }
          cleanup
  %382 = extractvalue { ptr, i32 } %381, 0
  store ptr %382, ptr %19, align 8
  %383 = extractvalue { ptr, i32 } %381, 1
  store i32 %383, ptr %20, align 4
  br label %388

384:                                              ; preds = %345
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %19, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %64) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %63) #11
  br label %388

388:                                              ; preds = %384, %380
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %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
  br label %420

389:                                              ; preds = %363, %361, %358, %355, %350
  %390 = landingpad { ptr, i32 }
          cleanup
  %391 = extractvalue { ptr, i32 } %390, 0
  store ptr %391, ptr %19, align 8
  %392 = extractvalue { ptr, i32 } %390, 1
  store i32 %392, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #11
  br label %420

393:                                              ; preds = %347
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #11
  call void @llvm.lifetime.start.p0(i64 4, ptr %66) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %67, ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  %394 = load i8, ptr %39, align 1, !tbaa !19, !range !21, !noundef !22
  %395 = trunc i8 %394 to i1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %68, ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %396 = load i8, ptr %40, align 1, !tbaa !19, !range !21, !noundef !22
  %397 = trunc i8 %396 to i1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %69, ptr noundef nonnull align 8 dereferenceable(32) %58) #11
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %70, ptr noundef nonnull align 8 dereferenceable(24) %56)
          to label %398 unwind label %421

398:                                              ; preds = %393
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %71, ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  %399 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef %67, i1 noundef zeroext %395, ptr noundef %68, i1 noundef zeroext %397, ptr noundef %69, ptr noundef %70, ptr noundef %71, ptr noundef @_ZL18UT_SERIAL_ARCHINFO)
          to label %400 unwind label %425

400:                                              ; preds = %398
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %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
  store i32 %399, ptr %66, align 4, !tbaa !23
  %401 = load i32, ptr %66, align 4, !tbaa !23
  %402 = icmp ne i32 %401, 0
  br i1 %402, label %403, label %434

403:                                              ; preds = %400
  call void @llvm.lifetime.start.p0(i64 4, ptr %72) #11
  %404 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %405 = trunc i64 %404 to i32
  store i32 %405, ptr %72, align 4, !tbaa !5
  %406 = load i32, ptr %72, align 4, !tbaa !5
  %407 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %406)
          to label %408 unwind label %430

408:                                              ; preds = %403
  %409 = load ptr, ptr @stdout, align 8, !tbaa !9
  %410 = invoke i32 @fflush(ptr noundef %409)
          to label %411 unwind label %430

411:                                              ; preds = %408
  %412 = load i32, ptr %66, align 4, !tbaa !23
  %413 = invoke ptr @ee2str(i32 noundef %412)
          to label %414 unwind label %430

414:                                              ; preds = %411
  %415 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %413)
          to label %416 unwind label %430

416:                                              ; preds = %414
  %417 = load ptr, ptr @stdout, align 8, !tbaa !9
  %418 = invoke i32 @fflush(ptr noundef %417)
          to label %419 unwind label %430

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

420:                                              ; preds = %389, %388
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #11
  br label %559

421:                                              ; preds = %393
  %422 = landingpad { ptr, i32 }
          cleanup
  %423 = extractvalue { ptr, i32 } %422, 0
  store ptr %423, ptr %19, align 8
  %424 = extractvalue { ptr, i32 } %422, 1
  store i32 %424, ptr %20, align 4
  br label %429

425:                                              ; preds = %398
  %426 = landingpad { ptr, i32 }
          cleanup
  %427 = extractvalue { ptr, i32 } %426, 0
  store ptr %427, ptr %19, align 8
  %428 = extractvalue { ptr, i32 } %426, 1
  store i32 %428, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %71) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %70) #11
  br label %429

429:                                              ; preds = %425, %421
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %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
  br label %450

430:                                              ; preds = %416, %414, %411, %408, %403
  %431 = landingpad { ptr, i32 }
          cleanup
  %432 = extractvalue { ptr, i32 } %431, 0
  store ptr %432, ptr %19, align 8
  %433 = extractvalue { ptr, i32 } %431, 1
  store i32 %433, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %72) #11
  br label %450

434:                                              ; preds = %400
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %73, ptr noundef nonnull align 8 dereferenceable(32) %41) #11
  %435 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %73, i32 noundef 1)
          to label %436 unwind label %451

436:                                              ; preds = %434
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %74, ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  %437 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %74, i32 noundef 1)
          to label %438 unwind label %455

438:                                              ; preds = %436
  %439 = load i32, ptr %10, align 4, !tbaa !5
  %440 = load i32, ptr %12, align 4, !tbaa !5
  %441 = mul i32 %439, %440
  %442 = load i32, ptr %7, align 4, !tbaa !11
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %435, ptr noundef %437, i32 noundef %441, i32 noundef %442, float noundef 0.000000e+00)
          to label %443 unwind label %455

443:                                              ; preds = %438
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %75) #11
  %444 = invoke noundef double @_Z10ut_time_msv()
          to label %445 unwind label %460

445:                                              ; preds = %443
  store double %444, ptr %75, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %76) #11
  store i32 0, ptr %76, align 4, !tbaa !5
  br label %446

446:                                              ; preds = %505, %445
  %447 = load i32, ptr %76, align 4, !tbaa !5
  %448 = icmp slt i32 %447, 6
  br i1 %448, label %464, label %449

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

450:                                              ; preds = %430, %429
  call void @llvm.lifetime.end.p0(i64 4, ptr %66) #11
  br label %559

451:                                              ; preds = %434
  %452 = landingpad { ptr, i32 }
          cleanup
  %453 = extractvalue { ptr, i32 } %452, 0
  store ptr %453, ptr %19, align 8
  %454 = extractvalue { ptr, i32 } %452, 1
  store i32 %454, ptr %20, align 4
  br label %459

455:                                              ; preds = %438, %436
  %456 = landingpad { ptr, i32 }
          cleanup
  %457 = extractvalue { ptr, i32 } %456, 0
  store ptr %457, ptr %19, align 8
  %458 = extractvalue { ptr, i32 } %456, 1
  store i32 %458, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %74) #11
  br label %459

459:                                              ; preds = %455, %451
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %73) #11
  br label %559

460:                                              ; preds = %443
  %461 = landingpad { ptr, i32 }
          cleanup
  %462 = extractvalue { ptr, i32 } %461, 0
  store ptr %462, ptr %19, align 8
  %463 = extractvalue { ptr, i32 } %461, 1
  store i32 %463, ptr %20, align 4
  br label %558

464:                                              ; preds = %446
  call void @llvm.lifetime.start.p0(i64 4, ptr %77) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %78, ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  %465 = load i8, ptr %39, align 1, !tbaa !19, !range !21, !noundef !22
  %466 = trunc i8 %465 to i1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %79, ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %467 = load i8, ptr %40, align 1, !tbaa !19, !range !21, !noundef !22
  %468 = trunc i8 %467 to i1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %80, ptr noundef nonnull align 8 dereferenceable(32) %58) #11
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %81, ptr noundef nonnull align 8 dereferenceable(24) %56)
          to label %469 unwind label %491

469:                                              ; preds = %464
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %82, ptr noundef nonnull align 8 dereferenceable(32) %41) #11
  %470 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef %78, i1 noundef zeroext %466, ptr noundef %79, i1 noundef zeroext %468, ptr noundef %80, ptr noundef %81, ptr noundef %82, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %471 unwind label %495

471:                                              ; preds = %469
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %81) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %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
  store i32 %470, ptr %77, align 4, !tbaa !23
  %472 = load i32, ptr %77, align 4, !tbaa !23
  %473 = icmp ne i32 %472, 0
  br i1 %473, label %474, label %504

474:                                              ; preds = %471
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #11
  %475 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %476 = trunc i64 %475 to i32
  store i32 %476, ptr %83, align 4, !tbaa !5
  %477 = load i32, ptr %83, align 4, !tbaa !5
  %478 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %477)
          to label %479 unwind label %500

479:                                              ; preds = %474
  %480 = load ptr, ptr @stdout, align 8, !tbaa !9
  %481 = invoke i32 @fflush(ptr noundef %480)
          to label %482 unwind label %500

482:                                              ; preds = %479
  %483 = load i32, ptr %77, align 4, !tbaa !23
  %484 = invoke ptr @ee2str(i32 noundef %483)
          to label %485 unwind label %500

485:                                              ; preds = %482
  %486 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %484)
          to label %487 unwind label %500

487:                                              ; preds = %485
  %488 = load ptr, ptr @stdout, align 8, !tbaa !9
  %489 = invoke i32 @fflush(ptr noundef %488)
          to label %490 unwind label %500

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

491:                                              ; preds = %464
  %492 = landingpad { ptr, i32 }
          cleanup
  %493 = extractvalue { ptr, i32 } %492, 0
  store ptr %493, ptr %19, align 8
  %494 = extractvalue { ptr, i32 } %492, 1
  store i32 %494, ptr %20, align 4
  br label %499

495:                                              ; preds = %469
  %496 = landingpad { ptr, i32 }
          cleanup
  %497 = extractvalue { ptr, i32 } %496, 0
  store ptr %497, ptr %19, align 8
  %498 = extractvalue { ptr, i32 } %496, 1
  store i32 %498, ptr %20, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %82) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %81) #11
  br label %499

499:                                              ; preds = %495, %491
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %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
  br label %508

500:                                              ; preds = %487, %485, %482, %479, %474
  %501 = landingpad { ptr, i32 }
          cleanup
  %502 = extractvalue { ptr, i32 } %501, 0
  store ptr %502, ptr %19, align 8
  %503 = extractvalue { ptr, i32 } %501, 1
  store i32 %503, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #11
  br label %508

504:                                              ; preds = %471
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #11
  br label %505

505:                                              ; preds = %504
  %506 = load i32, ptr %76, align 4, !tbaa !5
  %507 = add nsw i32 %506, 1
  store i32 %507, ptr %76, align 4, !tbaa !5
  br label %446, !llvm.loop !28

508:                                              ; preds = %500, %499
  call void @llvm.lifetime.end.p0(i64 4, ptr %77) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr %76) #11
  br label %558

509:                                              ; preds = %449
  call void @llvm.lifetime.start.p0(i64 8, ptr %84) #11
  %510 = invoke noundef double @_Z10ut_time_msv()
          to label %511 unwind label %549

511:                                              ; preds = %509
  store double %510, ptr %84, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %85) #11
  %512 = load double, ptr %84, align 8, !tbaa !26
  %513 = load double, ptr %75, align 8, !tbaa !26
  %514 = fsub double %512, %513
  %515 = fdiv double %514, 6.000000e+00
  store double %515, ptr %85, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 150, ptr %86) #11
  call void @llvm.lifetime.start.p0(i64 120, ptr %87) #11
  %516 = getelementptr inbounds [120 x i8], ptr %87, i64 0, i64 0
  %517 = load i32, ptr %10, align 4, !tbaa !5
  %518 = load i32, ptr %11, align 4, !tbaa !5
  %519 = load i32, ptr %11, align 4, !tbaa !5
  %520 = load i32, ptr %12, align 4, !tbaa !5
  %521 = load i32, ptr %10, align 4, !tbaa !5
  %522 = load i32, ptr %12, align 4, !tbaa !5
  %523 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %516, ptr noundef @.str.3, i32 noundef %517, i32 noundef %518, i32 noundef %519, i32 noundef %520, i32 noundef %521, i32 noundef %522) #11
  %524 = getelementptr inbounds [150 x i8], ptr %86, i64 0, i64 0
  %525 = getelementptr inbounds [120 x i8], ptr %87, i64 0, i64 0
  %526 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %524, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %525) #11
  call void @llvm.lifetime.start.p0(i64 8, ptr %88) #11
  %527 = load i32, ptr %10, align 4, !tbaa !5
  %528 = uitofp i32 %527 to double
  %529 = fmul double 2.000000e+00, %528
  %530 = load i32, ptr %12, align 4, !tbaa !5
  %531 = uitofp i32 %530 to double
  %532 = fmul double %529, %531
  %533 = load i32, ptr %11, align 4, !tbaa !5
  %534 = uitofp i32 %533 to double
  %535 = load i32, ptr %10, align 4, !tbaa !5
  %536 = uitofp i32 %535 to double
  %537 = fmul double 1.000000e+00, %536
  %538 = load i32, ptr %12, align 4, !tbaa !5
  %539 = uitofp i32 %538 to double
  %540 = fmul double %537, %539
  %541 = call double @llvm.fmuladd.f64(double %532, double %534, double %540)
  store double %541, ptr %88, align 8, !tbaa !26
  %542 = load i32, ptr %7, align 4, !tbaa !11
  %543 = getelementptr inbounds [150 x i8], ptr %86, i64 0, i64 0
  %544 = load double, ptr %88, align 8, !tbaa !26
  %545 = load double, ptr %85, align 8, !tbaa !26
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %542, ptr noundef %543, double noundef %544, double noundef %545)
          to label %546 unwind label %553

546:                                              ; preds = %511
  %547 = load ptr, ptr %27, align 8, !tbaa !9
  call void @free(ptr noundef %547) #11
  %548 = load ptr, ptr %29, align 8, !tbaa !9
  call void @free(ptr noundef %548) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #11
  call void @llvm.lifetime.end.p0(i64 120, ptr %87) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr %86) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #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 @llvm.lifetime.end.p0(i64 4, ptr %49) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %45) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #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 @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 92, 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 4, 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
  ret i32 0

549:                                              ; preds = %509
  %550 = landingpad { ptr, i32 }
          cleanup
  %551 = extractvalue { ptr, i32 } %550, 0
  store ptr %551, ptr %19, align 8
  %552 = extractvalue { ptr, i32 } %550, 1
  store i32 %552, ptr %20, align 4
  br label %557

553:                                              ; preds = %511
  %554 = landingpad { ptr, i32 }
          cleanup
  %555 = extractvalue { ptr, i32 } %554, 0
  store ptr %555, ptr %19, align 8
  %556 = extractvalue { ptr, i32 } %554, 1
  store i32 %556, ptr %20, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %88) #11
  call void @llvm.lifetime.end.p0(i64 120, ptr %87) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr %86) #11
  call void @llvm.lifetime.end.p0(i64 8, ptr %85) #11
  br label %557

557:                                              ; preds = %553, %549
  call void @llvm.lifetime.end.p0(i64 8, ptr %84) #11
  br label %558

558:                                              ; preds = %557, %508, %460
  call void @llvm.lifetime.end.p0(i64 8, ptr %75) #11
  br label %559

559:                                              ; preds = %558, %459, %450, %420
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %58) #11
  br label %560

560:                                              ; preds = %559, %376
  call void @llvm.lifetime.end.p0(i64 32, ptr %58) #11
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %56) #11
  br label %561

561:                                              ; preds = %560, %372
  call void @llvm.lifetime.end.p0(i64 24, ptr %56) #11
  br label %562

562:                                              ; preds = %561, %368, %367
  call void @llvm.lifetime.end.p0(i64 4, ptr %49) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #11
  br label %563

563:                                              ; preds = %562, %322
  call void @llvm.lifetime.end.p0(i64 32, ptr %48) #11
  br label %564

564:                                              ; preds = %563, %318
  call void @llvm.lifetime.end.p0(i64 92, ptr %45) #11
  br label %565

565:                                              ; preds = %564, %317
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #11
  br label %566

566:                                              ; preds = %565, %272
  call void @llvm.lifetime.end.p0(i64 32, ptr %42) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #11
  br label %567

567:                                              ; preds = %566, %268
  call void @llvm.lifetime.end.p0(i64 32, ptr %41) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %40) #11
  call void @llvm.lifetime.end.p0(i64 1, ptr %39) #11
  br label %568

568:                                              ; preds = %567, %264, %260, %256, %252, %248
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #11
  br label %569

569:                                              ; preds = %568, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #11
  br label %570

570:                                              ; preds = %569, %240
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #11
  br label %571

571:                                              ; preds = %570, %236
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #11
  br label %572

572:                                              ; preds = %571, %232
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  br label %573

573:                                              ; preds = %572, %228
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  br label %574

574:                                              ; preds = %573, %224
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  br label %575

575:                                              ; preds = %574, %220
  call void @llvm.lifetime.end.p0(i64 32, ptr %18) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr %16) #11
  call void @llvm.lifetime.end.p0(i64 92, 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 4, 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
  br label %576

576:                                              ; preds = %575
  %577 = load ptr, ptr %19, align 8
  %578 = load i32, ptr %20, align 4
  %579 = insertvalue { ptr, i32 } poison, ptr %577, 0
  %580 = insertvalue { ptr, i32 } %579, i32 %578, 1
  resume { ptr, i32 } %580
}

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

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32), 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) #7

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

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

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

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

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

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

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

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

declare noundef i32 @_Z24matmul_infer_output_sizeP6TensorbS0_bS0_P8ArchInfo(ptr noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef) #3

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

; 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 @_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 @_Z30matmul_infer_forward_tmp_bytes6TensorbS_bS_PjP8ArchInfo(ptr noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef) #3

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #8 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 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext, 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 #8 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) #6

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

; 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 #8 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 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { 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 #9 = { 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 #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 = !{i64 0, i64 4, !11, i64 4, i64 4, !14, i64 8, i64 4, !5, i64 12, i64 80, !16}
!14 = !{!15, !15, i64 0}
!15 = !{!"_ZTS10DataFormat", !7, i64 0}
!16 = !{!7, !7, i64 0}
!17 = !{!18, !15, i64 4}
!18 = !{!"_ZTS10TensorDesc", !12, i64 0, !15, i64 4, !6, i64 8, !7, i64 12}
!19 = !{!20, !20, i64 0}
!20 = !{!"bool", !7, i64 0}
!21 = !{i8 0, i8 2}
!22 = !{}
!23 = !{!24, !24, i64 0}
!24 = !{!"_ZTS2EE", !7, i64 0}
!25 = !{!18, !12, i64 0}
!26 = !{!27, !27, i64 0}
!27 = !{!"double", !7, i64 0}
!28 = distinct !{!28, !29}
!29 = !{!"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 [7 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z10MatmulTestiPPc8DataTypeS1_(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %5 = alloca %struct.TensorDesc, align 8
  %6 = alloca %struct.TensorDesc, align 8
  %7 = alloca %struct.TensorDesc, align 8
  %8 = alloca %struct.TensorDesc, 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 %class.Tensor, align 8
  %17 = alloca %class.Tensor, align 8
  %18 = alloca %class.Tensor, align 8
  %19 = alloca %struct.TensorDesc, align 8
  %20 = alloca %class.Tensor, align 8
  %21 = alloca i32, align 4
  %22 = alloca %class.Tensor, align 8
  %23 = alloca %class.Tensor, align 8
  %24 = alloca %class.Tensor, align 8
  %25 = alloca %struct.TensorDesc, align 8
  %26 = alloca %"class.std::vector", align 8
  %27 = alloca %"class.std::allocator", align 1
  %28 = alloca %class.Tensor, align 8
  %29 = alloca %class.Tensor, align 8
  %30 = alloca %class.Tensor, align 8
  %31 = alloca %class.Tensor, align 8
  %32 = alloca %"class.std::vector", align 8
  %33 = alloca %class.Tensor, align 8
  %34 = alloca %class.Tensor, align 8
  %35 = alloca %class.Tensor, align 8
  %36 = alloca %class.Tensor, align 8
  %37 = alloca %"class.std::vector", align 8
  %38 = alloca %class.Tensor, align 8
  %39 = alloca %class.Tensor, 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.std::vector", align 8
  %45 = alloca %class.Tensor, align 8
  %46 = alloca [150 x i8], align 16
  %47 = alloca [120 x i8], align 16
  %48 = icmp eq i32 %0, 4
  br i1 %48, label %58, label %49

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

58:                                               ; preds = %4
  %59 = getelementptr inbounds i8, ptr %1, i64 8
  %60 = load ptr, ptr %59, align 8, !tbaa !5
  %61 = tail call i32 @atoi(ptr nocapture noundef %60) #14
  %62 = getelementptr inbounds i8, ptr %1, i64 16
  %63 = load ptr, ptr %62, align 8, !tbaa !5
  %64 = tail call i32 @atoi(ptr nocapture noundef %63) #14
  %65 = getelementptr inbounds i8, ptr %1, i64 24
  %66 = load ptr, ptr %65, align 8, !tbaa !5
  %67 = tail call i32 @atoi(ptr nocapture noundef %66) #14
  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 1, i32 noundef 14, i32 noundef %61, i32 noundef %64)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %6) #12
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %6, i32 noundef 1, i32 noundef 14, i32 noundef %61, i32 noundef %64)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %7) #12
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %7, i32 noundef 1, i32 noundef 13, i32 noundef %67, i32 noundef %64)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %8) #12
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %8, i32 noundef 1, i32 noundef 13, i32 noundef %67, i32 noundef %64)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #12
  call void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef 1)
          to label %68 unwind label %133

68:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %11, i32 noundef 1)
          to label %69 unwind label %135

69:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %12) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %12, i32 noundef 1)
          to label %70 unwind label %137

70:                                               ; preds = %69
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %5)
          to label %71 unwind label %139

71:                                               ; preds = %70
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %72 unwind label %139

72:                                               ; preds = %71
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %6)
          to label %73 unwind label %139

73:                                               ; preds = %72
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %74 unwind label %139

74:                                               ; preds = %73
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %11, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %7)
          to label %75 unwind label %139

75:                                               ; preds = %74
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %76 unwind label %139

76:                                               ; preds = %75
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %77 unwind label %139

77:                                               ; preds = %76
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %78 unwind label %139

78:                                               ; preds = %77
  %79 = mul i32 %64, %61
  %80 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %79, i32 noundef 1, i32 noundef 0)
          to label %81 unwind label %141

81:                                               ; preds = %78
  %82 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %79, i32 noundef 1, i32 noundef 0)
          to label %83 unwind label %143

83:                                               ; preds = %81
  call void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32) %9, float noundef 1.000000e+00)
  call void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32) %10, float noundef 1.000000e+00)
  %84 = mul i32 %67, %64
  %85 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %84, i32 noundef 1, i32 noundef 0)
          to label %86 unwind label %145

86:                                               ; preds = %83
  %87 = invoke noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %84, i32 noundef 1, i32 noundef 0)
          to label %88 unwind label %147

88:                                               ; preds = %86
  call void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32) %11, float noundef 1.000000e+00)
  call void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32) %12, float noundef 1.000000e+00)
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  %89 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %13, i32 noundef 1)
          to label %90 unwind label %149

90:                                               ; preds = %88
  %91 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %5)
          to label %92 unwind label %149

92:                                               ; preds = %90
  %93 = zext i32 %91 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %89, ptr noundef %80, i64 noundef %93)
          to label %94 unwind label %149

94:                                               ; preds = %92
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %10) #12
  %95 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %14, i32 noundef 1)
          to label %96 unwind label %151

96:                                               ; preds = %94
  %97 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %6)
          to label %98 unwind label %151

98:                                               ; preds = %96
  %99 = zext i32 %97 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %95, ptr noundef %82, i64 noundef %99)
          to label %100 unwind label %151

100:                                              ; preds = %98
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  %101 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %15, i32 noundef 1)
          to label %102 unwind label %153

102:                                              ; preds = %100
  %103 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %7)
          to label %104 unwind label %153

104:                                              ; preds = %102
  %105 = zext i32 %103 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %101, ptr noundef %85, i64 noundef %105)
          to label %106 unwind label %153

106:                                              ; preds = %104
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  %107 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %16, i32 noundef 1)
          to label %108 unwind label %155

108:                                              ; preds = %106
  %109 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %110 unwind label %155

110:                                              ; preds = %108
  %111 = zext i32 %109 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %107, ptr noundef %87, i64 noundef %111)
          to label %112 unwind label %155

112:                                              ; preds = %110
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #12
  %113 = getelementptr inbounds i8, ptr %5, i64 4
  %114 = load i32, ptr %113, align 4, !tbaa !9
  %115 = icmp eq i32 %114, 13
  %116 = getelementptr inbounds i8, ptr %7, i64 4
  %117 = load i32, ptr %116, align 4, !tbaa !9
  %118 = icmp eq i32 %117, 13
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %17) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %17, i32 noundef 1)
          to label %119 unwind label %157

119:                                              ; preds = %112
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %18) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %18, i32 noundef 1)
          to label %120 unwind label %159

120:                                              ; preds = %119
  %121 = invoke noundef i32 @_Z24matmul_infer_output_sizeP6TensorbS0_bS0_P8ArchInfo(ptr noundef nonnull %9, i1 noundef zeroext %115, ptr noundef nonnull %11, i1 noundef zeroext %118, ptr noundef nonnull %17, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %122 unwind label %161

122:                                              ; preds = %120
  %.not = icmp eq i32 %121, 0
  br i1 %.not, label %163, label %123

123:                                              ; preds = %122
  %124 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %125 = trunc i64 %124 to i32
  %126 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %125)
  %127 = load ptr, ptr @stdout, align 8, !tbaa !5
  %128 = call i32 @fflush(ptr noundef %127)
  %129 = call ptr @ee2str(i32 noundef %121)
  %130 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %129)
  %131 = load ptr, ptr @stdout, align 8, !tbaa !5
  %132 = call i32 @fflush(ptr noundef %131)
  call void @exit(i32 noundef 1) #13
  unreachable

133:                                              ; preds = %58
  %134 = landingpad { ptr, i32 }
          cleanup
  br label %317

135:                                              ; preds = %68
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %316

137:                                              ; preds = %69
  %138 = landingpad { ptr, i32 }
          cleanup
  br label %315

139:                                              ; preds = %77, %76, %75, %74, %73, %72, %71, %70
  %140 = landingpad { ptr, i32 }
          cleanup
  br label %314

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

143:                                              ; preds = %81
  %144 = landingpad { ptr, i32 }
          cleanup
  br label %314

145:                                              ; preds = %83
  %146 = landingpad { ptr, i32 }
          cleanup
  br label %314

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

149:                                              ; preds = %92, %90, %88
  %150 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #12
  br label %314

151:                                              ; preds = %98, %96, %94
  %152 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #12
  br label %314

153:                                              ; preds = %104, %102, %100
  %154 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #12
  br label %314

155:                                              ; preds = %110, %108, %106
  %156 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #12
  br label %314

157:                                              ; preds = %112
  %158 = landingpad { ptr, i32 }
          cleanup
  br label %313

159:                                              ; preds = %119
  %160 = landingpad { ptr, i32 }
          cleanup
  br label %312

161:                                              ; preds = %120
  %162 = landingpad { ptr, i32 }
          cleanup
  br label %311

163:                                              ; preds = %122
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %19) #12
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %19, ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %164 unwind label %182

164:                                              ; preds = %163
  store i32 6, ptr %19, align 8, !tbaa !14
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19)
          to label %165 unwind label %182

165:                                              ; preds = %164
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %17)
          to label %166 unwind label %182

166:                                              ; preds = %165
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19)
          to label %167 unwind label %182

167:                                              ; preds = %166
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %18)
          to label %168 unwind label %182

168:                                              ; preds = %167
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %20) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %20, i32 noundef 1)
          to label %169 unwind label %184

169:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %24, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %170 = invoke noundef i32 @_Z30matmul_infer_forward_tmp_bytes6TensorbS_bS_PjP8ArchInfo(ptr noundef nonnull %22, i1 noundef zeroext %115, ptr noundef nonnull %23, i1 noundef zeroext %118, ptr noundef nonnull %24, ptr noundef nonnull %21, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %171 unwind label %186

171:                                              ; preds = %169
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #12
  %.not103 = icmp eq i32 %170, 0
  br i1 %.not103, label %188, label %172

172:                                              ; preds = %171
  %173 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %174 = trunc i64 %173 to i32
  %175 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %174)
  %176 = load ptr, ptr @stdout, align 8, !tbaa !5
  %177 = call i32 @fflush(ptr noundef %176)
  %178 = call ptr @ee2str(i32 noundef %170)
  %179 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %178)
  %180 = load ptr, ptr @stdout, align 8, !tbaa !5
  %181 = call i32 @fflush(ptr noundef %180)
  call void @exit(i32 noundef 1) #13
  unreachable

182:                                              ; preds = %167, %166, %165, %164, %163
  %183 = landingpad { ptr, i32 }
          cleanup
  br label %310

184:                                              ; preds = %168
  %185 = landingpad { ptr, i32 }
          cleanup
  br label %309

186:                                              ; preds = %169
  %187 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %24) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #12
  br label %308

188:                                              ; preds = %171
  %189 = load i32, ptr %21, align 4, !tbaa !15
  invoke void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %25, i32 noundef 0, i32 noundef %189)
          to label %190 unwind label %208

190:                                              ; preds = %188
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %25)
          to label %191 unwind label %208

191:                                              ; preds = %190
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %20)
          to label %192 unwind label %208

192:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %26) #12
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %27) #12
  call void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2EmRKS0_RKS1_(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef 1, ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 1 dereferenceable(1) %27)
          to label %193 unwind label %210

193:                                              ; preds = %192
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #12
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %28) #12
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %28, i32 noundef 1)
          to label %194 unwind label %212

194:                                              ; preds = %193
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %29, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %31, ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %32, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %195 unwind label %214

195:                                              ; preds = %194
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %33, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %196 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %29, i1 noundef zeroext %115, ptr noundef nonnull %30, i1 noundef zeroext %118, ptr noundef nonnull %31, ptr noundef nonnull %32, ptr noundef nonnull %33, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %197 unwind label %216

197:                                              ; preds = %195
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #12
  %.not105 = icmp eq i32 %196, 0
  br i1 %.not105, label %219, 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 = %191, %190, %188
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %308

210:                                              ; preds = %192
  %211 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorI6TensorED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %27) #12
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %27) #12
  br label %307

212:                                              ; preds = %193
  %213 = landingpad { ptr, i32 }
          cleanup
  br label %306

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

216:                                              ; preds = %195
  %217 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %32) #12
  br label %218

218:                                              ; preds = %216, %214
  %.pn = phi { ptr, i32 } [ %217, %216 ], [ %215, %214 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %31) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #12
  br label %305

219:                                              ; preds = %197
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %34, ptr noundef nonnull align 8 dereferenceable(32) %10) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %35, ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %36, ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %37, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %220 unwind label %233

220:                                              ; preds = %219
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  %221 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %34, i1 noundef zeroext %115, ptr noundef nonnull %35, i1 noundef zeroext %118, ptr noundef nonnull %36, ptr noundef nonnull %37, ptr noundef nonnull %38, ptr noundef nonnull @_ZL18UT_SERIAL_ARCHINFO)
          to label %222 unwind label %235

222:                                              ; preds = %220
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  %.not108 = icmp eq i32 %221, 0
  br i1 %.not108, label %238, label %223

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

233:                                              ; preds = %219
  %234 = landingpad { ptr, i32 }
          cleanup
  br label %237

235:                                              ; preds = %220
  %236 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #12
  br label %237

237:                                              ; preds = %235, %233
  %.pn106 = phi { ptr, i32 } [ %236, %235 ], [ %234, %233 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %36) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #12
  br label %305

238:                                              ; preds = %222
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %239 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %39, i32 noundef 1)
          to label %240 unwind label %263

240:                                              ; preds = %238
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  %241 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %40, i32 noundef 1)
          to label %242 unwind label %265

242:                                              ; preds = %240
  %243 = mul i32 %67, %61
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %239, ptr noundef %241, i32 noundef %243, i32 noundef %2, float noundef 0.000000e+00)
          to label %244 unwind label %265

244:                                              ; preds = %242
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #12
  %245 = invoke noundef double @_Z10ut_time_msv()
          to label %.preheader.preheader unwind label %268

.preheader.preheader:                             ; preds = %244
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %270 unwind label %283

.preheader.1:                                     ; preds = %272
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %246 unwind label %283

246:                                              ; preds = %.preheader.1
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %247 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %41, i1 noundef zeroext %115, ptr noundef nonnull %42, i1 noundef zeroext %118, ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %248 unwind label %285

248:                                              ; preds = %246
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  %.not133.1 = icmp eq i32 %247, 0
  br i1 %.not133.1, label %.preheader.2, label %273

.preheader.2:                                     ; preds = %248
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %249 unwind label %283

249:                                              ; preds = %.preheader.2
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %250 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %41, i1 noundef zeroext %115, ptr noundef nonnull %42, i1 noundef zeroext %118, ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %251 unwind label %285

251:                                              ; preds = %249
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  %.not133.2 = icmp eq i32 %250, 0
  br i1 %.not133.2, label %.preheader.3, label %273

.preheader.3:                                     ; preds = %251
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %252 unwind label %283

252:                                              ; preds = %.preheader.3
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %253 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %41, i1 noundef zeroext %115, ptr noundef nonnull %42, i1 noundef zeroext %118, ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %254 unwind label %285

254:                                              ; preds = %252
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  %.not133.3 = icmp eq i32 %253, 0
  br i1 %.not133.3, label %.preheader.4, label %273

.preheader.4:                                     ; preds = %254
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %255 unwind label %283

255:                                              ; preds = %.preheader.4
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %256 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %41, i1 noundef zeroext %115, ptr noundef nonnull %42, i1 noundef zeroext %118, ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %257 unwind label %285

257:                                              ; preds = %255
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  %.not133.4 = icmp eq i32 %256, 0
  br i1 %.not133.4, label %.preheader.5, label %273

.preheader.5:                                     ; preds = %257
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %9) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %42, ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  invoke void @_ZNSt6vectorI6TensorSaIS0_EEC2ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %44, ptr noundef nonnull align 8 dereferenceable(24) %26)
          to label %258 unwind label %283

258:                                              ; preds = %.preheader.5
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %259 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %41, i1 noundef zeroext %115, ptr noundef nonnull %42, i1 noundef zeroext %118, ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %260 unwind label %285

260:                                              ; preds = %258
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  %.not133.5 = icmp eq i32 %259, 0
  br i1 %.not133.5, label %261, label %273

261:                                              ; preds = %260
  %262 = invoke noundef double @_Z10ut_time_msv()
          to label %288 unwind label %301

263:                                              ; preds = %238
  %264 = landingpad { ptr, i32 }
          cleanup
  br label %267

265:                                              ; preds = %242, %240
  %266 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #12
  br label %267

267:                                              ; preds = %265, %263
  %.pn109 = phi { ptr, i32 } [ %266, %265 ], [ %264, %263 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #12
  br label %305

268:                                              ; preds = %244
  %269 = landingpad { ptr, i32 }
          cleanup
  br label %305

270:                                              ; preds = %.preheader.preheader
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  %271 = invoke noundef i32 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef nonnull %41, i1 noundef zeroext %115, ptr noundef nonnull %42, i1 noundef zeroext %118, ptr noundef nonnull %43, ptr noundef nonnull %44, ptr noundef nonnull %45, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %272 unwind label %285

272:                                              ; preds = %270
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  %.not133 = icmp eq i32 %271, 0
  br i1 %.not133, label %.preheader.1, label %273

273:                                              ; preds = %260, %257, %254, %251, %248, %272
  %.lcssa = phi i32 [ %271, %272 ], [ %247, %248 ], [ %250, %251 ], [ %253, %254 ], [ %256, %257 ], [ %259, %260 ]
  %274 = call i64 (i64, ...) @syscall(i64 noundef 186) #12
  %275 = trunc i64 %274 to i32
  %276 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %275)
  %277 = load ptr, ptr @stdout, align 8, !tbaa !5
  %278 = call i32 @fflush(ptr noundef %277)
  %279 = call ptr @ee2str(i32 noundef %.lcssa)
  %280 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %279)
  %281 = load ptr, ptr @stdout, align 8, !tbaa !5
  %282 = call i32 @fflush(ptr noundef %281)
  call void @exit(i32 noundef 1) #13
  unreachable

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

285:                                              ; preds = %258, %255, %252, %249, %246, %270
  %286 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %44) #12
  br label %287

287:                                              ; preds = %285, %283
  %.pn113 = phi { ptr, i32 } [ %286, %285 ], [ %284, %283 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %42) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #12
  br label %305

288:                                              ; preds = %261
  %289 = fsub double %262, %245
  %290 = fdiv double %289, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %46) #12
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %47) #12
  %291 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %47, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %61, i32 noundef %64, i32 noundef %64, i32 noundef %67, i32 noundef %61, i32 noundef %67) #12
  %292 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %46, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull %47) #12
  %293 = uitofp i32 %61 to double
  %294 = fmul double %293, 2.000000e+00
  %295 = uitofp i32 %67 to double
  %296 = fmul double %294, %295
  %297 = uitofp i32 %64 to double
  %298 = fmul double %293, %295
  %299 = call double @llvm.fmuladd.f64(double %296, double %297, double %298)
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %2, ptr noundef nonnull %46, double noundef %299, double noundef %290)
          to label %300 unwind label %303

300:                                              ; preds = %288
  call void @free(ptr noundef %80) #12
  call void @free(ptr noundef %85) #12
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %47) #12
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %46) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #12
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #12
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #12
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %19) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #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) %10) #12
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #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 @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 92, 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
  ret i32 0

301:                                              ; preds = %261
  %302 = landingpad { ptr, i32 }
          cleanup
  br label %305

303:                                              ; preds = %288
  %304 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %47) #12
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %46) #12
  br label %305

305:                                              ; preds = %268, %287, %303, %301, %267, %237, %218
  %.pn113.pn.pn = phi { ptr, i32 } [ %.pn109, %267 ], [ %.pn106, %237 ], [ %.pn, %218 ], [ %.pn113, %287 ], [ %269, %268 ], [ %304, %303 ], [ %302, %301 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #12
  br label %306

306:                                              ; preds = %305, %212
  %.pn113.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn, %305 ], [ %213, %212 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %28) #12
  call void @_ZNSt6vectorI6TensorSaIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %26) #12
  br label %307

307:                                              ; preds = %306, %210
  %.pn113.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn, %306 ], [ %211, %210 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %26) #12
  br label %308

308:                                              ; preds = %307, %208, %186
  %.pn113.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn, %307 ], [ %209, %208 ], [ %187, %186 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #12
  br label %309

309:                                              ; preds = %308, %184
  %.pn113.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn.pn, %308 ], [ %185, %184 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %20) #12
  br label %310

310:                                              ; preds = %309, %182
  %.pn113.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn.pn.pn, %309 ], [ %183, %182 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %19) #12
  br label %311

311:                                              ; preds = %310, %161
  %.pn113.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn.pn.pn.pn, %310 ], [ %162, %161 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #12
  br label %312

312:                                              ; preds = %311, %159
  %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn.pn.pn.pn.pn, %311 ], [ %160, %159 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %18) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #12
  br label %313

313:                                              ; preds = %312, %157
  %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn, %312 ], [ %158, %157 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %17) #12
  br label %314

314:                                              ; preds = %141, %145, %313, %155, %153, %151, %149, %147, %143, %139
  %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %140, %139 ], [ %142, %141 ], [ %144, %143 ], [ %146, %145 ], [ %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %313 ], [ %156, %155 ], [ %154, %153 ], [ %152, %151 ], [ %150, %149 ], [ %148, %147 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #12
  br label %315

315:                                              ; preds = %314, %137
  %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %314 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #12
  br label %316

316:                                              ; preds = %315, %135
  %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %315 ], [ %136, %135 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #12
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #12
  br label %317

317:                                              ; preds = %316, %133
  %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn113.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn, %316 ], [ %134, %133 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #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 @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #12
  call void @llvm.lifetime.end.p0(i64 92, 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
  resume { ptr, i32 } %.pn113.pn.pn.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 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 #6

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

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32)) 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 #6

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN6Tensor9set_scaleEf(ptr noundef nonnull align 8 dereferenceable(32), float noundef) local_unnamed_addr #7 align 2

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

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

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

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

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

declare noundef i32 @_Z24matmul_infer_output_sizeP6TensorbS0_bS0_P8ArchInfo(ptr noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef) local_unnamed_addr #9

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

; 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 @_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 @_Z30matmul_infer_forward_tmp_bytes6TensorbS_bS_PjP8ArchInfo(ptr noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #9

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaI6TensorEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #7 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 @_Z6matmul6TensorbS_bS_St6vectorIS_SaIS_EES_P8ArchInfo(ptr noundef, i1 noundef zeroext, ptr noundef, i1 noundef zeroext, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #9

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

declare noundef double @_Z10ut_time_msv() local_unnamed_addr #9

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

; 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 #7 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 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 = { 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 #8 = { 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 #9 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { 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, !12, i64 4}
!10 = !{!"_ZTS10TensorDesc", !11, i64 0, !12, i64 4, !13, i64 8, !7, i64 12}
!11 = !{!"_ZTS8DataType", !7, i64 0}
!12 = !{!"_ZTS10DataFormat", !7, i64 0}
!13 = !{!"int", !7, i64 0}
!14 = !{!10, !11, i64 0}
!15 = !{!13, !13, i64 0}


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