; LLVM IR from libxsmm/libxsmm :: src (generator_gemm_amx)

; 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.libxsmm_micro_kernel_config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], i32, [2 x %struct.libxsmm_blocking_info_t], %struct.libxsmm_tile_config, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_blocking_info_t = type { i32, [4 x i32], i32, i32 }
%struct.libxsmm_tile_config = type { i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8 }
%struct.libxsmm_gemm_descriptor = type <{ i32, i32, i32, i32, i32, i32, i32, i8, [3 x i8], i8, i64, i64, i8, i32, i32, i32, i16, i16, i8, i8, i8, i8, i16, i16, i16, i16, i16, i16, i32, i32, i32, i8 }>

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) #0

declare void @libxsmm_x86_instruction_push_reg(ptr noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_pop_reg(ptr noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gemm_header_dequant_loop_amx(ptr noundef, ptr noundef, ptr noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gemm_footer_dequant_loop_amx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) #1

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

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

declare void @libxsmm_x86_instruction_unified_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_prefetch(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef) #0

declare void @libxsmm_generator_cvt_8bit_to_16bit_lut_prepped_regs_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_convert_KxM_fp8_to_bf16(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) #1 {
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  store ptr %0, ptr %11, align 8, !tbaa !5
  store ptr %1, ptr %12, align 8, !tbaa !5
  store ptr %2, ptr %13, align 8, !tbaa !5
  store ptr %3, ptr %14, align 8, !tbaa !5
  store i32 %4, ptr %15, align 4, !tbaa !9
  store i32 %5, ptr %16, align 4, !tbaa !9
  store i32 %6, ptr %17, align 4, !tbaa !9
  store i32 %7, ptr %18, align 4, !tbaa !9
  store i32 %8, ptr %19, align 4, !tbaa !9
  store i32 %9, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  store i32 0, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  store i32 32, ptr %22, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  %28 = load ptr, ptr %13, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %28, i32 0, i32 43
  %30 = load i32, ptr %29, align 4, !tbaa !11
  store i32 %30, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  store i32 11, ptr %24, align 4, !tbaa !9
  %31 = load ptr, ptr %11, align 8, !tbaa !5
  %32 = load i32, ptr %24, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %31, i32 noundef %32)
  %33 = load ptr, ptr %11, align 8, !tbaa !5
  %34 = load ptr, ptr %12, align 8, !tbaa !5
  %35 = load ptr, ptr %13, align 8, !tbaa !5
  %36 = load i32, ptr %24, align 4, !tbaa !9
  call void @libxsmm_generator_gemm_header_dequant_loop_amx(ptr noundef %33, ptr noundef %34, ptr noundef %35, i32 noundef %36)
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %253, %10
  %38 = load i32, ptr %21, align 4, !tbaa !9
  %39 = load i32, ptr %15, align 4, !tbaa !9
  %40 = icmp ult i32 %38, %39
  br i1 %40, label %41, label %256

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %42 = load i32, ptr %23, align 4, !tbaa !9
  %43 = load i32, ptr %21, align 4, !tbaa !9
  %44 = add i32 %43, 0
  %45 = load i32, ptr %23, align 4, !tbaa !9
  %46 = sub i32 32, %45
  %47 = urem i32 %44, %46
  %48 = add i32 %42, %47
  store i32 %48, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  %49 = load i32, ptr %23, align 4, !tbaa !9
  %50 = load i32, ptr %21, align 4, !tbaa !9
  %51 = add i32 %50, 1
  %52 = load i32, ptr %23, align 4, !tbaa !9
  %53 = sub i32 32, %52
  %54 = urem i32 %51, %53
  %55 = add i32 %49, %54
  store i32 %55, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  %56 = load i32, ptr %21, align 4, !tbaa !9
  %57 = add i32 %56, 2
  %58 = load i32, ptr %15, align 4, !tbaa !9
  %59 = icmp ult i32 %57, %58
  br i1 %59, label %74, label %60

60:                                               ; preds = %41
  %61 = load i32, ptr %15, align 4, !tbaa !9
  %62 = icmp eq i32 %61, 2
  br i1 %62, label %74, label %63

63:                                               ; preds = %60
  %64 = load i32, ptr %21, align 4, !tbaa !9
  %65 = add i32 %64, 2
  %66 = load i32, ptr %15, align 4, !tbaa !9
  %67 = sub i32 %66, 1
  %68 = icmp uge i32 %65, %67
  br i1 %68, label %69, label %72

69:                                               ; preds = %63
  %70 = load i32, ptr %15, align 4, !tbaa !9
  %71 = icmp ugt i32 %70, 3
  br label %72

72:                                               ; preds = %69, %63
  %73 = phi i1 [ false, %63 ], [ %71, %69 ]
  br label %74

74:                                               ; preds = %72, %60, %41
  %75 = phi i1 [ true, %60 ], [ true, %41 ], [ %73, %72 ]
  %76 = zext i1 %75 to i64
  %77 = select i1 %75, i32 1, i32 0
  store i32 %77, ptr %27, align 4, !tbaa !9
  %78 = load ptr, ptr %11, align 8, !tbaa !5
  %79 = load i32, ptr %19, align 4, !tbaa !9
  %80 = load i32, ptr %21, align 4, !tbaa !9
  %81 = udiv i32 %80, 2
  %82 = load i32, ptr %22, align 4, !tbaa !9
  %83 = mul i32 %81, %82
  %84 = mul i32 %83, 2
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %85, i32 0, i32 21
  %87 = load i8, ptr %86, align 4, !tbaa !15
  %88 = load i32, ptr %25, align 4, !tbaa !9
  %89 = load i32, ptr %21, align 4, !tbaa !9
  %90 = add i32 %89, 2
  %91 = load i32, ptr %15, align 4, !tbaa !9
  %92 = icmp uge i32 %90, %91
  br i1 %92, label %93, label %97

93:                                               ; preds = %74
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %94, i32 0, i32 73
  %96 = load i32, ptr %95, align 4, !tbaa !16
  br label %98

97:                                               ; preds = %74
  br label %98

98:                                               ; preds = %97, %93
  %99 = phi i32 [ %96, %93 ], [ 0, %97 ]
  %100 = load ptr, ptr %13, align 8, !tbaa !5
  %101 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %100, i32 0, i32 73
  %102 = load i32, ptr %101, align 4, !tbaa !16
  call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %78, i32 noundef -528017809, i32 noundef %79, i32 noundef 127, i32 noundef 0, i32 noundef %84, i8 noundef signext %87, i32 noundef %88, i32 noundef %99, i32 noundef %102, i32 noundef 0)
  %103 = load ptr, ptr %14, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %103, i32 0, i32 6
  %105 = load i32, ptr %104, align 1, !tbaa !17
  %106 = and i32 %105, 262144
  %107 = icmp ugt i32 %106, 0
  br i1 %107, label %108, label %122

108:                                              ; preds = %98
  %109 = load ptr, ptr %11, align 8, !tbaa !5
  %110 = load i32, ptr %19, align 4, !tbaa !9
  %111 = load i32, ptr %21, align 4, !tbaa !9
  %112 = zext i32 %111 to i64
  %113 = load i32, ptr %22, align 4, !tbaa !9
  %114 = zext i32 %113 to i64
  %115 = mul nsw i64 %112, %114
  %116 = mul nsw i64 %115, 2
  %117 = load ptr, ptr %14, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.libxsmm_gemm_descriptor, ptr %117, i32 0, i32 10
  %119 = load i64, ptr %118, align 1, !tbaa !20
  %120 = add nsw i64 %116, %119
  %121 = trunc i64 %120 to i32
  call void @libxsmm_x86_instruction_prefetch(ptr noundef %109, i32 noundef -1810624488, i32 noundef %110, i32 noundef 127, i32 noundef 0, i32 noundef %121)
  br label %122

122:                                              ; preds = %108, %98
  %123 = load i32, ptr %27, align 4, !tbaa !9
  %124 = icmp ne i32 %123, 0
  br i1 %124, label %125, label %132

125:                                              ; preds = %122
  %126 = load ptr, ptr %11, align 8, !tbaa !5
  %127 = load ptr, ptr %13, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %127, i32 0, i32 21
  %129 = load i8, ptr %128, align 4, !tbaa !15
  %130 = load i32, ptr %25, align 4, !tbaa !9
  %131 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef %126, i32 noundef -401785541, i8 noundef signext %129, i32 noundef %130, i32 noundef 255, i32 noundef %131, i32 noundef 0, i32 noundef 0, i8 noundef zeroext 0, i32 noundef 1)
  br label %132

132:                                              ; preds = %125, %122
  %133 = load ptr, ptr %11, align 8, !tbaa !5
  %134 = load ptr, ptr %13, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %134, i32 0, i32 21
  %136 = load i8, ptr %135, align 4, !tbaa !15
  %137 = load i32, ptr %25, align 4, !tbaa !9
  %138 = load i32, ptr %25, align 4, !tbaa !9
  %139 = load ptr, ptr %13, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %139, i32 0, i32 80
  %141 = load i32, ptr %140, align 8, !tbaa !21
  %142 = load ptr, ptr %13, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %142, i32 0, i32 81
  %144 = load i32, ptr %143, align 4, !tbaa !22
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %145, i32 0, i32 82
  %147 = load i32, ptr %146, align 8, !tbaa !23
  %148 = load ptr, ptr %13, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %148, i32 0, i32 83
  %150 = load i32, ptr %149, align 4, !tbaa !24
  %151 = load ptr, ptr %13, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %151, i32 0, i32 84
  %153 = load i32, ptr %152, align 8, !tbaa !25
  %154 = load ptr, ptr %13, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %154, i32 0, i32 85
  %156 = load i32, ptr %155, align 4, !tbaa !26
  %157 = load ptr, ptr %13, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %157, i32 0, i32 86
  %159 = load i32, ptr %158, align 8, !tbaa !27
  %160 = load ptr, ptr %13, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %160, i32 0, i32 87
  %162 = load i32, ptr %161, align 4, !tbaa !28
  call void @libxsmm_generator_cvt_8bit_to_16bit_lut_prepped_regs_avx512(ptr noundef %133, i8 noundef signext %136, i32 noundef %137, i32 noundef %138, i32 noundef %141, i32 noundef %144, i32 noundef %147, i32 noundef %150, i32 noundef %153, i32 noundef %156, i32 noundef %159, i32 noundef %162)
  %163 = load i32, ptr %27, align 4, !tbaa !9
  %164 = icmp ne i32 %163, 0
  br i1 %164, label %165, label %196

