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

; 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_mateltwise_kernel_config_struct = type { 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, 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, i8 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_meltw_descriptor = type <{ i32, i32, i32, i32, i32, i32, i8, i8, i8, i16, i16, i8 }>

@.str.1 = external hidden unnamed_addr constant [17 x i8], align 1
@__const.libxsmm_configure_kernel_vregs_masks.const_mask_array = external hidden unnamed_addr constant [8 x i32], align 16

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

declare i32 @libxsmm_generator_mateltwise_is_binary_cmp_op(ptr noundef) #1

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

declare i32 @libxsmm_meltw_getenum_precision(ptr noundef, i32 noundef) #1

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

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

declare void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef, ptr noundef, ptr noundef, i8 noundef signext, i32 noundef) #1

declare void @libxsmm_generator_load_prng_state_avx_avx512(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_configure_kernel_vregs_masks(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca [8 x i32], align 16
  %15 = alloca i8, align 1
  %16 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  %17 = load ptr, ptr %8, align 8, !tbaa !5
  %18 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %17, i32 0, i32 18
  store i32 0, ptr %18, align 4, !tbaa !11
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %19, i32 0, i32 19
  store i32 1, ptr %20, align 4, !tbaa !13
  %21 = load ptr, ptr %8, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %21, i32 0, i32 20
  store i32 0, ptr %22, align 4, !tbaa !14
  %23 = load ptr, ptr %9, align 8, !tbaa !5
  %24 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %23, i32 noundef 4)
  %25 = icmp eq i32 1, %24
  br i1 %25, label %30, label %26

26:                                               ; preds = %6
  %27 = load ptr, ptr %9, align 8, !tbaa !5
  %28 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %27, i32 noundef 0)
  %29 = icmp eq i32 1, %28
  br i1 %29, label %30, label %88

30:                                               ; preds = %26, %6
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  %32 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %31, i32 noundef 3)
  %33 = icmp eq i32 2, %32
  br i1 %33, label %34, label %88

34:                                               ; preds = %30
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %35, i32 0, i32 6
  %37 = load i32, ptr %36, align 4, !tbaa !15
  %38 = icmp ult i32 %37, 1103
  br i1 %38, label %39, label %88

39:                                               ; preds = %34
  %40 = load ptr, ptr %7, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %40, i32 0, i32 6
  %42 = load i32, ptr %41, align 4, !tbaa !15
  %43 = icmp ne i32 %42, 1053
  br i1 %43, label %44, label %88

44:                                               ; preds = %39
  %45 = load ptr, ptr %7, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %45, i32 0, i32 6
  %47 = load i32, ptr %46, align 4, !tbaa !15
  %48 = icmp ne i32 %47, 1008
  br i1 %48, label %49, label %88

49:                                               ; preds = %44
  %50 = load ptr, ptr %8, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %50, i32 0, i32 20
  store i32 1, ptr %51, align 4, !tbaa !14
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_generator_vcvtneps2bf16_avx512_prep_stack(ptr noundef %52, i32 noundef %53)
  %54 = load ptr, ptr %8, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %54, i32 0, i32 19
  %56 = load i32, ptr %55, align 4, !tbaa !13
  %57 = load ptr, ptr %8, align 8, !tbaa !5
  %58 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %57, i32 0, i32 21
  store i32 %56, ptr %58, align 4, !tbaa !17
  %59 = load ptr, ptr %8, align 8, !tbaa !5
  %60 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %59, i32 0, i32 19
  %61 = load i32, ptr %60, align 4, !tbaa !13
  %62 = add i32 %61, 1
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %63, i32 0, i32 22
  store i32 %62, ptr %64, align 4, !tbaa !18
  %65 = load ptr, ptr %8, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %65, i32 0, i32 19
  %67 = load i32, ptr %66, align 4, !tbaa !13
  %68 = add i32 %67, 2
  %69 = load ptr, ptr %8, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %69, i32 0, i32 19
  store i32 %68, ptr %70, align 4, !tbaa !13
  %71 = load ptr, ptr %8, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %71, i32 0, i32 18
  %73 = load i32, ptr %72, align 4, !tbaa !11
  %74 = load ptr, ptr %8, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %74, i32 0, i32 24
  store i32 %73, ptr %75, align 4, !tbaa !19
  %76 = load ptr, ptr %8, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %76, i32 0, i32 18
  %78 = load i32, ptr %77, align 4, !tbaa !11
  %79 = add i32 %78, 1
  %80 = load ptr, ptr %8, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %80, i32 0, i32 25
  store i32 %79, ptr %81, align 4, !tbaa !20
  %82 = load ptr, ptr %8, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %82, i32 0, i32 18
  %84 = load i32, ptr %83, align 4, !tbaa !11
  %85 = add i32 %84, 2
  %86 = load ptr, ptr %8, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %86, i32 0, i32 18
  store i32 %85, ptr %87, align 4, !tbaa !11
  br label %343

88:                                               ; preds = %44, %39, %34, %30, %26
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %89, i32 noundef 4)
  %91 = icmp eq i32 1, %90
  br i1 %91, label %96, label %92

92:                                               ; preds = %88
  %93 = load ptr, ptr %9, align 8, !tbaa !5
  %94 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %93, i32 noundef 0)
  %95 = icmp eq i32 1, %94
  br i1 %95, label %96, label %111

96:                                               ; preds = %92, %88
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %97, i32 noundef 3)
  %99 = icmp eq i32 3, %98
  br i1 %99, label %100, label %111

100:                                              ; preds = %96
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %101, i32 0, i32 6
  %103 = load i32, ptr %102, align 4, !tbaa !15
  %104 = icmp uge i32 %103, 1051
  br i1 %104, label %105, label %111

105:                                              ; preds = %100
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %106, i32 0, i32 6
  %108 = load i32, ptr %107, align 4, !tbaa !15
  %109 = icmp ule i32 %108, 1999
  br i1 %109, label %110, label %111

110:                                              ; preds = %105
  br label %342

111:                                              ; preds = %105, %100, %96, %92
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %112, i32 noundef 4)
  %114 = icmp eq i32 1, %113
  br i1 %114, label %119, label %115

115:                                              ; preds = %111
  %116 = load ptr, ptr %9, align 8, !tbaa !5
  %117 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %116, i32 noundef 0)
  %118 = icmp eq i32 1, %117
  br i1 %118, label %119, label %170

119:                                              ; preds = %115, %111
  %120 = load ptr, ptr %9, align 8, !tbaa !5
  %121 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %120, i32 noundef 3)
  %122 = icmp eq i32 4, %121
  br i1 %122, label %123, label %170

123:                                              ; preds = %119
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %124, i32 0, i32 6
  %126 = load i32, ptr %125, align 4, !tbaa !15
  %127 = icmp uge i32 %126, 1051
  br i1 %127, label %128, label %170

128:                                              ; preds = %123
  %129 = load ptr, ptr %7, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %129, i32 0, i32 6
  %131 = load i32, ptr %130, align 4, !tbaa !15
  %132 = icmp ule i32 %131, 1999
  br i1 %132, label %133, label %170

