; 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 }>
%struct.libxsmm_mateltwise_gp_reg_mapping_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 }

@.str = external hidden unnamed_addr constant [100 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@__func__.libxsmm_compute_unary_2d_reg_block_relu = external hidden unnamed_addr constant [40 x i8], align 1

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

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

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

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

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

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

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

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_compute_unary_2d_reg_block_relu(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) #2 {
  %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
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = 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
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  %32 = load i32, ptr %19, align 4, !tbaa !9
  %33 = load i32, ptr %20, align 4, !tbaa !9
  %34 = load i32, ptr %15, align 4, !tbaa !9
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %35

35:                                               ; preds = %502, %10
  %36 = load i32, ptr %22, align 4, !tbaa !9
  %37 = load i32, ptr %18, align 4, !tbaa !9
  %38 = icmp ult i32 %36, %37
  br i1 %38, label %39, label %505

39:                                               ; preds = %35
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %40

40:                                               ; preds = %498, %39
  %41 = load i32, ptr %21, align 4, !tbaa !9
  %42 = load i32, ptr %17, align 4, !tbaa !9
  %43 = icmp ult i32 %41, %42
  br i1 %43, label %44, label %501

44:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #3
  %45 = load ptr, ptr %14, align 8, !tbaa !5
  %46 = call i32 @libxsmm_meltw_getenum_precision(ptr noundef %45, i32 noundef 4)
  %47 = icmp eq i32 2, %46
  %48 = zext i1 %47 to i64
  %49 = select i1 %47, i32 1, i32 0
  store i32 %49, ptr %24, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #3
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %50, i32 0, i32 19
  %52 = load i32, ptr %51, align 4, !tbaa !11
  %53 = sub i32 8, %52
  store i32 %53, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  %54 = load ptr, ptr %13, 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 !11
  %57 = load i32, ptr %22, align 4, !tbaa !9
  %58 = load i32, ptr %17, align 4, !tbaa !9
  %59 = mul i32 %57, %58
  %60 = load i32, ptr %21, align 4, !tbaa !9
  %61 = add i32 %59, %60
  %62 = load i32, ptr %25, align 4, !tbaa !9
  %63 = urem i32 %61, %62
  %64 = add i32 %56, %63
  store i32 %64, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  %65 = load i32, ptr %24, align 4, !tbaa !9
  %66 = icmp ugt i32 %65, 0
  %67 = zext i1 %66 to i64
  %68 = select i1 %66, i32 -259180993, i32 806098626
  store i32 %68, ptr %27, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #3
  %69 = load i32, ptr %24, align 4, !tbaa !9
  %70 = icmp ugt i32 %69, 0
  %71 = zext i1 %70 to i64
  %72 = select i1 %70, i32 -259709338, i32 -268097948
  store i32 %72, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #3
  %73 = load i32, ptr %24, align 4, !tbaa !9
  %74 = icmp ugt i32 %73, 0
  %75 = zext i1 %74 to i64
  %76 = select i1 %74, i32 -1601891951, i32 -1610346095
  store i32 %76, ptr %29, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #3
  %77 = load i32, ptr %24, align 4, !tbaa !9
  %78 = icmp ugt i32 %77, 0
  %79 = zext i1 %78 to i64
  %80 = select i1 %78, i32 32, i32 16
  store i32 %80, ptr %30, align 4, !tbaa !9
  %81 = load i32, ptr %16, align 4, !tbaa !9
  %82 = load i32, ptr %22, align 4, !tbaa !9
  %83 = load i32, ptr %17, align 4, !tbaa !9
  %84 = mul i32 %82, %83
  %85 = add i32 %81, %84
  %86 = load i32, ptr %21, align 4, !tbaa !9
  %87 = add i32 %85, %86
  store i32 %87, ptr %23, align 4, !tbaa !9
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %88, i32 0, i32 6
  %90 = load i32, ptr %89, align 4, !tbaa !13
  %91 = icmp ult i32 %90, 1051
  br i1 %91, label %92, label %331

92:                                               ; preds = %44
  %93 = load i32, ptr %24, align 4, !tbaa !9
  %94 = icmp ne i32 %93, 0
  br i1 %94, label %95, label %104

95:                                               ; preds = %92
  %96 = load ptr, ptr %11, align 8, !tbaa !5
  %97 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %98 = icmp ult i32 1, %97
  br i1 %98, label %99, label %101

99:                                               ; preds = %95
  %100 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %102

101:                                              ; preds = %95
  br label %102

102:                                              ; preds = %101, %99
  %103 = phi i32 [ %100, %99 ], [ 1, %101 ]
  call void @libxsmm_handle_error(ptr noundef %96, i32 noundef 90006, ptr noundef @__func__.libxsmm_compute_unary_2d_reg_block_relu, ptr noundef @.str, i32 noundef 1618, i32 noundef %103)
  store i32 1, ptr %31, align 4
  br label %495

104:                                              ; preds = %92
  %105 = load i32, ptr %30, align 4, !tbaa !9
  %106 = udiv i32 %105, 2
  store i32 %106, ptr %30, align 4, !tbaa !9
  %107 = load ptr, ptr %13, align 8, !tbaa !5
  %108 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %107, i32 0, i32 29
  %109 = load i32, ptr %108, align 4, !tbaa !15
  store i32 %109, ptr %26, align 4, !tbaa !9
  %110 = load ptr, ptr %14, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %110, i32 0, i32 10
  %112 = load i16, ptr %111, align 1, !tbaa !16
  %113 = zext i16 %112 to i32
  %114 = icmp eq i32 %113, 34
  br i1 %114, label %115, label %185

115:                                              ; preds = %104
  %116 = load ptr, ptr %11, align 8, !tbaa !5
  %117 = load ptr, ptr %13, align 8, !tbaa !5
  %118 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %117, i32 0, i32 128
  %119 = load i8, ptr %118, align 4, !tbaa !19
  %120 = load ptr, ptr %13, align 8, !tbaa !5
  %121 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %120, i32 0, i32 32
  %122 = load i32, ptr %121, align 4, !tbaa !20
  %123 = load i32, ptr %23, align 4, !tbaa !9
  %124 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %116, i32 noundef 806098626, i8 noundef signext %119, i32 noundef %122, i32 noundef %123, i32 noundef %124, i32 noundef 6)
  %125 = load ptr, ptr %14, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %125, i32 0, i32 9
  %127 = load i16, ptr %126, align 1, !tbaa !21
  %128 = zext i16 %127 to i32
  %129 = and i32 %128, 1
  %130 = icmp sgt i32 %129, 0
  br i1 %130, label %131, label %165

131:                                              ; preds = %115
  %132 = load ptr, ptr %11, align 8, !tbaa !5
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %133, i32 0, i32 35
  %135 = load i32, ptr %134, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %132, i32 noundef %135)
  %136 = load ptr, ptr %11, align 8, !tbaa !5
  %137 = load ptr, ptr %13, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %137, i32 0, i32 128
  %139 = load i8, ptr %138, align 4, !tbaa !19
  %140 = load i32, ptr %26, align 4, !tbaa !9
  %141 = load ptr, ptr %12, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %141, i32 0, i32 35
  %143 = load i32, ptr %142, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %136, i32 noundef 1610879056, i8 noundef signext %139, i32 noundef %140, i32 noundef 255, i32 noundef %143, i32 noundef 0)
  %144 = load ptr, ptr %11, align 8, !tbaa !5
  %145 = load ptr, ptr %12, align 8, !tbaa !5
  %146 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %145, i32 0, i32 9
  %147 = load i32, ptr %146, align 4, !tbaa !24
  %148 = load i32, ptr %21, align 4, !tbaa !9
  %149 = load i32, ptr %30, align 4, !tbaa !9
  %150 = mul i32 %148, %149
  %151 = load i32, ptr %22, align 4, !tbaa !9
  %152 = load ptr, ptr %13, align 8, !tbaa !5
  %153 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %152, i32 0, i32 17
  %154 = load i32, ptr %153, align 4, !tbaa !25
  %155 = mul i32 %151, %154
  %156 = add i32 %150, %155
  %157 = udiv i32 %156, 8
  %158 = load ptr, ptr %12, align 8, !tbaa !5
  %159 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %158, i32 0, i32 35
  %160 = load i32, ptr %159, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %144, i32 noundef -1610350454, i32 noundef %147, i32 noundef 127, i32 noundef 0, i32 noundef %157, i32 noundef %160, i32 noundef 1)
  %161 = load ptr, ptr %11, align 8, !tbaa !5
  %162 = load ptr, ptr %12, align 8, !tbaa !5
  %163 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %162, i32 0, i32 35
  %164 = load i32, ptr %163, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %161, i32 noundef %164)
  br label %165

165:                                              ; preds = %131, %115
  %166 = load ptr, ptr %11, align 8, !tbaa !5
  %167 = load ptr, ptr %13, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %167, i32 0, i32 128
  %169 = load i8, ptr %168, align 4, !tbaa !19
  %170 = load i32, ptr %23, align 4, !tbaa !9
  %171 = load ptr, ptr %13, align 8, !tbaa !5
  %172 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %171, i32 0, i32 102
  %173 = load i32, ptr %172, align 4, !tbaa !26
  %174 = load ptr, ptr %13, align 8, !tbaa !5
  %175 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %174, i32 0, i32 30
  %176 = load i32, ptr %175, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %166, i32 noundef 805574233, i8 noundef signext %169, i32 noundef %170, i32 noundef %173, i32 noundef %176)
  %177 = load ptr, ptr %11, align 8, !tbaa !5
  %178 = load i32, ptr %23, align 4, !tbaa !9
  %179 = load ptr, ptr %13, align 8, !tbaa !5
  %180 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %179, i32 0, i32 30
  %181 = load i32, ptr %180, align 4, !tbaa !27
  %182 = load i32, ptr %23, align 4, !tbaa !9
  %183 = load i32, ptr %26, align 4, !tbaa !9
  %184 = shl i32 %183, 4
  call void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef %177, i32 noundef 1879912522, i8 noundef signext 121, i32 noundef %178, i32 noundef %181, i32 noundef %182, i32 noundef 0, i32 noundef 0, i8 noundef zeroext 0, i32 noundef %184)
  br label %330

185:                                              ; preds = %104
  %186 = load ptr, ptr %14, align 8, !tbaa !5
  %187 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %186, i32 0, i32 10
  %188 = load i16, ptr %187, align 1, !tbaa !16
  %189 = zext i16 %188 to i32
  %190 = icmp eq i32 %189, 5
  br i1 %190, label %191, label %251

191:                                              ; preds = %185
  %192 = load ptr, ptr %14, align 8, !tbaa !5
  %193 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %192, i32 0, i32 9
  %194 = load i16, ptr %193, align 1, !tbaa !21
  %195 = zext i16 %194 to i32
  %196 = and i32 %195, 1
  %197 = icmp sgt i32 %196, 0
  br i1 %197, label %198, label %241

198:                                              ; preds = %191
  %199 = load ptr, ptr %11, align 8, !tbaa !5
  %200 = load ptr, ptr %12, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %200, i32 0, i32 35
  %202 = load i32, ptr %201, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_push_reg(ptr noundef %199, i32 noundef %202)
  %203 = load ptr, ptr %11, align 8, !tbaa !5
  %204 = load ptr, ptr %13, align 8, !tbaa !5
  %205 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %204, i32 0, i32 128
  %206 = load i8, ptr %205, align 4, !tbaa !19
  %207 = load ptr, ptr %13, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %207, i32 0, i32 32
  %209 = load i32, ptr %208, align 4, !tbaa !20
  %210 = load i32, ptr %23, align 4, !tbaa !9
  %211 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %203, i32 noundef 806098626, i8 noundef signext %206, i32 noundef %209, i32 noundef %210, i32 noundef %211, i32 noundef 6)
  %212 = load ptr, ptr %11, align 8, !tbaa !5
  %213 = load ptr, ptr %13, align 8, !tbaa !5
  %214 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %213, i32 0, i32 128
  %215 = load i8, ptr %214, align 4, !tbaa !19
  %216 = load i32, ptr %26, align 4, !tbaa !9
  %217 = load ptr, ptr %12, align 8, !tbaa !5
  %218 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %217, i32 0, i32 35
  %219 = load i32, ptr %218, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %212, i32 noundef 1610879056, i8 noundef signext %215, i32 noundef %216, i32 noundef 255, i32 noundef %219, i32 noundef 0)
  %220 = load ptr, ptr %11, align 8, !tbaa !5
  %221 = load ptr, ptr %12, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %221, i32 0, i32 9
  %223 = load i32, ptr %222, align 4, !tbaa !24
  %224 = load i32, ptr %21, align 4, !tbaa !9
  %225 = load i32, ptr %30, align 4, !tbaa !9
  %226 = mul i32 %224, %225
  %227 = load i32, ptr %22, align 4, !tbaa !9
  %228 = load ptr, ptr %13, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %228, i32 0, i32 17
  %230 = load i32, ptr %229, align 4, !tbaa !25
  %231 = mul i32 %227, %230
  %232 = add i32 %226, %231
  %233 = udiv i32 %232, 8
  %234 = load ptr, ptr %12, align 8, !tbaa !5
  %235 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %234, i32 0, i32 35
  %236 = load i32, ptr %235, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_alu_mem(ptr noundef %220, i32 noundef -1610350454, i32 noundef %223, i32 noundef 127, i32 noundef 0, i32 noundef %233, i32 noundef %236, i32 noundef 1)
  %237 = load ptr, ptr %11, align 8, !tbaa !5
  %238 = load ptr, ptr %12, align 8, !tbaa !5
  %239 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %238, i32 0, i32 35
  %240 = load i32, ptr %239, align 4, !tbaa !22
  call void @libxsmm_x86_instruction_pop_reg(ptr noundef %237, i32 noundef %240)
  br label %241

241:                                              ; preds = %198, %191
  %242 = load ptr, ptr %11, align 8, !tbaa !5
  %243 = load ptr, ptr %13, align 8, !tbaa !5
  %244 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %243, i32 0, i32 128
  %245 = load i8, ptr %244, align 4, !tbaa !19
  %246 = load i32, ptr %23, align 4, !tbaa !9
  %247 = load ptr, ptr %13, align 8, !tbaa !5
  %248 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %247, i32 0, i32 32
  %249 = load i32, ptr %248, align 4, !tbaa !20
  %250 = load i32, ptr %23, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %242, i32 noundef 805574239, i8 noundef signext %245, i32 noundef %246, i32 noundef %249, i32 noundef %250)
  br label %329

251:                                              ; preds = %185
  %252 = load ptr, ptr %14, align 8, !tbaa !5
  %253 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %252, i32 0, i32 10
  %254 = load i16, ptr %253, align 1, !tbaa !16
  %255 = zext i16 %254 to i32
  %256 = icmp eq i32 %255, 36
  br i1 %256, label %257, label %327

257:                                              ; preds = %251
  %258 = load ptr, ptr %11, align 8, !tbaa !5
  %259 = load i32, ptr %23, align 4, !tbaa !9
  %260 = load ptr, ptr %13, align 8, !tbaa !5
  %261 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %260, i32 0, i32 30
  %262 = load i32, ptr %261, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %258, i32 noundef 537138704, i8 noundef signext 121, i32 noundef %259, i32 noundef %262)
  %263 = load ptr, ptr %11, align 8, !tbaa !5
  %264 = load ptr, ptr %13, align 8, !tbaa !5
  %265 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %264, i32 0, i32 30
  %266 = load i32, ptr %265, align 4, !tbaa !27
  %267 = load ptr, ptr %13, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %267, i32 0, i32 29
  %269 = load i32, ptr %268, align 4, !tbaa !15
  %270 = load ptr, ptr %13, align 8, !tbaa !5
  %271 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %270, i32 0, i32 31
  %272 = load i32, ptr %271, align 4, !tbaa !28
  %273 = load ptr, ptr %13, align 8, !tbaa !5
  %274 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %273, i32 0, i32 36
  %275 = load i32, ptr %274, align 4, !tbaa !29
  %276 = load ptr, ptr %13, align 8, !tbaa !5
  %277 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %276, i32 0, i32 40
  %278 = load i32, ptr %277, align 4, !tbaa !30
  %279 = load ptr, ptr %13, align 8, !tbaa !5
  %280 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %279, i32 0, i32 44
  %281 = load i32, ptr %280, align 4, !tbaa !31
  %282 = load ptr, ptr %13, align 8, !tbaa !5
  %283 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %282, i32 0, i32 51
  %284 = load i32, ptr %283, align 4, !tbaa !32
  %285 = load ptr, ptr %13, align 8, !tbaa !5
  %286 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %285, i32 0, i32 56
  %287 = load i32, ptr %286, align 4, !tbaa !33
  %288 = load ptr, ptr %13, align 8, !tbaa !5
  %289 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %288, i32 0, i32 60
  %290 = load i32, ptr %289, align 4, !tbaa !34
  %291 = load ptr, ptr %13, align 8, !tbaa !5
  %292 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %291, i32 0, i32 66
  %293 = load i32, ptr %292, align 4, !tbaa !35
  %294 = load ptr, ptr %13, align 8, !tbaa !5
  %295 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %294, i32 0, i32 52
  %296 = load i32, ptr %295, align 4, !tbaa !36
  %297 = load ptr, ptr %13, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %297, i32 0, i32 53
  %299 = load i32, ptr %298, align 4, !tbaa !37
  call void @libxsmm_generator_exp_ps_3dts_avx(ptr noundef %263, i32 noundef %266, i32 noundef %269, i32 noundef %272, i32 noundef %275, i32 noundef %278, i32 noundef %281, i32 noundef %284, i32 noundef %287, i32 noundef %290, i32 noundef %293, i32 noundef %296, i32 noundef %299)
  %300 = load ptr, ptr %11, align 8, !tbaa !5
  %301 = load ptr, ptr %13, align 8, !tbaa !5
  %302 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %301, i32 0, i32 128
  %303 = load i8, ptr %302, align 4, !tbaa !19
  %304 = load ptr, ptr %13, align 8, !tbaa !5
  %305 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %304, i32 0, i32 32
  %306 = load i32, ptr %305, align 4, !tbaa !20
  %307 = load i32, ptr %23, align 4, !tbaa !9
  %308 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %300, i32 noundef 806098626, i8 noundef signext %303, i32 noundef %306, i32 noundef %307, i32 noundef %308, i32 noundef 6)
  %309 = load ptr, ptr %11, align 8, !tbaa !5
  %310 = load ptr, ptr %13, align 8, !tbaa !5
  %311 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %310, i32 0, i32 102
  %312 = load i32, ptr %311, align 4, !tbaa !26
  %313 = load ptr, ptr %13, align 8, !tbaa !5
  %314 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %313, i32 0, i32 102
  %315 = load i32, ptr %314, align 4, !tbaa !26
  %316 = load ptr, ptr %13, align 8, !tbaa !5
  %317 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %316, i32 0, i32 30
  %318 = load i32, ptr %317, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %309, i32 noundef 805643946, i8 noundef signext 121, i32 noundef %312, i32 noundef %315, i32 noundef %318)
  %319 = load ptr, ptr %11, align 8, !tbaa !5
  %320 = load i32, ptr %23, align 4, !tbaa !9
  %321 = load ptr, ptr %13, align 8, !tbaa !5
  %322 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %321, i32 0, i32 30
  %323 = load i32, ptr %322, align 4, !tbaa !27
  %324 = load i32, ptr %23, align 4, !tbaa !9
  %325 = load i32, ptr %26, align 4, !tbaa !9
  %326 = shl i32 %325, 4
  call void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef %319, i32 noundef 1879912522, i8 noundef signext 121, i32 noundef %320, i32 noundef %323, i32 noundef %324, i32 noundef 0, i32 noundef 0, i8 noundef zeroext 0, i32 noundef %326)
  br label %328

327:                                              ; preds = %251
  br label %328

328:                                              ; preds = %327, %257
  br label %329

329:                                              ; preds = %328, %241
  br label %330

330:                                              ; preds = %329, %165
  br label %494

331:                                              ; preds = %44
  %332 = load ptr, ptr %11, align 8, !tbaa !5
  %333 = load i32, ptr %27, align 4, !tbaa !9
  %334 = load ptr, ptr %13, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %334, i32 0, i32 128
  %336 = load i8, ptr %335, align 4, !tbaa !19
  %337 = load ptr, ptr %13, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %337, i32 0, i32 32
  %339 = load i32, ptr %338, align 4, !tbaa !20
  %340 = load i32, ptr %23, align 4, !tbaa !9
  %341 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef %332, i32 noundef %333, i8 noundef signext %336, i32 noundef %339, i32 noundef %340, i32 noundef %341, i32 noundef 6)
  %342 = load ptr, ptr %11, align 8, !tbaa !5
  %343 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %342, i32 0, i32 6
  %344 = load i32, ptr %343, align 4, !tbaa !13
  %345 = icmp ule i32 %344, 1053
  br i1 %345, label %346, label %349

346:                                              ; preds = %331
  %347 = load i32, ptr %30, align 4, !tbaa !9
  %348 = udiv i32 %347, 2
  br label %351

349:                                              ; preds = %331
  %350 = load i32, ptr %30, align 4, !tbaa !9
  br label %351

351:                                              ; preds = %349, %346
  %352 = phi i32 [ %348, %346 ], [ %350, %349 ]
  store i32 %352, ptr %30, align 4, !tbaa !9
  %353 = load ptr, ptr %14, align 8, !tbaa !5
  %354 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %353, i32 0, i32 9
  %355 = load i16, ptr %354, align 1, !tbaa !21
  %356 = zext i16 %355 to i32
  %357 = and i32 %356, 1
  %358 = icmp sgt i32 %357, 0
  br i1 %358, label %359, label %382

359:                                              ; preds = %351
  %360 = load ptr, ptr %14, align 8, !tbaa !5
  %361 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %360, i32 0, i32 10
  %362 = load i16, ptr %361, align 1, !tbaa !16
  %363 = zext i16 %362 to i32
  %364 = icmp ne i32 %363, 36
  br i1 %364, label %365, label %382

365:                                              ; preds = %359
  %366 = load ptr, ptr %11, align 8, !tbaa !5
  %367 = load i32, ptr %29, align 4, !tbaa !9
  %368 = load ptr, ptr %12, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.libxsmm_mateltwise_gp_reg_mapping_struct, ptr %368, i32 0, i32 9
  %370 = load i32, ptr %369, align 4, !tbaa !24
  %371 = load i32, ptr %21, align 4, !tbaa !9
  %372 = load i32, ptr %30, align 4, !tbaa !9
  %373 = mul i32 %371, %372
  %374 = load i32, ptr %22, align 4, !tbaa !9
  %375 = load ptr, ptr %13, align 8, !tbaa !5
  %376 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %375, i32 0, i32 17
  %377 = load i32, ptr %376, align 4, !tbaa !25
  %378 = mul i32 %374, %377
  %379 = add i32 %373, %378
  %380 = udiv i32 %379, 8
  %381 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_move_mem(ptr noundef %366, i32 noundef %367, i32 noundef %370, i32 noundef 127, i32 noundef 0, i32 noundef %380, i32 noundef %381)
  br label %382

382:                                              ; preds = %365, %359, %351
  %383 = load ptr, ptr %14, align 8, !tbaa !5
  %384 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %383, i32 0, i32 10
  %385 = load i16, ptr %384, align 1, !tbaa !16
  %386 = zext i16 %385 to i32
  %387 = icmp eq i32 %386, 34
  br i1 %387, label %388, label %402

388:                                              ; preds = %382
  %389 = load ptr, ptr %11, align 8, !tbaa !5
  %390 = load i32, ptr %26, align 4, !tbaa !9
  %391 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_mask_compute_reg(ptr noundef %389, i32 noundef -1601892028, i32 noundef %390, i32 noundef 255, i32 noundef %391, i32 noundef 1024)
  %392 = load ptr, ptr %11, align 8, !tbaa !5
  %393 = load ptr, ptr %13, align 8, !tbaa !5
  %394 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %393, i32 0, i32 128
  %395 = load i8, ptr %394, align 4, !tbaa !19
  %396 = load i32, ptr %23, align 4, !tbaa !9
  %397 = load ptr, ptr %13, align 8, !tbaa !5
  %398 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %397, i32 0, i32 102
  %399 = load i32, ptr %398, align 4, !tbaa !26
  %400 = load i32, ptr %23, align 4, !tbaa !9
  %401 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_mask(ptr noundef %392, i32 noundef 805574233, i8 noundef signext %395, i32 noundef %396, i32 noundef %399, i32 noundef %400, i32 noundef %401, i32 noundef 0)
  br label %493

402:                                              ; preds = %382
  %403 = load ptr, ptr %14, align 8, !tbaa !5
  %404 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %403, i32 0, i32 10
  %405 = load i16, ptr %404, align 1, !tbaa !16
  %406 = zext i16 %405 to i32
  %407 = icmp eq i32 %406, 5
  br i1 %407, label %408, label %420

408:                                              ; preds = %402
  %409 = load ptr, ptr %11, align 8, !tbaa !5
  %410 = load i32, ptr %28, align 4, !tbaa !9
  %411 = load ptr, ptr %13, align 8, !tbaa !5
  %412 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %411, i32 0, i32 128
  %413 = load i8, ptr %412, align 4, !tbaa !19
  %414 = load i32, ptr %23, align 4, !tbaa !9
  %415 = load ptr, ptr %13, align 8, !tbaa !5
  %416 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %415, i32 0, i32 32
  %417 = load i32, ptr %416, align 4, !tbaa !20
  %418 = load i32, ptr %23, align 4, !tbaa !9
  %419 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_mask(ptr noundef %409, i32 noundef %410, i8 noundef signext %413, i32 noundef %414, i32 noundef %417, i32 noundef %418, i32 noundef %419, i32 noundef 0)
  br label %492

420:                                              ; preds = %402
  %421 = load ptr, ptr %14, align 8, !tbaa !5
  %422 = getelementptr inbounds %struct.libxsmm_meltw_descriptor, ptr %421, i32 0, i32 10
  %423 = load i16, ptr %422, align 1, !tbaa !16
  %424 = zext i16 %423 to i32
  %425 = icmp eq i32 %424, 36
  br i1 %425, label %426, label %490

426:                                              ; preds = %420
  %427 = load ptr, ptr %11, align 8, !tbaa !5
  %428 = load ptr, ptr %13, align 8, !tbaa !5
  %429 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %428, i32 0, i32 128
  %430 = load i8, ptr %429, align 4, !tbaa !19
  %431 = load i32, ptr %23, align 4, !tbaa !9
  %432 = load ptr, ptr %13, align 8, !tbaa !5
  %433 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %432, i32 0, i32 30
  %434 = load i32, ptr %433, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef %427, i32 noundef 537138704, i8 noundef signext %430, i32 noundef %431, i32 noundef %434)
  %435 = load ptr, ptr %11, align 8, !tbaa !5
  %436 = load ptr, ptr %13, align 8, !tbaa !5
  %437 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %436, i32 0, i32 30
  %438 = load i32, ptr %437, align 4, !tbaa !27
  %439 = load ptr, ptr %13, align 8, !tbaa !5
  %440 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %439, i32 0, i32 29
  %441 = load i32, ptr %440, align 4, !tbaa !15
  %442 = load ptr, ptr %13, align 8, !tbaa !5
  %443 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %442, i32 0, i32 31
  %444 = load i32, ptr %443, align 4, !tbaa !28
  %445 = load ptr, ptr %13, align 8, !tbaa !5
  %446 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %445, i32 0, i32 36
  %447 = load i32, ptr %446, align 4, !tbaa !29
  %448 = load ptr, ptr %13, align 8, !tbaa !5
  %449 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %448, i32 0, i32 40
  %450 = load i32, ptr %449, align 4, !tbaa !30
  %451 = load ptr, ptr %13, align 8, !tbaa !5
  %452 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %451, i32 0, i32 44
  %453 = load i32, ptr %452, align 4, !tbaa !31
  %454 = load ptr, ptr %13, align 8, !tbaa !5
  %455 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %454, i32 0, i32 51
  %456 = load i32, ptr %455, align 4, !tbaa !32
  %457 = load ptr, ptr %13, align 8, !tbaa !5
  %458 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %457, i32 0, i32 56
  %459 = load i32, ptr %458, align 4, !tbaa !33
  %460 = load ptr, ptr %13, align 8, !tbaa !5
  %461 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %460, i32 0, i32 60
  %462 = load i32, ptr %461, align 4, !tbaa !34
  %463 = load ptr, ptr %13, align 8, !tbaa !5
  %464 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %463, i32 0, i32 128
  %465 = load i8, ptr %464, align 4, !tbaa !19
  call void @libxsmm_generator_exp_ps_3dts_avx512(ptr noundef %435, i32 noundef %438, i32 noundef %441, i32 noundef %444, i32 noundef %447, i32 noundef %450, i32 noundef %453, i32 noundef %456, i32 noundef %459, i32 noundef %462, i8 noundef zeroext %465)
  %466 = load ptr, ptr %11, align 8, !tbaa !5
  %467 = load ptr, ptr %13, align 8, !tbaa !5
  %468 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %467, i32 0, i32 128
  %469 = load i8, ptr %468, align 4, !tbaa !19
  %470 = load ptr, ptr %13, align 8, !tbaa !5
  %471 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %470, i32 0, i32 102
  %472 = load i32, ptr %471, align 4, !tbaa !26
  %473 = load ptr, ptr %13, align 8, !tbaa !5
  %474 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %473, i32 0, i32 102
  %475 = load i32, ptr %474, align 4, !tbaa !26
  %476 = load ptr, ptr %13, align 8, !tbaa !5
  %477 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %476, i32 0, i32 30
  %478 = load i32, ptr %477, align 4, !tbaa !27
  call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef %466, i32 noundef 805643946, i8 noundef signext %469, i32 noundef %472, i32 noundef %475, i32 noundef %478)
  %479 = load ptr, ptr %11, align 8, !tbaa !5
  %480 = load i32, ptr %28, align 4, !tbaa !9
  %481 = load ptr, ptr %13, align 8, !tbaa !5
  %482 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %481, i32 0, i32 128
  %483 = load i8, ptr %482, align 4, !tbaa !19
  %484 = load i32, ptr %23, align 4, !tbaa !9
  %485 = load ptr, ptr %13, align 8, !tbaa !5
  %486 = getelementptr inbounds %struct.libxsmm_mateltwise_kernel_config_struct, ptr %485, i32 0, i32 30
  %487 = load i32, ptr %486, align 4, !tbaa !27
  %488 = load i32, ptr %23, align 4, !tbaa !9
  %489 = load i32, ptr %26, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_compute_3reg_mask(ptr noundef %479, i32 noundef %480, i8 noundef signext %483, i32 noundef %484, i32 noundef %487, i32 noundef %488, i32 noundef %489, i32 noundef 0)
  br label %491

490:                                              ; preds = %420
  br label %491

491:                                              ; preds = %490, %426
  br label %492

492:                                              ; preds = %491, %408
  br label %493

493:                                              ; preds = %492, %388
  br label %494

494:                                              ; preds = %493, %330
  store i32 0, ptr %31, align 4
  br label %495

495:                                              ; preds = %494, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #3
  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
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #3
  %496 = load i32, ptr %31, align 4
  switch i32 %496, label %506 [
    i32 0, label %497
  ]

497:                                              ; preds = %495
  br label %498

498:                                              ; preds = %497
  %499 = load i32, ptr %21, align 4, !tbaa !9
  %500 = add i32 %499, 1
  store i32 %500, ptr %21, align 4, !tbaa !9
  br label %40, !llvm.loop !38

501:                                              ; preds = %40
  br label %502

502:                                              ; preds = %501
  %503 = load i32, ptr %22, align 4, !tbaa !9
  %504 = add i32 %503, 1
  store i32 %504, ptr %22, align 4, !tbaa !9
  br label %35, !llvm.loop !40

505:                                              ; preds = %35
  store i32 0, ptr %31, align 4
  br label %506

506:                                              ; preds = %505, %495
  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
  %507 = load i32, ptr %31, align 4
  switch i32 %507, label %509 [
    i32 0, label %508
    i32 1, label %508
  ]

508:                                              ; preds = %506, %506
  ret void

509:                                              ; preds = %506
  unreachable
}

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

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

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

declare void @libxsmm_x86_instruction_vec_compute_3reg_mask(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 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 = { 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 76}
!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 = !{!14, !10, i64 28}
!14 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!15 = !{!12, !10, i64 116}
!16 = !{!17, !18, i64 29}
!17 = !{!"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, !18, i64 27, !18, i64 29, !7, i64 31}
!18 = !{!"short", !7, i64 0}
!19 = !{!12, !7, i64 512}
!20 = !{!12, !10, i64 128}
!21 = !{!17, !18, i64 27}
!22 = !{!23, !10, i64 140}
!23 = !{!"libxsmm_mateltwise_gp_reg_mapping_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}
!24 = !{!23, !10, i64 36}
!25 = !{!12, !10, i64 68}
!26 = !{!12, !10, i64 408}
!27 = !{!12, !10, i64 120}
!28 = !{!12, !10, i64 124}
!29 = !{!12, !10, i64 144}
!30 = !{!12, !10, i64 160}
!31 = !{!12, !10, i64 176}
!32 = !{!12, !10, i64 204}
!33 = !{!12, !10, i64 224}
!34 = !{!12, !10, i64 240}
!35 = !{!12, !10, i64 264}
!36 = !{!12, !10, i64 208}
!37 = !{!12, !10, i64 212}
!38 = distinct !{!38, !39}
!39 = !{!"llvm.loop.mustprogress"}
!40 = distinct !{!40, !39}


; 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 = external hidden unnamed_addr constant [100 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@__func__.libxsmm_compute_unary_2d_reg_block_relu = external hidden unnamed_addr constant [40 x i8], align 1

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

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

declare void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 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_alu_mem(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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

declare void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef, i32 noundef, i8 noundef signext, 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_exp_ps_3dts_avx(ptr noundef, i32 noundef, i32 noundef, 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_generator_exp_ps_3dts_avx512(ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_compute_unary_2d_reg_block_relu(ptr noundef %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9) local_unnamed_addr #1 {
  %.not = icmp eq i32 %7, 0
  br i1 %.not, label %.loopexit, label %.preheader.lr.ph

.preheader.lr.ph:                                 ; preds = %10
  %.not195 = icmp eq i32 %6, 0
  %11 = getelementptr inbounds i8, ptr %2, i64 76
  %12 = getelementptr inbounds i8, ptr %0, i64 28
  %13 = getelementptr inbounds i8, ptr %2, i64 512
  %14 = getelementptr inbounds i8, ptr %2, i64 128
  %15 = getelementptr inbounds i8, ptr %3, i64 27
  %16 = getelementptr inbounds i8, ptr %3, i64 29
  %17 = getelementptr inbounds i8, ptr %1, i64 36
  %18 = getelementptr inbounds i8, ptr %2, i64 68
  %19 = getelementptr inbounds i8, ptr %2, i64 120
  %20 = getelementptr inbounds i8, ptr %2, i64 116
  %21 = getelementptr inbounds i8, ptr %2, i64 124
  %22 = getelementptr inbounds i8, ptr %2, i64 144
  %23 = getelementptr inbounds i8, ptr %2, i64 160
  %24 = getelementptr inbounds i8, ptr %2, i64 176
  %25 = getelementptr inbounds i8, ptr %2, i64 204
  %26 = getelementptr inbounds i8, ptr %2, i64 224
  %27 = getelementptr inbounds i8, ptr %2, i64 240
  %28 = getelementptr inbounds i8, ptr %2, i64 408
  %29 = getelementptr inbounds i8, ptr %2, i64 264
  %30 = getelementptr inbounds i8, ptr %2, i64 208
  %31 = getelementptr inbounds i8, ptr %2, i64 212
  %32 = getelementptr inbounds i8, ptr %1, i64 140
  br i1 %.not195, label %.loopexit, label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.lr.ph, %._crit_edge.us
  %.0185194.us = phi i32 [ %161, %._crit_edge.us ], [ 0, %.preheader.lr.ph ]
  %33 = mul i32 %.0185194.us, %6
  %34 = add i32 %33, %5
  br label %35

35:                                               ; preds = %.preheader.us, %159
  %.0184192.us = phi i32 [ 0, %.preheader.us ], [ %160, %159 ]
  %36 = tail call i32 @libxsmm_meltw_getenum_precision(ptr noundef %3, i32 noundef 4) #2
  %37 = icmp eq i32 %36, 2
  %38 = load i32, ptr %11, align 4, !tbaa !5
  %39 = sub i32 8, %38
  %40 = add i32 %.0184192.us, %33
  %41 = urem i32 %40, %39
  %42 = add i32 %41, %38
  %43 = select i1 %37, i32 -259709338, i32 -268097948
  %44 = select i1 %37, i32 -1601891951, i32 -1610346095
  %45 = add i32 %34, %.0184192.us
  %46 = load i32, ptr %12, align 4, !tbaa !10
  %47 = icmp ult i32 %46, 1051
  br i1 %47, label %92, label %48

48:                                               ; preds = %35
  %49 = select i1 %37, i32 32, i32 16
  %50 = select i1 %37, i32 -259180993, i32 806098626
  %51 = load i8, ptr %13, align 4, !tbaa !13
  %52 = load i32, ptr %14, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef %50, i8 noundef signext %51, i32 noundef %52, i32 noundef %45, i32 noundef %42, i32 noundef 6) #2
  %53 = load i32, ptr %12, align 4, !tbaa !10
  %54 = icmp ult i32 %53, 1054
  %55 = zext i1 %54 to i32
  %56 = lshr exact i32 %49, %55
  %57 = load i16, ptr %15, align 1, !tbaa !15
  %58 = and i16 %57, 1
  %.not.us = icmp eq i16 %58, 0
  %.pre198 = load i16, ptr %16, align 1, !tbaa !18
  br i1 %.not.us, label %67, label %59

59:                                               ; preds = %48
  %.not189.us = icmp eq i16 %.pre198, 36
  br i1 %.not189.us, label %.thread, label %60

60:                                               ; preds = %59
  %61 = load i32, ptr %17, align 4, !tbaa !19
  %62 = mul i32 %56, %.0184192.us
  %63 = load i32, ptr %18, align 4, !tbaa !21
  %64 = mul i32 %63, %.0185194.us
  %65 = add i32 %64, %62
  %66 = lshr i32 %65, 3
  tail call void @libxsmm_x86_instruction_mask_move_mem(ptr noundef nonnull %0, i32 noundef %44, i32 noundef %61, i32 noundef 127, i32 noundef 0, i32 noundef %66, i32 noundef %42) #2
  %.pre = load i16, ptr %16, align 1, !tbaa !18
  br label %67

67:                                               ; preds = %60, %48
  %68 = phi i16 [ %.pre, %60 ], [ %.pre198, %48 ]
  switch i16 %68, label %159 [
    i16 34, label %89
    i16 5, label %86
    i16 36, label %.thread
  ]

.thread:                                          ; preds = %59, %67
  %69 = load i8, ptr %13, align 4, !tbaa !13
  %70 = load i32, ptr %19, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef nonnull %0, i32 noundef 537138704, i8 noundef signext %69, i32 noundef %45, i32 noundef %70) #2
  %71 = load i32, ptr %19, align 4, !tbaa !22
  %72 = load i32, ptr %20, align 4, !tbaa !23
  %73 = load i32, ptr %21, align 4, !tbaa !24
  %74 = load i32, ptr %22, align 4, !tbaa !25
  %75 = load i32, ptr %23, align 4, !tbaa !26
  %76 = load i32, ptr %24, align 4, !tbaa !27
  %77 = load i32, ptr %25, align 4, !tbaa !28
  %78 = load i32, ptr %26, align 4, !tbaa !29
  %79 = load i32, ptr %27, align 4, !tbaa !30
  %80 = load i8, ptr %13, align 4, !tbaa !13
  tail call void @libxsmm_generator_exp_ps_3dts_avx512(ptr noundef nonnull %0, i32 noundef %71, i32 noundef %72, i32 noundef %73, i32 noundef %74, i32 noundef %75, i32 noundef %76, i32 noundef %77, i32 noundef %78, i32 noundef %79, i8 noundef zeroext %80) #2
  %81 = load i8, ptr %13, align 4, !tbaa !13
  %82 = load i32, ptr %28, align 4, !tbaa !31
  %83 = load i32, ptr %19, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805643946, i8 noundef signext %81, i32 noundef %82, i32 noundef %82, i32 noundef %83) #2
  %84 = load i8, ptr %13, align 4, !tbaa !13
  %85 = load i32, ptr %19, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_mask(ptr noundef nonnull %0, i32 noundef %43, i8 noundef signext %84, i32 noundef %45, i32 noundef %85, i32 noundef %45, i32 noundef %42, i32 noundef 0) #2
  br label %159

86:                                               ; preds = %67
  %87 = load i8, ptr %13, align 4, !tbaa !13
  %88 = load i32, ptr %14, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_mask(ptr noundef nonnull %0, i32 noundef %43, i8 noundef signext %87, i32 noundef %45, i32 noundef %88, i32 noundef %45, i32 noundef %42, i32 noundef 0) #2
  br label %159

89:                                               ; preds = %67
  tail call void @libxsmm_x86_instruction_mask_compute_reg(ptr noundef nonnull %0, i32 noundef -1601892028, i32 noundef %42, i32 noundef 255, i32 noundef %42, i32 noundef 1024) #2
  %90 = load i8, ptr %13, align 4, !tbaa !13
  %91 = load i32, ptr %28, align 4, !tbaa !31
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_mask(ptr noundef nonnull %0, i32 noundef 805574233, i8 noundef signext %90, i32 noundef %45, i32 noundef %91, i32 noundef %45, i32 noundef %42, i32 noundef 0) #2
  br label %159

92:                                               ; preds = %35
  br i1 %37, label %.critedge, label %93

93:                                               ; preds = %92
  %94 = load i32, ptr %20, align 4, !tbaa !23
  %95 = load i16, ptr %16, align 1, !tbaa !18
  switch i16 %95, label %159 [
    i16 34, label %136
    i16 5, label %116
    i16 36, label %96
  ]

96:                                               ; preds = %93
  %97 = load i32, ptr %19, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_vec_compute_2reg(ptr noundef nonnull %0, i32 noundef 537138704, i8 noundef signext 121, i32 noundef %45, i32 noundef %97) #2
  %98 = load i32, ptr %19, align 4, !tbaa !22
  %99 = load i32, ptr %20, align 4, !tbaa !23
  %100 = load i32, ptr %21, align 4, !tbaa !24
  %101 = load i32, ptr %22, align 4, !tbaa !25
  %102 = load i32, ptr %23, align 4, !tbaa !26
  %103 = load i32, ptr %24, align 4, !tbaa !27
  %104 = load i32, ptr %25, align 4, !tbaa !28
  %105 = load i32, ptr %26, align 4, !tbaa !29
  %106 = load i32, ptr %27, align 4, !tbaa !30
  %107 = load i32, ptr %29, align 4, !tbaa !32
  %108 = load i32, ptr %30, align 4, !tbaa !33
  %109 = load i32, ptr %31, align 4, !tbaa !34
  tail call void @libxsmm_generator_exp_ps_3dts_avx(ptr noundef nonnull %0, i32 noundef %98, i32 noundef %99, i32 noundef %100, i32 noundef %101, i32 noundef %102, i32 noundef %103, i32 noundef %104, i32 noundef %105, i32 noundef %106, i32 noundef %107, i32 noundef %108, i32 noundef %109) #2
  %110 = load i8, ptr %13, align 4, !tbaa !13
  %111 = load i32, ptr %14, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef 806098626, i8 noundef signext %110, i32 noundef %111, i32 noundef %45, i32 noundef %94, i32 noundef 6) #2
  %112 = load i32, ptr %28, align 4, !tbaa !31
  %113 = load i32, ptr %19, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805643946, i8 noundef signext 121, i32 noundef %112, i32 noundef %112, i32 noundef %113) #2
  %114 = load i32, ptr %19, align 4, !tbaa !22
  %115 = shl i32 %94, 4
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef nonnull %0, i32 noundef 1879912522, i8 noundef signext 121, i32 noundef %45, i32 noundef %114, i32 noundef %45, i32 noundef 0, i32 noundef 0, i8 noundef zeroext 0, i32 noundef %115) #2
  br label %159

116:                                              ; preds = %93
  %117 = load i16, ptr %15, align 1, !tbaa !15
  %118 = and i16 %117, 1
  %.not190.us = icmp eq i16 %118, 0
  br i1 %.not190.us, label %133, label %119

119:                                              ; preds = %116
  %120 = load i32, ptr %32, align 4, !tbaa !35
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef nonnull %0, i32 noundef %120) #2
  %121 = load i8, ptr %13, align 4, !tbaa !13
  %122 = load i32, ptr %14, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef 806098626, i8 noundef signext %121, i32 noundef %122, i32 noundef %45, i32 noundef %94, i32 noundef 6) #2
  %123 = load i8, ptr %13, align 4, !tbaa !13
  %124 = load i32, ptr %32, align 4, !tbaa !35
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef 1610879056, i8 noundef signext %123, i32 noundef %94, i32 noundef 255, i32 noundef %124, i32 noundef 0) #2
  %125 = load i32, ptr %17, align 4, !tbaa !19
  %126 = load i32, ptr %18, align 4, !tbaa !21
  %127 = mul i32 %126, %.0185194.us
  %128 = lshr i32 %127, 3
  %129 = add i32 %128, %.0184192.us
  %130 = and i32 %129, 536870911
  %131 = load i32, ptr %32, align 4, !tbaa !35
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef -1610350454, i32 noundef %125, i32 noundef 127, i32 noundef 0, i32 noundef %130, i32 noundef %131, i32 noundef 1) #2
  %132 = load i32, ptr %32, align 4, !tbaa !35
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef nonnull %0, i32 noundef %132) #2
  br label %133

133:                                              ; preds = %119, %116
  %134 = load i8, ptr %13, align 4, !tbaa !13
  %135 = load i32, ptr %14, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805574239, i8 noundef signext %134, i32 noundef %45, i32 noundef %135, i32 noundef %45) #2
  br label %159

136:                                              ; preds = %93
  %137 = load i8, ptr %13, align 4, !tbaa !13
  %138 = load i32, ptr %14, align 4, !tbaa !14
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef 806098626, i8 noundef signext %137, i32 noundef %138, i32 noundef %45, i32 noundef %94, i32 noundef 6) #2
  %139 = load i16, ptr %15, align 1, !tbaa !15
  %140 = and i16 %139, 1
  %.not191.us = icmp eq i16 %140, 0
  br i1 %.not191.us, label %153, label %141

141:                                              ; preds = %136
  %142 = load i32, ptr %32, align 4, !tbaa !35
  tail call void @libxsmm_x86_instruction_push_reg(ptr noundef nonnull %0, i32 noundef %142) #2
  %143 = load i8, ptr %13, align 4, !tbaa !13
  %144 = load i32, ptr %32, align 4, !tbaa !35
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_imm8(ptr noundef nonnull %0, i32 noundef 1610879056, i8 noundef signext %143, i32 noundef %94, i32 noundef 255, i32 noundef %144, i32 noundef 0) #2
  %145 = load i32, ptr %17, align 4, !tbaa !19
  %146 = load i32, ptr %18, align 4, !tbaa !21
  %147 = mul i32 %146, %.0185194.us
  %148 = lshr i32 %147, 3
  %149 = add i32 %148, %.0184192.us
  %150 = and i32 %149, 536870911
  %151 = load i32, ptr %32, align 4, !tbaa !35
  tail call void @libxsmm_x86_instruction_alu_mem(ptr noundef nonnull %0, i32 noundef -1610350454, i32 noundef %145, i32 noundef 127, i32 noundef 0, i32 noundef %150, i32 noundef %151, i32 noundef 1) #2
  %152 = load i32, ptr %32, align 4, !tbaa !35
  tail call void @libxsmm_x86_instruction_pop_reg(ptr noundef nonnull %0, i32 noundef %152) #2
  br label %153

153:                                              ; preds = %141, %136
  %154 = load i8, ptr %13, align 4, !tbaa !13
  %155 = load i32, ptr %28, align 4, !tbaa !31
  %156 = load i32, ptr %19, align 4, !tbaa !22
  tail call void @libxsmm_x86_instruction_vec_compute_3reg(ptr noundef nonnull %0, i32 noundef 805574233, i8 noundef signext %154, i32 noundef %45, i32 noundef %155, i32 noundef %156) #2
  %157 = load i32, ptr %19, align 4, !tbaa !22
  %158 = shl i32 %94, 4
  tail call void @libxsmm_x86_instruction_vec_compute_3reg_mask_sae_imm8(ptr noundef nonnull %0, i32 noundef 1879912522, i8 noundef signext 121, i32 noundef %45, i32 noundef %157, i32 noundef %45, i32 noundef 0, i32 noundef 0, i8 noundef zeroext 0, i32 noundef %158) #2
  br label %159

159:                                              ; preds = %153, %133, %96, %93, %89, %86, %.thread, %67
  %160 = add nuw i32 %.0184192.us, 1
  %exitcond.not = icmp eq i32 %160, %6
  br i1 %exitcond.not, label %._crit_edge.us, label %35, !llvm.loop !36

._crit_edge.us:                                   ; preds = %159
  %161 = add nuw i32 %.0185194.us, 1
  %exitcond197.not = icmp eq i32 %161, %7
  br i1 %exitcond197.not, label %.loopexit, label %.preheader.us, !llvm.loop !38

.critedge:                                        ; preds = %92
  %162 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !39
  %163 = icmp ugt i32 %162, 1
  %164 = load i32, ptr @libxsmm_verbosity, align 4
  %165 = select i1 %163, i32 %164, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90006, ptr noundef nonnull @__func__.libxsmm_compute_unary_2d_reg_block_relu, ptr noundef nonnull @.str, i32 noundef 1618, i32 noundef %165) #2
  br label %.loopexit

.loopexit:                                        ; preds = %._crit_edge.us, %.preheader.lr.ph, %10, %.critedge
  ret void
}

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

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

declare void @libxsmm_x86_instruction_mask_compute_reg(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(ptr noundef, i32 noundef, i8 noundef signext, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

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 76}
!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 = !{!11, !7, i64 28}
!11 = !{!"libxsmm_generated_code", !12, i64 0, !7, i64 8, !7, i64 12, !7, i64 16, !7, i64 20, !7, i64 24, !7, i64 28}
!12 = !{!"any pointer", !8, i64 0}
!13 = !{!6, !8, i64 512}
!14 = !{!6, !7, i64 128}
!15 = !{!16, !17, i64 27}
!16 = !{!"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, !17, i64 27, !17, i64 29, !8, i64 31}
!17 = !{!"short", !8, i64 0}
!18 = !{!16, !17, i64 29}
!19 = !{!20, !7, i64 36}
!20 = !{!"libxsmm_mateltwise_gp_reg_mapping_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}
!21 = !{!6, !7, i64 68}
!22 = !{!6, !7, i64 120}
!23 = !{!6, !7, i64 116}
!24 = !{!6, !7, i64 124}
!25 = !{!6, !7, i64 144}
!26 = !{!6, !7, i64 160}
!27 = !{!6, !7, i64 176}
!28 = !{!6, !7, i64 204}
!29 = !{!6, !7, i64 224}
!30 = !{!6, !7, i64 240}
!31 = !{!6, !7, i64 408}
!32 = !{!6, !7, i64 264}
!33 = !{!6, !7, i64 208}
!34 = !{!6, !7, i64 212}
!35 = !{!20, !7, i64 140}
!36 = distinct !{!36, !37}
!37 = !{!"llvm.loop.mustprogress"}
!38 = distinct !{!38, !37}
!39 = !{!7, !7, i64 0}


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