165:                                              ; preds = %132
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = load ptr, ptr %13, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %167, i32 0, i32 21
  %169 = load i8, ptr %168, align 4, !tbaa !15
  %170 = load i32, ptr %26, align 4, !tbaa !9
  %171 = load i32, ptr %26, align 4, !tbaa !9
  %172 = load ptr, ptr %13, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %172, i32 0, i32 80
  %174 = load i32, ptr %173, align 8, !tbaa !21
  %175 = load ptr, ptr %13, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %175, i32 0, i32 81
  %177 = load i32, ptr %176, align 4, !tbaa !22
  %178 = load ptr, ptr %13, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %178, i32 0, i32 82
  %180 = load i32, ptr %179, align 8, !tbaa !23
  %181 = load ptr, ptr %13, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %181, i32 0, i32 83
  %183 = load i32, ptr %182, align 4, !tbaa !24
  %184 = load ptr, ptr %13, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %184, i32 0, i32 84
  %186 = load i32, ptr %185, align 8, !tbaa !25
  %187 = load ptr, ptr %13, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %187, i32 0, i32 85
  %189 = load i32, ptr %188, align 4, !tbaa !26
  %190 = load ptr, ptr %13, align 8, !tbaa !5
  %191 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %190, i32 0, i32 86
  %192 = load i32, ptr %191, align 8, !tbaa !27
  %193 = load ptr, ptr %13, align 8, !tbaa !5
  %194 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %193, i32 0, i32 87
  %195 = load i32, ptr %194, align 4, !tbaa !28
  call void @libxsmm_generator_cvt_8bit_to_16bit_lut_prepped_regs_avx512(ptr noundef %166, i8 noundef signext %169, i32 noundef %170, i32 noundef %171, i32 noundef %174, i32 noundef %177, i32 noundef %180, i32 noundef %183, i32 noundef %186, i32 noundef %189, i32 noundef %192, i32 noundef %195)
  br label %196

196:                                              ; preds = %165, %132
  %197 = load ptr, ptr %11, align 8, !tbaa !5
  %198 = load ptr, ptr %13, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %198, i32 0, i32 0
  %200 = load i32, ptr %199, align 8, !tbaa !29
  %201 = load i32, ptr %20, align 4, !tbaa !9
  %202 = load i32, ptr %21, align 4, !tbaa !9
  %203 = load i32, ptr %22, align 4, !tbaa !9
  %204 = mul i32 %202, %203
  %205 = mul i32 %204, 2
  %206 = load ptr, ptr %13, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %206, i32 0, i32 21
  %208 = load i8, ptr %207, align 4, !tbaa !15
  %209 = load i32, ptr %25, align 4, !tbaa !9
  %210 = load i32, ptr %21, align 4, !tbaa !9
  %211 = add i32 %210, 2
  %212 = load i32, ptr %15, align 4, !tbaa !9
  %213 = icmp uge i32 %211, %212
  br i1 %213, label %214, label %221

214:                                              ; preds = %196
  %215 = load i32, ptr %27, align 4, !tbaa !9
  %216 = icmp eq i32 %215, 0
  br i1 %216, label %217, label %221

217:                                              ; preds = %214
  %218 = load ptr, ptr %13, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %218, i32 0, i32 71
  %220 = load i32, ptr %219, align 4, !tbaa !30
  br label %222

221:                                              ; preds = %214, %196
  br label %222

222:                                              ; preds = %221, %217
  %223 = phi i32 [ %220, %217 ], [ 0, %221 ]
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %197, i32 noundef %200, i32 noundef 537138704, i32 noundef %201, i32 noundef 127, i32 noundef 0, i32 noundef %205, i8 noundef signext %208, i32 noundef %209, i32 noundef %223, i32 noundef 0, i32 noundef 1)
  %224 = load i32, ptr %27, align 4, !tbaa !9
  %225 = icmp ne i32 %224, 0
  br i1 %225, label %226, label %252

226:                                              ; preds = %222
  %227 = load ptr, ptr %11, align 8, !tbaa !5
  %228 = load ptr, ptr %13, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %228, i32 0, i32 0
  %230 = load i32, ptr %229, align 8, !tbaa !29
  %231 = load i32, ptr %20, align 4, !tbaa !9
  %232 = load i32, ptr %21, align 4, !tbaa !9
  %233 = load i32, ptr %22, align 4, !tbaa !9
  %234 = mul i32 %232, %233
  %235 = mul i32 %234, 2
  %236 = add i32 %235, 64
  %237 = load ptr, ptr %13, align 8, !tbaa !5
  %238 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %237, i32 0, i32 21
  %239 = load i8, ptr %238, align 4, !tbaa !15
  %240 = load i32, ptr %26, align 4, !tbaa !9
  %241 = load i32, ptr %21, align 4, !tbaa !9
  %242 = add i32 %241, 2
  %243 = load i32, ptr %15, align 4, !tbaa !9
  %244 = icmp uge i32 %242, %243
  br i1 %244, label %245, label %249

245:                                              ; preds = %226
  %246 = load ptr, ptr %13, align 8, !tbaa !5
  %247 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %246, i32 0, i32 71
  %248 = load i32, ptr %247, align 4, !tbaa !30
  br label %250

249:                                              ; preds = %226
  br label %250

250:                                              ; preds = %249, %245
  %251 = phi i32 [ %248, %245 ], [ 0, %249 ]
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %227, i32 noundef %230, i32 noundef 537138704, i32 noundef %231, i32 noundef 127, i32 noundef 0, i32 noundef %236, i8 noundef signext %239, i32 noundef %240, i32 noundef %251, i32 noundef 0, i32 noundef 1)
  br label %252

252:                                              ; preds = %250, %222
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #3
  br label %253

253:                                              ; preds = %252
  %254 = load i32, ptr %21, align 4, !tbaa !9
  %255 = add i32 %254, 2
  store i32 %255, ptr %21, align 4, !tbaa !9
  br label %37, !llvm.loop !31

256:                                              ; preds = %37
  %257 = load ptr, ptr %11, align 8, !tbaa !5
  %258 = load ptr, ptr %13, align 8, !tbaa !5
  %259 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %258, i32 0, i32 16
  %260 = load i32, ptr %259, align 8, !tbaa !33
  %261 = load i32, ptr %19, align 4, !tbaa !9
  %262 = load i32, ptr %17, align 4, !tbaa !9
  %263 = zext i32 %262 to i64
  %264 = mul nsw i64 %263, 2
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %257, i32 noundef %260, i32 noundef %261, i64 noundef %264)
  %265 = load ptr, ptr %11, align 8, !tbaa !5
  %266 = load ptr, ptr %13, align 8, !tbaa !5
  %267 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %266, i32 0, i32 16
  %268 = load i32, ptr %267, align 8, !tbaa !33
  %269 = load i32, ptr %20, align 4, !tbaa !9
  %270 = load i32, ptr %18, align 4, !tbaa !9
  %271 = zext i32 %270 to i64
  %272 = mul nsw i64 %271, 4
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %265, i32 noundef %268, i32 noundef %269, i64 noundef %272)
  %273 = load ptr, ptr %11, align 8, !tbaa !5
  %274 = load ptr, ptr %12, align 8, !tbaa !5
  %275 = load ptr, ptr %13, align 8, !tbaa !5
  %276 = load i32, ptr %24, align 4, !tbaa !9
  %277 = load i32, ptr %16, align 4, !tbaa !9
  %278 = udiv i32 %277, 2
  call void @libxsmm_generator_gemm_footer_dequant_loop_amx(ptr noundef %273, ptr noundef %274, ptr noundef %275, i32 noundef %276, i32 noundef %278)
  %279 = load ptr, ptr %11, align 8, !tbaa !5
  %280 = load i32, ptr %24, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %279, i32 noundef %280)
  %281 = load ptr, ptr %11, align 8, !tbaa !5
  %282 = load ptr, ptr %13, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %282, i32 0, i32 17
  %284 = load i32, ptr %283, align 4, !tbaa !34
  %285 = load i32, ptr %19, align 4, !tbaa !9
  %286 = load i32, ptr %17, align 4, !tbaa !9
  %287 = zext i32 %286 to i64
  %288 = load i32, ptr %16, align 4, !tbaa !9
  %289 = zext i32 %288 to i64
  %290 = mul nsw i64 %287, %289
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %281, i32 noundef %284, i32 noundef %285, i64 noundef %290)
  %291 = load ptr, ptr %11, align 8, !tbaa !5
  %292 = load ptr, ptr %13, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %292, i32 0, i32 17
  %294 = load i32, ptr %293, align 4, !tbaa !34
  %295 = load i32, ptr %20, align 4, !tbaa !9
  %296 = load i32, ptr %18, align 4, !tbaa !9
  %297 = zext i32 %296 to i64
  %298 = mul nsw i64 %297, 2
  %299 = load i32, ptr %16, align 4, !tbaa !9
  %300 = zext i32 %299 to i64
  %301 = mul nsw i64 %298, %300
  call void @libxsmm_x86_instruction_alu_imm(ptr noundef %291, i32 noundef %294, i32 noundef %295, i64 noundef %301)
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  ret void
}

attributes #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 = { 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 #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 172}
!12 = !{!"libxsmm_micro_kernel_config", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28, !10, i64 32, !10, i64 36, !10, i64 40, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56, !10, i64 60, !10, i64 64, !10, i64 68, !10, i64 72, !10, i64 76, !10, i64 80, !7, i64 84, !10, i64 88, !10, i64 92, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !10, i64 132, !10, i64 136, !10, i64 140, !10, i64 144, !10, i64 148, !10, i64 152, !10, i64 156, !10, i64 160, !10, i64 164, !10, i64 168, !10, i64 172, !10, i64 176, !10, i64 180, !10, i64 184, !10, i64 188, !10, i64 192, !10, i64 196, !10, i64 200, !10, i64 204, !10, i64 208, !10, i64 212, !10, i64 216, !10, i64 220, !10, i64 224, !10, i64 228, !10, i64 232, !10, i64 236, !10, i64 240, !10, i64 244, !10, i64 248, !10, i64 252, !10, i64 256, !10, i64 260, !10, i64 264, !10, i64 268, !10, i64 272, !10, i64 276, !10, i64 280, !10, i64 284, !10, i64 288, !10, i64 292, !10, i64 296, !10, i64 300, !10, i64 304, !10, i64 308, !10, i64 312, !10, i64 316, !10, i64 320, !10, i64 324, !10, i64 328, !10, i64 332, !10, i64 336, !10, i64 340, !10, i64 344, !10, i64 348, !10, i64 352, !10, i64 356, !10, i64 360, !7, i64 364, !7, i64 380, !7, i64 396, !7, i64 412, !7, i64 428, !7, i64 444, !10, i64 460, !7, i64 464, !13, i64 520, !10, i64 556, !10, i64 560, !10, i64 564, !10, i64 568, !10, i64 572, !10, i64 576, !10, i64 580, !10, i64 584, !6, i64 592, !10, i64 600, !10, i64 604, !10, i64 608, !10, i64 612, !6, i64 616, !10, i64 624, !10, i64 628, !10, i64 632, !10, i64 636, !10, i64 640, !10, i64 644, !10, i64 648, !10, i64 652, !10, i64 656, !10, i64 660, !10, i64 664, !10, i64 668, !10, i64 672, !10, i64 676, !10, i64 680}
!13 = !{!"libxsmm_tile_config", !7, i64 0, !14, i64 2, !7, i64 4, !14, i64 6, !7, i64 8, !14, i64 10, !7, i64 12, !14, i64 14, !7, i64 16, !14, i64 18, !7, i64 20, !14, i64 22, !7, i64 24, !14, i64 26, !7, i64 28, !14, i64 30, !7, i64 32}
!14 = !{!"short", !7, i64 0}
!15 = !{!12, !7, i64 84}
!16 = !{!12, !10, i64 292}
!17 = !{!18, !10, i64 24}
!18 = !{!"libxsmm_gemm_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !7, i64 28, !7, i64 29, !7, i64 32, !19, i64 33, !19, i64 41, !7, i64 49, !10, i64 50, !10, i64 54, !10, i64 58, !14, i64 62, !14, i64 64, !7, i64 66, !7, i64 67, !7, i64 68, !7, i64 69, !14, i64 70, !14, i64 72, !14, i64 74, !14, i64 76, !14, i64 78, !14, i64 80, !10, i64 82, !10, i64 86, !10, i64 90, !7, i64 94}
!19 = !{!"long long", !7, i64 0}
!20 = !{!18, !19, i64 33}
!21 = !{!12, !10, i64 320}
!22 = !{!12, !10, i64 324}
!23 = !{!12, !10, i64 328}
!24 = !{!12, !10, i64 332}
!25 = !{!12, !10, i64 336}
!26 = !{!12, !10, i64 340}
!27 = !{!12, !10, i64 344}
!28 = !{!12, !10, i64 348}
!29 = !{!12, !10, i64 0}
!30 = !{!12, !10, i64 284}
!31 = distinct !{!31, !32}
!32 = !{!"llvm.loop.mustprogress"}
!33 = !{!12, !10, i64 64}
!34 = !{!12, !10, i64 68}


; 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"

declare void @libxsmm_x86_instruction_alu_imm(ptr noundef, i32 noundef, i32 noundef, i64 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_push_reg(ptr noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_pop_reg(ptr noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gemm_header_dequant_loop_amx(ptr noundef, ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
declare dso_local void @libxsmm_generator_gemm_footer_dequant_loop_amx(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_x86_instruction_unified_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_prefetch(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_generator_cvt_8bit_to_16bit_lut_prepped_regs_avx512(ptr noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

declare void @libxsmm_x86_instruction_vec_move(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_convert_KxM_fp8_to_bf16(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr nocapture noundef readonly %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) local_unnamed_addr #1 {
  %11 = getelementptr inbounds i8, ptr %2, i64 172
  %12 = load i32, ptr %11, align 4, !tbaa !5
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef %0, i32 noundef 11) #2
  tail call void @libxsmm_generator_gemm_header_dequant_loop_amx(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef 11)
  %.not123 = icmp eq i32 %4, 0
  br i1 %.not123, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %10
  %13 = sub i32 32, %12
  %14 = icmp eq i32 %4, 2
  %15 = icmp ugt i32 %4, 3
  %16 = getelementptr inbounds i8, ptr %2, i64 84
  %17 = getelementptr inbounds i8, ptr %2, i64 292
  %18 = getelementptr inbounds i8, ptr %3, i64 24
  %19 = getelementptr inbounds i8, ptr %3, i64 33
  %20 = getelementptr inbounds i8, ptr %2, i64 320
  %21 = getelementptr inbounds i8, ptr %2, i64 324
  %22 = getelementptr inbounds i8, ptr %2, i64 328
  %23 = getelementptr inbounds i8, ptr %2, i64 332
  %24 = getelementptr inbounds i8, ptr %2, i64 336
  %25 = getelementptr inbounds i8, ptr %2, i64 340
  %26 = getelementptr inbounds i8, ptr %2, i64 344
  %27 = getelementptr inbounds i8, ptr %2, i64 348
  %28 = getelementptr inbounds i8, ptr %2, i64 284
  %29 = or i1 %14, %15
  br label %30

30:                                               ; preds = %.lr.ph, %91
  %.0122 = phi i32 [ 0, %.lr.ph ], [ %36, %91 ]
  %31 = urem i32 %.0122, %13
  %32 = add i32 %31, %12
  %33 = or disjoint i32 %.0122, 1
  %34 = urem i32 %33, %13
  %35 = add i32 %34, %12
  %36 = add i32 %.0122, 2
  %37 = icmp ult i32 %36, %4
  %spec.select = or i1 %29, %37
  %38 = shl i32 %.0122, 5
  %39 = load i8, ptr %16, align 4, !tbaa !13
  %.pre = load i32, ptr %17, align 4, !tbaa !14
  %spec.select124 = select i1 %37, i32 0, i32 %.pre
  tail call void @libxsmm_x86_instruction_unified_vec_move(ptr noundef %0, i32 noundef -528017809, i32 noundef %8, i32 noundef 127, i32 noundef 0, i32 noundef %38, i8 noundef signext %39, i32 noundef %32, i32 noundef %spec.select124, i32 noundef %.pre, i32 noundef 0) #2
  %40 = load i32, ptr %18, align 1, !tbaa !15
  %41 = and i32 %40, 262144
  %.not = icmp eq i32 %41, 0
  br i1 %.not, label %48, label %42

42:                                               ; preds = %30
  %43 = zext i32 %.0122 to i64
  %44 = shl nuw nsw i64 %43, 6
  %45 = load i64, ptr %19, align 1, !tbaa !18
  %46 = add nsw i64 %45, %44
  %47 = trunc i64 %46 to i32
  tail call void @libxsmm_x86_instruction_prefetch(ptr noundef %0, i32 noundef -1810624488, i32 noundef %8, i32 noundef 127, i32 noundef 0, i32 noundef %47) #2
  br label %48

48:                                               ; preds = %42, %30
  %49 = load i8, ptr %16, align 4, !tbaa !13
  br i1 %spec.select, label %50, label %.thread121

50:                                               ; preds = %48
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef %0, i32 noundef -401785541, i8 noundef signext %49, i32 noundef %32, i32 noundef 255, i32 noundef %35, i32 noundef 0, i32 noundef 0, i8 noundef zeroext 0, i32 noundef 1) #2
  %51 = load i8, ptr %16, align 4, !tbaa !13
  %52 = load i32, ptr %20, align 8, !tbaa !19
  %53 = load i32, ptr %21, align 4, !tbaa !20
  %54 = load i32, ptr %22, align 8, !tbaa !21
  %55 = load i32, ptr %23, align 4, !tbaa !22
  %56 = load i32, ptr %24, align 8, !tbaa !23
  %57 = load i32, ptr %25, align 4, !tbaa !24
  %58 = load i32, ptr %26, align 8, !tbaa !25
  %59 = load i32, ptr %27, align 4, !tbaa !26
  tail call void @libxsmm_generator_cvt_8bit_to_16bit_lut_prepped_regs_avx512(ptr noundef %0, i8 noundef signext %51, i32 noundef %32, i32 noundef %32, i32 noundef %52, i32 noundef %53, i32 noundef %54, i32 noundef %55, i32 noundef %56, i32 noundef %57, i32 noundef %58, i32 noundef %59) #2
  %60 = load i8, ptr %16, align 4, !tbaa !13
  %61 = load i32, ptr %20, align 8, !tbaa !19
  %62 = load i32, ptr %21, align 4, !tbaa !20
  %63 = load i32, ptr %22, align 8, !tbaa !21
  %64 = load i32, ptr %23, align 4, !tbaa !22
  %65 = load i32, ptr %24, align 8, !tbaa !23
  %66 = load i32, ptr %25, align 4, !tbaa !24
  %67 = load i32, ptr %26, align 8, !tbaa !25
  %68 = load i32, ptr %27, align 4, !tbaa !26
  tail call void @libxsmm_generator_cvt_8bit_to_16bit_lut_prepped_regs_avx512(ptr noundef %0, i8 noundef signext %60, i32 noundef %35, i32 noundef %35, i32 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64, i32 noundef %65, i32 noundef %66, i32 noundef %67, i32 noundef %68) #2
  %69 = load i32, ptr %2, align 8, !tbaa !27
  %70 = shl i32 %.0122, 6
  %71 = load i8, ptr %16, align 4, !tbaa !13
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %69, i32 noundef 537138704, i32 noundef %9, i32 noundef 127, i32 noundef 0, i32 noundef %70, i8 noundef signext %71, i32 noundef %32, i32 noundef 0, i32 noundef 0, i32 noundef 1) #2
  %72 = load i32, ptr %2, align 8, !tbaa !27
  %73 = or disjoint i32 %70, 64
  %74 = load i8, ptr %16, align 4, !tbaa !13
  br i1 %37, label %89, label %87

.thread121:                                       ; preds = %48
  %75 = load i32, ptr %20, align 8, !tbaa !19
  %76 = load i32, ptr %21, align 4, !tbaa !20
  %77 = load i32, ptr %22, align 8, !tbaa !21
  %78 = load i32, ptr %23, align 4, !tbaa !22
  %79 = load i32, ptr %24, align 8, !tbaa !23
  %80 = load i32, ptr %25, align 4, !tbaa !24
  %81 = load i32, ptr %26, align 8, !tbaa !25
  %82 = load i32, ptr %27, align 4, !tbaa !26
  tail call void @libxsmm_generator_cvt_8bit_to_16bit_lut_prepped_regs_avx512(ptr noundef %0, i8 noundef signext %49, i32 noundef %32, i32 noundef %32, i32 noundef %75, i32 noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef %79, i32 noundef %80, i32 noundef %81, i32 noundef %82) #2
  %83 = load i32, ptr %2, align 8, !tbaa !27
  %84 = shl i32 %.0122, 6
  %85 = load i8, ptr %16, align 4, !tbaa !13
  %86 = load i32, ptr %28, align 4, !tbaa !28
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %83, i32 noundef 537138704, i32 noundef %9, i32 noundef 127, i32 noundef 0, i32 noundef %84, i8 noundef signext %85, i32 noundef %32, i32 noundef %86, i32 noundef 0, i32 noundef 1) #2
  br label %91

87:                                               ; preds = %50
  %88 = load i32, ptr %28, align 4, !tbaa !28
  br label %89

89:                                               ; preds = %50, %87
  %90 = phi i32 [ %88, %87 ], [ 0, %50 ]
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %72, i32 noundef 537138704, i32 noundef %9, i32 noundef 127, i32 noundef 0, i32 noundef %73, i8 noundef signext %74, i32 noundef %35, i32 noundef %90, i32 noundef 0, i32 noundef 1) #2
  br label %91

91:                                               ; preds = %.thread121, %89
  br i1 %37, label %30, label %._crit_edge, !llvm.loop !29

._crit_edge:                                      ; preds = %91, %10
  %92 = getelementptr inbounds i8, ptr %2, i64 64
  %93 = load i32, ptr %92, align 8, !tbaa !31
  %94 = zext i32 %6 to i64
  %95 = shl nuw nsw i64 %94, 1
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %93, i32 noundef %8, i64 noundef %95) #2
  %96 = load i32, ptr %92, align 8, !tbaa !31
  %97 = zext i32 %7 to i64
  %98 = shl nuw nsw i64 %97, 2
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %96, i32 noundef %9, i64 noundef %98) #2
  %99 = lshr i32 %5, 1
  tail call void @libxsmm_generator_gemm_footer_dequant_loop_amx(ptr noundef %0, ptr noundef %1, ptr noundef nonnull %2, i32 noundef 11, i32 noundef %99)
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef %0, i32 noundef 11) #2
  %100 = getelementptr inbounds i8, ptr %2, i64 68
  %101 = load i32, ptr %100, align 4, !tbaa !32
  %102 = zext i32 %5 to i64
  %103 = mul nuw nsw i64 %94, %102
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %101, i32 noundef %8, i64 noundef %103) #2
  %104 = load i32, ptr %100, align 4, !tbaa !32
  %105 = shl nuw nsw i64 %102, 1
  %106 = mul i64 %105, %97
  tail call void @libxsmm_x86_instruction_alu_imm(ptr noundef %0, i32 noundef %104, i32 noundef %9, i64 noundef %106) #2
  ret void
}

attributes #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 = { 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 #2 = { 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, !7, i64 172}
!6 = !{!"libxsmm_micro_kernel_config", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28, !7, i64 32, !7, i64 36, !7, i64 40, !7, i64 44, !7, i64 48, !7, i64 52, !7, i64 56, !7, i64 60, !7, i64 64, !7, i64 68, !7, i64 72, !7, i64 76, !7, i64 80, !8, i64 84, !7, i64 88, !7, i64 92, !7, i64 96, !7, i64 100, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !7, i64 132, !7, i64 136, !7, i64 140, !7, i64 144, !7, i64 148, !7, i64 152, !7, i64 156, !7, i64 160, !7, i64 164, !7, i64 168, !7, i64 172, !7, i64 176, !7, i64 180, !7, i64 184, !7, i64 188, !7, i64 192, !7, i64 196, !7, i64 200, !7, i64 204, !7, i64 208, !7, i64 212, !7, i64 216, !7, i64 220, !7, i64 224, !7, i64 228, !7, i64 232, !7, i64 236, !7, i64 240, !7, i64 244, !7, i64 248, !7, i64 252, !7, i64 256, !7, i64 260, !7, i64 264, !7, i64 268, !7, i64 272, !7, i64 276, !7, i64 280, !7, i64 284, !7, i64 288, !7, i64 292, !7, i64 296, !7, i64 300, !7, i64 304, !7, i64 308, !7, i64 312, !7, i64 316, !7, i64 320, !7, i64 324, !7, i64 328, !7, i64 332, !7, i64 336, !7, i64 340, !7, i64 344, !7, i64 348, !7, i64 352, !7, i64 356, !7, i64 360, !8, i64 364, !8, i64 380, !8, i64 396, !8, i64 412, !8, i64 428, !8, i64 444, !7, i64 460, !8, i64 464, !10, i64 520, !7, i64 556, !7, i64 560, !7, i64 564, !7, i64 568, !7, i64 572, !7, i64 576, !7, i64 580, !7, i64 584, !12, i64 592, !7, i64 600, !7, i64 604, !7, i64 608, !7, i64 612, !12, i64 616, !7, i64 624, !7, i64 628, !7, i64 632, !7, i64 636, !7, i64 640, !7, i64 644, !7, i64 648, !7, i64 652, !7, i64 656, !7, i64 660, !7, i64 664, !7, i64 668, !7, i64 672, !7, i64 676, !7, i64 680}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"libxsmm_tile_config", !8, i64 0, !11, i64 2, !8, i64 4, !11, i64 6, !8, i64 8, !11, i64 10, !8, i64 12, !11, i64 14, !8, i64 16, !11, i64 18, !8, i64 20, !11, i64 22, !8, i64 24, !11, i64 26, !8, i64 28, !11, i64 30, !8, i64 32}
!11 = !{!"short", !8, i64 0}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !8, i64 84}
!14 = !{!6, !7, i64 292}
!15 = !{!16, !7, i64 24}
!16 = !{!"libxsmm_gemm_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !8, i64 28, !8, i64 29, !8, i64 32, !17, i64 33, !17, i64 41, !8, i64 49, !7, i64 50, !7, i64 54, !7, i64 58, !11, i64 62, !11, i64 64, !8, i64 66, !8, i64 67, !8, i64 68, !8, i64 69, !11, i64 70, !11, i64 72, !11, i64 74, !11, i64 76, !11, i64 78, !11, i64 80, !7, i64 82, !7, i64 86, !7, i64 90, !8, i64 94}
!17 = !{!"long long", !8, i64 0}
!18 = !{!16, !17, i64 33}
!19 = !{!6, !7, i64 320}
!20 = !{!6, !7, i64 324}
!21 = !{!6, !7, i64 328}
!22 = !{!6, !7, i64 332}
!23 = !{!6, !7, i64 336}
!24 = !{!6, !7, i64 340}
!25 = !{!6, !7, i64 344}
!26 = !{!6, !7, i64 348}
!27 = !{!6, !7, i64 0}
!28 = !{!6, !7, i64 284}
!29 = distinct !{!29, !30}
!30 = !{!"llvm.loop.mustprogress"}
!31 = !{!6, !7, i64 64}
!32 = !{!6, !7, i64 68}


; Effective O3 passes: ConstraintEliminationPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopInstSimplifyPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass