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

; 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.PReLUParamSpec = type { i8 }
%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" }

@.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 [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z9preluTestiPPc8DataType(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca %struct.PReLUParamSpec, align 1
  %14 = alloca %struct.TensorDesc, align 4
  %15 = alloca %struct.TensorDesc, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.TensorDesc, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca %class.Tensor, align 8
  %21 = alloca %struct.TensorDesc, align 8
  %22 = alloca %class.Tensor, align 8
  %23 = alloca %struct.TensorDesc, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca %class.Tensor, align 8
  %27 = alloca %struct.TensorDesc, align 8
  %28 = alloca %class.Tensor, align 8
  %29 = alloca %struct.TensorDesc, align 8
  %30 = alloca %class.Tensor, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %class.Tensor, align 8
  %34 = alloca %struct.TensorDesc, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  %37 = alloca i32, align 4
  %38 = alloca %class.Tensor, align 8
  %39 = alloca %class.Tensor, align 8
  %40 = alloca %struct.PReLUParamSpec, align 1
  %41 = alloca %class.Tensor, align 8
  %42 = alloca i32, align 4
  %43 = alloca i32, align 4
  %44 = alloca %class.Tensor, align 8
  %45 = alloca %class.Tensor, align 8
  %46 = alloca %struct.PReLUParamSpec, align 1
  %47 = alloca %class.Tensor, align 8
  %48 = alloca i32, align 4
  %49 = alloca %class.Tensor, align 8
  %50 = alloca %class.Tensor, align 8
  %51 = alloca double, align 8
  %52 = alloca i32, align 4
  %53 = alloca i32, align 4
  %54 = alloca %class.Tensor, align 8
  %55 = alloca %class.Tensor, align 8
  %56 = alloca %struct.PReLUParamSpec, align 1
  %57 = alloca %class.Tensor, align 8
  %58 = alloca i32, align 4
  %59 = alloca double, align 8
  %60 = alloca double, align 8
  %61 = alloca [150 x i8], align 16
  %62 = alloca [120 x i8], align 16
  %63 = alloca double, align 8
  store i32 %0, ptr %4, align 4, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !11
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = icmp eq i32 %64, 5
  br i1 %65, label %76, label %66

66:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #10
  %67 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %68 = trunc i64 %67 to i32
  store i32 %68, ptr %7, align 4, !tbaa !5
  %69 = load i32, ptr %7, align 4, !tbaa !5
  %70 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %69)
  %71 = load ptr, ptr @stdout, align 8, !tbaa !9
  %72 = call i32 @fflush(ptr noundef %71)
  %73 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %74 = load ptr, ptr @stdout, align 8, !tbaa !9
  %75 = call i32 @fflush(ptr noundef %74)
  call void @exit(i32 noundef 1) #11
  unreachable

76:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #10
  %77 = load ptr, ptr %5, align 8, !tbaa !9
  %78 = getelementptr inbounds ptr, ptr %77, i64 1
  %79 = load ptr, ptr %78, align 8, !tbaa !9
  %80 = call i32 @atoi(ptr noundef %79) #12
  store i32 %80, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #10
  %81 = load ptr, ptr %5, align 8, !tbaa !9
  %82 = getelementptr inbounds ptr, ptr %81, i64 2
  %83 = load ptr, ptr %82, align 8, !tbaa !9
  %84 = call i32 @atoi(ptr noundef %83) #12
  store i32 %84, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #10
  %85 = load ptr, ptr %5, align 8, !tbaa !9
  %86 = getelementptr inbounds ptr, ptr %85, i64 3
  %87 = load ptr, ptr %86, align 8, !tbaa !9
  %88 = call i32 @atoi(ptr noundef %87) #12
  store i32 %88, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  %89 = load ptr, ptr %5, align 8, !tbaa !9
  %90 = getelementptr inbounds ptr, ptr %89, i64 4
  %91 = load ptr, ptr %90, align 8, !tbaa !9
  %92 = call i32 @atoi(ptr noundef %91) #12
  store i32 %92, ptr %11, align 4, !tbaa !5
  %93 = load i32, ptr %9, align 4, !tbaa !5
  %94 = urem i32 %93, 8
  %95 = icmp eq i32 %94, 0
  br i1 %95, label %106, label %96

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

106:                                              ; preds = %76
  call void @llvm.lifetime.start.p0(i64 1, ptr %13) #10
  %107 = getelementptr inbounds %struct.PReLUParamSpec, ptr %13, i32 0, i32 0
  store i8 0, ptr %107, align 1, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 92, ptr %14) #10
  %108 = load i32, ptr %6, align 4, !tbaa !11
  %109 = load i32, ptr %8, align 4, !tbaa !5
  %110 = load i32, ptr %9, align 4, !tbaa !5
  %111 = load i32, ptr %10, align 4, !tbaa !5
  %112 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %14, i32 noundef %108, i32 noundef 2, i32 noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112)
  call void @llvm.lifetime.start.p0(i64 92, ptr %15) #10
  %113 = load i32, ptr %6, align 4, !tbaa !11
  %114 = load i32, ptr %9, align 4, !tbaa !5
  call void @_Z8tensor1d8DataTypej(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %15, i32 noundef %113, i32 noundef %114)
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !16
  %115 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %17)
  store i32 %115, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #10
  %116 = load i32, ptr %16, align 4, !tbaa !5
  %117 = load i32, ptr %6, align 4, !tbaa !11
  %118 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %116, i32 noundef %117, i32 noundef 0)
  store ptr %118, ptr %18, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #10
  %119 = load i32, ptr %9, align 4, !tbaa !5
  %120 = load i32, ptr %6, align 4, !tbaa !11
  %121 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %119, i32 noundef %120, i32 noundef 0)
  store ptr %121, ptr %19, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %20) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %21, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !16
  call void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %20, ptr noundef byval(%struct.TensorDesc) align 8 %21)
  call void @llvm.lifetime.start.p0(i64 32, ptr %22) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !16
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %22, ptr noundef byval(%struct.TensorDesc) align 8 %23)
          to label %122 unwind label %159

122:                                              ; preds = %106
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  %123 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %26, i32 noundef 1)
          to label %124 unwind label %163

124:                                              ; preds = %122
  %125 = load ptr, ptr %18, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %27, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !16
  %126 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %27)
          to label %127 unwind label %163

127:                                              ; preds = %124
  %128 = zext i32 %126 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %123, ptr noundef %125, i64 noundef %128)
          to label %129 unwind label %163

129:                                              ; preds = %127
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %28, ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  %130 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %28, i32 noundef 1)
          to label %131 unwind label %167

131:                                              ; preds = %129
  %132 = load ptr, ptr %19, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 4 %15, i64 92, i1 false), !tbaa.struct !16
  %133 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %29)
          to label %134 unwind label %167

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

136:                                              ; preds = %134
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  call void @llvm.lifetime.start.p0(i64 32, ptr %30) #10
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %30, i32 noundef 1)
          to label %137 unwind label %171

137:                                              ; preds = %136
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #10
  %138 = invoke noundef i32 @_Z23prelu_infer_output_sizeP6TensorS0_P8ArchInfo(ptr noundef %20, ptr noundef %30, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %139 unwind label %175

139:                                              ; preds = %137
  store i32 %138, ptr %31, align 4, !tbaa !20
  %140 = load i32, ptr %31, align 4, !tbaa !20
  %141 = icmp ne i32 %140, 0
  br i1 %141, label %142, label %183

142:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #10
  %143 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %144 = trunc i64 %143 to i32
  store i32 %144, ptr %32, align 4, !tbaa !5
  %145 = load i32, ptr %32, align 4, !tbaa !5
  %146 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %145)
          to label %147 unwind label %179

147:                                              ; preds = %142
  %148 = load ptr, ptr @stdout, align 8, !tbaa !9
  %149 = invoke i32 @fflush(ptr noundef %148)
          to label %150 unwind label %179

150:                                              ; preds = %147
  %151 = load i32, ptr %31, align 4, !tbaa !20
  %152 = invoke ptr @ee2str(i32 noundef %151)
          to label %153 unwind label %179

153:                                              ; preds = %150
  %154 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %152)
          to label %155 unwind label %179

155:                                              ; preds = %153
  %156 = load ptr, ptr @stdout, align 8, !tbaa !9
  %157 = invoke i32 @fflush(ptr noundef %156)
          to label %158 unwind label %179

158:                                              ; preds = %155
  call void @exit(i32 noundef 1) #11
  unreachable

159:                                              ; preds = %106
  %160 = landingpad { ptr, i32 }
          cleanup
  %161 = extractvalue { ptr, i32 } %160, 0
  store ptr %161, ptr %24, align 8
  %162 = extractvalue { ptr, i32 } %160, 1
  store i32 %162, ptr %25, align 4
  br label %427

163:                                              ; preds = %127, %124, %122
  %164 = landingpad { ptr, i32 }
          cleanup
  %165 = extractvalue { ptr, i32 } %164, 0
  store ptr %165, ptr %24, align 8
  %166 = extractvalue { ptr, i32 } %164, 1
  store i32 %166, ptr %25, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #10
  br label %426

167:                                              ; preds = %134, %131, %129
  %168 = landingpad { ptr, i32 }
          cleanup
  %169 = extractvalue { ptr, i32 } %168, 0
  store ptr %169, ptr %24, align 8
  %170 = extractvalue { ptr, i32 } %168, 1
  store i32 %170, ptr %25, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #10
  br label %426

171:                                              ; preds = %136
  %172 = landingpad { ptr, i32 }
          cleanup
  %173 = extractvalue { ptr, i32 } %172, 0
  store ptr %173, ptr %24, align 8
  %174 = extractvalue { ptr, i32 } %172, 1
  store i32 %174, ptr %25, align 4
  br label %425

175:                                              ; preds = %137
  %176 = landingpad { ptr, i32 }
          cleanup
  %177 = extractvalue { ptr, i32 } %176, 0
  store ptr %177, ptr %24, align 8
  %178 = extractvalue { ptr, i32 } %176, 1
  store i32 %178, ptr %25, align 4
  br label %222

179:                                              ; preds = %155, %153, %150, %147, %142
  %180 = landingpad { ptr, i32 }
          cleanup
  %181 = extractvalue { ptr, i32 } %180, 0
  store ptr %181, ptr %24, align 8
  %182 = extractvalue { ptr, i32 } %180, 1
  store i32 %182, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #10
  br label %222

183:                                              ; preds = %139
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %184 unwind label %223

184:                                              ; preds = %183
  call void @llvm.lifetime.start.p0(i64 32, ptr %33) #10
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %34, ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %185 unwind label %227

185:                                              ; preds = %184
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %33, ptr noundef byval(%struct.TensorDesc) align 8 %34)
          to label %186 unwind label %227

186:                                              ; preds = %185
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #10
  %187 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %30)
          to label %188 unwind label %231

188:                                              ; preds = %186
  store i32 %187, ptr %35, align 4, !tbaa !5
  %189 = load i32, ptr %16, align 4, !tbaa !5
  %190 = load i32, ptr %8, align 4, !tbaa !5
  %191 = load i32, ptr %9, align 4, !tbaa !5
  %192 = mul i32 %190, %191
  %193 = load i32, ptr %10, align 4, !tbaa !5
  %194 = mul i32 %192, %193
  %195 = load i32, ptr %11, align 4, !tbaa !5
  %196 = mul i32 %194, %195
  %197 = icmp eq i32 %189, %196
  br i1 %197, label %198, label %208

198:                                              ; preds = %188
  %199 = load i32, ptr %35, align 4, !tbaa !5
  %200 = load i32, ptr %8, align 4, !tbaa !5
  %201 = load i32, ptr %9, align 4, !tbaa !5
  %202 = mul i32 %200, %201
  %203 = load i32, ptr %10, align 4, !tbaa !5
  %204 = mul i32 %202, %203
  %205 = load i32, ptr %11, align 4, !tbaa !5
  %206 = mul i32 %204, %205
  %207 = icmp eq i32 %199, %206
  br i1 %207, label %239, label %208

208:                                              ; preds = %198, %188
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #10
  %209 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %210 = trunc i64 %209 to i32
  store i32 %210, ptr %36, align 4, !tbaa !5
  %211 = load i32, ptr %36, align 4, !tbaa !5
  %212 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %211)
          to label %213 unwind label %235

213:                                              ; preds = %208
  %214 = load ptr, ptr @stdout, align 8, !tbaa !9
  %215 = invoke i32 @fflush(ptr noundef %214)
          to label %216 unwind label %235

216:                                              ; preds = %213
  %217 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.1)
          to label %218 unwind label %235

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

221:                                              ; preds = %218
  call void @exit(i32 noundef 1) #11
  unreachable

222:                                              ; preds = %179, %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #10
  br label %424

223:                                              ; preds = %183
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %24, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %25, align 4
  br label %424

227:                                              ; preds = %185, %184
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %24, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %25, align 4
  br label %423

231:                                              ; preds = %186
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %24, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %25, align 4
  br label %422

235:                                              ; preds = %218, %216, %213, %208
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %24, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #10
  br label %422

239:                                              ; preds = %198
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %40, ptr align 1 %13, i64 1, i1 false), !tbaa.struct !22
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %41, ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  %240 = getelementptr inbounds %struct.PReLUParamSpec, ptr %40, i32 0, i32 0
  %241 = load i8, ptr %240, align 1
  %242 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef %38, ptr noundef %39, i8 %241, ptr noundef %41, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %243 unwind label %263

243:                                              ; preds = %239
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #10
  store i32 %242, ptr %37, align 4, !tbaa !20
  %244 = load i32, ptr %37, align 4, !tbaa !20
  %245 = icmp ne i32 %244, 0
  br i1 %245, label %246, label %271

246:                                              ; preds = %243
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #10
  %247 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %248 = trunc i64 %247 to i32
  store i32 %248, ptr %42, align 4, !tbaa !5
  %249 = load i32, ptr %42, align 4, !tbaa !5
  %250 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %249)
          to label %251 unwind label %267

251:                                              ; preds = %246
  %252 = load ptr, ptr @stdout, align 8, !tbaa !9
  %253 = invoke i32 @fflush(ptr noundef %252)
          to label %254 unwind label %267

254:                                              ; preds = %251
  %255 = load i32, ptr %37, align 4, !tbaa !20
  %256 = invoke ptr @ee2str(i32 noundef %255)
          to label %257 unwind label %267

257:                                              ; preds = %254
  %258 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %256)
          to label %259 unwind label %267

259:                                              ; preds = %257
  %260 = load ptr, ptr @stdout, align 8, !tbaa !9
  %261 = invoke i32 @fflush(ptr noundef %260)
          to label %262 unwind label %267

262:                                              ; preds = %259
  call void @exit(i32 noundef 1) #11
  unreachable

263:                                              ; preds = %239
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %24, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %25, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %41) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #10
  br label %295

267:                                              ; preds = %259, %257, %254, %251, %246
  %268 = landingpad { ptr, i32 }
          cleanup
  %269 = extractvalue { ptr, i32 } %268, 0
  store ptr %269, ptr %24, align 8
  %270 = extractvalue { ptr, i32 } %268, 1
  store i32 %270, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #10
  br label %295

271:                                              ; preds = %243
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  call void @llvm.lifetime.start.p0(i64 4, ptr %43) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %46, ptr align 1 %13, i64 1, i1 false), !tbaa.struct !22
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %47, ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  %272 = getelementptr inbounds %struct.PReLUParamSpec, ptr %46, i32 0, i32 0
  %273 = load i8, ptr %272, align 1
  %274 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef %44, ptr noundef %45, i8 %273, ptr noundef %47, ptr noundef @_ZL18UT_SERIAL_ARCHINFO)
          to label %275 unwind label %296

275:                                              ; preds = %271
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #10
  store i32 %274, ptr %43, align 4, !tbaa !20
  %276 = load i32, ptr %43, align 4, !tbaa !20
  %277 = icmp ne i32 %276, 0
  br i1 %277, label %278, label %304

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

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

286:                                              ; preds = %283
  %287 = load i32, ptr %43, align 4, !tbaa !20
  %288 = invoke ptr @ee2str(i32 noundef %287)
          to label %289 unwind label %300

289:                                              ; preds = %286
  %290 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %288)
          to label %291 unwind label %300

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

294:                                              ; preds = %291
  call void @exit(i32 noundef 1) #11
  unreachable

295:                                              ; preds = %267, %263
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #10
  br label %422

296:                                              ; preds = %271
  %297 = landingpad { ptr, i32 }
          cleanup
  %298 = extractvalue { ptr, i32 } %297, 0
  store ptr %298, ptr %24, align 8
  %299 = extractvalue { ptr, i32 } %297, 1
  store i32 %299, ptr %25, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %47) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #10
  br label %318

300:                                              ; preds = %291, %289, %286, %283, %278
  %301 = landingpad { ptr, i32 }
          cleanup
  %302 = extractvalue { ptr, i32 } %301, 0
  store ptr %302, ptr %24, align 8
  %303 = extractvalue { ptr, i32 } %301, 1
  store i32 %303, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %48) #10
  br label %318

304:                                              ; preds = %275
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  %305 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %49, i32 noundef 1)
          to label %306 unwind label %319

306:                                              ; preds = %304
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %50, ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  %307 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %50, i32 noundef 1)
          to label %308 unwind label %323

308:                                              ; preds = %306
  %309 = load i32, ptr %35, align 4, !tbaa !5
  %310 = load i32, ptr %6, align 4, !tbaa !11
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %305, ptr noundef %307, i32 noundef %309, i32 noundef %310, float noundef 0x3FA99999A0000000)
          to label %311 unwind label %323

311:                                              ; preds = %308
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %51) #10
  %312 = invoke noundef double @_Z10ut_time_msv()
          to label %313 unwind label %328

313:                                              ; preds = %311
  store double %312, ptr %51, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #10
  store i32 0, ptr %52, align 4, !tbaa !5
  br label %314

314:                                              ; preds = %365, %313
  %315 = load i32, ptr %52, align 4, !tbaa !5
  %316 = icmp slt i32 %315, 6
  br i1 %316, label %332, label %317

317:                                              ; preds = %314
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #10
  br label %369

318:                                              ; preds = %300, %296
  call void @llvm.lifetime.end.p0(i64 4, ptr %43) #10
  br label %422

319:                                              ; preds = %304
  %320 = landingpad { ptr, i32 }
          cleanup
  %321 = extractvalue { ptr, i32 } %320, 0
  store ptr %321, ptr %24, align 8
  %322 = extractvalue { ptr, i32 } %320, 1
  store i32 %322, ptr %25, align 4
  br label %327

323:                                              ; preds = %308, %306
  %324 = landingpad { ptr, i32 }
          cleanup
  %325 = extractvalue { ptr, i32 } %324, 0
  store ptr %325, ptr %24, align 8
  %326 = extractvalue { ptr, i32 } %324, 1
  store i32 %326, ptr %25, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %50) #10
  br label %327

327:                                              ; preds = %323, %319
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #10
  br label %422

328:                                              ; preds = %311
  %329 = landingpad { ptr, i32 }
          cleanup
  %330 = extractvalue { ptr, i32 } %329, 0
  store ptr %330, ptr %24, align 8
  %331 = extractvalue { ptr, i32 } %329, 1
  store i32 %331, ptr %25, align 4
  br label %421

332:                                              ; preds = %314
  call void @llvm.lifetime.start.p0(i64 4, ptr %53) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %56, ptr align 1 %13, i64 1, i1 false), !tbaa.struct !22
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %57, ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  %333 = getelementptr inbounds %struct.PReLUParamSpec, ptr %56, i32 0, i32 0
  %334 = load i8, ptr %333, align 1
  %335 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef %54, ptr noundef %55, i8 %334, ptr noundef %57, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %336 unwind label %356

336:                                              ; preds = %332
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  store i32 %335, ptr %53, align 4, !tbaa !20
  %337 = load i32, ptr %53, align 4, !tbaa !20
  %338 = icmp ne i32 %337, 0
  br i1 %338, label %339, label %364

339:                                              ; preds = %336
  call void @llvm.lifetime.start.p0(i64 4, ptr %58) #10
  %340 = call i64 (i64, ...) @syscall(i64 noundef 186) #10
  %341 = trunc i64 %340 to i32
  store i32 %341, ptr %58, align 4, !tbaa !5
  %342 = load i32, ptr %58, align 4, !tbaa !5
  %343 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %342)
          to label %344 unwind label %360

344:                                              ; preds = %339
  %345 = load ptr, ptr @stdout, align 8, !tbaa !9
  %346 = invoke i32 @fflush(ptr noundef %345)
          to label %347 unwind label %360

347:                                              ; preds = %344
  %348 = load i32, ptr %53, align 4, !tbaa !20
  %349 = invoke ptr @ee2str(i32 noundef %348)
          to label %350 unwind label %360

350:                                              ; preds = %347
  %351 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %349)
          to label %352 unwind label %360

352:                                              ; preds = %350
  %353 = load ptr, ptr @stdout, align 8, !tbaa !9
  %354 = invoke i32 @fflush(ptr noundef %353)
          to label %355 unwind label %360

355:                                              ; preds = %352
  call void @exit(i32 noundef 1) #11
  unreachable

356:                                              ; preds = %332
  %357 = landingpad { ptr, i32 }
          cleanup
  %358 = extractvalue { ptr, i32 } %357, 0
  store ptr %358, ptr %24, align 8
  %359 = extractvalue { ptr, i32 } %357, 1
  store i32 %359, ptr %25, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %57) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #10
  br label %368

360:                                              ; preds = %352, %350, %347, %344, %339
  %361 = landingpad { ptr, i32 }
          cleanup
  %362 = extractvalue { ptr, i32 } %361, 0
  store ptr %362, ptr %24, align 8
  %363 = extractvalue { ptr, i32 } %361, 1
  store i32 %363, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %58) #10
  br label %368

364:                                              ; preds = %336
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #10
  br label %365

365:                                              ; preds = %364
  %366 = load i32, ptr %52, align 4, !tbaa !5
  %367 = add nsw i32 %366, 1
  store i32 %367, ptr %52, align 4, !tbaa !5
  br label %314, !llvm.loop !26

368:                                              ; preds = %360, %356
  call void @llvm.lifetime.end.p0(i64 4, ptr %53) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #10
  br label %421

369:                                              ; preds = %317
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #10
  %370 = invoke noundef double @_Z10ut_time_msv()
          to label %371 unwind label %412

371:                                              ; preds = %369
  store double %370, ptr %59, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %60) #10
  %372 = load double, ptr %59, align 8, !tbaa !24
  %373 = load double, ptr %51, align 8, !tbaa !24
  %374 = fsub double %372, %373
  %375 = fdiv double %374, 6.000000e+00
  store double %375, ptr %60, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 150, ptr %61) #10
  call void @llvm.lifetime.start.p0(i64 120, ptr %62) #10
  %376 = getelementptr inbounds [120 x i8], ptr %62, i64 0, i64 0
  %377 = load i32, ptr %8, align 4, !tbaa !5
  %378 = load i32, ptr %9, align 4, !tbaa !5
  %379 = load i32, ptr %10, align 4, !tbaa !5
  %380 = load i32, ptr %11, align 4, !tbaa !5
  %381 = load i32, ptr %9, align 4, !tbaa !5
  %382 = load i32, ptr %8, align 4, !tbaa !5
  %383 = load i32, ptr %9, align 4, !tbaa !5
  %384 = load i32, ptr %10, align 4, !tbaa !5
  %385 = load i32, ptr %11, align 4, !tbaa !5
  %386 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %376, ptr noundef @.str.3, i32 noundef %377, i32 noundef %378, i32 noundef %379, i32 noundef %380, i32 noundef %381, i32 noundef %382, i32 noundef %383, i32 noundef %384, i32 noundef %385) #10
  %387 = getelementptr inbounds [150 x i8], ptr %61, i64 0, i64 0
  %388 = getelementptr inbounds [120 x i8], ptr %62, i64 0, i64 0
  %389 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %387, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %388) #10
  call void @llvm.lifetime.start.p0(i64 8, ptr %63) #10
  %390 = load i32, ptr %8, align 4, !tbaa !5
  %391 = uitofp i32 %390 to double
  %392 = fmul double 2.000000e+00, %391
  %393 = load i32, ptr %9, align 4, !tbaa !5
  %394 = uitofp i32 %393 to double
  %395 = fmul double %392, %394
  %396 = load i32, ptr %10, align 4, !tbaa !5
  %397 = uitofp i32 %396 to double
  %398 = fmul double %395, %397
  %399 = load i32, ptr %11, align 4, !tbaa !5
  %400 = uitofp i32 %399 to double
  %401 = load i32, ptr %8, align 4, !tbaa !5
  %402 = uitofp i32 %401 to double
  %403 = fmul double 1.000000e+00, %402
  %404 = call double @llvm.fmuladd.f64(double %398, double %400, double %403)
  store double %404, ptr %63, align 8, !tbaa !24
  %405 = load i32, ptr %6, align 4, !tbaa !11
  %406 = getelementptr inbounds [150 x i8], ptr %61, i64 0, i64 0
  %407 = load double, ptr %63, align 8, !tbaa !24
  %408 = load double, ptr %60, align 8, !tbaa !24
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %405, ptr noundef %406, double noundef %407, double noundef %408)
          to label %409 unwind label %416

409:                                              ; preds = %371
  %410 = load ptr, ptr %18, align 8, !tbaa !9
  call void @free(ptr noundef %410) #10
  %411 = load ptr, ptr %19, align 8, !tbaa !9
  call void @free(ptr noundef %411) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.end.p0(i64 120, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 150, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  ret i32 0

412:                                              ; preds = %369
  %413 = landingpad { ptr, i32 }
          cleanup
  %414 = extractvalue { ptr, i32 } %413, 0
  store ptr %414, ptr %24, align 8
  %415 = extractvalue { ptr, i32 } %413, 1
  store i32 %415, ptr %25, align 4
  br label %420

416:                                              ; preds = %371
  %417 = landingpad { ptr, i32 }
          cleanup
  %418 = extractvalue { ptr, i32 } %417, 0
  store ptr %418, ptr %24, align 8
  %419 = extractvalue { ptr, i32 } %417, 1
  store i32 %419, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %63) #10
  call void @llvm.lifetime.end.p0(i64 120, ptr %62) #10
  call void @llvm.lifetime.end.p0(i64 150, ptr %61) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %60) #10
  br label %420

420:                                              ; preds = %416, %412
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #10
  br label %421

421:                                              ; preds = %420, %368, %328
  call void @llvm.lifetime.end.p0(i64 8, ptr %51) #10
  br label %422

422:                                              ; preds = %421, %327, %318, %295, %235, %231
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %33) #10
  br label %423

423:                                              ; preds = %422, %227
  call void @llvm.lifetime.end.p0(i64 32, ptr %33) #10
  br label %424

424:                                              ; preds = %423, %223, %222
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %30) #10
  br label %425

425:                                              ; preds = %424, %171
  call void @llvm.lifetime.end.p0(i64 32, ptr %30) #10
  br label %426

426:                                              ; preds = %425, %167, %163
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #10
  br label %427

427:                                              ; preds = %426, %159
  call void @llvm.lifetime.end.p0(i64 32, ptr %22) #10
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #10
  call void @llvm.lifetime.end.p0(i64 32, ptr %20) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %15) #10
  call void @llvm.lifetime.end.p0(i64 92, ptr %14) #10
  call void @llvm.lifetime.end.p0(i64 1, ptr %13) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #10
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #10
  br label %428

428:                                              ; preds = %427
  %429 = load ptr, ptr %24, align 8
  %430 = load i32, ptr %25, align 4
  %431 = insertvalue { ptr, i32 } poison, ptr %429, 0
  %432 = insertvalue { ptr, i32 } %431, i32 %430, 1
  resume { ptr, i32 } %432
}

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

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

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

declare i32 @fflush(ptr noundef) #3

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

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef, ptr noundef, i8, ptr noundef, ptr noundef) #3

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

declare noundef double @_Z10ut_time_msv() #3

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

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

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

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

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

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

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

@.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 [33 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z9preluTestiPPc8DataType(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca %struct.TensorDesc, align 8
  %5 = alloca %struct.TensorDesc, align 8
  %6 = alloca %class.Tensor, align 8
  %7 = alloca %class.Tensor, align 8
  %8 = alloca %class.Tensor, align 8
  %9 = alloca %class.Tensor, align 8
  %10 = alloca %class.Tensor, align 8
  %11 = alloca %class.Tensor, align 8
  %12 = alloca %struct.TensorDesc, 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 %class.Tensor, align 8
  %20 = alloca %class.Tensor, align 8
  %21 = alloca %class.Tensor, align 8
  %22 = alloca %class.Tensor, align 8
  %23 = alloca %class.Tensor, align 8
  %24 = alloca [150 x i8], align 16
  %25 = alloca [120 x i8], align 16
  %26 = icmp eq i32 %0, 5
  br i1 %26, label %36, label %27

27:                                               ; preds = %3
  %28 = tail call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %29 = trunc i64 %28 to i32
  %30 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %29)
  %31 = load ptr, ptr @stdout, align 8, !tbaa !5
  %32 = tail call i32 @fflush(ptr noundef %31)
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %34 = load ptr, ptr @stdout, align 8, !tbaa !5
  %35 = tail call i32 @fflush(ptr noundef %34)
  tail call void @exit(i32 noundef 1) #12
  unreachable

36:                                               ; preds = %3
  %37 = getelementptr inbounds i8, ptr %1, i64 8
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  %39 = tail call i32 @atoi(ptr nocapture noundef %38) #13
  %40 = getelementptr inbounds i8, ptr %1, i64 16
  %41 = load ptr, ptr %40, align 8, !tbaa !5
  %42 = tail call i32 @atoi(ptr nocapture noundef %41) #13
  %43 = getelementptr inbounds i8, ptr %1, i64 24
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = tail call i32 @atoi(ptr nocapture noundef %44) #13
  %46 = getelementptr inbounds i8, ptr %1, i64 32
  %47 = load ptr, ptr %46, align 8, !tbaa !5
  %48 = tail call i32 @atoi(ptr nocapture noundef %47) #13
  %49 = and i32 %42, 7
  %50 = icmp eq i32 %49, 0
  br i1 %50, label %60, label %51

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

60:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %4) #11
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %4, i32 noundef %2, i32 noundef 2, i32 noundef %39, i32 noundef %42, i32 noundef %45, i32 noundef %48)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %5) #11
  call void @_Z8tensor1d8DataTypej(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %5, i32 noundef %2, i32 noundef %42)
  %61 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
  %62 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %61, i32 noundef %2, i32 noundef 0)
  %63 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %42, i32 noundef %2, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #11
  call void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %6, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #11
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %7, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %5)
          to label %64 unwind label %90

64:                                               ; preds = %60
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  %65 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %8, i32 noundef 1)
          to label %66 unwind label %92

66:                                               ; preds = %64
  %67 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
          to label %68 unwind label %92

68:                                               ; preds = %66
  %69 = zext i32 %67 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %65, ptr noundef %62, i64 noundef %69)
          to label %70 unwind label %92

70:                                               ; preds = %68
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  %71 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %9, i32 noundef 1)
          to label %72 unwind label %94

72:                                               ; preds = %70
  %73 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %5)
          to label %74 unwind label %94

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

76:                                               ; preds = %74
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #11
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %10, i32 noundef 1)
          to label %77 unwind label %96

77:                                               ; preds = %76
  %78 = invoke noundef i32 @_Z23prelu_infer_output_sizeP6TensorS0_P8ArchInfo(ptr noundef nonnull %6, ptr noundef nonnull %10, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %79 unwind label %98

79:                                               ; preds = %77
  %.not = icmp eq i32 %78, 0
  br i1 %.not, label %100, label %80

80:                                               ; preds = %79
  %81 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %82 = trunc i64 %81 to i32
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %82)
  %84 = load ptr, ptr @stdout, align 8, !tbaa !5
  %85 = call i32 @fflush(ptr noundef %84)
  %86 = call ptr @ee2str(i32 noundef %78)
  %87 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %86)
  %88 = load ptr, ptr @stdout, align 8, !tbaa !5
  %89 = call i32 @fflush(ptr noundef %88)
  call void @exit(i32 noundef 1) #12
  unreachable

90:                                               ; preds = %60
  %91 = landingpad { ptr, i32 }
          cleanup
  br label %219

92:                                               ; preds = %68, %66, %64
  %93 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #11
  br label %218

94:                                               ; preds = %74, %72, %70
  %95 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  br label %218

96:                                               ; preds = %76
  %97 = landingpad { ptr, i32 }
          cleanup
  br label %217

98:                                               ; preds = %77
  %99 = landingpad { ptr, i32 }
          cleanup
  br label %216

100:                                              ; preds = %79
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %101 unwind label %120

101:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #11
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %12, ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %102 unwind label %122

102:                                              ; preds = %101
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %11, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %12)
          to label %103 unwind label %122

103:                                              ; preds = %102
  %104 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %10)
          to label %105 unwind label %124

105:                                              ; preds = %103
  %106 = mul i32 %42, %39
  %107 = mul i32 %106, %45
  %108 = mul i32 %107, %48
  %109 = icmp eq i32 %61, %108
  %110 = icmp eq i32 %104, %108
  %or.cond = and i1 %109, %110
  br i1 %or.cond, label %126, label %111

111:                                              ; preds = %105
  %112 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %113 = trunc i64 %112 to i32
  %114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %113)
  %115 = load ptr, ptr @stdout, align 8, !tbaa !5
  %116 = call i32 @fflush(ptr noundef %115)
  %117 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %118 = load ptr, ptr @stdout, align 8, !tbaa !5
  %119 = call i32 @fflush(ptr noundef %118)
  call void @exit(i32 noundef 1) #12
  unreachable

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

122:                                              ; preds = %102, %101
  %123 = landingpad { ptr, i32 }
          cleanup
  br label %215

124:                                              ; preds = %103
  %125 = landingpad { ptr, i32 }
          cleanup
  br label %214

126:                                              ; preds = %105
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  %127 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef nonnull %13, ptr noundef nonnull %14, i8 0, ptr noundef nonnull %15, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %128 unwind label %139

128:                                              ; preds = %126
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  %.not91 = icmp eq i32 %127, 0
  br i1 %.not91, label %141, label %129

129:                                              ; preds = %128
  %130 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %131 = trunc i64 %130 to i32
  %132 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %131)
  %133 = load ptr, ptr @stdout, align 8, !tbaa !5
  %134 = call i32 @fflush(ptr noundef %133)
  %135 = call ptr @ee2str(i32 noundef %127)
  %136 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %135)
  %137 = load ptr, ptr @stdout, align 8, !tbaa !5
  %138 = call i32 @fflush(ptr noundef %137)
  call void @exit(i32 noundef 1) #12
  unreachable

139:                                              ; preds = %126
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  br label %214

141:                                              ; preds = %128
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %142 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef nonnull %16, ptr noundef nonnull %17, i8 0, ptr noundef nonnull %18, ptr noundef nonnull @_ZL18UT_SERIAL_ARCHINFO)
          to label %143 unwind label %154

143:                                              ; preds = %141
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #11
  %.not92 = icmp eq i32 %142, 0
  br i1 %.not92, label %156, label %144

144:                                              ; preds = %143
  %145 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %146 = trunc i64 %145 to i32
  %147 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %146)
  %148 = load ptr, ptr @stdout, align 8, !tbaa !5
  %149 = call i32 @fflush(ptr noundef %148)
  %150 = call ptr @ee2str(i32 noundef %142)
  %151 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %150)
  %152 = load ptr, ptr @stdout, align 8, !tbaa !5
  %153 = call i32 @fflush(ptr noundef %152)
  call void @exit(i32 noundef 1) #12
  unreachable

154:                                              ; preds = %141
  %155 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #11
  br label %214

156:                                              ; preds = %143
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  %157 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %19, i32 noundef 1)
          to label %158 unwind label %176

158:                                              ; preds = %156
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %159 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %20, i32 noundef 1)
          to label %160 unwind label %178

160:                                              ; preds = %158
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %157, ptr noundef %159, i32 noundef %104, i32 noundef %2, float noundef 0x3FA99999A0000000)
          to label %161 unwind label %178

161:                                              ; preds = %160
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #11
  %162 = invoke noundef double @_Z10ut_time_msv()
          to label %.preheader.preheader unwind label %181

.preheader.preheader:                             ; preds = %161
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  %163 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull %22, i8 0, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %183 unwind label %194

.preheader.1:                                     ; preds = %183
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  %164 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull %22, i8 0, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %165 unwind label %194

165:                                              ; preds = %.preheader.1
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %.not104.1 = icmp eq i32 %164, 0
  br i1 %.not104.1, label %.preheader.2, label %184

.preheader.2:                                     ; preds = %165
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  %166 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull %22, i8 0, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %167 unwind label %194

167:                                              ; preds = %.preheader.2
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %.not104.2 = icmp eq i32 %166, 0
  br i1 %.not104.2, label %.preheader.3, label %184

.preheader.3:                                     ; preds = %167
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  %168 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull %22, i8 0, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %169 unwind label %194

169:                                              ; preds = %.preheader.3
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %.not104.3 = icmp eq i32 %168, 0
  br i1 %.not104.3, label %.preheader.4, label %184

.preheader.4:                                     ; preds = %169
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  %170 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull %22, i8 0, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %171 unwind label %194

171:                                              ; preds = %.preheader.4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %.not104.4 = icmp eq i32 %170, 0
  br i1 %.not104.4, label %.preheader.5, label %184

.preheader.5:                                     ; preds = %171
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  %172 = invoke noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef nonnull %21, ptr noundef nonnull %22, i8 0, ptr noundef nonnull %23, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %173 unwind label %194

173:                                              ; preds = %.preheader.5
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %.not104.5 = icmp eq i32 %172, 0
  br i1 %.not104.5, label %174, label %184

174:                                              ; preds = %173
  %175 = invoke noundef double @_Z10ut_time_msv()
          to label %196 unwind label %210

176:                                              ; preds = %156
  %177 = landingpad { ptr, i32 }
          cleanup
  br label %180

178:                                              ; preds = %160, %158
  %179 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  br label %180

180:                                              ; preds = %178, %176
  %.pn = phi { ptr, i32 } [ %179, %178 ], [ %177, %176 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #11
  br label %214

181:                                              ; preds = %161
  %182 = landingpad { ptr, i32 }
          cleanup
  br label %214

183:                                              ; preds = %.preheader.preheader
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  %.not104 = icmp eq i32 %163, 0
  br i1 %.not104, label %.preheader.1, label %184

184:                                              ; preds = %173, %171, %169, %167, %165, %183
  %.lcssa = phi i32 [ %163, %183 ], [ %164, %165 ], [ %166, %167 ], [ %168, %169 ], [ %170, %171 ], [ %172, %173 ]
  %185 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %186 = trunc i64 %185 to i32
  %187 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %186)
  %188 = load ptr, ptr @stdout, align 8, !tbaa !5
  %189 = call i32 @fflush(ptr noundef %188)
  %190 = call ptr @ee2str(i32 noundef %.lcssa)
  %191 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %190)
  %192 = load ptr, ptr @stdout, align 8, !tbaa !5
  %193 = call i32 @fflush(ptr noundef %192)
  call void @exit(i32 noundef 1) #12
  unreachable

194:                                              ; preds = %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %195 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  br label %214

196:                                              ; preds = %174
  %197 = fsub double %175, %162
  %198 = fdiv double %197, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %24) #11
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %25) #11
  %199 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %25, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %39, i32 noundef %42, i32 noundef %45, i32 noundef %48, i32 noundef %42, i32 noundef %39, i32 noundef %42, i32 noundef %45, i32 noundef %48) #11
  %200 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull %25) #11
  %201 = uitofp i32 %39 to double
  %202 = fmul double %201, 2.000000e+00
  %203 = uitofp i32 %42 to double
  %204 = fmul double %202, %203
  %205 = uitofp i32 %45 to double
  %206 = fmul double %204, %205
  %207 = uitofp i32 %48 to double
  %208 = call double @llvm.fmuladd.f64(double %206, double %207, double %201)
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %2, ptr noundef nonnull %24, double noundef %208, double noundef %198)
          to label %209 unwind label %212

209:                                              ; preds = %196
  call void @free(ptr noundef %62) #11
  call void @free(ptr noundef %63) #11
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %25) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %24) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #11
  ret i32 0

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

212:                                              ; preds = %196
  %213 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %25) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %24) #11
  br label %214

214:                                              ; preds = %181, %194, %212, %210, %180, %154, %139, %124
  %.pn96.pn = phi { ptr, i32 } [ %.pn, %180 ], [ %155, %154 ], [ %140, %139 ], [ %125, %124 ], [ %195, %194 ], [ %182, %181 ], [ %213, %212 ], [ %211, %210 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  br label %215

215:                                              ; preds = %214, %122
  %.pn96.pn.pn = phi { ptr, i32 } [ %.pn96.pn, %214 ], [ %123, %122 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  br label %216

216:                                              ; preds = %215, %120, %98
  %.pn96.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn, %215 ], [ %121, %120 ], [ %99, %98 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  br label %217

217:                                              ; preds = %216, %96
  %.pn96.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn.pn, %216 ], [ %97, %96 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #11
  br label %218

218:                                              ; preds = %217, %94, %92
  %.pn96.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn.pn.pn, %217 ], [ %95, %94 ], [ %93, %92 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #11
  br label %219

219:                                              ; preds = %218, %90
  %.pn96.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn96.pn.pn.pn.pn.pn, %218 ], [ %91, %90 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %5) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #11
  resume { ptr, i32 } %.pn96.pn.pn.pn.pn.pn.pn
}

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

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

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

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

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

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

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

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

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

declare noundef i32 @_Z5prelu6TensorS_14PReLUParamSpecS_P8ArchInfo(ptr noundef, ptr noundef, i8, ptr noundef, ptr noundef) local_unnamed_addr #8

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

declare noundef double @_Z10ut_time_msv() local_unnamed_addr #8

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

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

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

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

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


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