; LLVM IR from huawei-noah/bolt :: compute/blas_enhance/tests/test_mmm.ll (Z13mmmTestKerneljjj8DataTypeS_S_bbbb)

; 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.TensorDesc = type { i32, i32, i32, [20 x i32] }

@.str = external hidden unnamed_addr constant [20 x i8], align 1
@stdout = external global ptr, align 8
@.str.1 = external hidden unnamed_addr constant [18 x i8], align 1
@__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.NT = external hidden unnamed_addr constant [2 x i8], align 1
@__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.trans = external hidden unnamed_addr constant [2 x ptr], align 16
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13mmmTestKerneljjj8DataTypeS_S_bbbb(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i1 noundef zeroext %6, i1 noundef zeroext %7, i1 noundef zeroext %8, i1 noundef zeroext %9) #0 {
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i8, align 1
  %18 = alloca i8, align 1
  %19 = alloca i8, align 1
  %20 = alloca i8, align 1
  %21 = alloca float, align 4
  %22 = alloca %struct.TensorDesc, align 4
  %23 = alloca %struct.TensorDesc, align 4
  %24 = alloca %struct.TensorDesc, align 4
  %25 = alloca %struct.TensorDesc, align 4
  %26 = alloca %struct.TensorDesc, align 4
  %27 = alloca %struct.TensorDesc, align 4
  %28 = alloca %struct.TensorDesc, align 4
  %29 = alloca %struct.TensorDesc, align 4
  %30 = alloca ptr, align 8
  %31 = alloca ptr, align 8
  %32 = alloca ptr, align 8
  %33 = alloca ptr, align 8
  %34 = alloca ptr, align 8
  %35 = alloca %struct.TensorDesc, align 4
  %36 = alloca ptr, align 8
  %37 = alloca i32, align 4
  %38 = alloca i32, align 4
  %39 = alloca i32, align 4
  %40 = alloca %struct.TensorDesc, align 8
  %41 = alloca i32, align 4
  %42 = alloca i32, align 4
  %43 = alloca %struct.TensorDesc, align 8
  %44 = alloca i32, align 4
  %45 = alloca i32, align 4
  %46 = alloca i32, align 4
  %47 = alloca %struct.TensorDesc, align 8
  %48 = alloca %struct.TensorDesc, align 8
  %49 = alloca i32, align 4
  %50 = alloca ptr, align 8
  %51 = alloca i32, align 4
  %52 = alloca %struct.TensorDesc, align 8
  %53 = alloca %struct.TensorDesc, align 8
  %54 = alloca %struct.TensorDesc, align 8
  %55 = alloca i32, align 4
  %56 = alloca i32, align 4
  %57 = alloca %struct.TensorDesc, align 8
  %58 = alloca %struct.TensorDesc, align 8
  %59 = alloca %struct.TensorDesc, align 8
  %60 = alloca i32, align 4
  %61 = alloca double, align 8
  %62 = alloca i32, align 4
  %63 = alloca i32, align 4
  %64 = alloca %struct.TensorDesc, align 8
  %65 = alloca %struct.TensorDesc, align 8
  %66 = alloca %struct.TensorDesc, align 8
  %67 = alloca i32, align 4
  %68 = alloca double, align 8
  %69 = alloca double, align 8
  %70 = alloca [150 x i8], align 16
  %71 = alloca [120 x i8], align 16
  %72 = alloca [2 x i8], align 1
  %73 = alloca [2 x ptr], align 16
  %74 = alloca double, align 8
  store i32 %0, ptr %11, align 4, !tbaa !5
  store i32 %1, ptr %12, align 4, !tbaa !5
  store i32 %2, ptr %13, align 4, !tbaa !5
  store i32 %3, ptr %14, align 4, !tbaa !9
  store i32 %4, ptr %15, align 4, !tbaa !9
  store i32 %5, ptr %16, align 4, !tbaa !9
  %75 = zext i1 %6 to i8
  store i8 %75, ptr %17, align 1, !tbaa !11
  %76 = zext i1 %7 to i8
  store i8 %76, ptr %18, align 1, !tbaa !11
  %77 = zext i1 %8 to i8
  store i8 %77, ptr %19, align 1, !tbaa !11
  %78 = zext i1 %9 to i8
  store i8 %78, ptr %20, align 1, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #9
  store float 0x3F1A36E2E0000000, ptr %21, align 4, !tbaa !13
  %79 = load i32, ptr %16, align 4, !tbaa !9
  %80 = icmp eq i32 %79, 4
  br i1 %80, label %81, label %82

81:                                               ; preds = %10
  store float 1.000000e+00, ptr %21, align 4, !tbaa !13
  br label %82

82:                                               ; preds = %81, %10
  call void @llvm.lifetime.start.p0(i64 92, ptr %22) #9
  call void @_ZN10TensorDescC2Ev(ptr noundef nonnull align 4 dereferenceable(92) %22) #9
  call void @llvm.lifetime.start.p0(i64 92, ptr %23) #9
  call void @_ZN10TensorDescC2Ev(ptr noundef nonnull align 4 dereferenceable(92) %23) #9
  %83 = load i8, ptr %18, align 1, !tbaa !11, !range !15, !noundef !16
  %84 = trunc i8 %83 to i1
  br i1 %84, label %85, label %89

85:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 92, ptr %24) #9
  %86 = load i32, ptr %14, align 4, !tbaa !9
  %87 = load i32, ptr %12, align 4, !tbaa !5
  %88 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %24, i32 noundef %86, i32 noundef 13, i32 noundef %87, i32 noundef %88)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %24, i64 92, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 92, ptr %24) #9
  br label %93

89:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 92, ptr %25) #9
  %90 = load i32, ptr %14, align 4, !tbaa !9
  %91 = load i32, ptr %11, align 4, !tbaa !5
  %92 = load i32, ptr %12, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %25, i32 noundef %90, i32 noundef 14, i32 noundef %91, i32 noundef %92)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 4 %25, i64 92, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 92, ptr %25) #9
  br label %93