133:                                              ; preds = %128
  %134 = load ptr, ptr %7, align 8, !tbaa !5
  %135 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_generator_vcvtneps2bf8_avx512_prep_stack(ptr noundef %134, i32 noundef %135)
  %136 = load ptr, ptr %8, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %136, i32 0, i32 19
  %138 = load i32, ptr %137, align 4, !tbaa !13
  %139 = load ptr, ptr %8, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %139, i32 0, i32 21
  store i32 %138, ptr %140, align 4, !tbaa !17
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %141, i32 0, i32 19
  %143 = load i32, ptr %142, align 4, !tbaa !13
  %144 = add i32 %143, 1
  %145 = load ptr, ptr %8, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %145, i32 0, i32 22
  store i32 %144, ptr %146, align 4, !tbaa !18
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %147, i32 0, i32 19
  %149 = load i32, ptr %148, align 4, !tbaa !13
  %150 = add i32 %149, 2
  %151 = load ptr, ptr %8, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %151, i32 0, i32 19
  store i32 %150, ptr %152, align 4, !tbaa !13
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %153, i32 0, i32 18
  %155 = load i32, ptr %154, align 4, !tbaa !11
  %156 = load ptr, ptr %8, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %156, i32 0, i32 24
  store i32 %155, ptr %157, align 4, !tbaa !19
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %158, i32 0, i32 18
  %160 = load i32, ptr %159, align 4, !tbaa !11
  %161 = add i32 %160, 1
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %162, i32 0, i32 25
  store i32 %161, ptr %163, align 4, !tbaa !20
  %164 = load ptr, ptr %8, align 8, !tbaa !5
  %165 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %164, i32 0, i32 18
  %166 = load i32, ptr %165, align 4, !tbaa !11
  %167 = add i32 %166, 2
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %168, i32 0, i32 18
  store i32 %167, ptr %169, align 4, !tbaa !11
  br label %341

170:                                              ; preds = %128, %123, %119, %115
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %171, i32 noundef 4)
  %173 = icmp eq i32 1, %172
  br i1 %173, label %174, label %262

174:                                              ; preds = %170
  %175 = load ptr, ptr %9, align 8, !tbaa !5
  %176 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %175, i32 noundef 0)
  %177 = icmp eq i32 5, %176
  br i1 %177, label %182, label %178

178:                                              ; preds = %174
  %179 = load ptr, ptr %9, align 8, !tbaa !5
  %180 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %179, i32 noundef 1)
  %181 = icmp eq i32 5, %180
  br i1 %181, label %182, label %262

182:                                              ; preds = %178, %174
  %183 = load ptr, ptr %7, align 8, !tbaa !5
  %184 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %183, i32 0, i32 6
  %185 = load i32, ptr %184, align 4, !tbaa !15
  %186 = icmp uge i32 %185, 1051
  br i1 %186, label %187, label %262

187:                                              ; preds = %182
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %188, i32 0, i32 6
  %190 = load i32, ptr %189, align 4, !tbaa !15
  %191 = icmp ule i32 %190, 1999
  br i1 %191, label %192, label %262

192:                                              ; preds = %187
  %193 = load ptr, ptr %7, align 8, !tbaa !5
  %194 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_generator_vcvt_hf8_tofrom_f32_avx512_prep_stack(ptr noundef %193, i32 noundef %194)
  %195 = load ptr, ptr %8, align 8, !tbaa !5
  %196 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %195, i32 0, i32 19
  %197 = load i32, ptr %196, align 4, !tbaa !13
  %198 = load ptr, ptr %8, align 8, !tbaa !5
  %199 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %198, i32 0, i32 21
  store i32 %197, ptr %199, align 4, !tbaa !17
  %200 = load ptr, ptr %8, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %200, i32 0, i32 19
  %202 = load i32, ptr %201, align 4, !tbaa !13
  %203 = add i32 %202, 1
  %204 = load ptr, ptr %8, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %204, i32 0, i32 22
  store i32 %203, ptr %205, align 4, !tbaa !18
  %206 = load ptr, ptr %8, align 8, !tbaa !5
  %207 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %206, i32 0, i32 19
  %208 = load i32, ptr %207, align 4, !tbaa !13
  %209 = add i32 %208, 2
  %210 = load ptr, ptr %8, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %210, i32 0, i32 19
  store i32 %209, ptr %211, align 4, !tbaa !13
  %212 = load ptr, ptr %8, align 8, !tbaa !5
  %213 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %212, i32 0, i32 18
  %214 = load i32, ptr %213, align 4, !tbaa !11
  %215 = load ptr, ptr %8, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %215, i32 0, i32 24
  store i32 %214, ptr %216, align 4, !tbaa !19
  %217 = load ptr, ptr %8, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %217, i32 0, i32 18
  %219 = load i32, ptr %218, align 4, !tbaa !11
  %220 = add i32 %219, 1
  %221 = load ptr, ptr %8, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %221, i32 0, i32 25
  store i32 %220, ptr %222, align 4, !tbaa !20
  %223 = load ptr, ptr %8, align 8, !tbaa !5
  %224 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %223, i32 0, i32 18
  %225 = load i32, ptr %224, align 4, !tbaa !11
  %226 = add i32 %225, 2
  %227 = load ptr, ptr %8, align 8, !tbaa !5
  %228 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %227, i32 0, i32 18
  store i32 %226, ptr %228, align 4, !tbaa !11
  %229 = load ptr, ptr %9, align 8, !tbaa !5
  %230 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %229, i32 noundef 3)
  %231 = icmp eq i32 5, %230
  br i1 %231, label %232, label %261

232:                                              ; preds = %192
  %233 = load ptr, ptr %8, align 8, !tbaa !5
  %234 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %233, i32 0, i32 18
  %235 = load i32, ptr %234, align 4, !tbaa !11
  %236 = load ptr, ptr %8, align 8, !tbaa !5
  %237 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %236, i32 0, i32 26
  store i32 %235, ptr %237, align 4, !tbaa !21
  %238 = load ptr, ptr %8, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %238, i32 0, i32 18
  %240 = load i32, ptr %239, align 4, !tbaa !11
  %241 = add i32 %240, 1
  %242 = load ptr, ptr %8, align 8, !tbaa !5
  %243 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %242, i32 0, i32 27
  store i32 %241, ptr %243, align 4, !tbaa !22
  %244 = load ptr, ptr %8, align 8, !tbaa !5
  %245 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %244, i32 0, i32 18
  %246 = load i32, ptr %245, align 4, !tbaa !11
  %247 = add i32 %246, 2
  %248 = load ptr, ptr %8, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %248, i32 0, i32 18
  store i32 %247, ptr %249, align 4, !tbaa !11
  %250 = load ptr, ptr %8, align 8, !tbaa !5
  %251 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %250, i32 0, i32 19
  %252 = load i32, ptr %251, align 4, !tbaa !13
  %253 = load ptr, ptr %8, align 8, !tbaa !5
  %254 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %253, i32 0, i32 23
  store i32 %252, ptr %254, align 4, !tbaa !23
  %255 = load ptr, ptr %8, align 8, !tbaa !5
  %256 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %255, i32 0, i32 19
  %257 = load i32, ptr %256, align 4, !tbaa !13
  %258 = add i32 %257, 1
  %259 = load ptr, ptr %8, align 8, !tbaa !5
  %260 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %259, i32 0, i32 19
  store i32 %258, ptr %260, align 4, !tbaa !13
  br label %261

261:                                              ; preds = %232, %192
  br label %340

262:                                              ; preds = %187, %182, %178, %170
  %263 = load ptr, ptr %9, align 8, !tbaa !5
  %264 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %263, i32 noundef 4)
  %265 = icmp eq i32 1, %264
  br i1 %265, label %270, label %266

266:                                              ; preds = %262
  %267 = load ptr, ptr %9, align 8, !tbaa !5
  %268 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %267, i32 noundef 0)
  %269 = icmp eq i32 1, %268
  br i1 %269, label %270, label %339

270:                                              ; preds = %266, %262
  %271 = load ptr, ptr %9, align 8, !tbaa !5
  %272 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %271, i32 noundef 3)
  %273 = icmp eq i32 5, %272
  br i1 %273, label %274, label %339

274:                                              ; preds = %270
  %275 = load ptr, ptr %7, align 8, !tbaa !5
  %276 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %275, i32 0, i32 6
  %277 = load i32, ptr %276, align 4, !tbaa !15
  %278 = icmp uge i32 %277, 1051
  br i1 %278, label %279, label %339

279:                                              ; preds = %274
  %280 = load ptr, ptr %7, align 8, !tbaa !5
  %281 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %280, i32 0, i32 6
  %282 = load i32, ptr %281, align 4, !tbaa !15
  %283 = icmp ule i32 %282, 1999
  br i1 %283, label %284, label %339

284:                                              ; preds = %279
  %285 = load ptr, ptr %7, align 8, !tbaa !5
  %286 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_generator_vcvt_hf8_tofrom_f32_avx512_prep_stack(ptr noundef %285, i32 noundef %286)
  %287 = load ptr, ptr %8, align 8, !tbaa !5
  %288 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %287, i32 0, i32 19
  %289 = load i32, ptr %288, align 4, !tbaa !13
  %290 = load ptr, ptr %8, align 8, !tbaa !5
  %291 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %290, i32 0, i32 21
  store i32 %289, ptr %291, align 4, !tbaa !17
  %292 = load ptr, ptr %8, align 8, !tbaa !5
  %293 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %292, i32 0, i32 19
  %294 = load i32, ptr %293, align 4, !tbaa !13
  %295 = add i32 %294, 1
  %296 = load ptr, ptr %8, align 8, !tbaa !5
  %297 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %296, i32 0, i32 22
  store i32 %295, ptr %297, align 4, !tbaa !18
  %298 = load ptr, ptr %8, align 8, !tbaa !5
  %299 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %298, i32 0, i32 19
  %300 = load i32, ptr %299, align 4, !tbaa !13
  %301 = add i32 %300, 2
  %302 = load ptr, ptr %8, align 8, !tbaa !5
  %303 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %302, i32 0, i32 23
  store i32 %301, ptr %303, align 4, !tbaa !23
  %304 = load ptr, ptr %8, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %304, i32 0, i32 19
  %306 = load i32, ptr %305, align 4, !tbaa !13
  %307 = add i32 %306, 3
  %308 = load ptr, ptr %8, align 8, !tbaa !5
  %309 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %308, i32 0, i32 19
  store i32 %307, ptr %309, align 4, !tbaa !13
  %310 = load ptr, ptr %8, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %310, i32 0, i32 18
  %312 = load i32, ptr %311, align 4, !tbaa !11
  %313 = load ptr, ptr %8, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %313, i32 0, i32 24
  store i32 %312, ptr %314, align 4, !tbaa !19
  %315 = load ptr, ptr %8, align 8, !tbaa !5
  %316 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %315, i32 0, i32 18
  %317 = load i32, ptr %316, align 4, !tbaa !11
  %318 = add i32 %317, 1
  %319 = load ptr, ptr %8, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %319, i32 0, i32 25
  store i32 %318, ptr %320, align 4, !tbaa !20
  %321 = load ptr, ptr %8, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %321, i32 0, i32 18
  %323 = load i32, ptr %322, align 4, !tbaa !11
  %324 = add i32 %323, 2
  %325 = load ptr, ptr %8, align 8, !tbaa !5
  %326 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %325, i32 0, i32 26
  store i32 %324, ptr %326, align 4, !tbaa !21
  %327 = load ptr, ptr %8, align 8, !tbaa !5
  %328 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %327, i32 0, i32 18
  %329 = load i32, ptr %328, align 4, !tbaa !11
  %330 = add i32 %329, 3
  %331 = load ptr, ptr %8, align 8, !tbaa !5
  %332 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %331, i32 0, i32 27
  store i32 %330, ptr %332, align 4, !tbaa !22
  %333 = load ptr, ptr %8, align 8, !tbaa !5
  %334 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %333, i32 0, i32 18
  %335 = load i32, ptr %334, align 4, !tbaa !11
  %336 = add i32 %335, 4
  %337 = load ptr, ptr %8, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %337, i32 0, i32 18
  store i32 %336, ptr %338, align 4, !tbaa !11
  br label %339

339:                                              ; preds = %284, %279, %274, %270, %266
  br label %340

340:                                              ; preds = %339, %261
  br label %341

341:                                              ; preds = %340, %133
  br label %342

342:                                              ; preds = %341, %110
  br label %343

343:                                              ; preds = %342, %49
  %344 = load ptr, ptr %7, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %344, i32 0, i32 6
  %346 = load i32, ptr %345, align 4, !tbaa !15
  %347 = icmp ult i32 %346, 1051
  br i1 %347, label %348, label %369

348:                                              ; preds = %343
  %349 = load ptr, ptr %9, align 8, !tbaa !5
  %350 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %349, i32 0, i32 0
  %351 = load i32, ptr %350, align 1, !tbaa !24
  %352 = load ptr, ptr %8, align 8, !tbaa !5
  %353 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %352, i32 0, i32 120
  %354 = load i32, ptr %353, align 4, !tbaa !27
  %355 = urem i32 %351, %354
  %356 = icmp ne i32 %355, 0
  br i1 %356, label %357, label %369

357:                                              ; preds = %348
  %358 = load ptr, ptr %8, align 8, !tbaa !5
  %359 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %358, i32 0, i32 18
  %360 = load i32, ptr %359, align 4, !tbaa !11
  %361 = load ptr, ptr %8, align 8, !tbaa !5
  %362 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %361, i32 0, i32 28
  store i32 %360, ptr %362, align 4, !tbaa !28
  %363 = load ptr, ptr %8, align 8, !tbaa !5
  %364 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %363, i32 0, i32 18
  %365 = load i32, ptr %364, align 4, !tbaa !11
  %366 = add i32 %365, 1
  %367 = load ptr, ptr %8, align 8, !tbaa !5
  %368 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %367, i32 0, i32 18
  store i32 %366, ptr %368, align 4, !tbaa !11
  br label %369

369:                                              ; preds = %357, %348, %343
  %370 = load ptr, ptr %9, align 8, !tbaa !5
  %371 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %370, i32 0, i32 11
  %372 = load i8, ptr %371, align 1, !tbaa !29
  %373 = zext i8 %372 to i32
  %374 = icmp eq i32 %373, 1
  br i1 %374, label %375, label %392

375:                                              ; preds = %369
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %376 = load ptr, ptr %9, align 8, !tbaa !5
  %377 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %376, i32 noundef 4)
  store i32 %377, ptr %13, align 4, !tbaa !9
  %378 = load ptr, ptr %7, align 8, !tbaa !5
  %379 = load ptr, ptr %8, align 8, !tbaa !5
  %380 = load i32, ptr %13, align 4, !tbaa !9
  %381 = load ptr, ptr %9, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %381, i32 0, i32 10
  %383 = load i16, ptr %382, align 1, !tbaa !30
  %384 = zext i16 %383 to i32
  %385 = load ptr, ptr %9, align 8, !tbaa !5
  %386 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %385, i32 0, i32 9
  %387 = load i16, ptr %386, align 1, !tbaa !31
  %388 = zext i16 %387 to i32
  %389 = load i32, ptr %10, align 4, !tbaa !9
  %390 = load i32, ptr %11, align 4, !tbaa !9
  %391 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_configure_unary_kernel_vregs_masks(ptr noundef %378, ptr noundef %379, i32 noundef %380, i32 noundef %384, i32 noundef %388, i32 noundef %389, i32 noundef %390, i32 noundef %391)
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  br label %392

392:                                              ; preds = %375, %369
  %393 = load ptr, ptr %9, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %393, i32 0, i32 11
  %395 = load i8, ptr %394, align 1, !tbaa !29
  %396 = zext i8 %395 to i32
  %397 = icmp eq i32 %396, 2
  br i1 %397, label %404, label %398

398:                                              ; preds = %392
  %399 = load ptr, ptr %9, align 8, !tbaa !5
  %400 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %399, i32 0, i32 11
  %401 = load i8, ptr %400, align 1, !tbaa !29
  %402 = zext i8 %401 to i32
  %403 = icmp eq i32 %402, 3
  br i1 %403, label %404, label %604

404:                                              ; preds = %398, %392
  %405 = load ptr, ptr %8, align 8, !tbaa !5
  %406 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %405, i32 0, i32 18
  %407 = load i32, ptr %406, align 4, !tbaa !11
  %408 = load ptr, ptr %8, align 8, !tbaa !5
  %409 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %408, i32 0, i32 29
  store i32 %407, ptr %409, align 4, !tbaa !32
  %410 = load ptr, ptr %8, align 8, !tbaa !5
  %411 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %410, i32 0, i32 18
  %412 = load i32, ptr %411, align 4, !tbaa !11
  %413 = add i32 %412, 1
  %414 = load ptr, ptr %8, align 8, !tbaa !5
  %415 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %414, i32 0, i32 18
  store i32 %413, ptr %415, align 4, !tbaa !11
  %416 = load ptr, ptr %9, align 8, !tbaa !5
  %417 = call i32 @libxsmm_generator_mateltwise_is_binary_cmp_op(ptr noundef %416)
  %418 = icmp ugt i32 %417, 0
  br i1 %418, label %419, label %437

419:                                              ; preds = %404
  %420 = load ptr, ptr %7, align 8, !tbaa !5
  %421 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %420, i32 0, i32 6
  %422 = load i32, ptr %421, align 4, !tbaa !15
  %423 = icmp ult i32 %422, 1051
  br i1 %423, label %424, label %436

424:                                              ; preds = %419
  %425 = load ptr, ptr %8, align 8, !tbaa !5
  %426 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %425, i32 0, i32 18
  %427 = load i32, ptr %426, align 4, !tbaa !11
  %428 = load ptr, ptr %8, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %428, i32 0, i32 30
  store i32 %427, ptr %429, align 4, !tbaa !33
  %430 = load ptr, ptr %8, align 8, !tbaa !5
  %431 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %430, i32 0, i32 18
  %432 = load i32, ptr %431, align 4, !tbaa !11
  %433 = add i32 %432, 1
  %434 = load ptr, ptr %8, align 8, !tbaa !5
  %435 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %434, i32 0, i32 18
  store i32 %433, ptr %435, align 4, !tbaa !11
  br label %436

436:                                              ; preds = %424, %419
  br label %437

437:                                              ; preds = %436, %404
  %438 = load ptr, ptr %9, align 8, !tbaa !5
  %439 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %438, i32 0, i32 10
  %440 = load i16, ptr %439, align 1, !tbaa !30
  %441 = zext i16 %440 to i32
  %442 = icmp eq i32 %441, 3
  br i1 %442, label %443, label %489

443:                                              ; preds = %437
  %444 = load ptr, ptr %7, align 8, !tbaa !5
  %445 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %444, i32 0, i32 6
  %446 = load i32, ptr %445, align 4, !tbaa !15
  %447 = icmp ult i32 %446, 1051
  br i1 %447, label %448, label %476

448:                                              ; preds = %443
  call void @llvm.lifetime.start.p0(i64 32, ptr %14) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %14, ptr align 16 @__const.libxsmm_configure_kernel_vregs_masks.const_mask_array, i64 32, i1 false)
  %449 = load ptr, ptr %8, align 8, !tbaa !5
  %450 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %449, i32 0, i32 18
  %451 = load i32, ptr %450, align 4, !tbaa !11
  %452 = load ptr, ptr %8, align 8, !tbaa !5
  %453 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %452, i32 0, i32 86
  store i32 %451, ptr %453, align 4, !tbaa !34
  %454 = load ptr, ptr %8, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %454, i32 0, i32 18
  %456 = load i32, ptr %455, align 4, !tbaa !11
  %457 = add i32 %456, 1
  %458 = load ptr, ptr %8, align 8, !tbaa !5
  %459 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %458, i32 0, i32 18
  store i32 %457, ptr %459, align 4, !tbaa !11
  %460 = load ptr, ptr %7, align 8, !tbaa !5
  %461 = getelementptr inbounds [8 x i32], ptr %14, i64 0, i64 0
  %462 = load ptr, ptr %8, align 8, !tbaa !5
  %463 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %462, i32 0, i32 86
  %464 = load i32, ptr %463, align 4, !tbaa !34
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef %460, ptr noundef %461, ptr noundef @.str.1, i8 noundef signext 121, i32 noundef %464)
  %465 = load ptr, ptr %8, align 8, !tbaa !5
  %466 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %465, i32 0, i32 18
  %467 = load i32, ptr %466, align 4, !tbaa !11
  %468 = load ptr, ptr %8, align 8, !tbaa !5
  %469 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %468, i32 0, i32 59
  store i32 %467, ptr %469, align 4, !tbaa !35
  %470 = load ptr, ptr %8, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %470, i32 0, i32 18
  %472 = load i32, ptr %471, align 4, !tbaa !11
  %473 = add i32 %472, 1
  %474 = load ptr, ptr %8, align 8, !tbaa !5
  %475 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %474, i32 0, i32 18
  store i32 %473, ptr %475, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 32, ptr %14) #4
  br label %488

476:                                              ; preds = %443
  %477 = load ptr, ptr %8, align 8, !tbaa !5
  %478 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %477, i32 0, i32 19
  %479 = load i32, ptr %478, align 4, !tbaa !13
  %480 = load ptr, ptr %8, align 8, !tbaa !5
  %481 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %480, i32 0, i32 59
  store i32 %479, ptr %481, align 4, !tbaa !35
  %482 = load ptr, ptr %8, align 8, !tbaa !5
  %483 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %482, i32 0, i32 19
  %484 = load i32, ptr %483, align 4, !tbaa !13
  %485 = add i32 %484, 1
  %486 = load ptr, ptr %8, align 8, !tbaa !5
  %487 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %486, i32 0, i32 19
  store i32 %485, ptr %487, align 4, !tbaa !13
  br label %488

488:                                              ; preds = %476, %448
  br label %489

489:                                              ; preds = %488, %437
  %490 = load ptr, ptr %9, align 8, !tbaa !5
  %491 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %490, i32 0, i32 10
  %492 = load i16, ptr %491, align 1, !tbaa !30
  %493 = zext i16 %492 to i32
  %494 = icmp eq i32 %493, 5
  br i1 %494, label %495, label %507

495:                                              ; preds = %489
  %496 = load ptr, ptr %8, align 8, !tbaa !5
  %497 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %496, i32 0, i32 18
  %498 = load i32, ptr %497, align 4, !tbaa !11
  %499 = load ptr, ptr %8, align 8, !tbaa !5
  %500 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %499, i32 0, i32 30
  store i32 %498, ptr %500, align 4, !tbaa !33
  %501 = load ptr, ptr %8, align 8, !tbaa !5
  %502 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %501, i32 0, i32 18
  %503 = load i32, ptr %502, align 4, !tbaa !11
  %504 = add i32 %503, 1
  %505 = load ptr, ptr %8, align 8, !tbaa !5
  %506 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %505, i32 0, i32 18
  store i32 %504, ptr %506, align 4, !tbaa !11
  br label %507

507:                                              ; preds = %495, %489
  %508 = load ptr, ptr %9, align 8, !tbaa !5
  %509 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %508, i32 0, i32 11
  %510 = load i8, ptr %509, align 1, !tbaa !29
  %511 = zext i8 %510 to i32
  %512 = icmp eq i32 %511, 2
  br i1 %512, label %513, label %520

513:                                              ; preds = %507
  %514 = load ptr, ptr %9, align 8, !tbaa !5
  %515 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %514, i32 0, i32 9
  %516 = load i16, ptr %515, align 1, !tbaa !31
  %517 = zext i16 %516 to i32
  %518 = and i32 %517, 64
  %519 = icmp sgt i32 %518, 0
  br i1 %519, label %533, label %520

520:                                              ; preds = %513, %507
  %521 = load ptr, ptr %9, align 8, !tbaa !5
  %522 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %521, i32 0, i32 11
  %523 = load i8, ptr %522, align 1, !tbaa !29
  %524 = zext i8 %523 to i32
  %525 = icmp eq i32 %524, 3
  br i1 %525, label %526, label %603

526:                                              ; preds = %520
  %527 = load ptr, ptr %9, align 8, !tbaa !5
  %528 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %527, i32 0, i32 9
  %529 = load i16, ptr %528, align 1, !tbaa !31
  %530 = zext i16 %529 to i32
  %531 = and i32 %530, 2048
  %532 = icmp sgt i32 %531, 0
  br i1 %532, label %533, label %603

533:                                              ; preds = %526, %513
  %534 = load ptr, ptr %7, align 8, !tbaa !5
  %535 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %534, i32 0, i32 6
  %536 = load i32, ptr %535, align 4, !tbaa !15
  %537 = icmp uge i32 %536, 1005
  br i1 %537, label %538, label %602

538:                                              ; preds = %533
  %539 = load ptr, ptr %7, align 8, !tbaa !5
  %540 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %539, i32 0, i32 6
  %541 = load i32, ptr %540, align 4, !tbaa !15
  %542 = icmp ult i32 %541, 1999
  br i1 %542, label %543, label %602

543:                                              ; preds = %538
  call void @llvm.lifetime.start.p0(i64 1, ptr %15) #4
  %544 = load ptr, ptr %7, align 8, !tbaa !5
  %545 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %544, i32 0, i32 6
  %546 = load i32, ptr %545, align 4, !tbaa !15
  %547 = icmp ult i32 %546, 1101
  %548 = zext i1 %547 to i64
  %549 = select i1 %547, i32 121, i32 122
  %550 = trunc i32 %549 to i8
  store i8 %550, ptr %15, align 1, !tbaa !36
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %551 = load ptr, ptr %8, align 8, !tbaa !5
  %552 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %551, i32 0, i32 18
  %553 = load i32, ptr %552, align 4, !tbaa !11
  store i32 %553, ptr %16, align 4, !tbaa !9
  %554 = load i32, ptr %16, align 4, !tbaa !9
  %555 = add i32 %554, 7
  store i32 %555, ptr %16, align 4, !tbaa !9
  %556 = load i32, ptr %16, align 4, !tbaa !9
  %557 = sub i32 %556, 1
  %558 = load ptr, ptr %8, align 8, !tbaa !5
  %559 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %558, i32 0, i32 103
  store i32 %557, ptr %559, align 4, !tbaa !37
  %560 = load i32, ptr %16, align 4, !tbaa !9
  %561 = sub i32 %560, 2
  %562 = load ptr, ptr %8, align 8, !tbaa !5
  %563 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %562, i32 0, i32 104
  store i32 %561, ptr %563, align 4, !tbaa !38
  %564 = load i32, ptr %16, align 4, !tbaa !9
  %565 = sub i32 %564, 3
  %566 = load ptr, ptr %8, align 8, !tbaa !5
  %567 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %566, i32 0, i32 105
  store i32 %565, ptr %567, align 4, !tbaa !39
  %568 = load i32, ptr %16, align 4, !tbaa !9
  %569 = sub i32 %568, 4
  %570 = load ptr, ptr %8, align 8, !tbaa !5
  %571 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %570, i32 0, i32 106
  store i32 %569, ptr %571, align 4, !tbaa !40
  %572 = load i32, ptr %16, align 4, !tbaa !9
  %573 = sub i32 %572, 5
  %574 = load ptr, ptr %8, align 8, !tbaa !5
  %575 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %574, i32 0, i32 115
  store i32 %573, ptr %575, align 4, !tbaa !41
  %576 = load i32, ptr %16, align 4, !tbaa !9
  %577 = sub i32 %576, 6
  %578 = load ptr, ptr %8, align 8, !tbaa !5
  %579 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %578, i32 0, i32 116
  store i32 %577, ptr %579, align 4, !tbaa !42
  %580 = load i32, ptr %16, align 4, !tbaa !9
  %581 = sub i32 %580, 7
  %582 = load ptr, ptr %8, align 8, !tbaa !5
  %583 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %582, i32 0, i32 117
  store i32 %581, ptr %583, align 4, !tbaa !43
  %584 = load ptr, ptr %7, align 8, !tbaa !5
  %585 = load i8, ptr %15, align 1, !tbaa !36
  %586 = load i32, ptr %11, align 4, !tbaa !9
  %587 = load ptr, ptr %8, align 8, !tbaa !5
  %588 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %587, i32 0, i32 103
  %589 = load i32, ptr %588, align 4, !tbaa !37
  %590 = load ptr, ptr %8, align 8, !tbaa !5
  %591 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %590, i32 0, i32 104
  %592 = load i32, ptr %591, align 4, !tbaa !38
  %593 = load ptr, ptr %8, align 8, !tbaa !5
  %594 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %593, i32 0, i32 105
  %595 = load i32, ptr %594, align 4, !tbaa !39
  %596 = load ptr, ptr %8, align 8, !tbaa !5
  %597 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %596, i32 0, i32 106
  %598 = load i32, ptr %597, align 4, !tbaa !40
  call void @libxsmm_generator_load_prng_state_avx_avx512(ptr noundef %584, i8 noundef zeroext %585, i32 noundef %586, i32 noundef %589, i32 noundef %592, i32 noundef %595, i32 noundef %598)
  %599 = load i32, ptr %16, align 4, !tbaa !9
  %600 = load ptr, ptr %8, align 8, !tbaa !5
  %601 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %600, i32 0, i32 18
  store i32 %599, ptr %601, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %15) #4
  br label %602

602:                                              ; preds = %543, %538, %533
  br label %603

603:                                              ; preds = %602, %526, %520
  br label %604

604:                                              ; preds = %603, %398
  ret void
}

declare void @libxsmm_generator_vcvtneps2bf16_avx512_prep_stack(ptr noundef, i32 noundef) #1

declare void @libxsmm_generator_vcvtneps2bf8_avx512_prep_stack(ptr noundef, i32 noundef) #1

declare void @libxsmm_generator_vcvt_hf8_tofrom_f32_avx512_prep_stack(ptr noundef, i32 noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 72}
!12 = !{!"libxsmm_mateltwise_kernel_config_struct", !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, !10, 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, !10, i64 364, !10, i64 368, !10, i64 372, !10, i64 376, !10, i64 380, !10, i64 384, !10, i64 388, !10, i64 392, !10, i64 396, !10, i64 400, !10, i64 404, !10, i64 408, !10, i64 412, !10, i64 416, !10, i64 420, !10, i64 424, !10, i64 428, !10, i64 432, !10, i64 436, !10, i64 440, !10, i64 444, !10, i64 448, !10, i64 452, !10, i64 456, !10, i64 460, !10, i64 464, !10, i64 468, !10, i64 472, !10, i64 476, !10, i64 480, !10, i64 484, !10, i64 488, !10, i64 492, !10, i64 496, !10, i64 500, !10, i64 504, !10, i64 508, !7, i64 512}
!13 = !{!12, !10, i64 76}
!14 = !{!12, !10, i64 80}
!15 = !{!16, !10, i64 28}
!16 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!17 = !{!12, !10, i64 84}
!18 = !{!12, !10, i64 88}
!19 = !{!12, !10, i64 96}
!20 = !{!12, !10, i64 100}
!21 = !{!12, !10, i64 104}
!22 = !{!12, !10, i64 108}
!23 = !{!12, !10, i64 92}
!24 = !{!25, !10, i64 0}
!25 = !{!"libxsmm_meltw_descriptor", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !7, i64 24, !7, i64 25, !7, i64 26, !26, i64 27, !26, i64 29, !7, i64 31}
!26 = !{!"short", !7, i64 0}
!27 = !{!12, !10, i64 480}
!28 = !{!12, !10, i64 112}
!29 = !{!25, !7, i64 31}
!30 = !{!25, !26, i64 29}
!31 = !{!25, !26, i64 27}
!32 = !{!12, !10, i64 116}
!33 = !{!12, !10, i64 120}
!34 = !{!12, !10, i64 344}
!35 = !{!12, !10, i64 236}
!36 = !{!7, !7, i64 0}
!37 = !{!12, !10, i64 412}
!38 = !{!12, !10, i64 416}
!39 = !{!12, !10, i64 420}
!40 = !{!12, !10, i64 424}
!41 = !{!12, !10, i64 460}
!42 = !{!12, !10, i64 464}
!43 = !{!12, !10, i64 468}


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

@.str.1 = external hidden unnamed_addr constant [17 x i8], align 1
@__const.libxsmm_configure_kernel_vregs_masks.const_mask_array = external hidden unnamed_addr constant [8 x i32], align 16

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

declare i32 @libxsmm_generator_mateltwise_is_binary_cmp_op(ptr noundef) local_unnamed_addr #1

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

declare i32 @libxsmm_meltw_getenum_precision(ptr noundef, i32 noundef) local_unnamed_addr #1

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

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

declare void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef, ptr noundef, ptr noundef, i8 noundef signext, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_generator_load_prng_state_avx_avx512(ptr noundef, i8 noundef zeroext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_configure_kernel_vregs_masks(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = alloca [8 x i32], align 16
  %8 = getelementptr inbounds i8, ptr %1, i64 72
  store i32 0, ptr %8, align 4, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %1, i64 76
  store i32 1, ptr %9, align 4, !tbaa !10
  %10 = getelementptr inbounds i8, ptr %1, i64 80
  store i32 0, ptr %10, align 4, !tbaa !11
  %11 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 4) #4
  %12 = icmp eq i32 %11, 1
  br i1 %12, label %16, label %13

13:                                               ; preds = %6
  %14 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 0) #4
  %15 = icmp eq i32 %14, 1
  br i1 %15, label %16, label %34

16:                                               ; preds = %13, %6
  %17 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 3) #4
  %18 = icmp eq i32 %17, 2
  br i1 %18, label %19, label %34

19:                                               ; preds = %16
  %20 = getelementptr inbounds i8, ptr %0, i64 28
  %21 = load i32, ptr %20, align 4, !tbaa !12
  %.fr = freeze i32 %21
  %22 = icmp ugt i32 %.fr, 1102
  br i1 %22, label %34, label %switch.early.test

switch.early.test:                                ; preds = %19
  switch i32 %.fr, label %23 [
    i32 1053, label %34
    i32 1008, label %34
  ]

23:                                               ; preds = %switch.early.test
  store i32 1, ptr %10, align 4, !tbaa !11
  tail call void @libxsmm_generator_vcvtneps2bf16_avx512_prep_stack(ptr noundef nonnull %0, i32 noundef %3) #4
  %24 = load i32, ptr %9, align 4, !tbaa !10
  %25 = getelementptr inbounds i8, ptr %1, i64 84
  store i32 %24, ptr %25, align 4, !tbaa !15
  %26 = add i32 %24, 1
  %27 = getelementptr inbounds i8, ptr %1, i64 88
  store i32 %26, ptr %27, align 4, !tbaa !16
  %28 = add i32 %24, 2
  store i32 %28, ptr %9, align 4, !tbaa !10
  %29 = load i32, ptr %8, align 4, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %1, i64 96
  store i32 %29, ptr %30, align 4, !tbaa !17
  %31 = add i32 %29, 1
  %32 = getelementptr inbounds i8, ptr %1, i64 100
  store i32 %31, ptr %32, align 4, !tbaa !18
  %33 = add i32 %29, 2
  store i32 %33, ptr %8, align 4, !tbaa !5
  br label %136

34:                                               ; preds = %switch.early.test, %switch.early.test, %19, %16, %13
  %35 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 4) #4
  %36 = icmp eq i32 %35, 1
  br i1 %36, label %40, label %37

37:                                               ; preds = %34
  %38 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 0) #4
  %39 = icmp eq i32 %38, 1
  br i1 %39, label %40, label %47

40:                                               ; preds = %37, %34
  %41 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 3) #4
  %42 = icmp eq i32 %41, 3
  br i1 %42, label %43, label %47

43:                                               ; preds = %40
  %44 = getelementptr inbounds i8, ptr %0, i64 28
  %45 = load i32, ptr %44, align 4, !tbaa !12
  %46 = add i32 %45, -1051
  %or.cond196 = icmp ult i32 %46, 949
  br i1 %or.cond196, label %136, label %47

47:                                               ; preds = %43, %40, %37
  %48 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 4) #4
  %49 = icmp eq i32 %48, 1
  br i1 %49, label %53, label %50

50:                                               ; preds = %47
  %51 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 0) #4
  %52 = icmp eq i32 %51, 1
  br i1 %52, label %53, label %71

53:                                               ; preds = %50, %47
  %54 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 3) #4
  %55 = icmp eq i32 %54, 4
  br i1 %55, label %56, label %71

56:                                               ; preds = %53
  %57 = getelementptr inbounds i8, ptr %0, i64 28
  %58 = load i32, ptr %57, align 4, !tbaa !12
  %59 = add i32 %58, -1051
  %or.cond197 = icmp ult i32 %59, 949
  br i1 %or.cond197, label %60, label %71

60:                                               ; preds = %56
  tail call void @libxsmm_generator_vcvtneps2bf8_avx512_prep_stack(ptr noundef nonnull %0, i32 noundef %3) #4
  %61 = load i32, ptr %9, align 4, !tbaa !10
  %62 = getelementptr inbounds i8, ptr %1, i64 84
  store i32 %61, ptr %62, align 4, !tbaa !15
  %63 = add i32 %61, 1
  %64 = getelementptr inbounds i8, ptr %1, i64 88
  store i32 %63, ptr %64, align 4, !tbaa !16
  %65 = add i32 %61, 2
  store i32 %65, ptr %9, align 4, !tbaa !10
  %66 = load i32, ptr %8, align 4, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %1, i64 96
  store i32 %66, ptr %67, align 4, !tbaa !17
  %68 = add i32 %66, 1
  %69 = getelementptr inbounds i8, ptr %1, i64 100
  store i32 %68, ptr %69, align 4, !tbaa !18
  %70 = add i32 %66, 2
  store i32 %70, ptr %8, align 4, !tbaa !5
  br label %136

71:                                               ; preds = %56, %53, %50
  %72 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 4) #4
  %73 = icmp eq i32 %72, 1
  br i1 %73, label %74, label %106

74:                                               ; preds = %71
  %75 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 0) #4
  %76 = icmp eq i32 %75, 5
  br i1 %76, label %80, label %77

77:                                               ; preds = %74
  %78 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 1) #4
  %79 = icmp eq i32 %78, 5
  br i1 %79, label %80, label %106

80:                                               ; preds = %77, %74
  %81 = getelementptr inbounds i8, ptr %0, i64 28
  %82 = load i32, ptr %81, align 4, !tbaa !12
  %83 = add i32 %82, -1051
  %or.cond198 = icmp ult i32 %83, 949
  br i1 %or.cond198, label %84, label %106

84:                                               ; preds = %80
  tail call void @libxsmm_generator_vcvt_hf8_tofrom_f32_avx512_prep_stack(ptr noundef nonnull %0, i32 noundef %3) #4
  %85 = load i32, ptr %9, align 4, !tbaa !10
  %86 = getelementptr inbounds i8, ptr %1, i64 84
  store i32 %85, ptr %86, align 4, !tbaa !15
  %87 = add i32 %85, 1
  %88 = getelementptr inbounds i8, ptr %1, i64 88
  store i32 %87, ptr %88, align 4, !tbaa !16
  %89 = add i32 %85, 2
  store i32 %89, ptr %9, align 4, !tbaa !10
  %90 = load i32, ptr %8, align 4, !tbaa !5
  %91 = getelementptr inbounds i8, ptr %1, i64 96
  store i32 %90, ptr %91, align 4, !tbaa !17
  %92 = add i32 %90, 1
  %93 = getelementptr inbounds i8, ptr %1, i64 100
  store i32 %92, ptr %93, align 4, !tbaa !18
  %94 = add i32 %90, 2
  store i32 %94, ptr %8, align 4, !tbaa !5
  %95 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 3) #4
  %96 = icmp eq i32 %95, 5
  br i1 %96, label %97, label %136

97:                                               ; preds = %84
  %98 = load i32, ptr %8, align 4, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %1, i64 104
  store i32 %98, ptr %99, align 4, !tbaa !19
  %100 = add i32 %98, 1
  %101 = getelementptr inbounds i8, ptr %1, i64 108
  store i32 %100, ptr %101, align 4, !tbaa !20
  %102 = add i32 %98, 2
  store i32 %102, ptr %8, align 4, !tbaa !5
  %103 = load i32, ptr %9, align 4, !tbaa !10
  %104 = getelementptr inbounds i8, ptr %1, i64 92
  store i32 %103, ptr %104, align 4, !tbaa !21
  %105 = add i32 %103, 1
  store i32 %105, ptr %9, align 4, !tbaa !10
  br label %136

106:                                              ; preds = %80, %77, %71
  %107 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 4) #4
  %108 = icmp eq i32 %107, 1
  br i1 %108, label %112, label %109

109:                                              ; preds = %106
  %110 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 0) #4
  %111 = icmp eq i32 %110, 1
  br i1 %111, label %112, label %136

112:                                              ; preds = %109, %106
  %113 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %2, i32 noundef 3) #4
  %114 = icmp eq i32 %113, 5
  br i1 %114, label %115, label %136

115:                                              ; preds = %112
  %116 = getelementptr inbounds i8, ptr %0, i64 28
  %117 = load i32, ptr %116, align 4, !tbaa !12
  %118 = add i32 %117, -1051
  %or.cond199 = icmp ult i32 %118, 949
  br i1 %or.cond199, label %119, label %136

119:                                              ; preds = %115
  tail call void @libxsmm_generator_vcvt_hf8_tofrom_f32_avx512_prep_stack(ptr noundef nonnull %0, i32 noundef %3) #4
  %120 = load i32, ptr %9, align 4, !tbaa !10
  %121 = getelementptr inbounds i8, ptr %1, i64 84
  store i32 %120, ptr %121, align 4, !tbaa !15
  %122 = getelementptr inbounds i8, ptr %1, i64 88
  %123 = insertelement <2 x i32> poison, i32 %120, i64 0
  %124 = shufflevector <2 x i32> %123, <2 x i32> poison, <2 x i32> zeroinitializer
  %125 = add <2 x i32> %124, <i32 1, i32 2>
  store <2 x i32> %125, ptr %122, align 4, !tbaa !22
  %126 = add i32 %120, 3
  store i32 %126, ptr %9, align 4, !tbaa !10
  %127 = load i32, ptr %8, align 4, !tbaa !5
  %128 = getelementptr inbounds i8, ptr %1, i64 96
  store i32 %127, ptr %128, align 4, !tbaa !17
  %129 = getelementptr inbounds i8, ptr %1, i64 100
  %130 = insertelement <2 x i32> poison, i32 %127, i64 0
  %131 = shufflevector <2 x i32> %130, <2 x i32> poison, <2 x i32> zeroinitializer
  %132 = add <2 x i32> %131, <i32 1, i32 2>
  store <2 x i32> %132, ptr %129, align 4, !tbaa !22
  %133 = add i32 %127, 3
  %134 = getelementptr inbounds i8, ptr %1, i64 108
  store i32 %133, ptr %134, align 4, !tbaa !20
  %135 = add i32 %127, 4
  store i32 %135, ptr %8, align 4, !tbaa !5
  br label %136

136:                                              ; preds = %43, %97, %84, %119, %115, %112, %109, %60, %23
  %137 = getelementptr inbounds i8, ptr %0, i64 28
  %138 = load i32, ptr %137, align 4, !tbaa !12
  %139 = icmp ult i32 %138, 1051
  br i1 %139, label %140, label %149

140:                                              ; preds = %136
  %141 = load i32, ptr %2, align 1, !tbaa !23
  %142 = getelementptr inbounds i8, ptr %1, i64 480
  %143 = load i32, ptr %142, align 4, !tbaa !26
  %144 = urem i32 %141, %143
  %.not191 = icmp eq i32 %144, 0
  br i1 %.not191, label %149, label %145

145:                                              ; preds = %140
  %146 = load i32, ptr %8, align 4, !tbaa !5
  %147 = getelementptr inbounds i8, ptr %1, i64 112
  store i32 %146, ptr %147, align 4, !tbaa !27
  %148 = add i32 %146, 1
  store i32 %148, ptr %8, align 4, !tbaa !5
  br label %149

149:                                              ; preds = %145, %140, %136
  %150 = getelementptr inbounds i8, ptr %2, i64 31
  %151 = load i8, ptr %150, align 1, !tbaa !28
  %152 = icmp eq i8 %151, 1
  br i1 %152, label %153, label %161

153:                                              ; preds = %149
  %154 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef nonnull %2, i32 noundef 4) #4
  %155 = getelementptr inbounds i8, ptr %2, i64 29
  %156 = load i16, ptr %155, align 1, !tbaa !29
  %157 = zext i16 %156 to i32
  %158 = getelementptr inbounds i8, ptr %2, i64 27
  %159 = load i16, ptr %158, align 1, !tbaa !30
  %160 = zext i16 %159 to i32
  tail call void @libxsmm_configure_unary_kernel_vregs_masks(ptr noundef nonnull %0, ptr noundef nonnull %1, i32 noundef %154, i32 noundef %157, i32 noundef %160, i32 noundef %3, i32 noundef %4, i32 noundef %5)
  %.pre = load i8, ptr %150, align 1, !tbaa !28
  br label %161

161:                                              ; preds = %153, %149
  %162 = phi i8 [ %.pre, %153 ], [ %151, %149 ]
  %163 = and i8 %162, -2
  %switch = icmp eq i8 %163, 2
  br i1 %switch, label %164, label %.thread

164:                                              ; preds = %161
  %165 = load i32, ptr %8, align 4, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %1, i64 116
  store i32 %165, ptr %166, align 4, !tbaa !31
  %167 = add i32 %165, 1
  store i32 %167, ptr %8, align 4, !tbaa !5
  %168 = tail call i32 @libxsmm_generator_mateltwise_is_binary_cmp_op(ptr noundef nonnull %2) #4
  %.not192 = icmp eq i32 %168, 0
  br i1 %.not192, label %176, label %169

169:                                              ; preds = %164
  %170 = load i32, ptr %137, align 4, !tbaa !12
  %171 = icmp ult i32 %170, 1051
  br i1 %171, label %172, label %176

172:                                              ; preds = %169
  %173 = load i32, ptr %8, align 4, !tbaa !5
  %174 = getelementptr inbounds i8, ptr %1, i64 120
  store i32 %173, ptr %174, align 4, !tbaa !32
  %175 = add i32 %173, 1
  store i32 %175, ptr %8, align 4, !tbaa !5
  br label %176

176:                                              ; preds = %169, %172, %164
  %177 = getelementptr inbounds i8, ptr %2, i64 29
  %178 = load i16, ptr %177, align 1, !tbaa !29
  %179 = icmp eq i16 %178, 3
  br i1 %179, label %180, label %193

180:                                              ; preds = %176
  %181 = load i32, ptr %137, align 4, !tbaa !12
  %182 = icmp ult i32 %181, 1051
  br i1 %182, label %183, label %189

183:                                              ; preds = %180
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %7) #4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(32) %7, ptr noundef nonnull align 16 dereferenceable(32) @__const.libxsmm_configure_kernel_vregs_masks.const_mask_array, i64 32, i1 false)
  %184 = load i32, ptr %8, align 4, !tbaa !5
  %185 = getelementptr inbounds i8, ptr %1, i64 344
  store i32 %184, ptr %185, align 4, !tbaa !33
  %186 = add i32 %184, 1
  store i32 %186, ptr %8, align 4, !tbaa !5
  call void @libxsmm_x86_instruction_full_vec_load_of_constants(ptr noundef nonnull %0, ptr noundef nonnull %7, ptr noundef nonnull @.str.1, i8 noundef signext 121, i32 noundef %184) #4
  %187 = load i32, ptr %8, align 4, !tbaa !5
  %188 = add i32 %187, 1
  store i32 %188, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %7) #4
  br label %thread-pre-split

189:                                              ; preds = %180
  %190 = load i32, ptr %9, align 4, !tbaa !10
  %191 = add i32 %190, 1
  store i32 %191, ptr %9, align 4, !tbaa !10
  br label %thread-pre-split

thread-pre-split:                                 ; preds = %189, %183
  %.sink = phi i32 [ %187, %183 ], [ %190, %189 ]
  %192 = getelementptr inbounds i8, ptr %1, i64 236
  store i32 %.sink, ptr %192, align 4
  %.pr = load i16, ptr %177, align 1, !tbaa !29
  br label %193

193:                                              ; preds = %thread-pre-split, %176
  %194 = phi i16 [ %.pr, %thread-pre-split ], [ %178, %176 ]
  %195 = icmp eq i16 %194, 5
  br i1 %195, label %196, label %200

196:                                              ; preds = %193
  %197 = load i32, ptr %8, align 4, !tbaa !5
  %198 = getelementptr inbounds i8, ptr %1, i64 120
  store i32 %197, ptr %198, align 4, !tbaa !32
  %199 = add i32 %197, 1
  store i32 %199, ptr %8, align 4, !tbaa !5
  br label %200

200:                                              ; preds = %196, %193
  %201 = load i8, ptr %150, align 1, !tbaa !28
  switch i8 %201, label %.thread [
    i8 2, label %202
    i8 3, label %206
  ]

202:                                              ; preds = %200
  %203 = getelementptr inbounds i8, ptr %2, i64 27
  %204 = load i16, ptr %203, align 1, !tbaa !30
  %205 = and i16 %204, 64
  %.not193 = icmp eq i16 %205, 0
  br i1 %.not193, label %.thread, label %210

206:                                              ; preds = %200
  %207 = getelementptr inbounds i8, ptr %2, i64 27
  %208 = load i16, ptr %207, align 1, !tbaa !30
  %209 = and i16 %208, 2048
  %.not194 = icmp eq i16 %209, 0
  br i1 %.not194, label %.thread, label %210

210:                                              ; preds = %206, %202
  %211 = load i32, ptr %137, align 4, !tbaa !12
  %212 = add i32 %211, -1005
  %or.cond200 = icmp ult i32 %212, 994
  br i1 %or.cond200, label %213, label %.thread

213:                                              ; preds = %210
  %214 = icmp ult i32 %211, 1101
  %215 = select i1 %214, i8 121, i8 122
  %216 = load i32, ptr %8, align 4, !tbaa !5
  %217 = add i32 %216, 7
  %218 = add i32 %216, 6
  %219 = getelementptr inbounds i8, ptr %1, i64 412
  store i32 %218, ptr %219, align 4, !tbaa !34
  %220 = add i32 %216, 5
  %221 = getelementptr inbounds i8, ptr %1, i64 416
  store i32 %220, ptr %221, align 4, !tbaa !35
  %222 = add i32 %216, 4
  %223 = getelementptr inbounds i8, ptr %1, i64 420
  store i32 %222, ptr %223, align 4, !tbaa !36
  %224 = add i32 %216, 3
  %225 = getelementptr inbounds i8, ptr %1, i64 424
  store i32 %224, ptr %225, align 4, !tbaa !37
  %226 = getelementptr inbounds i8, ptr %1, i64 460
  %227 = insertelement <2 x i32> poison, i32 %216, i64 0
  %228 = shufflevector <2 x i32> %227, <2 x i32> poison, <2 x i32> zeroinitializer
  %229 = add <2 x i32> %228, <i32 2, i32 1>
  store <2 x i32> %229, ptr %226, align 4, !tbaa !22
  %230 = getelementptr inbounds i8, ptr %1, i64 468
  store i32 %216, ptr %230, align 4, !tbaa !38
  call void @libxsmm_generator_load_prng_state_avx_avx512(ptr noundef nonnull %0, i8 noundef zeroext %215, i32 noundef %4, i32 noundef %218, i32 noundef %220, i32 noundef %222, i32 noundef %224) #4
  store i32 %217, ptr %8, align 4, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %200, %202, %161, %206, %213, %210
  ret void
}

declare void @libxsmm_generator_vcvtneps2bf16_avx512_prep_stack(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_generator_vcvtneps2bf8_avx512_prep_stack(ptr noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_generator_vcvt_hf8_tofrom_f32_avx512_prep_stack(ptr noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 72}
!6 = !{!"libxsmm_mateltwise_kernel_config_struct", !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, !7, 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, !7, i64 364, !7, i64 368, !7, i64 372, !7, i64 376, !7, i64 380, !7, i64 384, !7, i64 388, !7, i64 392, !7, i64 396, !7, i64 400, !7, i64 404, !7, i64 408, !7, i64 412, !7, i64 416, !7, i64 420, !7, i64 424, !7, i64 428, !7, i64 432, !7, i64 436, !7, i64 440, !7, i64 444, !7, i64 448, !7, i64 452, !7, i64 456, !7, i64 460, !7, i64 464, !7, i64 468, !7, i64 472, !7, i64 476, !7, i64 480, !7, i64 484, !7, i64 488, !7, i64 492, !7, i64 496, !7, i64 500, !7, i64 504, !7, i64 508, !8, i64 512}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!6, !7, i64 76}
!11 = !{!6, !7, i64 80}
!12 = !{!13, !7, i64 28}
!13 = !{!"libxsmm_generated_code", !14, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!6, !7, i64 84}
!16 = !{!6, !7, i64 88}
!17 = !{!6, !7, i64 96}
!18 = !{!6, !7, i64 100}
!19 = !{!6, !7, i64 104}
!20 = !{!6, !7, i64 108}
!21 = !{!6, !7, i64 92}
!22 = !{!7, !7, i64 0}
!23 = !{!24, !7, i64 0}
!24 = !{!"libxsmm_meltw_descriptor", !7, i64 0, !7, i64 4, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !8, i64 24, !8, i64 25, !8, i64 26, !25, i64 27, !25, i64 29, !8, i64 31}
!25 = !{!"short", !8, i64 0}
!26 = !{!6, !7, i64 480}
!27 = !{!6, !7, i64 112}
!28 = !{!24, !8, i64 31}
!29 = !{!24, !25, i64 29}
!30 = !{!24, !25, i64 27}
!31 = !{!6, !7, i64 116}
!32 = !{!6, !7, i64 120}
!33 = !{!6, !7, i64 344}
!34 = !{!6, !7, i64 412}
!35 = !{!6, !7, i64 416}
!36 = !{!6, !7, i64 420}
!37 = !{!6, !7, i64 424}
!38 = !{!6, !7, i64 468}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,MergedLoadStoreMotionPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass