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

; 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.TransposeParamSpec = type { [8 x i32], i32, 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
@.str.3 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z13transposeTestiPPc8DataType(i32 noundef %0, ptr noundef %1, i32 noundef %2) #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca %struct.TransposeParamSpec, align 4
  %13 = alloca %struct.TransposeParamSpec, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca %struct.TensorDesc, align 4
  %18 = alloca i32, align 4
  %19 = alloca %struct.TensorDesc, align 8
  %20 = alloca ptr, 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 %class.Tensor, align 8
  %29 = alloca i32, align 4
  %30 = alloca %struct.TransposeParamSpec, align 8
  %31 = alloca i32, align 4
  %32 = alloca i32, align 4
  %33 = alloca %struct.TransposeParamSpec, align 8
  %34 = alloca i32, align 4
  %35 = alloca %class.Tensor, align 8
  %36 = alloca i32, align 4
  %37 = alloca %class.Tensor, align 8
  %38 = alloca %struct.TransposeParamSpec, align 8
  %39 = alloca %class.Tensor, align 8
  %40 = alloca %class.Tensor, align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca %class.Tensor, align 8
  %44 = alloca %struct.TransposeParamSpec, align 8
  %45 = alloca %class.Tensor, align 8
  %46 = alloca %class.Tensor, align 8
  %47 = alloca i32, align 4
  %48 = alloca %class.Tensor, align 8
  %49 = alloca double, align 8
  %50 = alloca i32, align 4
  %51 = alloca i32, align 4
  %52 = alloca %class.Tensor, align 8
  %53 = alloca %struct.TransposeParamSpec, align 8
  %54 = alloca %class.Tensor, align 8
  %55 = alloca %class.Tensor, align 8
  %56 = alloca i32, align 4
  %57 = alloca double, align 8
  %58 = alloca double, align 8
  %59 = alloca i32, align 4
  %60 = alloca i32, align 4
  %61 = alloca i32, align 4
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca %struct.TensorDesc, align 8
  %65 = alloca i32, align 4
  %66 = alloca [150 x i8], align 16
  %67 = alloca [120 x i8], align 16
  %68 = 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
  %69 = load i32, ptr %4, align 4, !tbaa !5
  %70 = icmp eq i32 %69, 9
  br i1 %70, label %81, label %71

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

81:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #9
  %82 = load ptr, ptr %5, align 8, !tbaa !9
  %83 = getelementptr inbounds ptr, ptr %82, i64 1
  %84 = load ptr, ptr %83, align 8, !tbaa !9
  %85 = call i32 @atoi(ptr noundef %84) #11
  store i32 %85, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #9
  %86 = load ptr, ptr %5, align 8, !tbaa !9
  %87 = getelementptr inbounds ptr, ptr %86, i64 2
  %88 = load ptr, ptr %87, align 8, !tbaa !9
  %89 = call i32 @atoi(ptr noundef %88) #11
  store i32 %89, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #9
  %90 = load ptr, ptr %5, align 8, !tbaa !9
  %91 = getelementptr inbounds ptr, ptr %90, i64 3
  %92 = load ptr, ptr %91, align 8, !tbaa !9
  %93 = call i32 @atoi(ptr noundef %92) #11
  store i32 %93, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #9
  %94 = load ptr, ptr %5, align 8, !tbaa !9
  %95 = getelementptr inbounds ptr, ptr %94, i64 4
  %96 = load ptr, ptr %95, align 8, !tbaa !9
  %97 = call i32 @atoi(ptr noundef %96) #11
  store i32 %97, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 40, ptr %12) #9
  call void @_ZN18TransposeParamSpecC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %12) #9
  call void @llvm.lifetime.start.p0(i64 40, ptr %13) #9
  call void @_ZN18TransposeParamSpecC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %13) #9
  %98 = getelementptr inbounds %struct.TransposeParamSpec, ptr %12, i32 0, i32 1
  store i32 4, ptr %98, align 4, !tbaa !13
  %99 = getelementptr inbounds %struct.TransposeParamSpec, ptr %13, i32 0, i32 1
  store i32 4, ptr %99, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #9
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %100

100:                                              ; preds = %124, %81
  %101 = load i32, ptr %14, align 4, !tbaa !5
  %102 = getelementptr inbounds %struct.TransposeParamSpec, ptr %13, i32 0, i32 1
  %103 = load i32, ptr %102, align 4, !tbaa !13
  %104 = icmp ult i32 %101, %103
  br i1 %104, label %106, label %105

105:                                              ; preds = %100
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #9
  br label %127

106:                                              ; preds = %100
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #9
  %107 = load ptr, ptr %5, align 8, !tbaa !9
  %108 = load i32, ptr %14, align 4, !tbaa !5
  %109 = add i32 5, %108
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds ptr, ptr %107, i64 %110
  %112 = load ptr, ptr %111, align 8, !tbaa !9
  %113 = call i32 @atoi(ptr noundef %112) #11
  store i32 %113, ptr %15, align 4, !tbaa !5
  %114 = load i32, ptr %15, align 4, !tbaa !5
  %115 = getelementptr inbounds %struct.TransposeParamSpec, ptr %12, i32 0, i32 0
  %116 = load i32, ptr %14, align 4, !tbaa !5
  %117 = zext i32 %116 to i64
  %118 = getelementptr inbounds [8 x i32], ptr %115, i64 0, i64 %117
  store i32 %114, ptr %118, align 4, !tbaa !5
  %119 = load i32, ptr %14, align 4, !tbaa !5
  %120 = getelementptr inbounds %struct.TransposeParamSpec, ptr %13, i32 0, i32 0
  %121 = load i32, ptr %15, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [8 x i32], ptr %120, i64 0, i64 %122
  store i32 %119, ptr %123, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #9
  br label %124

124:                                              ; preds = %106
  %125 = load i32, ptr %14, align 4, !tbaa !5
  %126 = add i32 %125, 1
  store i32 %126, ptr %14, align 4, !tbaa !5
  br label %100, !llvm.loop !16

127:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #9
  store i32 0, ptr %16, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 92, ptr %17) #9
  %128 = load i32, ptr %6, align 4, !tbaa !11
  %129 = load i32, ptr %16, align 4, !tbaa !18
  %130 = load i32, ptr %8, align 4, !tbaa !5
  %131 = load i32, ptr %9, align 4, !tbaa !5
  %132 = load i32, ptr %10, align 4, !tbaa !5
  %133 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %17, i32 noundef %128, i32 noundef %129, i32 noundef %130, i32 noundef %131, i32 noundef %132, i32 noundef %133)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %19, ptr align 4 %17, i64 92, i1 false), !tbaa.struct !19
  %134 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %19)
  store i32 %134, ptr %18, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #9
  %135 = load i32, ptr %18, align 4, !tbaa !5
  %136 = load i32, ptr %6, align 4, !tbaa !11
  %137 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %135, i32 noundef %136, i32 noundef 0)
  store ptr %137, ptr %20, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 32, ptr %21) #9
  call void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %21, i32 noundef 1)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %17, i64 92, i1 false), !tbaa.struct !19
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef byval(%struct.TensorDesc) align 8 %22)
          to label %138 unwind label %170

138:                                              ; preds = %127
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %21)
          to label %139 unwind label %170

139:                                              ; preds = %138
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  %140 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %25, i32 noundef 1)
          to label %141 unwind label %174

141:                                              ; preds = %139
  %142 = load ptr, ptr %20, align 8, !tbaa !9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %17, i64 92, i1 false), !tbaa.struct !19
  %143 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8 %26)
          to label %144 unwind label %174

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

146:                                              ; preds = %144
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  call void @llvm.lifetime.start.p0(i64 32, ptr %27) #9
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %27, i32 noundef 1)
          to label %147 unwind label %178

147:                                              ; preds = %146
  call void @llvm.lifetime.start.p0(i64 32, ptr %28) #9
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %28, i32 noundef 1)
          to label %148 unwind label %182

148:                                              ; preds = %147
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %30, ptr align 4 %12, i64 40, i1 false), !tbaa.struct !21
  %149 = invoke noundef i32 @_Z27transpose_infer_output_sizeP6Tensor18TransposeParamSpecS0_P8ArchInfo(ptr noundef %21, ptr noundef byval(%struct.TransposeParamSpec) align 8 %30, ptr noundef %27, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %150 unwind label %186

150:                                              ; preds = %148
  store i32 %149, ptr %29, align 4, !tbaa !22
  %151 = load i32, ptr %29, align 4, !tbaa !22
  %152 = icmp ne i32 %151, 0
  br i1 %152, label %153, label %194

153:                                              ; preds = %150
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #9
  %154 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %155 = trunc i64 %154 to i32
  store i32 %155, ptr %31, align 4, !tbaa !5
  %156 = load i32, ptr %31, align 4, !tbaa !5
  %157 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %156)
          to label %158 unwind label %190

158:                                              ; preds = %153
  %159 = load ptr, ptr @stdout, align 8, !tbaa !9
  %160 = invoke i32 @fflush(ptr noundef %159)
          to label %161 unwind label %190

161:                                              ; preds = %158
  %162 = load i32, ptr %29, align 4, !tbaa !22
  %163 = invoke ptr @ee2str(i32 noundef %162)
          to label %164 unwind label %190

164:                                              ; preds = %161
  %165 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %163)
          to label %166 unwind label %190

166:                                              ; preds = %164
  %167 = load ptr, ptr @stdout, align 8, !tbaa !9
  %168 = invoke i32 @fflush(ptr noundef %167)
          to label %169 unwind label %190

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

170:                                              ; preds = %138, %127
  %171 = landingpad { ptr, i32 }
          cleanup
  %172 = extractvalue { ptr, i32 } %171, 0
  store ptr %172, ptr %23, align 8
  %173 = extractvalue { ptr, i32 } %171, 1
  store i32 %173, ptr %24, align 4
  br label %431

174:                                              ; preds = %144, %141, %139
  %175 = landingpad { ptr, i32 }
          cleanup
  %176 = extractvalue { ptr, i32 } %175, 0
  store ptr %176, ptr %23, align 8
  %177 = extractvalue { ptr, i32 } %175, 1
  store i32 %177, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #9
  br label %431

178:                                              ; preds = %146
  %179 = landingpad { ptr, i32 }
          cleanup
  %180 = extractvalue { ptr, i32 } %179, 0
  store ptr %180, ptr %23, align 8
  %181 = extractvalue { ptr, i32 } %179, 1
  store i32 %181, ptr %24, align 4
  br label %430

182:                                              ; preds = %147
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %23, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %24, align 4
  br label %429

186:                                              ; preds = %148
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %23, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %24, align 4
  br label %216

190:                                              ; preds = %166, %164, %161, %158, %153
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %23, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #9
  br label %216

194:                                              ; preds = %150
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %33, ptr align 4 %13, i64 40, i1 false), !tbaa.struct !21
  %195 = invoke noundef i32 @_Z27transpose_infer_output_sizeP6Tensor18TransposeParamSpecS0_P8ArchInfo(ptr noundef %27, ptr noundef byval(%struct.TransposeParamSpec) align 8 %33, ptr noundef %28, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %196 unwind label %217

196:                                              ; preds = %194
  store i32 %195, ptr %32, align 4, !tbaa !22
  %197 = load i32, ptr %32, align 4, !tbaa !22
  %198 = icmp ne i32 %197, 0
  br i1 %198, label %199, label %225

199:                                              ; preds = %196
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #9
  %200 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %201 = trunc i64 %200 to i32
  store i32 %201, ptr %34, align 4, !tbaa !5
  %202 = load i32, ptr %34, align 4, !tbaa !5
  %203 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %202)
          to label %204 unwind label %221

204:                                              ; preds = %199
  %205 = load ptr, ptr @stdout, align 8, !tbaa !9
  %206 = invoke i32 @fflush(ptr noundef %205)
          to label %207 unwind label %221

207:                                              ; preds = %204
  %208 = load i32, ptr %32, align 4, !tbaa !22
  %209 = invoke ptr @ee2str(i32 noundef %208)
          to label %210 unwind label %221

210:                                              ; preds = %207
  %211 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %209)
          to label %212 unwind label %221

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

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

216:                                              ; preds = %190, %186
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #9
  br label %428

217:                                              ; preds = %194
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %23, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %24, align 4
  br label %250

221:                                              ; preds = %212, %210, %207, %204, %199
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %23, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #9
  br label %250

225:                                              ; preds = %196
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %226 unwind label %251

226:                                              ; preds = %225
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %28)
          to label %227 unwind label %251

227:                                              ; preds = %226
  call void @llvm.lifetime.start.p0(i64 32, ptr %35) #9
  invoke void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %35, i32 noundef 1)
          to label %228 unwind label %255

228:                                              ; preds = %227
  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) %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %38, ptr align 4 %12, i64 40, i1 false), !tbaa.struct !21
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %39, ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %40, ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  %229 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef %37, ptr noundef byval(%struct.TransposeParamSpec) align 8 %38, ptr noundef %39, ptr noundef %40, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %230 unwind label %259

230:                                              ; preds = %228
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %40) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %39) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  store i32 %229, ptr %36, align 4, !tbaa !22
  %231 = load i32, ptr %36, align 4, !tbaa !22
  %232 = icmp ne i32 %231, 0
  br i1 %232, label %233, label %267

233:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %234 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %235 = trunc i64 %234 to i32
  store i32 %235, ptr %41, align 4, !tbaa !5
  %236 = load i32, ptr %41, align 4, !tbaa !5
  %237 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %236)
          to label %238 unwind label %263

238:                                              ; preds = %233
  %239 = load ptr, ptr @stdout, align 8, !tbaa !9
  %240 = invoke i32 @fflush(ptr noundef %239)
          to label %241 unwind label %263

241:                                              ; preds = %238
  %242 = load i32, ptr %36, align 4, !tbaa !22
  %243 = invoke ptr @ee2str(i32 noundef %242)
          to label %244 unwind label %263

244:                                              ; preds = %241
  %245 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %243)
          to label %246 unwind label %263

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

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

250:                                              ; preds = %221, %217
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #9
  br label %428

251:                                              ; preds = %226, %225
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %23, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %24, align 4
  br label %428

255:                                              ; preds = %227
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %23, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %24, align 4
  br label %427

259:                                              ; preds = %228
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %23, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, 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) %39) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %37) #9
  br label %289

263:                                              ; preds = %246, %244, %241, %238, %233
  %264 = landingpad { ptr, i32 }
          cleanup
  %265 = extractvalue { ptr, i32 } %264, 0
  store ptr %265, ptr %23, align 8
  %266 = extractvalue { ptr, i32 } %264, 1
  store i32 %266, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #9
  br label %289

267:                                              ; preds = %230
  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) %27) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 4 %13, i64 40, i1 false), !tbaa.struct !21
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %45, ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %46, ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  %268 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef %43, ptr noundef byval(%struct.TransposeParamSpec) align 8 %44, ptr noundef %45, ptr noundef %46, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %269 unwind label %290

269:                                              ; preds = %267
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %46) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %45) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  store i32 %268, ptr %42, align 4, !tbaa !22
  %270 = load i32, ptr %42, align 4, !tbaa !22
  %271 = icmp ne i32 %270, 0
  br i1 %271, label %272, label %298

272:                                              ; preds = %269
  call void @llvm.lifetime.start.p0(i64 4, ptr %47) #9
  %273 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %274 = trunc i64 %273 to i32
  store i32 %274, ptr %47, align 4, !tbaa !5
  %275 = load i32, ptr %47, align 4, !tbaa !5
  %276 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %275)
          to label %277 unwind label %294

277:                                              ; preds = %272
  %278 = load ptr, ptr @stdout, align 8, !tbaa !9
  %279 = invoke i32 @fflush(ptr noundef %278)
          to label %280 unwind label %294

280:                                              ; preds = %277
  %281 = load i32, ptr %42, align 4, !tbaa !22
  %282 = invoke ptr @ee2str(i32 noundef %281)
          to label %283 unwind label %294

283:                                              ; preds = %280
  %284 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %282)
          to label %285 unwind label %294

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

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

289:                                              ; preds = %263, %259
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #9
  br label %426

290:                                              ; preds = %267
  %291 = landingpad { ptr, i32 }
          cleanup
  %292 = extractvalue { ptr, i32 } %291, 0
  store ptr %292, ptr %23, align 8
  %293 = extractvalue { ptr, i32 } %291, 1
  store i32 %293, 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) %45) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %43) #9
  br label %311

294:                                              ; preds = %285, %283, %280, %277, %272
  %295 = landingpad { ptr, i32 }
          cleanup
  %296 = extractvalue { ptr, i32 } %295, 0
  store ptr %296, ptr %23, align 8
  %297 = extractvalue { ptr, i32 } %295, 1
  store i32 %297, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %47) #9
  br label %311

298:                                              ; preds = %269
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  %299 = load ptr, ptr %20, align 8, !tbaa !9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %48, ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  %300 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef %48, i32 noundef 1)
          to label %301 unwind label %312

301:                                              ; preds = %298
  %302 = load i32, ptr %18, align 4, !tbaa !5
  %303 = load i32, ptr %6, align 4, !tbaa !11
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %299, ptr noundef %300, i32 noundef %302, i32 noundef %303, float noundef 0x3F1A36E2E0000000)
          to label %304 unwind label %312

304:                                              ; preds = %301
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %49) #9
  %305 = invoke noundef double @_Z10ut_time_msv()
          to label %306 unwind label %316

306:                                              ; preds = %304
  store double %305, ptr %49, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %50) #9
  store i32 0, ptr %50, align 4, !tbaa !5
  br label %307

307:                                              ; preds = %351, %306
  %308 = load i32, ptr %50, align 4, !tbaa !5
  %309 = icmp slt i32 %308, 6
  br i1 %309, label %320, label %310

310:                                              ; preds = %307
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  br label %355

311:                                              ; preds = %294, %290
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %426

312:                                              ; preds = %301, %298
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %23, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %48) #9
  br label %426

316:                                              ; preds = %304
  %317 = landingpad { ptr, i32 }
          cleanup
  %318 = extractvalue { ptr, i32 } %317, 0
  store ptr %318, ptr %23, align 8
  %319 = extractvalue { ptr, i32 } %317, 1
  store i32 %319, ptr %24, align 4
  br label %425

320:                                              ; preds = %307
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %52, ptr noundef nonnull align 8 dereferenceable(32) %21) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %12, i64 40, i1 false), !tbaa.struct !21
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %54, ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %55, ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  %321 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef %52, ptr noundef byval(%struct.TransposeParamSpec) align 8 %53, ptr noundef %54, ptr noundef %55, ptr noundef @_ZL15UT_CPU_ARCHINFO)
          to label %322 unwind label %342

322:                                              ; preds = %320
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  store i32 %321, ptr %51, align 4, !tbaa !22
  %323 = load i32, ptr %51, align 4, !tbaa !22
  %324 = icmp ne i32 %323, 0
  br i1 %324, label %325, label %350

325:                                              ; preds = %322
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #9
  %326 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %327 = trunc i64 %326 to i32
  store i32 %327, ptr %56, align 4, !tbaa !5
  %328 = load i32, ptr %56, align 4, !tbaa !5
  %329 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %328)
          to label %330 unwind label %346

330:                                              ; preds = %325
  %331 = load ptr, ptr @stdout, align 8, !tbaa !9
  %332 = invoke i32 @fflush(ptr noundef %331)
          to label %333 unwind label %346

333:                                              ; preds = %330
  %334 = load i32, ptr %51, align 4, !tbaa !22
  %335 = invoke ptr @ee2str(i32 noundef %334)
          to label %336 unwind label %346

336:                                              ; preds = %333
  %337 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %335)
          to label %338 unwind label %346

338:                                              ; preds = %336
  %339 = load ptr, ptr @stdout, align 8, !tbaa !9
  %340 = invoke i32 @fflush(ptr noundef %339)
          to label %341 unwind label %346

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

342:                                              ; preds = %320
  %343 = landingpad { ptr, i32 }
          cleanup
  %344 = extractvalue { ptr, i32 } %343, 0
  store ptr %344, ptr %23, align 8
  %345 = extractvalue { ptr, i32 } %343, 1
  store i32 %345, ptr %24, align 4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %55) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %54) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %52) #9
  br label %354

346:                                              ; preds = %338, %336, %333, %330, %325
  %347 = landingpad { ptr, i32 }
          cleanup
  %348 = extractvalue { ptr, i32 } %347, 0
  store ptr %348, ptr %23, align 8
  %349 = extractvalue { ptr, i32 } %347, 1
  store i32 %349, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #9
  br label %354

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

351:                                              ; preds = %350
  %352 = load i32, ptr %50, align 4, !tbaa !5
  %353 = add nsw i32 %352, 1
  store i32 %353, ptr %50, align 4, !tbaa !5
  br label %307, !llvm.loop !26

354:                                              ; preds = %346, %342
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %50) #9
  br label %425

355:                                              ; preds = %310
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #9
  %356 = invoke noundef double @_Z10ut_time_msv()
          to label %357 unwind label %384

357:                                              ; preds = %355
  store double %356, ptr %57, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 8, ptr %58) #9
  %358 = load double, ptr %57, align 8, !tbaa !24
  %359 = load double, ptr %49, align 8, !tbaa !24
  %360 = fsub double %358, %359
  %361 = fdiv double %360, 6.000000e+00
  store double %361, ptr %58, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 4, ptr %59) #9
  store i32 0, ptr %59, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #9
  store i32 0, ptr %60, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %61) #9
  store i32 0, ptr %61, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #9
  store i32 0, ptr %62, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #9
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %64, ptr noundef nonnull align 8 dereferenceable(32) %27)
          to label %362 unwind label %388

362:                                              ; preds = %357
  %363 = invoke noundef i32 @_Z11tensor4dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_S4_(ptr noundef byval(%struct.TensorDesc) align 8 %64, ptr noundef %6, ptr noundef %16, ptr noundef %59, ptr noundef %60, ptr noundef %61, ptr noundef %62)
          to label %364 unwind label %388

364:                                              ; preds = %362
  store i32 %363, ptr %63, align 4, !tbaa !22
  %365 = load i32, ptr %63, align 4, !tbaa !22
  %366 = icmp ne i32 %365, 0
  br i1 %366, label %367, label %396

367:                                              ; preds = %364
  call void @llvm.lifetime.start.p0(i64 4, ptr %65) #9
  %368 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %369 = trunc i64 %368 to i32
  store i32 %369, ptr %65, align 4, !tbaa !5
  %370 = load i32, ptr %65, align 4, !tbaa !5
  %371 = invoke i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %370)
          to label %372 unwind label %392

372:                                              ; preds = %367
  %373 = load ptr, ptr @stdout, align 8, !tbaa !9
  %374 = invoke i32 @fflush(ptr noundef %373)
          to label %375 unwind label %392

375:                                              ; preds = %372
  %376 = load i32, ptr %63, align 4, !tbaa !22
  %377 = invoke ptr @ee2str(i32 noundef %376)
          to label %378 unwind label %392

378:                                              ; preds = %375
  %379 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, ptr noundef %377)
          to label %380 unwind label %392

380:                                              ; preds = %378
  %381 = load ptr, ptr @stdout, align 8, !tbaa !9
  %382 = invoke i32 @fflush(ptr noundef %381)
          to label %383 unwind label %392

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

384:                                              ; preds = %355
  %385 = landingpad { ptr, i32 }
          cleanup
  %386 = extractvalue { ptr, i32 } %385, 0
  store ptr %386, ptr %23, align 8
  %387 = extractvalue { ptr, i32 } %385, 1
  store i32 %387, ptr %24, align 4
  br label %424

388:                                              ; preds = %362, %357
  %389 = landingpad { ptr, i32 }
          cleanup
  %390 = extractvalue { ptr, i32 } %389, 0
  store ptr %390, ptr %23, align 8
  %391 = extractvalue { ptr, i32 } %389, 1
  store i32 %391, ptr %24, align 4
  br label %418

392:                                              ; preds = %380, %378, %375, %372, %367
  %393 = landingpad { ptr, i32 }
          cleanup
  %394 = extractvalue { ptr, i32 } %393, 0
  store ptr %394, ptr %23, align 8
  %395 = extractvalue { ptr, i32 } %393, 1
  store i32 %395, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %65) #9
  br label %418

396:                                              ; preds = %364
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #9
  call void @llvm.lifetime.start.p0(i64 150, ptr %66) #9
  call void @llvm.lifetime.start.p0(i64 120, ptr %67) #9
  %397 = getelementptr inbounds [120 x i8], ptr %67, i64 0, i64 0
  %398 = load i32, ptr %8, align 4, !tbaa !5
  %399 = load i32, ptr %9, align 4, !tbaa !5
  %400 = load i32, ptr %10, align 4, !tbaa !5
  %401 = load i32, ptr %11, align 4, !tbaa !5
  %402 = load i32, ptr %59, align 4, !tbaa !5
  %403 = load i32, ptr %60, align 4, !tbaa !5
  %404 = load i32, ptr %61, align 4, !tbaa !5
  %405 = load i32, ptr %62, align 4, !tbaa !5
  %406 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %397, ptr noundef @.str.3, i32 noundef %398, i32 noundef %399, i32 noundef %400, i32 noundef %401, i32 noundef %402, i32 noundef %403, i32 noundef %404, i32 noundef %405) #9
  %407 = getelementptr inbounds [150 x i8], ptr %66, i64 0, i64 0
  %408 = getelementptr inbounds [120 x i8], ptr %67, i64 0, i64 0
  %409 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %407, ptr noundef @.str.4, ptr noundef @.str.5, ptr noundef %408) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #9
  %410 = load i32, ptr %18, align 4, !tbaa !5
  %411 = uitofp i32 %410 to double
  store double %411, ptr %68, align 8, !tbaa !24
  %412 = load i32, ptr %6, align 4, !tbaa !11
  %413 = getelementptr inbounds [150 x i8], ptr %66, i64 0, i64 0
  %414 = load double, ptr %68, align 8, !tbaa !24
  %415 = load double, ptr %58, align 8, !tbaa !24
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %412, ptr noundef %413, double noundef %414, double noundef %415)
          to label %416 unwind label %419

416:                                              ; preds = %396
  %417 = load ptr, ptr %20, align 8, !tbaa !9
  call void @free(ptr noundef %417) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 150, ptr %66) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #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 @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 40, 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

418:                                              ; preds = %392, %388
  call void @llvm.lifetime.end.p0(i64 4, ptr %63) #9
  br label %423

419:                                              ; preds = %396
  %420 = landingpad { ptr, i32 }
          cleanup
  %421 = extractvalue { ptr, i32 } %420, 0
  store ptr %421, ptr %23, align 8
  %422 = extractvalue { ptr, i32 } %420, 1
  store i32 %422, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %67) #9
  call void @llvm.lifetime.end.p0(i64 150, ptr %66) #9
  br label %423

423:                                              ; preds = %419, %418
  call void @llvm.lifetime.end.p0(i64 4, ptr %62) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %60) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %59) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %58) #9
  br label %424

424:                                              ; preds = %423, %384
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #9
  br label %425

425:                                              ; preds = %424, %354, %316
  call void @llvm.lifetime.end.p0(i64 8, ptr %49) #9
  br label %426

426:                                              ; preds = %425, %312, %311, %289
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %35) #9
  br label %427

427:                                              ; preds = %426, %255
  call void @llvm.lifetime.end.p0(i64 32, ptr %35) #9
  br label %428

428:                                              ; preds = %427, %251, %250, %216
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %28) #9
  br label %429

429:                                              ; preds = %428, %182
  call void @llvm.lifetime.end.p0(i64 32, ptr %28) #9
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %27) #9
  br label %430

430:                                              ; preds = %429, %178
  call void @llvm.lifetime.end.p0(i64 32, ptr %27) #9
  br label %431

431:                                              ; preds = %430, %174, %170
  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 @llvm.lifetime.end.p0(i64 8, ptr %20) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %17) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #9
  call void @llvm.lifetime.end.p0(i64 40, ptr %13) #9
  call void @llvm.lifetime.end.p0(i64 40, 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 %432

432:                                              ; preds = %431
  %433 = load ptr, ptr %23, align 8
  %434 = load i32, ptr %24, align 4
  %435 = insertvalue { ptr, i32 } poison, ptr %433, 0
  %436 = insertvalue { ptr, i32 } %435, i32 %434, 1
  resume { ptr, i32 } %436
}

; 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 @_ZN18TransposeParamSpecC2Ev(ptr noundef nonnull align 4 dereferenceable(40)) unnamed_addr #6 align 2

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

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

declare noundef i32 @_Z27transpose_infer_output_sizeP6Tensor18TransposeParamSpecS0_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.TransposeParamSpec) align 8, ptr noundef, ptr noundef) #3

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

declare noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef, ptr noundef byval(%struct.TransposeParamSpec) align 8, ptr noundef, 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) #8

declare noundef double @_Z10ut_time_msv() #3

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

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

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

; 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { nounwind }
attributes #10 = { noreturn nounwind }
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, !6, i64 32}
!14 = !{!"_ZTS18TransposeParamSpec", !7, i64 0, !6, i64 32, !15, i64 36}
!15 = !{!"_ZTS10DataFormat", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!15, !15, i64 0}
!19 = !{i64 0, i64 4, !11, i64 4, i64 4, !18, i64 8, i64 4, !5, i64 12, i64 80, !20}
!20 = !{!7, !7, i64 0}
!21 = !{i64 0, i64 32, !20, i64 32, i64 4, !5, i64 36, i64 4, !18}
!22 = !{!23, !23, i64 0}
!23 = !{!"_ZTS2EE", !7, i64 0}
!24 = !{!25, !25, i64 0}
!25 = !{!"double", !7, i64 0}
!26 = distinct !{!26, !17}


; 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.TransposeParamSpec = type { [8 x i32], i32, 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 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
@.str.3 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local noundef i32 @_Z13transposeTestiPPc8DataType(i32 noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %4 = alloca i32, align 4
  %5 = alloca %struct.TransposeParamSpec, align 8
  %6 = alloca %struct.TransposeParamSpec, align 8
  %7 = alloca i32, align 4
  %8 = alloca %struct.TensorDesc, align 8
  %9 = alloca %class.Tensor, align 8
  %10 = alloca %class.Tensor, align 8
  %11 = alloca %class.Tensor, align 8
  %12 = alloca %class.Tensor, align 8
  %13 = alloca %class.Tensor, align 8
  %14 = alloca %class.Tensor, align 8
  %15 = alloca %struct.TransposeParamSpec, align 8
  %16 = alloca %class.Tensor, align 8
  %17 = alloca %class.Tensor, align 8
  %18 = alloca %class.Tensor, align 8
  %19 = alloca %struct.TransposeParamSpec, 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 %struct.TransposeParamSpec, align 8
  %25 = alloca %class.Tensor, align 8
  %26 = alloca %class.Tensor, align 8
  %27 = alloca i32, align 4
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %struct.TensorDesc, align 8
  %32 = alloca [150 x i8], align 16
  %33 = alloca [120 x i8], align 16
  store i32 %2, ptr %4, align 4, !tbaa !5
  %34 = icmp eq i32 %0, 9
  br i1 %34, label %.lr.ph.preheader, label %35

35:                                               ; preds = %3
  %36 = tail call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %37 = trunc i64 %36 to i32
  %38 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %37)
  %39 = load ptr, ptr @stdout, align 8, !tbaa !9
  %40 = tail call i32 @fflush(ptr noundef %39)
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %42 = load ptr, ptr @stdout, align 8, !tbaa !9
  %43 = tail call i32 @fflush(ptr noundef %42)
  tail call void @exit(i32 noundef 1) #12
  unreachable

.lr.ph.preheader:                                 ; preds = %3
  %44 = getelementptr inbounds i8, ptr %1, i64 8
  %45 = load ptr, ptr %44, align 8, !tbaa !9
  %46 = tail call i32 @atoi(ptr nocapture noundef %45) #13
  %47 = getelementptr inbounds i8, ptr %1, i64 16
  %48 = load ptr, ptr %47, align 8, !tbaa !9
  %49 = tail call i32 @atoi(ptr nocapture noundef %48) #13
  %50 = getelementptr inbounds i8, ptr %1, i64 24
  %51 = load ptr, ptr %50, align 8, !tbaa !9
  %52 = tail call i32 @atoi(ptr nocapture noundef %51) #13
  %53 = getelementptr inbounds i8, ptr %1, i64 32
  %54 = load ptr, ptr %53, align 8, !tbaa !9
  %55 = tail call i32 @atoi(ptr nocapture noundef %54) #13
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %5) #11
  call void @_ZN18TransposeParamSpecC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %5) #11
  call void @llvm.lifetime.start.p0(i64 40, ptr nonnull %6) #11
  call void @_ZN18TransposeParamSpecC2Ev(ptr noundef nonnull align 4 dereferenceable(40) %6) #11
  %56 = getelementptr inbounds i8, ptr %5, i64 32
  store i32 4, ptr %56, align 8, !tbaa !11
  %57 = getelementptr inbounds i8, ptr %6, i64 32
  store i32 4, ptr %57, align 8, !tbaa !11
  br label %.lr.ph

._crit_edge:                                      ; preds = %.lr.ph
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #11
  store i32 0, ptr %7, align 4, !tbaa !15
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %8) #11
  call void @_Z9tensor4df8DataType10DataFormatjjjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %8, i32 noundef %2, i32 noundef 0, i32 noundef %46, i32 noundef %49, i32 noundef %52, i32 noundef %55)
  %58 = call noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
  %59 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %58, i32 noundef %2, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #11
  call void @_ZN6TensorC2E10MemoryType(ptr noundef nonnull align 8 dereferenceable(32) %9, i32 noundef 1)
  invoke void @_ZN6Tensor6resizeE10TensorDesc(ptr noundef nonnull align 8 dereferenceable(32) %9, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %72 unwind label %94

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next, %.lr.ph ]
  %60 = trunc nuw i64 %indvars.iv to i32
  %61 = add nuw nsw i64 %indvars.iv, 5
  %62 = and i64 %61, 4294967295
  %63 = getelementptr inbounds ptr, ptr %1, i64 %62
  %64 = load ptr, ptr %63, align 8, !tbaa !9
  %65 = call i32 @atoi(ptr nocapture noundef %64) #13
  %66 = getelementptr inbounds [8 x i32], ptr %5, i64 0, i64 %indvars.iv
  store i32 %65, ptr %66, align 4, !tbaa !16
  %67 = sext i32 %65 to i64
  %68 = getelementptr inbounds [8 x i32], ptr %6, i64 0, i64 %67
  store i32 %60, ptr %68, align 4, !tbaa !16
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %69 = load i32, ptr %57, align 8, !tbaa !11
  %70 = zext i32 %69 to i64
  %71 = icmp ult i64 %indvars.iv.next, %70
  br i1 %71, label %.lr.ph, label %._crit_edge, !llvm.loop !17

72:                                               ; preds = %._crit_edge
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %9)
          to label %73 unwind label %94

73:                                               ; preds = %72
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %10, ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  %74 = invoke noundef ptr @_Z19get_ptr_from_tensor6Tensor4Arch(ptr noundef nonnull %10, i32 noundef 1)
          to label %75 unwind label %96

75:                                               ; preds = %73
  %76 = invoke noundef i32 @_Z14tensorNumBytes10TensorDesc(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %8)
          to label %77 unwind label %96

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

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

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

81:                                               ; preds = %80
  %82 = invoke noundef i32 @_Z27transpose_infer_output_sizeP6Tensor18TransposeParamSpecS0_P8ArchInfo(ptr noundef nonnull %9, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %5, ptr noundef nonnull %11, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %83 unwind label %102

83:                                               ; preds = %81
  %.not = icmp eq i32 %82, 0
  br i1 %.not, label %104, label %84

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

94:                                               ; preds = %72, %._crit_edge
  %95 = landingpad { ptr, i32 }
          cleanup
  br label %228

96:                                               ; preds = %77, %75, %73
  %97 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %10) #11
  br label %228

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

100:                                              ; preds = %80
  %101 = landingpad { ptr, i32 }
          cleanup
  br label %226

102:                                              ; preds = %81
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %225

104:                                              ; preds = %83
  %105 = invoke noundef i32 @_Z27transpose_infer_output_sizeP6Tensor18TransposeParamSpecS0_P8ArchInfo(ptr noundef nonnull %11, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %6, ptr noundef nonnull %12, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %106 unwind label %117

106:                                              ; preds = %104
  %.not70 = icmp eq i32 %105, 0
  br i1 %.not70, label %119, label %107

107:                                              ; preds = %106
  %108 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %109 = trunc i64 %108 to i32
  %110 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %109)
  %111 = load ptr, ptr @stdout, align 8, !tbaa !9
  %112 = call i32 @fflush(ptr noundef %111)
  %113 = call ptr @ee2str(i32 noundef %105)
  %114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %113)
  %115 = load ptr, ptr @stdout, align 8, !tbaa !9
  %116 = call i32 @fflush(ptr noundef %115)
  call void @exit(i32 noundef 1) #12
  unreachable

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

119:                                              ; preds = %106
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %120 unwind label %135

120:                                              ; preds = %119
  invoke void @_ZN6Tensor5allocEv(ptr noundef nonnull align 8 dereferenceable(32) %12)
          to label %121 unwind label %135

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

122:                                              ; preds = %121
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %14, ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %15, ptr noundef nonnull align 8 dereferenceable(40) %5, i64 40, i1 false), !tbaa.struct !19
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %16, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %17, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %123 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef nonnull %14, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %15, ptr noundef nonnull %16, ptr noundef nonnull %17, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %124 unwind label %139

124:                                              ; preds = %122
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  %.not71 = icmp eq i32 %123, 0
  br i1 %.not71, label %141, label %125

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

135:                                              ; preds = %120, %119
  %136 = landingpad { ptr, i32 }
          cleanup
  br label %225

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

139:                                              ; preds = %122
  %140 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %17) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %16) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %14) #11
  br label %223

141:                                              ; preds = %124
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %18, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %19, ptr noundef nonnull align 8 dereferenceable(40) %6, i64 40, i1 false), !tbaa.struct !19
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %20, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %21, ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  %142 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef nonnull %18, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %19, ptr noundef nonnull %20, ptr noundef nonnull %21, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %143 unwind label %154

143:                                              ; preds = %141
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %21) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  %.not72 = icmp eq i32 %142, 0
  br i1 %.not72, 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 !9
  %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 !9
  %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) %21) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %20) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %18) #11
  br label %223

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

158:                                              ; preds = %156
  invoke void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %59, ptr noundef %157, i32 noundef %58, i32 noundef %2, float noundef 0x3F1A36E2E0000000)
          to label %159 unwind label %174

159:                                              ; preds = %158
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  %160 = invoke noundef double @_Z10ut_time_msv()
          to label %.preheader.preheader unwind label %176

.preheader.preheader:                             ; preds = %159
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 8 dereferenceable(40) %5, i64 40, i1 false), !tbaa.struct !19
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %161 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef nonnull %23, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %178 unwind label %189

.preheader.1:                                     ; preds = %178
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 8 dereferenceable(40) %5, i64 40, i1 false), !tbaa.struct !19
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %162 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef nonnull %23, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %163 unwind label %189

163:                                              ; preds = %.preheader.1
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  %.not84.1 = icmp eq i32 %162, 0
  br i1 %.not84.1, label %.preheader.2, label %179

.preheader.2:                                     ; preds = %163
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 8 dereferenceable(40) %5, i64 40, i1 false), !tbaa.struct !19
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %164 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef nonnull %23, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %165 unwind label %189

165:                                              ; preds = %.preheader.2
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  %.not84.2 = icmp eq i32 %164, 0
  br i1 %.not84.2, label %.preheader.3, label %179

.preheader.3:                                     ; preds = %165
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 8 dereferenceable(40) %5, i64 40, i1 false), !tbaa.struct !19
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %166 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef nonnull %23, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %167 unwind label %189

167:                                              ; preds = %.preheader.3
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  %.not84.3 = icmp eq i32 %166, 0
  br i1 %.not84.3, label %.preheader.4, label %179

.preheader.4:                                     ; preds = %167
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 8 dereferenceable(40) %5, i64 40, i1 false), !tbaa.struct !19
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %168 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef nonnull %23, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %169 unwind label %189

169:                                              ; preds = %.preheader.4
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  %.not84.4 = icmp eq i32 %168, 0
  br i1 %.not84.4, label %.preheader.5, label %179

.preheader.5:                                     ; preds = %169
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %23, ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %24, ptr noundef nonnull align 8 dereferenceable(40) %5, i64 40, i1 false), !tbaa.struct !19
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %25, ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @_ZN6TensorC2ERKS_(ptr noundef nonnull align 8 dereferenceable(32) %26, ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  %170 = invoke noundef i32 @_Z9transpose6Tensor18TransposeParamSpecS_S_P8ArchInfo(ptr noundef nonnull %23, ptr noundef nonnull byval(%struct.TransposeParamSpec) align 8 %24, ptr noundef nonnull %25, ptr noundef nonnull %26, ptr noundef nonnull @_ZL15UT_CPU_ARCHINFO)
          to label %171 unwind label %189

171:                                              ; preds = %.preheader.5
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  %.not84.5 = icmp eq i32 %170, 0
  br i1 %.not84.5, label %172, label %179

172:                                              ; preds = %171
  %173 = invoke noundef double @_Z10ut_time_msv()
          to label %191 unwind label %206

174:                                              ; preds = %158, %156
  %175 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %22) #11
  br label %223

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

178:                                              ; preds = %.preheader.preheader
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  %.not84 = icmp eq i32 %161, 0
  br i1 %.not84, label %.preheader.1, label %179

179:                                              ; preds = %171, %169, %167, %165, %163, %178
  %.lcssa = phi i32 [ %161, %178 ], [ %162, %163 ], [ %164, %165 ], [ %166, %167 ], [ %168, %169 ], [ %170, %171 ]
  %180 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %181 = trunc i64 %180 to i32
  %182 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %181)
  %183 = load ptr, ptr @stdout, align 8, !tbaa !9
  %184 = call i32 @fflush(ptr noundef %183)
  %185 = call ptr @ee2str(i32 noundef %.lcssa)
  %186 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, ptr noundef %185)
  %187 = load ptr, ptr @stdout, align 8, !tbaa !9
  %188 = call i32 @fflush(ptr noundef %187)
  call void @exit(i32 noundef 1) #12
  unreachable

189:                                              ; preds = %.preheader.5, %.preheader.4, %.preheader.3, %.preheader.2, %.preheader.1, %.preheader.preheader
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %26) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %25) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %23) #11
  br label %223

191:                                              ; preds = %172
  %192 = fsub double %173, %160
  %193 = fdiv double %192, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %27) #11
  store i32 0, ptr %27, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %28) #11
  store i32 0, ptr %28, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %29) #11
  store i32 0, ptr %29, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %30) #11
  store i32 0, ptr %30, align 4, !tbaa !16
  invoke void @_ZN6Tensor8get_descEv(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %31, ptr noundef nonnull align 8 dereferenceable(32) %11)
          to label %194 unwind label %208

194:                                              ; preds = %191
  %195 = call noundef i32 @_Z11tensor4dGet10TensorDescP8DataTypeP10DataFormatPjS4_S4_S4_(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %31, ptr noundef nonnull %4, ptr noundef nonnull %7, ptr noundef nonnull %27, ptr noundef nonnull %28, ptr noundef nonnull %29, ptr noundef nonnull %30)
  %.not73 = icmp eq i32 %195, 0
  br i1 %.not73, label %210, label %196

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

206:                                              ; preds = %172
  %207 = landingpad { ptr, i32 }
          cleanup
  br label %223

208:                                              ; preds = %191
  %209 = landingpad { ptr, i32 }
          cleanup
  br label %222

210:                                              ; preds = %194
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %32) #11
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %33) #11
  %211 = load i32, ptr %27, align 4, !tbaa !16
  %212 = load i32, ptr %28, align 4, !tbaa !16
  %213 = load i32, ptr %29, align 4, !tbaa !16
  %214 = load i32, ptr %30, align 4, !tbaa !16
  %215 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %33, ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef %46, i32 noundef %49, i32 noundef %52, i32 noundef %55, i32 noundef %211, i32 noundef %212, i32 noundef %213, i32 noundef %214) #11
  %216 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %32, ptr noundef nonnull dereferenceable(1) @.str.4, ptr noundef nonnull @.str.5, ptr noundef nonnull %33) #11
  %217 = uitofp i32 %58 to double
  %218 = load i32, ptr %4, align 4, !tbaa !5
  invoke void @_Z6ut_log8DataTypePcdd(i32 noundef %218, ptr noundef nonnull %32, double noundef %217, double noundef %193)
          to label %219 unwind label %220

219:                                              ; preds = %210
  call void @free(ptr noundef %59) #11
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %33) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %32) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #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) %9) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #11
  ret i32 0

220:                                              ; preds = %210
  %221 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %33) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %32) #11
  br label %222

222:                                              ; preds = %220, %208
  %.pn = phi { ptr, i32 } [ %221, %220 ], [ %209, %208 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %30) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %29) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %28) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %27) #11
  br label %223

223:                                              ; preds = %176, %189, %222, %206, %174, %154, %139
  %.pn76.pn = phi { ptr, i32 } [ %175, %174 ], [ %155, %154 ], [ %140, %139 ], [ %190, %189 ], [ %177, %176 ], [ %.pn, %222 ], [ %207, %206 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %13) #11
  br label %224

224:                                              ; preds = %223, %137
  %.pn76.pn.pn = phi { ptr, i32 } [ %.pn76.pn, %223 ], [ %138, %137 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %13) #11
  br label %225

225:                                              ; preds = %224, %135, %117, %102
  %.pn76.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn, %224 ], [ %136, %135 ], [ %118, %117 ], [ %103, %102 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %12) #11
  br label %226

226:                                              ; preds = %225, %100
  %.pn76.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn.pn, %225 ], [ %101, %100 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %12) #11
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %11) #11
  br label %227

227:                                              ; preds = %226, %98
  %.pn76.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn.pn.pn, %226 ], [ %99, %98 ]
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %11) #11
  br label %228

228:                                              ; preds = %227, %96, %94
  %.pn76.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn76.pn.pn.pn.pn.pn, %227 ], [ %97, %96 ], [ %95, %94 ]
  call void @_ZN6TensorD2Ev(ptr noundef nonnull align 8 dereferenceable(32) %9) #11
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %8) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %6) #11
  call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %5) #11
  resume { ptr, i32 } %.pn76.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 @_ZN18TransposeParamSpecC2Ev(ptr noundef nonnull align 4 dereferenceable(40)) unnamed_addr #6 align 2

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

; 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 nounwind uwtable
declare dso_local noundef i32 @_Z17tensorNumElements10TensorDesc(ptr noundef byval(%struct.TensorDesc) align 8) local_unnamed_addr #6

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

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

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

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

declare i32 @__gxx_personality_v0(...)

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

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

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

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

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

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

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

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

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

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

declare noundef double @_Z10ut_time_msv() local_unnamed_addr #9

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

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

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

; 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #9 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #10 = { 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 = !{!"_ZTS8DataType", !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, !13, i64 32}
!12 = !{!"_ZTS18TransposeParamSpec", !7, i64 0, !13, i64 32, !14, i64 36}
!13 = !{!"int", !7, i64 0}
!14 = !{!"_ZTS10DataFormat", !7, i64 0}
!15 = !{!14, !14, i64 0}
!16 = !{!13, !13, i64 0}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{i64 0, i64 32, !20, i64 32, i64 4, !16, i64 36, i64 4, !15}
!20 = !{!7, !7, i64 0}


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