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

; 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.CheckParamSpec = type { i32 }
%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 [19 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 @_Z9checkTestiPPc8DataType(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.CheckParamSpec, align 4
  %14 = alloca %struct.TensorDesc, align 4
  %15 = alloca ptr, align 8
  %16 = alloca %struct.TensorDesc, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %struct.TensorDesc, align 8
  %19 = alloca %class.Tensor, align 8
  %20 = alloca %struct.TensorDesc, align 8
  %21 = alloca %class.Tensor, align 8
  %22 = alloca %struct.TensorDesc, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca %class.Tensor, align 8
  %26 = alloca %struct.TensorDesc, align 8
  %27 = alloca %class.Tensor, align 8
  %28 = alloca %struct.TensorDesc, align 8
  %29 = alloca %class.Tensor, align 8
  %30 = alloca i32, align 4
  %31 = alloca %struct.CheckParamSpec, align 4
  %32 = alloca i32, align 4
  %33 = alloca %struct.TensorDesc, align 4
  %34 = alloca %class.Tensor, align 8
  %35 = alloca %struct.TensorDesc, align 8
  %36 = alloca i32, align 4
  %37 = alloca %class.Tensor, align 8
  %38 = alloca %class.Tensor, align 8
  %39 = alloca %struct.CheckParamSpec, align 4
  %40 = alloca %class.Tensor, align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca %class.Tensor, align 8
  %44 = alloca %class.Tensor, align 8
  %45 = alloca %struct.CheckParamSpec, align 4
  %46 = alloca %class.Tensor, align 8
  %47 = alloca i32, align 4
  %48 = alloca %class.Tensor, align 8
  %49 = alloca %class.Tensor, align 8
  %50 = alloca double, align 8
  %51 = alloca i32, align 4
  %52 = alloca i32, align 4
  %53 = alloca %class.Tensor, align 8
  %54 = alloca %class.Tensor, align 8
  %55 = alloca %struct.CheckParamSpec, align 4
  %56 = alloca %class.Tensor, align 8
  %57 = alloca i32, align 4
  %58 = alloca double, align 8
  %59 = alloca double, align 8
  %60 = alloca [150 x i8], align 16
  %61 = alloca [120 x i8], align 16
  %62 = 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
  %63 = load i32, ptr %4, align 4, !tbaa !5
  %64 = icmp eq i32 %63, 5
  br i1 %64, label %75, label %65

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

75:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  %76 = load ptr, ptr %5, align 8, !tbaa !9
  %77 = getelementptr inbounds ptr, ptr %76, i64 1
  %78 = load ptr, ptr %77, align 8, !tbaa !9
  %79 = call i32 @atoi(ptr noundef %78) #11
  store i32 %79, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %80 = load ptr, ptr %5, align 8, !tbaa !9
  %81 = getelementptr inbounds ptr, ptr %80, i64 2
  %82 = load ptr, ptr %81, align 8, !tbaa !9
  %83 = call i32 @atoi(ptr noundef %82) #11
  store i32 %83, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  %84 = load ptr, ptr %5, align 8, !tbaa !9
  %85 = getelementptr inbounds ptr, ptr %84, i64 3
  %86 = load ptr, ptr %85, align 8, !tbaa !9
  %87 = call i32 @atoi(ptr noundef %86) #11
  store i32 %87, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %88 = load ptr, ptr %5, align 8, !tbaa !9
  %89 = getelementptr inbounds ptr, ptr %88, i64 4
  %90 = load ptr, ptr %89, align 8, !tbaa !9
  %91 = call i32 @atoi(ptr noundef %90) #11
  store i32 %91, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #9
  store i32 0, ptr %12, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #9
  %92 = getelementptr inbounds %struct.CheckParamSpec, ptr %13, i32 0, i32 0
  store i32 0, ptr %92, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 92, ptr %14) #9
  %93 = load i32, ptr %6, align 4, !tbaa !11
  %94 = load i32, ptr %12, align 4, !tbaa !13
  %95 = load i32, ptr %8, align 4, !tbaa !5
  %96 = load i32, ptr %9, align 4, !tbaa !5
  %97 = load i32, ptr %10, align 4, !tbaa !5
  %98 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %14, i32 noundef %93, i32 noundef %94, i32 noundef %95, i32 noundef %96, i32 noundef %97, i32 noundef %98)
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !18
  %99 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %16)
  %100 = load i32, ptr %6, align 4, !tbaa !11
  %101 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %99, i32 noundef %100, i32 noundef 0)
  store ptr %101, ptr %15, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !18
  %102 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %18)
  %103 = load i32, ptr %6, align 4, !tbaa !11
  %104 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %102, i32 noundef %103, i32 noundef 0)
  store ptr %104, ptr %17, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %20, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !18
  call void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %19, ptr noundef byval(%struct.TensorDesc) align 8 %20)
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !18
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %21, ptr noundef byval(%struct.TensorDesc) align 8 %22)
          to label %105 unwind label %144

105:                                              ; preds = %75
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  %106 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %25, i32 noundef 1)
          to label %107 unwind label %148

107:                                              ; preds = %105
  %108 = load ptr, ptr %15, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !18
  %109 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %26)
          to label %110 unwind label %148

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

112:                                              ; preds = %110
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %27, ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  %113 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %27, i32 noundef 1)
          to label %114 unwind label %152

114:                                              ; preds = %112
  %115 = load ptr, ptr %17, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %28, ptr align 4 %14, i64 92, i1 false), !tbaa.struct !18
  %116 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %28)
          to label %117 unwind label %152

117:                                              ; preds = %114
  %118 = zext i32 %116 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %113, ptr noundef %115, i64 noundef %118)
          to label %119 unwind label %152

119:                                              ; preds = %117
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %29) #9
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %29, i32 noundef 1)
          to label %120 unwind label %156

120:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %31, ptr align 4 %13, i64 4, i1 false), !tbaa.struct !20
  %121 = getelementptr inbounds %struct.CheckParamSpec, ptr %31, i32 0, i32 0
  %122 = load i32, ptr %121, align 4
  %123 = invoke noundef i32 @_Z23check_infer_output_sizeP6TensorS0_14CheckParamSpecS0_P8ArchInfo(ptr noundef %19, ptr noundef %21, i32 %122, ptr noundef %29, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %124 unwind label %160

124:                                              ; preds = %120
  store i32 %123, ptr %30, align 4, !tbaa !22
  %125 = load i32, ptr %30, align 4, !tbaa !22
  %126 = icmp ne i32 %125, 0
  br i1 %126, label %127, label %168

127:                                              ; preds = %124
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  %128 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %129 = trunc i64 %128 to i32
  store i32 %129, ptr %32, align 4, !tbaa !5
  %130 = load i32, ptr %32, align 4, !tbaa !5
  %131 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %130)
          to label %132 unwind label %164

132:                                              ; preds = %127
  %133 = load ptr, ptr @stdout, align 8, !tbaa !9
  %134 = invoke i32 @fflush(ptr noundef %133)
          to label %135 unwind label %164

135:                                              ; preds = %132
  %136 = load i32, ptr %30, align 4, !tbaa !22
  %137 = invoke ptr @ee2str(i32 noundef %136)
          to label %138 unwind label %164

138:                                              ; preds = %135
  %139 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %137)
          to label %140 unwind label %164

140:                                              ; preds = %138
  %141 = load ptr, ptr @stdout, align 8, !tbaa !9
  %142 = invoke i32 @fflush(ptr noundef %141)
          to label %143 unwind label %164

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

144:                                              ; preds = %75
  %145 = landingpad { ptr, i32 }
          cleanup
  %146 = extractvalue { ptr, i32 } %145, 0
  store ptr %146, ptr %23, align 8
  %147 = extractvalue { ptr, i32 } %145, 1
  store i32 %147, ptr %24, align 4
  br label %367

148:                                              ; preds = %110, %107, %105
  %149 = landingpad { ptr, i32 }
          cleanup
  %150 = extractvalue { ptr, i32 } %149, 0
  store ptr %150, ptr %23, align 8
  %151 = extractvalue { ptr, i32 } %149, 1
  store i32 %151, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %366

152:                                              ; preds = %117, %114, %112
  %153 = landingpad { ptr, i32 }
          cleanup
  %154 = extractvalue { ptr, i32 } %153, 0
  store ptr %154, ptr %23, align 8
  %155 = extractvalue { ptr, i32 } %153, 1
  store i32 %155, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %366

156:                                              ; preds = %119
  %157 = landingpad { ptr, i32 }
          cleanup
  %158 = extractvalue { ptr, i32 } %157, 0
  store ptr %158, ptr %23, align 8
  %159 = extractvalue { ptr, i32 } %157, 1
  store i32 %159, ptr %24, align 4
  br label %365

160:                                              ; preds = %120
  %161 = landingpad { ptr, i32 }
          cleanup
  %162 = extractvalue { ptr, i32 } %161, 0
  store ptr %162, ptr %23, align 8
  %163 = extractvalue { ptr, i32 } %161, 1
  store i32 %163, ptr %24, align 4
  br label %195

164:                                              ; preds = %140, %138, %135, %132, %127
  %165 = landingpad { ptr, i32 }
          cleanup
  %166 = extractvalue { ptr, i32 } %165, 0
  store ptr %166, ptr %23, align 8
  %167 = extractvalue { ptr, i32 } %165, 1
  store i32 %167, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  br label %195

168:                                              ; preds = %124
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %169 unwind label %196

169:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 92, ptr %33) #9
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %33, ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %170 unwind label %200

170:                                              ; preds = %169
  call void @llvm.lifetime.start.p0(i64 32, ptr %34) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %33, i64 92, i1 false), !tbaa.struct !18
  invoke void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind writable sret(%class.Tensor) align 8 %34, ptr noundef byval(%struct.TensorDesc) align 8 %35)
          to label %171 unwind label %204

171:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %37, ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %38, ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %39, ptr align 4 %13, i64 4, i1 false), !tbaa.struct !20
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  %172 = getelementptr inbounds %struct.CheckParamSpec, ptr %39, i32 0, i32 0
  %173 = load i32, ptr %172, align 4
  %174 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef %37, ptr noundef %38, i32 %173, ptr noundef %40, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %175 unwind label %208

175:                                              ; preds = %171
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  store i32 %174, ptr %36, align 4, !tbaa !22
  %176 = load i32, ptr %36, align 4, !tbaa !22
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %216

178:                                              ; preds = %175
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %179 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %180 = trunc i64 %179 to i32
  store i32 %180, ptr %41, align 4, !tbaa !5
  %181 = load i32, ptr %41, align 4, !tbaa !5
  %182 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %181)
          to label %183 unwind label %212

183:                                              ; preds = %178
  %184 = load ptr, ptr @stdout, align 8, !tbaa !9
  %185 = invoke i32 @fflush(ptr noundef %184)
          to label %186 unwind label %212

186:                                              ; preds = %183
  %187 = load i32, ptr %36, align 4, !tbaa !22
  %188 = invoke ptr @ee2str(i32 noundef %187)
          to label %189 unwind label %212

189:                                              ; preds = %186
  %190 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %188)
          to label %191 unwind label %212

191:                                              ; preds = %189
  %192 = load ptr, ptr @stdout, align 8, !tbaa !9
  %193 = invoke i32 @fflush(ptr noundef %192)
          to label %194 unwind label %212

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

195:                                              ; preds = %164, %160
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #9
  br label %364

196:                                              ; preds = %168
  %197 = landingpad { ptr, i32 }
          cleanup
  %198 = extractvalue { ptr, i32 } %197, 0
  store ptr %198, ptr %23, align 8
  %199 = extractvalue { ptr, i32 } %197, 1
  store i32 %199, ptr %24, align 4
  br label %364

200:                                              ; preds = %169
  %201 = landingpad { ptr, i32 }
          cleanup
  %202 = extractvalue { ptr, i32 } %201, 0
  store ptr %202, ptr %23, align 8
  %203 = extractvalue { ptr, i32 } %201, 1
  store i32 %203, ptr %24, align 4
  br label %363

204:                                              ; preds = %170
  %205 = landingpad { ptr, i32 }
          cleanup
  %206 = extractvalue { ptr, i32 } %205, 0
  store ptr %206, ptr %23, align 8
  %207 = extractvalue { ptr, i32 } %205, 1
  store i32 %207, ptr %24, align 4
  br label %362

208:                                              ; preds = %171
  %209 = landingpad { ptr, i32 }
          cleanup
  %210 = extractvalue { ptr, i32 } %209, 0
  store ptr %210, ptr %23, align 8
  %211 = extractvalue { ptr, i32 } %209, 1
  store i32 %211, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %38) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  br label %240

212:                                              ; preds = %191, %189, %186, %183, %178
  %213 = landingpad { ptr, i32 }
          cleanup
  %214 = extractvalue { ptr, i32 } %213, 0
  store ptr %214, ptr %23, align 8
  %215 = extractvalue { ptr, i32 } %213, 1
  store i32 %215, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %240

216:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %43, ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %44, ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %45, ptr align 4 %13, i64 4, i1 false), !tbaa.struct !20
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  %217 = getelementptr inbounds %struct.CheckParamSpec, ptr %45, i32 0, i32 0
  %218 = load i32, ptr %217, align 4
  %219 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef %43, ptr noundef %44, i32 %218, ptr noundef %46, ptr noundef @_ZL18UT_SERIAL_ARCHINFO)
          to label %220 unwind label %241

220:                                              ; preds = %216
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  store i32 %219, ptr %42, align 4, !tbaa !22
  %221 = load i32, ptr %42, align 4, !tbaa !22
  %222 = icmp ne i32 %221, 0
  br i1 %222, label %223, label %249

223:                                              ; preds = %220
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  %224 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %225 = trunc i64 %224 to i32
  store i32 %225, ptr %47, align 4, !tbaa !5
  %226 = load i32, ptr %47, align 4, !tbaa !5
  %227 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %226)
          to label %228 unwind label %245

228:                                              ; preds = %223
  %229 = load ptr, ptr @stdout, align 8, !tbaa !9
  %230 = invoke i32 @fflush(ptr noundef %229)
          to label %231 unwind label %245

231:                                              ; preds = %228
  %232 = load i32, ptr %42, align 4, !tbaa !22
  %233 = invoke ptr @ee2str(i32 noundef %232)
          to label %234 unwind label %245

234:                                              ; preds = %231
  %235 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %233)
          to label %236 unwind label %245

236:                                              ; preds = %234
  %237 = load ptr, ptr @stdout, align 8, !tbaa !9
  %238 = invoke i32 @fflush(ptr noundef %237)
          to label %239 unwind label %245

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

240:                                              ; preds = %212, %208
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  br label %361

241:                                              ; preds = %216
  %242 = landingpad { ptr, i32 }
          cleanup
  %243 = extractvalue { ptr, i32 } %242, 0
  store ptr %243, ptr %23, align 8
  %244 = extractvalue { ptr, i32 } %242, 1
  store i32 %244, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %44) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  br label %265

245:                                              ; preds = %236, %234, %231, %228, %223
  %246 = landingpad { ptr, i32 }
          cleanup
  %247 = extractvalue { ptr, i32 } %246, 0
  store ptr %247, ptr %23, align 8
  %248 = extractvalue { ptr, i32 } %246, 1
  store i32 %248, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  br label %265

249:                                              ; preds = %220
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  %250 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %48, i32 noundef 1)
          to label %251 unwind label %266

251:                                              ; preds = %249
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %49, ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  %252 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %49, i32 noundef 1)
          to label %253 unwind label %270

253:                                              ; preds = %251
  %254 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %29)
          to label %255 unwind label %270

255:                                              ; preds = %253
  %256 = getelementptr inbounds %struct.TensorDesc, ptr %33, i32 0, i32 0
  %257 = load i32, ptr %256, align 4, !tbaa !24
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %250, ptr noundef %252, i32 noundef %254, i32 noundef %257, float noundef 0.000000e+00)
          to label %258 unwind label %270

258:                                              ; preds = %255
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #9
  %259 = invoke noundef double @_Z10ut_time_msv()
          to label %260 unwind label %275

260:                                              ; preds = %258
  store double %259, ptr %50, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #9
  store i32 0, ptr %51, align 4, !tbaa !5
  br label %261

261:                                              ; preds = %312, %260
  %262 = load i32, ptr %51, align 4, !tbaa !5
  %263 = icmp slt i32 %262, 6
  br i1 %263, label %279, label %264

264:                                              ; preds = %261
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #9
  br label %316

265:                                              ; preds = %245, %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %361

266:                                              ; preds = %249
  %267 = landingpad { ptr, i32 }
          cleanup
  %268 = extractvalue { ptr, i32 } %267, 0
  store ptr %268, ptr %23, align 8
  %269 = extractvalue { ptr, i32 } %267, 1
  store i32 %269, ptr %24, align 4
  br label %274

270:                                              ; preds = %255, %253, %251
  %271 = landingpad { ptr, i32 }
          cleanup
  %272 = extractvalue { ptr, i32 } %271, 0
  store ptr %272, ptr %23, align 8
  %273 = extractvalue { ptr, i32 } %271, 1
  store i32 %273, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %49) #9
  br label %274

274:                                              ; preds = %270, %266
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  br label %361

275:                                              ; preds = %258
  %276 = landingpad { ptr, i32 }
          cleanup
  %277 = extractvalue { ptr, i32 } %276, 0
  store ptr %277, ptr %23, align 8
  %278 = extractvalue { ptr, i32 } %276, 1
  store i32 %278, ptr %24, align 4
  br label %360

279:                                              ; preds = %261
  call void @llvm.lifetime.start.p0(i64 4, ptr %52) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %53, ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %55, ptr align 4 %13, i64 4, i1 false), !tbaa.struct !20
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %56, ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  %280 = getelementptr inbounds %struct.CheckParamSpec, ptr %55, i32 0, i32 0
  %281 = load i32, ptr %280, align 4
  %282 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef %53, ptr noundef %54, i32 %281, ptr noundef %56, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %283 unwind label %303

283:                                              ; preds = %279
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  store i32 %282, ptr %52, align 4, !tbaa !22
  %284 = load i32, ptr %52, align 4, !tbaa !22
  %285 = icmp ne i32 %284, 0
  br i1 %285, label %286, label %311

286:                                              ; preds = %283
  call void @llvm.lifetime.start.p0(i64 4, ptr %57) #9
  %287 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %288 = trunc i64 %287 to i32
  store i32 %288, ptr %57, align 4, !tbaa !5
  %289 = load i32, ptr %57, align 4, !tbaa !5
  %290 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %289)
          to label %291 unwind label %307

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

294:                                              ; preds = %291
  %295 = load i32, ptr %52, align 4, !tbaa !22
  %296 = invoke ptr @ee2str(i32 noundef %295)
          to label %297 unwind label %307

297:                                              ; preds = %294
  %298 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %296)
          to label %299 unwind label %307

299:                                              ; preds = %297
  %300 = load ptr, ptr @stdout, align 8, !tbaa !9
  %301 = invoke i32 @fflush(ptr noundef %300)
          to label %302 unwind label %307

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

303:                                              ; preds = %279
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %23, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %56) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %53) #9
  br label %315

307:                                              ; preds = %299, %297, %294, %291, %286
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %23, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %57) #9
  br label %315

311:                                              ; preds = %283
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  br label %312

312:                                              ; preds = %311
  %313 = load i32, ptr %51, align 4, !tbaa !5
  %314 = add nsw i32 %313, 1
  store i32 %314, ptr %51, align 4, !tbaa !5
  br label %261, !llvm.loop !28

315:                                              ; preds = %307, %303
  call void @llvm.lifetime.end.p0(i64 4, ptr %52) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #9
  br label %360

316:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #9
  %317 = invoke noundef double @_Z10ut_time_msv()
          to label %318 unwind label %351

318:                                              ; preds = %316
  store double %317, ptr %58, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 8, ptr %59) #9
  %319 = load double, ptr %58, align 8, !tbaa !26
  %320 = load double, ptr %50, align 8, !tbaa !26
  %321 = fsub double %319, %320
  %322 = fdiv double %321, 6.000000e+00
  store double %322, ptr %59, align 8, !tbaa !26
  call void @llvm.lifetime.start.p0(i64 150, ptr %60) #9
  call void @llvm.lifetime.start.p0(i64 120, ptr %61) #9
  %323 = getelementptr inbounds [120 x i8], ptr %61, i64 0, i64 0
  %324 = load i32, ptr %8, align 4, !tbaa !5
  %325 = load i32, ptr %9, align 4, !tbaa !5
  %326 = load i32, ptr %10, align 4, !tbaa !5
  %327 = load i32, ptr %11, align 4, !tbaa !5
  %328 = load i32, ptr %8, align 4, !tbaa !5
  %329 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %323, ptr noundef @.str.3, i32 noundef %324, i32 noundef %325, i32 noundef %326, i32 noundef %327, i32 noundef %328) #9
  %330 = getelementptr inbounds [150 x i8], ptr %60, i64 0, i64 0
  %331 = getelementptr inbounds [120 x i8], ptr %61, i64 0, i64 0
  %332 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %330, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %331) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %62) #9
  %333 = load i32, ptr %8, align 4, !tbaa !5
  %334 = uitofp i32 %333 to double
  %335 = fmul double 1.000000e+00, %334
  %336 = load i32, ptr %9, align 4, !tbaa !5
  %337 = uitofp i32 %336 to double
  %338 = fmul double %335, %337
  %339 = load i32, ptr %10, align 4, !tbaa !5
  %340 = uitofp i32 %339 to double
  %341 = fmul double %338, %340
  %342 = load i32, ptr %11, align 4, !tbaa !5
  %343 = uitofp i32 %342 to double
  %344 = fmul double %341, %343
  store double %344, ptr %62, align 8, !tbaa !26
  %345 = load i32, ptr %6, align 4, !tbaa !11
  %346 = getelementptr inbounds [150 x i8], ptr %60, i64 0, i64 0
  %347 = load double, ptr %62, align 8, !tbaa !26
  %348 = load double, ptr %59, align 8, !tbaa !26
  %349 = fdiv double %348, 6.000000e+00
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %345, ptr noundef %346, double noundef %347, double noundef %349)
          to label %350 unwind label %355

350:                                              ; preds = %318
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 150, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %33) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  ret i32 0

351:                                              ; preds = %316
  %352 = landingpad { ptr, i32 }
          cleanup
  %353 = extractvalue { ptr, i32 } %352, 0
  store ptr %353, ptr %23, align 8
  %354 = extractvalue { ptr, i32 } %352, 1
  store i32 %354, ptr %24, align 4
  br label %359

355:                                              ; preds = %318
  %356 = landingpad { ptr, i32 }
          cleanup
  %357 = extractvalue { ptr, i32 } %356, 0
  store ptr %357, ptr %23, align 8
  %358 = extractvalue { ptr, i32 } %356, 1
  store i32 %358, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 150, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %59) #9
  br label %359

359:                                              ; preds = %355, %351
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  br label %360

360:                                              ; preds = %359, %315, %275
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  br label %361

361:                                              ; preds = %360, %274, %265, %240
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %34) #9
  br label %362

362:                                              ; preds = %361, %204
  call void @llvm.lifetime.end.p0(i64 32, ptr %34) #9
  br label %363

363:                                              ; preds = %362, %200
  call void @llvm.lifetime.end.p0(i64 92, ptr %33) #9
  br label %364

364:                                              ; preds = %363, %196, %195
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %29) #9
  br label %365

365:                                              ; preds = %364, %156
  call void @llvm.lifetime.end.p0(i64 32, ptr %29) #9
  br label %366

366:                                              ; preds = %365, %152, %148
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  br label %367

367:                                              ; preds = %366, %144
  call void @llvm.lifetime.end.p0(i64 32, ptr %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %14) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #9
  br label %368

368:                                              ; preds = %367
  %369 = load ptr, ptr %23, align 8
  %370 = load i32, ptr %24, align 4
  %371 = insertvalue { ptr, i32 } poison, ptr %369, 0
  %372 = insertvalue { ptr, i32 } %371, i32 %370, 1
  resume { ptr, i32 } %372
}

; 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 noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef, 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: 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 @_Z23check_infer_output_sizeP6TensorS0_14CheckParamSpecS0_P8ArchInfo(ptr noundef, ptr noundef, i32, ptr noundef, ptr noundef) #3

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

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

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

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

declare noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef, ptr noundef, i32, 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

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

declare noundef double @_Z10ut_time_msv() #3

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

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

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 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { nounwind willreturn memory(read) }

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

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

@.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 [19 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 @_Z9checkTestiPPc8DataType(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 %class.Tensor, 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 %struct.TensorDesc, 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 %class.Tensor, align 8
  %20 = alloca %class.Tensor, align 8
  %21 = alloca %class.Tensor, align 8
  %22 = alloca %class.Tensor, align 8
  %23 = alloca [150 x i8], align 16
  %24 = alloca [120 x i8], align 16
  %25 = icmp eq i32 %0, 5
  br i1 %25, label %35, label %26

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

35:                                               ; preds = %3
  %36 = getelementptr inbounds i8, ptr %1, i64 8
  %37 = load ptr, ptr %36, align 8, !tbaa !5
  %38 = tail call i32 @atoi(ptr nocapture noundef %37) #11
  %39 = getelementptr inbounds i8, ptr %1, i64 16
  %40 = load ptr, ptr %39, align 8, !tbaa !5
  %41 = tail call i32 @atoi(ptr nocapture noundef %40) #11
  %42 = getelementptr inbounds i8, ptr %1, i64 24
  %43 = load ptr, ptr %42, align 8, !tbaa !5
  %44 = tail call i32 @atoi(ptr nocapture noundef %43) #11
  %45 = getelementptr inbounds i8, ptr %1, i64 32
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  %47 = tail call i32 @atoi(ptr nocapture noundef %46) #11
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %4) #9
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %4, i32 noundef %2, i32 noundef 0, i32 noundef %38, i32 noundef %41, i32 noundef %44, i32 noundef %47)
  %48 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
  %49 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %48, i32 noundef %2, i32 noundef 0)
  %50 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
  %51 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %50, i32 noundef %2, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %5) #9
  call void @_ZN6Tensor11alloc_sizedIL10MemoryType1EEES_10TensorDesc(ptr dead_on_unwind nonnull writable sret(%class.Tensor) align 8 %5, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %6) #9
  invoke 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)
          to label %52 unwind label %78

52:                                               ; preds = %35
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %7, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  %53 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %7, i32 noundef 1)
          to label %54 unwind label %80

54:                                               ; preds = %52
  %55 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
          to label %56 unwind label %80

56:                                               ; preds = %54
  %57 = zext i32 %55 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %53, ptr noundef %49, i64 noundef %57)
          to label %58 unwind label %80

58:                                               ; preds = %56
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %8, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  %59 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %8, i32 noundef 1)
          to label %60 unwind label %82

60:                                               ; preds = %58
  %61 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %4)
          to label %62 unwind label %82

62:                                               ; preds = %60
  %63 = zext i32 %61 to i64
  invoke void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %59, ptr noundef %51, i64 noundef %63)
          to label %64 unwind label %82

64:                                               ; preds = %62
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #9
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 1)
          to label %65 unwind label %84

65:                                               ; preds = %64
  %66 = invoke noundef i32 @_Z23check_infer_output_sizeP6TensorS0_14CheckParamSpecS0_P8ArchInfo(ptr noundef nonnull %5, ptr noundef nonnull %6, i32 0, ptr noundef nonnull %9, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %67 unwind label %86

67:                                               ; preds = %65
  %.not = icmp eq i32 %66, 0
  br i1 %.not, label %88, label %68

68:                                               ; preds = %67
  %69 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %70 = trunc i64 %69 to i32
  %71 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %70)
  %72 = load ptr, ptr @stdout, align 8, !tbaa !5
  %73 = call i32 @fflush(ptr noundef %72)
  %74 = call ptr @ee2str(i32 noundef %66)
  %75 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %74)
  %76 = load ptr, ptr @stdout, align 8, !tbaa !5
  %77 = call i32 @fflush(ptr noundef %76)
  call void @exit(i32 noundef 1) #10
  unreachable

78:                                               ; preds = %35
  %79 = landingpad { ptr, i32 }
          cleanup
  br label %194

80:                                               ; preds = %56, %54, %52
  %81 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %7) #9
  br label %193

82:                                               ; preds = %62, %60, %58
  %83 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %8) #9
  br label %193

84:                                               ; preds = %64
  %85 = landingpad { ptr, i32 }
          cleanup
  br label %192

86:                                               ; preds = %65
  %87 = landingpad { ptr, i32 }
          cleanup
  br label %191

88:                                               ; preds = %67
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %89 unwind label %104

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %10) #9
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %10, ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %90 unwind label %106

90:                                               ; preds = %89
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %11) #9
  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 %10)
          to label %91 unwind label %108

91:                                               ; preds = %90
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %12, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %13, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %92 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef nonnull %12, ptr noundef nonnull %13, i32 0, ptr noundef nonnull %14, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %93 unwind label %110

93:                                               ; preds = %91
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  %.not67 = icmp eq i32 %92, 0
  br i1 %.not67, label %112, label %94

94:                                               ; preds = %93
  %95 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %96 = trunc i64 %95 to i32
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %96)
  %98 = load ptr, ptr @stdout, align 8, !tbaa !5
  %99 = call i32 @fflush(ptr noundef %98)
  %100 = call ptr @ee2str(i32 noundef %92)
  %101 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %100)
  %102 = load ptr, ptr @stdout, align 8, !tbaa !5
  %103 = call i32 @fflush(ptr noundef %102)
  call void @exit(i32 noundef 1) #10
  unreachable

104:                                              ; preds = %88
  %105 = landingpad { ptr, i32 }
          cleanup
  br label %191

106:                                              ; preds = %89
  %107 = landingpad { ptr, i32 }
          cleanup
  br label %190

108:                                              ; preds = %90
  %109 = landingpad { ptr, i32 }
          cleanup
  br label %189

110:                                              ; preds = %91
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #9
  br label %188

112:                                              ; preds = %93
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %15, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  %113 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef nonnull %15, ptr noundef nonnull %16, i32 0, ptr noundef nonnull %17, ptr noundef nonnull @_ZL18UT_SERIAL_ARCHINFO)
          to label %114 unwind label %125

114:                                              ; preds = %112
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  %.not68 = icmp eq i32 %113, 0
  br i1 %.not68, label %127, label %115

115:                                              ; preds = %114
  %116 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %117 = trunc i64 %116 to i32
  %118 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %117)
  %119 = load ptr, ptr @stdout, align 8, !tbaa !5
  %120 = call i32 @fflush(ptr noundef %119)
  %121 = call ptr @ee2str(i32 noundef %113)
  %122 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %121)
  %123 = load ptr, ptr @stdout, align 8, !tbaa !5
  %124 = call i32 @fflush(ptr noundef %123)
  call void @exit(i32 noundef 1) #10
  unreachable

125:                                              ; preds = %112
  %126 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %15) #9
  br label %188

127:                                              ; preds = %114
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %128 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %18, i32 noundef 1)
          to label %129 unwind label %150

129:                                              ; preds = %127
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %19, ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  %130 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %19, i32 noundef 1)
          to label %131 unwind label %152

131:                                              ; preds = %129
  %132 = invoke noundef i32 @_ZN6Tensor6lengthEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %133 unwind label %152

133:                                              ; preds = %131
  %134 = load i32, ptr %10, align 8, !tbaa !9
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %128, ptr noundef %130, i32 noundef %132, i32 noundef %134, float noundef 0.000000e+00)
          to label %135 unwind label %152

135:                                              ; preds = %133
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  %136 = invoke noundef double @_Z10ut_time_msv()
          to label %.preheader.preheader unwind label %155

.preheader.preheader:                             ; preds = %135
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %137 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef nonnull %20, ptr noundef nonnull %21, i32 0, ptr noundef nonnull %22, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %157 unwind label %168

.preheader.1:                                     ; preds = %157
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %138 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef nonnull %20, ptr noundef nonnull %21, i32 0, ptr noundef nonnull %22, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %139 unwind label %168

139:                                              ; preds = %.preheader.1
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  %.not81.1 = icmp eq i32 %138, 0
  br i1 %.not81.1, label %.preheader.2, label %158

.preheader.2:                                     ; preds = %139
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %140 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef nonnull %20, ptr noundef nonnull %21, i32 0, ptr noundef nonnull %22, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %141 unwind label %168

141:                                              ; preds = %.preheader.2
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  %.not81.2 = icmp eq i32 %140, 0
  br i1 %.not81.2, label %.preheader.3, label %158

.preheader.3:                                     ; preds = %141
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %142 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef nonnull %20, ptr noundef nonnull %21, i32 0, ptr noundef nonnull %22, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %143 unwind label %168

143:                                              ; preds = %.preheader.3
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  %.not81.3 = icmp eq i32 %142, 0
  br i1 %.not81.3, label %.preheader.4, label %158

.preheader.4:                                     ; preds = %143
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %144 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef nonnull %20, ptr noundef nonnull %21, i32 0, ptr noundef nonnull %22, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %145 unwind label %168

145:                                              ; preds = %.preheader.4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  %.not81.4 = icmp eq i32 %144, 0
  br i1 %.not81.4, label %.preheader.5, label %158

.preheader.5:                                     ; preds = %145
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %22, ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  %146 = invoke noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef nonnull %20, ptr noundef nonnull %21, i32 0, ptr noundef nonnull %22, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %147 unwind label %168

147:                                              ; preds = %.preheader.5
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  %.not81.5 = icmp eq i32 %146, 0
  br i1 %.not81.5, label %148, label %158

148:                                              ; preds = %147
  %149 = invoke noundef double @_Z10ut_time_msv()
          to label %170 unwind label %184

150:                                              ; preds = %127
  %151 = landingpad { ptr, i32 }
          cleanup
  br label %154

152:                                              ; preds = %133, %131, %129
  %153 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %19) #9
  br label %154

154:                                              ; preds = %152, %150
  %.pn = phi { ptr, i32 } [ %153, %152 ], [ %151, %150 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #9
  br label %188

155:                                              ; preds = %135
  %156 = landingpad { ptr, i32 }
          cleanup
  br label %188

157:                                              ; preds = %.preheader.preheader
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  %.not81 = icmp eq i32 %137, 0
  br i1 %.not81, label %.preheader.1, label %158

158:                                              ; preds = %147, %145, %143, %141, %139, %157
  %.lcssa = phi i32 [ %137, %157 ], [ %138, %139 ], [ %140, %141 ], [ %142, %143 ], [ %144, %145 ], [ %146, %147 ]
  %159 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %160 = trunc i64 %159 to i32
  %161 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %160)
  %162 = load ptr, ptr @stdout, align 8, !tbaa !5
  %163 = call i32 @fflush(ptr noundef %162)
  %164 = call ptr @ee2str(i32 noundef %.lcssa)
  %165 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %164)
  %166 = load ptr, ptr @stdout, align 8, !tbaa !5
  %167 = call i32 @fflush(ptr noundef %166)
  call void @exit(i32 noundef 1) #10
  unreachable

168:                                              ; preds = %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %169 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #9
  br label %188

170:                                              ; preds = %148
  %171 = fsub double %149, %136
  %172 = fdiv double %171, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %23) #9
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %24) #9
  %173 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %38, i32 noundef %41, i32 noundef %44, i32 noundef %47, i32 noundef %38) #9
  %174 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %23, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull %24) #9
  %175 = uitofp i32 %38 to double
  %176 = uitofp i32 %41 to double
  %177 = fmul double %175, %176
  %178 = uitofp i32 %44 to double
  %179 = fmul double %177, %178
  %180 = uitofp i32 %47 to double
  %181 = fmul double %179, %180
  %182 = fdiv double %172, 6.000000e+00
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %2, ptr noundef nonnull %23, double noundef %181, double noundef %182)
          to label %183 unwind label %186

183:                                              ; preds = %170
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %23) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #9
  ret i32 0

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

186:                                              ; preds = %170
  %187 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %24) #9
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %23) #9
  br label %188

188:                                              ; preds = %155, %168, %186, %184, %154, %125, %110
  %.pn72.pn = phi { ptr, i32 } [ %.pn, %154 ], [ %126, %125 ], [ %111, %110 ], [ %169, %168 ], [ %156, %155 ], [ %187, %186 ], [ %185, %184 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #9
  br label %189

189:                                              ; preds = %188, %108
  %.pn72.pn.pn = phi { ptr, i32 } [ %.pn72.pn, %188 ], [ %109, %108 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #9
  br label %190

190:                                              ; preds = %189, %106
  %.pn72.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn, %189 ], [ %107, %106 ]
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %10) #9
  br label %191

191:                                              ; preds = %190, %104, %86
  %.pn72.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn.pn, %190 ], [ %105, %104 ], [ %87, %86 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #9
  br label %192

192:                                              ; preds = %191, %84
  %.pn72.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn.pn.pn, %191 ], [ %85, %84 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #9
  br label %193

193:                                              ; preds = %192, %82, %80
  %.pn72.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn.pn.pn.pn, %192 ], [ %83, %82 ], [ %81, %80 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #9
  br label %194

194:                                              ; preds = %193, %78
  %.pn72.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn72.pn.pn.pn.pn.pn.pn, %193 ], [ %79, %78 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %6) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %5) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %4) #9
  resume { ptr, i32 } %.pn72.pn.pn.pn.pn.pn.pn.pn
}

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

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

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

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

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

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef, 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: 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 @_Z23check_infer_output_sizeP6TensorS0_14CheckParamSpecS0_P8ArchInfo(ptr noundef, ptr noundef, i32, ptr noundef, ptr noundef) local_unnamed_addr #8

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

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

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

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

declare noundef i32 @_Z5check6TensorS_14CheckParamSpecS_P8ArchInfo(ptr noundef, ptr noundef, i32, 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

; 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 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: inlinehint mustprogress uwtable
declare dso_local void @_Z6ut_log8DataTypePcdd(i32 noundef, ptr noundef, double noundef, double noundef) local_unnamed_addr #7

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 = { nounwind }
attributes #10 = { noreturn nounwind }
attributes #11 = { 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, !11, i64 0}
!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}


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