93:                                               ; preds = %89, %85
  call void @llvm.lifetime.start.p0(i64 92, ptr %26) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %26, ptr align 4 %22, i64 92, i1 false), !tbaa.struct !17
  %94 = load i8, ptr %19, align 1, !tbaa !11, !range !15, !noundef !16
  %95 = trunc i8 %94 to i1
  br i1 %95, label %96, label %100

96:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 92, ptr %27) #9
  %97 = load i32, ptr %15, align 4, !tbaa !9
  %98 = load i32, ptr %13, align 4, !tbaa !5
  %99 = load i32, ptr %12, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %27, i32 noundef %97, i32 noundef 13, i32 noundef %98, i32 noundef %99)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %27, i64 92, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 92, ptr %27) #9
  br label %104

100:                                              ; preds = %93
  call void @llvm.lifetime.start.p0(i64 92, ptr %28) #9
  %101 = load i32, ptr %15, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !5
  %103 = load i32, ptr %13, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %28, i32 noundef %101, i32 noundef 14, i32 noundef %102, i32 noundef %103)
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 4 %28, i64 92, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.end.p0(i64 92, ptr %28) #9
  br label %104

104:                                              ; preds = %100, %96
  call void @llvm.lifetime.start.p0(i64 92, ptr %29) #9
  %105 = load i32, ptr %16, align 4, !tbaa !9
  %106 = load i32, ptr %11, align 4, !tbaa !5
  %107 = load i32, ptr %13, align 4, !tbaa !5
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind writable sret(%struct.TensorDesc) align 4 %29, i32 noundef %105, i32 noundef 14, i32 noundef %106, i32 noundef %107)
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #9
  %108 = load i32, ptr %11, align 4, !tbaa !5
  %109 = load i32, ptr %12, align 4, !tbaa !5
  %110 = mul i32 %108, %109
  %111 = load i32, ptr %14, align 4, !tbaa !9
  %112 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %110, i32 noundef %111, i32 noundef 0)
  store ptr %112, ptr %30, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #9
  %113 = load i32, ptr %11, align 4, !tbaa !5
  %114 = load i32, ptr %12, align 4, !tbaa !5
  %115 = mul i32 %113, %114
  %116 = load i32, ptr %14, align 4, !tbaa !9
  %117 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %115, i32 noundef %116, i32 noundef 3)
  store ptr %117, ptr %31, align 8, !tbaa !21
  %118 = load ptr, ptr %31, align 8, !tbaa !21
  %119 = load ptr, ptr %30, align 8, !tbaa !21
  %120 = load i32, ptr %11, align 4, !tbaa !5
  %121 = load i32, ptr %12, align 4, !tbaa !5
  %122 = mul i32 %120, %121
  %123 = load i32, ptr %14, align 4, !tbaa !9
  %124 = call noundef i32 @_Z7bytesOf8DataType(i32 noundef %123)
  %125 = mul i32 %122, %124
  %126 = zext i32 %125 to i64
  call void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %118, ptr noundef %119, i64 noundef %126)
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #9
  %127 = load i32, ptr %12, align 4, !tbaa !5
  %128 = load i32, ptr %13, align 4, !tbaa !5
  %129 = mul i32 %127, %128
  %130 = load i32, ptr %15, align 4, !tbaa !9
  %131 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %129, i32 noundef %130, i32 noundef 0)
  store ptr %131, ptr %32, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #9
  %132 = load i32, ptr %11, align 4, !tbaa !5
  %133 = load i32, ptr %13, align 4, !tbaa !5
  %134 = mul i32 %132, %133
  %135 = load i32, ptr %16, align 4, !tbaa !9
  %136 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %134, i32 noundef %135, i32 noundef 0)
  store ptr %136, ptr %33, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #9
  %137 = load i32, ptr %11, align 4, !tbaa !5
  %138 = load i32, ptr %13, align 4, !tbaa !5
  %139 = mul i32 %137, %138
  %140 = load i32, ptr %16, align 4, !tbaa !9
  %141 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %139, i32 noundef %140, i32 noundef 3)
  store ptr %141, ptr %34, align 8, !tbaa !21
  %142 = load ptr, ptr %34, align 8, !tbaa !21
  %143 = load ptr, ptr %33, align 8, !tbaa !21
  %144 = load i32, ptr %11, align 4, !tbaa !5
  %145 = load i32, ptr %13, align 4, !tbaa !5
  %146 = mul i32 %144, %145
  %147 = load i32, ptr %16, align 4, !tbaa !9
  %148 = call noundef i32 @_Z7bytesOf8DataType(i32 noundef %147)
  %149 = mul i32 %146, %148
  %150 = zext i32 %149 to i64
  call void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %142, ptr noundef %143, i64 noundef %150)
  call void @llvm.lifetime.start.p0(i64 92, ptr %35) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %35, ptr align 4 %23, i64 92, i1 false), !tbaa.struct !17
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #9
  %151 = load ptr, ptr %32, align 8, !tbaa !21
  store ptr %151, ptr %36, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #9
  store i32 0, ptr %37, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %38) #9
  store i32 0, ptr %38, align 4, !tbaa !5
  %152 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %153 = trunc i8 %152 to i1
  br i1 %153, label %154, label %191

154:                                              ; preds = %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %40, ptr align 4 %23, i64 92, i1 false), !tbaa.struct !17
  %155 = call i32 @matrix_matrix_multiply_transform_rhs_bytes(ptr noundef byval(%struct.TensorDesc) align 8 %40, ptr noundef %37, ptr noundef %38, i32 noundef 1)
  store i32 %155, ptr %39, align 4, !tbaa !23
  %156 = load i32, ptr %39, align 4, !tbaa !23
  %157 = icmp ne i32 %156, 0
  br i1 %157, label %158, label %170

158:                                              ; preds = %154
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #9
  %159 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %160 = trunc i64 %159 to i32
  store i32 %160, ptr %41, align 4, !tbaa !5
  %161 = load i32, ptr %41, align 4, !tbaa !5
  %162 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %161)
  %163 = load ptr, ptr @stdout, align 8, !tbaa !21
  %164 = call i32 @fflush(ptr noundef %163)
  %165 = load i32, ptr %39, align 4, !tbaa !23
  %166 = call ptr @ee2str(i32 noundef %165)
  %167 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %166)
  %168 = load ptr, ptr @stdout, align 8, !tbaa !21
  %169 = call i32 @fflush(ptr noundef %168)
  call void @exit(i32 noundef 1) #10
  unreachable

170:                                              ; preds = %154
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #9
  %171 = load i32, ptr %37, align 4, !tbaa !5
  %172 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %171, i32 noundef 1, i32 noundef 3)
  store ptr %172, ptr %36, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %42) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %43, ptr align 4 %23, i64 92, i1 false), !tbaa.struct !17
  %173 = load ptr, ptr %32, align 8, !tbaa !21
  %174 = load ptr, ptr %36, align 8, !tbaa !21
  %175 = call i32 @matrix_matrix_multiply_transform_rhs(ptr noundef byval(%struct.TensorDesc) align 8 %43, ptr noundef %173, ptr noundef %35, ptr noundef %174, i32 noundef 1)
  store i32 %175, ptr %42, align 4, !tbaa !23
  %176 = load i32, ptr %42, align 4, !tbaa !23
  %177 = icmp ne i32 %176, 0
  br i1 %177, label %178, label %190

178:                                              ; preds = %170
  call void @llvm.lifetime.start.p0(i64 4, ptr %44) #9
  %179 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %180 = trunc i64 %179 to i32
  store i32 %180, ptr %44, align 4, !tbaa !5
  %181 = load i32, ptr %44, align 4, !tbaa !5
  %182 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %181)
  %183 = load ptr, ptr @stdout, align 8, !tbaa !21
  %184 = call i32 @fflush(ptr noundef %183)
  %185 = load i32, ptr %42, align 4, !tbaa !23
  %186 = call ptr @ee2str(i32 noundef %185)
  %187 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %186)
  %188 = load ptr, ptr @stdout, align 8, !tbaa !21
  %189 = call i32 @fflush(ptr noundef %188)
  call void @exit(i32 noundef 1) #10
  unreachable

190:                                              ; preds = %170
  call void @llvm.lifetime.end.p0(i64 4, ptr %42) #9
  br label %191

191:                                              ; preds = %190, %104
  call void @llvm.lifetime.start.p0(i64 4, ptr %45) #9
  store i32 0, ptr %45, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %46) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %47, ptr align 4 %22, i64 92, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %48, ptr align 4 %35, i64 92, i1 false), !tbaa.struct !17
  %192 = call i32 @matrix_matrix_multiply_tmp_bytes(ptr noundef byval(%struct.TensorDesc) align 8 %47, ptr noundef byval(%struct.TensorDesc) align 8 %48, ptr noundef %45, i32 noundef 1)
  store i32 %192, ptr %46, align 4, !tbaa !23
  %193 = load i32, ptr %46, align 4, !tbaa !23
  %194 = icmp ne i32 %193, 0
  br i1 %194, label %195, label %207

195:                                              ; preds = %191
  call void @llvm.lifetime.start.p0(i64 4, ptr %49) #9
  %196 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %197 = trunc i64 %196 to i32
  store i32 %197, ptr %49, align 4, !tbaa !5
  %198 = load i32, ptr %49, align 4, !tbaa !5
  %199 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %198)
  %200 = load ptr, ptr @stdout, align 8, !tbaa !21
  %201 = call i32 @fflush(ptr noundef %200)
  %202 = load i32, ptr %46, align 4, !tbaa !23
  %203 = call ptr @ee2str(i32 noundef %202)
  %204 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %203)
  %205 = load ptr, ptr @stdout, align 8, !tbaa !21
  %206 = call i32 @fflush(ptr noundef %205)
  call void @exit(i32 noundef 1) #10
  unreachable

207:                                              ; preds = %191
  call void @llvm.lifetime.end.p0(i64 4, ptr %46) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %50) #9
  %208 = load i32, ptr %45, align 4, !tbaa !5
  %209 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %208, i32 noundef 1, i32 noundef 3)
  store ptr %209, ptr %50, align 8, !tbaa !21
  call void @llvm.lifetime.start.p0(i64 4, ptr %51) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %52, ptr align 4 %22, i64 92, i1 false), !tbaa.struct !17
  %210 = load ptr, ptr %30, align 8, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %53, ptr align 4 %35, i64 92, i1 false), !tbaa.struct !17
  %211 = load ptr, ptr %36, align 8, !tbaa !21
  %212 = load i32, ptr %45, align 4, !tbaa !5
  %213 = load ptr, ptr %50, align 8, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %54, ptr align 4 %29, i64 92, i1 false), !tbaa.struct !17
  %214 = load ptr, ptr %33, align 8, !tbaa !21
  %215 = call i32 @matrix_matrix_multiply(ptr noundef byval(%struct.TensorDesc) align 8 %52, ptr noundef %210, ptr noundef byval(%struct.TensorDesc) align 8 %53, ptr noundef %211, i32 noundef %212, ptr noundef %213, ptr noundef byval(%struct.TensorDesc) align 8 %54, ptr noundef %214, ptr noundef null, i32 noundef 1)
  store i32 %215, ptr %51, align 4, !tbaa !23
  %216 = load i32, ptr %51, align 4, !tbaa !23
  %217 = icmp ne i32 %216, 0
  br i1 %217, label %218, label %230

218:                                              ; preds = %207
  call void @llvm.lifetime.start.p0(i64 4, ptr %55) #9
  %219 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %220 = trunc i64 %219 to i32
  store i32 %220, ptr %55, align 4, !tbaa !5
  %221 = load i32, ptr %55, align 4, !tbaa !5
  %222 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %221)
  %223 = load ptr, ptr @stdout, align 8, !tbaa !21
  %224 = call i32 @fflush(ptr noundef %223)
  %225 = load i32, ptr %51, align 4, !tbaa !23
  %226 = call ptr @ee2str(i32 noundef %225)
  %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %226)
  %228 = load ptr, ptr @stdout, align 8, !tbaa !21
  %229 = call i32 @fflush(ptr noundef %228)
  call void @exit(i32 noundef 1) #10
  unreachable

230:                                              ; preds = %207
  call void @llvm.lifetime.end.p0(i64 4, ptr %51) #9
  call void @llvm.lifetime.start.p0(i64 4, ptr %56) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %57, ptr align 4 %26, i64 92, i1 false), !tbaa.struct !17
  %231 = load ptr, ptr %31, align 8, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %58, ptr align 4 %23, i64 92, i1 false), !tbaa.struct !17
  %232 = load ptr, ptr %32, align 8, !tbaa !21
  %233 = load i32, ptr %45, align 4, !tbaa !5
  %234 = load ptr, ptr %50, align 8, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %59, ptr align 4 %29, i64 92, i1 false), !tbaa.struct !17
  %235 = load ptr, ptr %34, align 8, !tbaa !21
  %236 = call i32 @matrix_matrix_multiply(ptr noundef byval(%struct.TensorDesc) align 8 %57, ptr noundef %231, ptr noundef byval(%struct.TensorDesc) align 8 %58, ptr noundef %232, i32 noundef %233, ptr noundef %234, ptr noundef byval(%struct.TensorDesc) align 8 %59, ptr noundef %235, ptr noundef null, i32 noundef 1)
  store i32 %236, ptr %56, align 4, !tbaa !23
  %237 = load i32, ptr %56, align 4, !tbaa !23
  %238 = icmp ne i32 %237, 0
  br i1 %238, label %239, label %251

239:                                              ; preds = %230
  call void @llvm.lifetime.start.p0(i64 4, ptr %60) #9
  %240 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %241 = trunc i64 %240 to i32
  store i32 %241, ptr %60, align 4, !tbaa !5
  %242 = load i32, ptr %60, align 4, !tbaa !5
  %243 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %242)
  %244 = load ptr, ptr @stdout, align 8, !tbaa !21
  %245 = call i32 @fflush(ptr noundef %244)
  %246 = load i32, ptr %56, align 4, !tbaa !23
  %247 = call ptr @ee2str(i32 noundef %246)
  %248 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %247)
  %249 = load ptr, ptr @stdout, align 8, !tbaa !21
  %250 = call i32 @fflush(ptr noundef %249)
  call void @exit(i32 noundef 1) #10
  unreachable

251:                                              ; preds = %230
  call void @llvm.lifetime.end.p0(i64 4, ptr %56) #9
  %252 = load ptr, ptr %33, align 8, !tbaa !21
  %253 = load ptr, ptr %34, align 8, !tbaa !21
  %254 = load i32, ptr %11, align 4, !tbaa !5
  %255 = load i32, ptr %13, align 4, !tbaa !5
  %256 = mul i32 %254, %255
  %257 = load i32, ptr %16, align 4, !tbaa !9
  %258 = load float, ptr %21, align 4, !tbaa !13
  call void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %252, ptr noundef %253, i32 noundef %256, i32 noundef %257, float noundef %258)
  call void @llvm.lifetime.start.p0(i64 8, ptr %61) #9
  %259 = call noundef double @_Z10ut_time_msv()
  store double %259, ptr %61, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 4, ptr %62) #9
  store i32 0, ptr %62, align 4, !tbaa !5
  br label %260

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

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

264:                                              ; preds = %260
  call void @llvm.lifetime.start.p0(i64 4, ptr %63) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %64, ptr align 4 %22, i64 92, i1 false), !tbaa.struct !17
  %265 = load ptr, ptr %30, align 8, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %65, ptr align 4 %35, i64 92, i1 false), !tbaa.struct !17
  %266 = load ptr, ptr %36, align 8, !tbaa !21
  %267 = load i32, ptr %45, align 4, !tbaa !5
  %268 = load ptr, ptr %50, align 8, !tbaa !21
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %66, ptr align 4 %29, i64 92, i1 false), !tbaa.struct !17
  %269 = load ptr, ptr %33, align 8, !tbaa !21
  %270 = call i32 @matrix_matrix_multiply(ptr noundef byval(%struct.TensorDesc) align 8 %64, ptr noundef %265, ptr noundef byval(%struct.TensorDesc) align 8 %65, ptr noundef %266, i32 noundef %267, ptr noundef %268, ptr noundef byval(%struct.TensorDesc) align 8 %66, ptr noundef %269, ptr noundef null, i32 noundef 1)
  store i32 %270, ptr %63, align 4, !tbaa !23
  %271 = load i32, ptr %63, align 4, !tbaa !23
  %272 = icmp ne i32 %271, 0
  br i1 %272, label %273, label %285

273:                                              ; preds = %264
  call void @llvm.lifetime.start.p0(i64 4, ptr %67) #9
  %274 = call i64 (i64, ...) @syscall(i64 noundef 186) #9
  %275 = trunc i64 %274 to i32
  store i32 %275, ptr %67, align 4, !tbaa !5
  %276 = load i32, ptr %67, align 4, !tbaa !5
  %277 = call i32 (ptr, ...) @printf(ptr noundef @.str, i32 noundef %276)
  %278 = load ptr, ptr @stdout, align 8, !tbaa !21
  %279 = call i32 @fflush(ptr noundef %278)
  %280 = load i32, ptr %63, align 4, !tbaa !23
  %281 = call ptr @ee2str(i32 noundef %280)
  %282 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, ptr noundef %281)
  %283 = load ptr, ptr @stdout, align 8, !tbaa !21
  %284 = call i32 @fflush(ptr noundef %283)
  call void @exit(i32 noundef 1) #10
  unreachable

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

286:                                              ; preds = %285
  %287 = load i32, ptr %62, align 4, !tbaa !5
  %288 = add nsw i32 %287, 1
  store i32 %288, ptr %62, align 4, !tbaa !5
  br label %260, !llvm.loop !27

289:                                              ; preds = %263
  call void @llvm.lifetime.start.p0(i64 8, ptr %68) #9
  %290 = call noundef double @_Z10ut_time_msv()
  store double %290, ptr %68, align 8, !tbaa !25
  call void @llvm.lifetime.start.p0(i64 8, ptr %69) #9
  %291 = load double, ptr %68, align 8, !tbaa !25
  %292 = load double, ptr %61, align 8, !tbaa !25
  %293 = fsub double %291, %292
  %294 = fdiv double %293, 6.000000e+00
  store double %294, ptr %69, align 8, !tbaa !25
  %295 = load i8, ptr %20, align 1, !tbaa !11, !range !15, !noundef !16
  %296 = trunc i8 %295 to i1
  br i1 %296, label %297, label %345

297:                                              ; preds = %289
  call void @llvm.lifetime.start.p0(i64 150, ptr %70) #9
  call void @llvm.lifetime.start.p0(i64 120, ptr %71) #9
  call void @llvm.lifetime.start.p0(i64 2, ptr %72) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %72, ptr align 1 @__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.NT, i64 2, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %73) #9
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %73, ptr align 16 @__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.trans, i64 16, i1 false)
  %298 = getelementptr inbounds [120 x i8], ptr %71, i64 0, i64 0
  %299 = load i8, ptr %18, align 1, !tbaa !11, !range !15, !noundef !16
  %300 = trunc i8 %299 to i1
  %301 = zext i1 %300 to i64
  %302 = getelementptr inbounds [2 x i8], ptr %72, i64 0, i64 %301
  %303 = load i8, ptr %302, align 1, !tbaa !20
  %304 = sext i8 %303 to i32
  %305 = load i32, ptr %11, align 4, !tbaa !5
  %306 = load i32, ptr %12, align 4, !tbaa !5
  %307 = load i8, ptr %19, align 1, !tbaa !11, !range !15, !noundef !16
  %308 = trunc i8 %307 to i1
  %309 = zext i1 %308 to i64
  %310 = getelementptr inbounds [2 x i8], ptr %72, i64 0, i64 %309
  %311 = load i8, ptr %310, align 1, !tbaa !20
  %312 = sext i8 %311 to i32
  %313 = load i32, ptr %12, align 4, !tbaa !5
  %314 = load i32, ptr %13, align 4, !tbaa !5
  %315 = load i32, ptr %11, align 4, !tbaa !5
  %316 = load i32, ptr %13, align 4, !tbaa !5
  %317 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %318 = trunc i8 %317 to i1
  %319 = zext i1 %318 to i64
  %320 = getelementptr inbounds [2 x ptr], ptr %73, i64 0, i64 %319
  %321 = load ptr, ptr %320, align 8, !tbaa !21
  %322 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %298, ptr noundef @.str.4, i32 noundef %304, i32 noundef %305, i32 noundef %306, i32 noundef %312, i32 noundef %313, i32 noundef %314, i32 noundef %315, i32 noundef %316, ptr noundef %321) #9
  %323 = getelementptr inbounds [150 x i8], ptr %70, i64 0, i64 0
  %324 = getelementptr inbounds [120 x i8], ptr %71, i64 0, i64 0
  %325 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef %323, ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef %324) #9
  call void @llvm.lifetime.start.p0(i64 8, ptr %74) #9
  %326 = load i32, ptr %11, align 4, !tbaa !5
  %327 = uitofp i32 %326 to double
  %328 = fmul double 2.000000e+00, %327
  %329 = load i32, ptr %13, align 4, !tbaa !5
  %330 = uitofp i32 %329 to double
  %331 = fmul double %328, %330
  %332 = load i32, ptr %12, align 4, !tbaa !5
  %333 = uitofp i32 %332 to double
  %334 = load i32, ptr %11, align 4, !tbaa !5
  %335 = uitofp i32 %334 to double
  %336 = fmul double 1.000000e+00, %335
  %337 = load i32, ptr %13, align 4, !tbaa !5
  %338 = uitofp i32 %337 to double
  %339 = fmul double %336, %338
  %340 = call double @llvm.fmuladd.f64(double %331, double %333, double %339)
  store double %340, ptr %74, align 8, !tbaa !25
  %341 = load i32, ptr %15, align 4, !tbaa !9
  %342 = getelementptr inbounds [150 x i8], ptr %70, i64 0, i64 0
  %343 = load double, ptr %74, align 8, !tbaa !25
  %344 = load double, ptr %69, align 8, !tbaa !25
  call void @_Z6ut_log8DataTypePcdd(i32 noundef %341, ptr noundef %342, double noundef %343, double noundef %344)
  call void @llvm.lifetime.end.p0(i64 8, ptr %74) #9
  call void @llvm.lifetime.end.p0(i64 16, ptr %73) #9
  call void @llvm.lifetime.end.p0(i64 2, ptr %72) #9
  call void @llvm.lifetime.end.p0(i64 120, ptr %71) #9
  call void @llvm.lifetime.end.p0(i64 150, ptr %70) #9
  br label %345

345:                                              ; preds = %297, %289
  %346 = load ptr, ptr %30, align 8, !tbaa !21
  call void @free(ptr noundef %346) #9
  %347 = load ptr, ptr %31, align 8, !tbaa !21
  call void @free(ptr noundef %347) #9
  %348 = load ptr, ptr %32, align 8, !tbaa !21
  call void @free(ptr noundef %348) #9
  %349 = load i8, ptr %17, align 1, !tbaa !11, !range !15, !noundef !16
  %350 = trunc i8 %349 to i1
  br i1 %350, label %351, label %353

351:                                              ; preds = %345
  %352 = load ptr, ptr %36, align 8, !tbaa !21
  call void @free(ptr noundef %352) #9
  br label %353

353:                                              ; preds = %351, %345
  %354 = load ptr, ptr %33, align 8, !tbaa !21
  call void @free(ptr noundef %354) #9
  %355 = load ptr, ptr %34, align 8, !tbaa !21
  call void @free(ptr noundef %355) #9
  %356 = load ptr, ptr %50, align 8, !tbaa !21
  call void @free(ptr noundef %356) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %69) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %68) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %61) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %50) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %45) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %38) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %35) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %29) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %26) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %23) #9
  call void @llvm.lifetime.end.p0(i64 92, ptr %22) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #9
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10TensorDescC2Ev(ptr noundef nonnull align 4 dereferenceable(92)) unnamed_addr #2 align 2

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

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

; 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 uwtable
declare dso_local noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef, i32 noundef, i32 noundef) #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z7bytesOf8DataType(i32 noundef) #3

declare i32 @matrix_matrix_multiply_transform_rhs_bytes(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, i32 noundef) #5

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

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

declare i32 @fflush(ptr noundef) #5

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

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

declare i32 @matrix_matrix_multiply_transform_rhs(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, ptr noundef, i32 noundef) #5

declare i32 @matrix_matrix_multiply_tmp_bytes(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef) #5

declare i32 @matrix_matrix_multiply(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, i32 noundef) #5

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

declare noundef double @_Z10ut_time_msv() #5

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

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

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

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

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 = { 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 #3 = { 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { "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 = { 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 #7 = { 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { noreturn nounwind }

!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 = !{!"_ZTS8DataType", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{i64 0, i64 4, !9, i64 4, i64 4, !18, i64 8, i64 4, !5, i64 12, i64 80, !20}
!18 = !{!19, !19, i64 0}
!19 = !{!"_ZTS10DataFormat", !7, i64 0}
!20 = !{!7, !7, i64 0}
!21 = !{!22, !22, i64 0}
!22 = !{!"any pointer", !7, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"_ZTS2EE", !7, i64 0}
!25 = !{!26, !26, i64 0}
!26 = !{!"double", !7, i64 0}
!27 = distinct !{!27, !28}
!28 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.TensorDesc = type { i32, i32, i32, [20 x i32] }

@.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 [18 x i8], align 1
@__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.NT = external hidden unnamed_addr constant [2 x i8], align 1
@__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.trans = external hidden unnamed_addr constant [2 x ptr], align 16
@.str.4 = external hidden unnamed_addr constant [30 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [15 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z13mmmTestKerneljjj8DataTypeS_S_bbbb(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i1 noundef zeroext %6, i1 noundef zeroext %7, i1 noundef zeroext %8, i1 noundef zeroext %9) local_unnamed_addr #0 {
  %11 = alloca %struct.TensorDesc, align 8
  %12 = alloca %struct.TensorDesc, align 8
  %13 = alloca %struct.TensorDesc, align 4
  %14 = alloca %struct.TensorDesc, align 4
  %15 = alloca %struct.TensorDesc, align 8
  %16 = alloca %struct.TensorDesc, align 4
  %17 = alloca %struct.TensorDesc, align 4
  %18 = alloca %struct.TensorDesc, align 8
  %19 = alloca %struct.TensorDesc, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca [150 x i8], align 16
  %24 = alloca [120 x i8], align 16
  %25 = icmp eq i32 %5, 4
  %spec.store.select = select i1 %25, float 1.000000e+00, float 0x3F1A36E2E0000000
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %11) #11
  call void @_ZN10TensorDescC2Ev(ptr noundef nonnull align 4 dereferenceable(92) %11) #11
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %12) #11
  call void @_ZN10TensorDescC2Ev(ptr noundef nonnull align 4 dereferenceable(92) %12) #11
  br i1 %7, label %26, label %27

26:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %13) #11
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %13, i32 noundef %3, i32 noundef 13, i32 noundef %1, i32 noundef %0)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(92) %11, ptr noundef nonnull align 4 dereferenceable(92) %13, i64 92, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %13) #11
  br label %28

27:                                               ; preds = %10
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %14) #11
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %14, i32 noundef %3, i32 noundef 14, i32 noundef %0, i32 noundef %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(92) %11, ptr noundef nonnull align 4 dereferenceable(92) %14, i64 92, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %14) #11
  br label %28

28:                                               ; preds = %27, %26
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %15)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(92) %15, ptr noundef nonnull align 8 dereferenceable(92) %11, i64 92, i1 false), !tbaa.struct !5
  br i1 %8, label %29, label %30

29:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %16) #11
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %16, i32 noundef %4, i32 noundef 13, i32 noundef %2, i32 noundef %1)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(92) %12, ptr noundef nonnull align 4 dereferenceable(92) %16, i64 92, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %16) #11
  br label %31

30:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %17) #11
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %17, i32 noundef %4, i32 noundef 14, i32 noundef %1, i32 noundef %2)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(92) %12, ptr noundef nonnull align 4 dereferenceable(92) %17, i64 92, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %17) #11
  br label %31

31:                                               ; preds = %30, %29
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %18) #11
  call void @_Z9tensor2df8DataType10DataFormatjj(ptr dead_on_unwind nonnull writable sret(%struct.TensorDesc) align 4 %18, i32 noundef %5, i32 noundef 14, i32 noundef %0, i32 noundef %2)
  %32 = mul i32 %1, %0
  %33 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %32, i32 noundef %3, i32 noundef 0)
  %34 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %32, i32 noundef %3, i32 noundef 3)
  %35 = call noundef i32 @_Z7bytesOf8DataType(i32 noundef %3)
  %36 = mul i32 %35, %32
  %37 = zext i32 %36 to i64
  call void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %34, ptr noundef %33, i64 noundef %37)
  %38 = mul i32 %2, %1
  %39 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %38, i32 noundef %4, i32 noundef 0)
  %40 = mul i32 %2, %0
  %41 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %40, i32 noundef %5, i32 noundef 0)
  %42 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %40, i32 noundef %5, i32 noundef 3)
  %43 = call noundef i32 @_Z7bytesOf8DataType(i32 noundef %5)
  %44 = mul i32 %43, %40
  %45 = zext i32 %44 to i64
  call void @_Z10UNI_MEMCPYPvPKvm(ptr noundef %42, ptr noundef %41, i64 noundef %45)
  call void @llvm.lifetime.start.p0(i64 92, ptr nonnull %19) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(92) %19, ptr noundef nonnull align 8 dereferenceable(92) %12, i64 92, i1 false), !tbaa.struct !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %20) #11
  store i32 0, ptr %20, align 4, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %21) #11
  store i32 0, ptr %21, align 4, !tbaa !12
  br i1 %6, label %46, label %72

46:                                               ; preds = %31
  %47 = call i32 @matrix_matrix_multiply_transform_rhs_bytes(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %12, ptr noundef nonnull %20, ptr noundef nonnull %21, i32 noundef 1)
  %.not = icmp eq i32 %47, 0
  br i1 %.not, label %58, label %48

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

58:                                               ; preds = %46
  %59 = load i32, ptr %20, align 4, !tbaa !12
  %60 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %59, i32 noundef 1, i32 noundef 3)
  %61 = call i32 @matrix_matrix_multiply_transform_rhs(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %12, ptr noundef %39, ptr noundef nonnull %19, ptr noundef %60, i32 noundef 1)
  %.not119 = icmp eq i32 %61, 0
  br i1 %.not119, label %72, label %62

62:                                               ; preds = %58
  %63 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %64 = trunc i64 %63 to i32
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %64)
  %66 = load ptr, ptr @stdout, align 8, !tbaa !15
  %67 = call i32 @fflush(ptr noundef %66)
  %68 = call ptr @ee2str(i32 noundef %61)
  %69 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %68)
  %70 = load ptr, ptr @stdout, align 8, !tbaa !15
  %71 = call i32 @fflush(ptr noundef %70)
  call void @exit(i32 noundef 1) #12
  unreachable

72:                                               ; preds = %58, %31
  %.0 = phi ptr [ %39, %31 ], [ %60, %58 ]
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %22) #11
  store i32 0, ptr %22, align 4, !tbaa !12
  %73 = call i32 @matrix_matrix_multiply_tmp_bytes(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %11, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19, ptr noundef nonnull %22, i32 noundef 1)
  %.not120 = icmp eq i32 %73, 0
  br i1 %.not120, label %84, label %74

74:                                               ; preds = %72
  %75 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %76 = trunc i64 %75 to i32
  %77 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %76)
  %78 = load ptr, ptr @stdout, align 8, !tbaa !15
  %79 = call i32 @fflush(ptr noundef %78)
  %80 = call ptr @ee2str(i32 noundef %73)
  %81 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %80)
  %82 = load ptr, ptr @stdout, align 8, !tbaa !15
  %83 = call i32 @fflush(ptr noundef %82)
  call void @exit(i32 noundef 1) #12
  unreachable

84:                                               ; preds = %72
  %85 = load i32, ptr %22, align 4, !tbaa !12
  %86 = call noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef %85, i32 noundef 1, i32 noundef 3)
  %87 = load i32, ptr %22, align 4, !tbaa !12
  %88 = call i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %11, ptr noundef %33, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19, ptr noundef %.0, i32 noundef %87, ptr noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %18, ptr noundef %41, ptr noundef null, i32 noundef 1)
  %.not121 = icmp eq i32 %88, 0
  br i1 %.not121, label %99, label %89

89:                                               ; preds = %84
  %90 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %91 = trunc i64 %90 to i32
  %92 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %91)
  %93 = load ptr, ptr @stdout, align 8, !tbaa !15
  %94 = call i32 @fflush(ptr noundef %93)
  %95 = call ptr @ee2str(i32 noundef %88)
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %95)
  %97 = load ptr, ptr @stdout, align 8, !tbaa !15
  %98 = call i32 @fflush(ptr noundef %97)
  call void @exit(i32 noundef 1) #12
  unreachable

99:                                               ; preds = %84
  %100 = load i32, ptr %22, align 4, !tbaa !12
  %101 = call i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %15, ptr noundef %34, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %12, ptr noundef %39, i32 noundef %100, ptr noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %18, ptr noundef %42, ptr noundef null, i32 noundef 1)
  %.not122 = icmp eq i32 %101, 0
  br i1 %.not122, label %112, label %102

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

112:                                              ; preds = %99
  call void @_Z10ut_check_vPvS_j8DataTypef(ptr noundef %41, ptr noundef %42, i32 noundef %40, i32 noundef %5, float noundef %spec.store.select)
  %113 = call noundef double @_Z10ut_time_msv()
  %114 = load i32, ptr %22, align 4, !tbaa !12
  %115 = call i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %11, ptr noundef %33, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19, ptr noundef %.0, i32 noundef %114, ptr noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %18, ptr noundef %41, ptr noundef null, i32 noundef 1)
  %.not123 = icmp eq i32 %115, 0
  br i1 %.not123, label %116, label %133

116:                                              ; preds = %112
  %117 = load i32, ptr %22, align 4, !tbaa !12
  %118 = call i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %11, ptr noundef %33, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19, ptr noundef %.0, i32 noundef %117, ptr noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %18, ptr noundef %41, ptr noundef null, i32 noundef 1)
  %.not123.1 = icmp eq i32 %118, 0
  br i1 %.not123.1, label %119, label %133

119:                                              ; preds = %116
  %120 = load i32, ptr %22, align 4, !tbaa !12
  %121 = call i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %11, ptr noundef %33, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19, ptr noundef %.0, i32 noundef %120, ptr noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %18, ptr noundef %41, ptr noundef null, i32 noundef 1)
  %.not123.2 = icmp eq i32 %121, 0
  br i1 %.not123.2, label %122, label %133

122:                                              ; preds = %119
  %123 = load i32, ptr %22, align 4, !tbaa !12
  %124 = call i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %11, ptr noundef %33, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19, ptr noundef %.0, i32 noundef %123, ptr noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %18, ptr noundef %41, ptr noundef null, i32 noundef 1)
  %.not123.3 = icmp eq i32 %124, 0
  br i1 %.not123.3, label %125, label %133

125:                                              ; preds = %122
  %126 = load i32, ptr %22, align 4, !tbaa !12
  %127 = call i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %11, ptr noundef %33, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19, ptr noundef %.0, i32 noundef %126, ptr noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %18, ptr noundef %41, ptr noundef null, i32 noundef 1)
  %.not123.4 = icmp eq i32 %127, 0
  br i1 %.not123.4, label %128, label %133

128:                                              ; preds = %125
  %129 = load i32, ptr %22, align 4, !tbaa !12
  %130 = call i32 @matrix_matrix_multiply(ptr noundef nonnull byval(%struct.TensorDesc) align 8 %11, ptr noundef %33, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %19, ptr noundef %.0, i32 noundef %129, ptr noundef %86, ptr noundef nonnull byval(%struct.TensorDesc) align 8 %18, ptr noundef %41, ptr noundef null, i32 noundef 1)
  %.not123.5 = icmp eq i32 %130, 0
  br i1 %.not123.5, label %131, label %133

131:                                              ; preds = %128
  %132 = call noundef double @_Z10ut_time_msv()
  br i1 %9, label %143, label %166

133:                                              ; preds = %128, %125, %122, %119, %116, %112
  %.lcssa = phi i32 [ %115, %112 ], [ %118, %116 ], [ %121, %119 ], [ %124, %122 ], [ %127, %125 ], [ %130, %128 ]
  %134 = call i64 (i64, ...) @syscall(i64 noundef 186) #11
  %135 = trunc i64 %134 to i32
  %136 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, i32 noundef %135)
  %137 = load ptr, ptr @stdout, align 8, !tbaa !15
  %138 = call i32 @fflush(ptr noundef %137)
  %139 = call ptr @ee2str(i32 noundef %.lcssa)
  %140 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, ptr noundef %139)
  %141 = load ptr, ptr @stdout, align 8, !tbaa !15
  %142 = call i32 @fflush(ptr noundef %141)
  call void @exit(i32 noundef 1) #12
  unreachable

143:                                              ; preds = %131
  %144 = fsub double %132, %113
  %145 = fdiv double %144, 6.000000e+00
  call void @llvm.lifetime.start.p0(i64 150, ptr nonnull %23) #11
  call void @llvm.lifetime.start.p0(i64 120, ptr nonnull %24) #11
  %146 = zext i1 %7 to i64
  %147 = getelementptr inbounds [2 x i8], ptr @__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.NT, i64 0, i64 %146
  %148 = load i8, ptr %147, align 1, !tbaa !14
  %149 = sext i8 %148 to i32
  %150 = zext i1 %8 to i64
  %151 = getelementptr inbounds [2 x i8], ptr @__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.NT, i64 0, i64 %150
  %152 = load i8, ptr %151, align 1, !tbaa !14
  %153 = sext i8 %152 to i32
  %154 = zext i1 %6 to i64
  %155 = getelementptr inbounds [2 x ptr], ptr @__const._Z13mmmTestKerneljjj8DataTypeS_S_bbbb.trans, i64 0, i64 %154
  %156 = load ptr, ptr %155, align 8, !tbaa !15
  %157 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %24, ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef %149, i32 noundef %0, i32 noundef %1, i32 noundef %153, i32 noundef %1, i32 noundef %2, i32 noundef %0, i32 noundef %2, ptr noundef %156) #11
  %158 = call i32 (ptr, ptr, ...) @sprintf(ptr noundef nonnull dereferenceable(1) %23, ptr noundef nonnull dereferenceable(1) @.str.5, ptr noundef nonnull @.str.6, ptr noundef nonnull %24) #11
  %159 = uitofp i32 %0 to double
  %160 = fmul double %159, 2.000000e+00
  %161 = uitofp i32 %2 to double
  %162 = fmul double %160, %161
  %163 = uitofp i32 %1 to double
  %164 = fmul double %159, %161
  %165 = call double @llvm.fmuladd.f64(double %162, double %163, double %164)
  call void @_Z6ut_log8DataTypePcdd(i32 noundef %4, ptr noundef nonnull %23, double noundef %165, double noundef %145)
  call void @llvm.lifetime.end.p0(i64 120, ptr nonnull %24) #11
  call void @llvm.lifetime.end.p0(i64 150, ptr nonnull %23) #11
  br label %166

166:                                              ; preds = %143, %131
  call void @free(ptr noundef %33) #11
  call void @free(ptr noundef %34) #11
  call void @free(ptr noundef %39) #11
  br i1 %6, label %167, label %168

167:                                              ; preds = %166
  call void @free(ptr noundef %.0) #11
  br label %168

168:                                              ; preds = %167, %166
  call void @free(ptr noundef %41) #11
  call void @free(ptr noundef %42) #11
  call void @free(ptr noundef %86) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %22) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %21) #11
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %20) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %19) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %18) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %15)
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %12) #11
  call void @llvm.lifetime.end.p0(i64 92, ptr nonnull %11) #11
  ret void
}

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN10TensorDescC2Ev(ptr noundef nonnull align 4 dereferenceable(92)) unnamed_addr #2 align 2

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

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

; 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 uwtable
declare dso_local noundef ptr @_Z10ut_input_vj8DataType14UT_RANDOM_TYPE(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef i32 @_Z7bytesOf8DataType(i32 noundef) local_unnamed_addr #3

declare i32 @matrix_matrix_multiply_transform_rhs_bytes(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

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

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

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

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

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

declare i32 @matrix_matrix_multiply_transform_rhs(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

declare i32 @matrix_matrix_multiply_tmp_bytes(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef) local_unnamed_addr #5

declare i32 @matrix_matrix_multiply(ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, i32 noundef, ptr noundef, ptr noundef byval(%struct.TensorDesc) align 8, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #5

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

declare noundef double @_Z10ut_time_msv() local_unnamed_addr #5

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

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

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

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

!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 = !{i64 0, i64 4, !6, i64 4, i64 4, !10, i64 8, i64 4, !12, i64 12, i64 80, !14}
!6 = !{!7, !7, i64 0}
!7 = !{!"_ZTS8DataType", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"_ZTS10DataFormat", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"int", !8, i64 0}
!14 = !{!8, !8, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"any pointer", !8, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LoopRotatePass,MemCpyOptPass,ReassociatePass,SROAPass,SimplifyCFGPass