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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.libxsmm_micro_kernel_config = type { i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i8, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], [4 x i32], i32, [2 x %struct.libxsmm_blocking_info_t], %struct.libxsmm_tile_config, i32, i32, i32, i32, i32, i32, i32, i32, ptr, i32, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 }
%struct.libxsmm_blocking_info_t = type { i32, [4 x i32], i32, i32 }
%struct.libxsmm_tile_config = type { i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8, i16, i8 }
%struct.libxsmm_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }

; 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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_apply_sigmoid_to_vreg_from_scratch(ptr noundef %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #1 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i8, align 1
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  store i32 %4, ptr %10, align 4, !tbaa !9
  %12 = load ptr, ptr %6, align 8, !tbaa !5
  %13 = load ptr, ptr %7, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %13, i32 0, i32 0
  %15 = load i32, ptr %14, align 8, !tbaa !11
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %16, i32 0, i32 6
  %18 = load i32, ptr %17, align 4, !tbaa !15
  %19 = icmp uge i32 %18, 1005
  %20 = zext i1 %19 to i64
  %21 = select i1 %19, i32 537138704, i32 -1610346480
  %22 = load i32, ptr %8, align 4, !tbaa !9
  %23 = load i32, ptr %9, align 4, !tbaa !9
  %24 = mul i32 %23, 64
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %25, i32 0, i32 21
  %27 = load i8, ptr %26, align 4, !tbaa !17
  %28 = load i32, ptr %10, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vec_move(ptr noundef %12, i32 noundef %15, i32 noundef %21, i32 noundef %22, i32 noundef 127, i32 noundef 0, i32 noundef %24, i8 noundef signext %27, i32 noundef %28, i32 noundef 0, i32 noundef 1, i32 noundef 0)
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %29, i32 0, i32 6
  %31 = load i32, ptr %30, align 4, !tbaa !15
  %32 = icmp uge i32 %31, 1051
  br i1 %32, label %33, label %95

33:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 1, ptr %11) #3
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %34, i32 0, i32 6
  %36 = load i32, ptr %35, align 4, !tbaa !15
  %37 = icmp ult i32 %36, 1101
  %38 = zext i1 %37 to i64
  %39 = select i1 %37, i32 121, i32 122
  %40 = trunc i32 %39 to i8
  store i8 %40, ptr %11, align 1, !tbaa !18
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %43, i32 0, i32 50
  %45 = load i32, ptr %44, align 8, !tbaa !19
  %46 = load ptr, ptr %7, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %46, i32 0, i32 51
  %48 = load i32, ptr %47, align 4, !tbaa !20
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %49, i32 0, i32 52
  %51 = load i32, ptr %50, align 8, !tbaa !21
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %52, i32 0, i32 65
  %54 = load i32, ptr %53, align 4, !tbaa !22
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %55, i32 0, i32 66
  %57 = load i32, ptr %56, align 8, !tbaa !23
  %58 = load ptr, ptr %7, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %58, i32 0, i32 53
  %60 = load i32, ptr %59, align 4, !tbaa !24
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %61, i32 0, i32 54
  %63 = load i32, ptr %62, align 8, !tbaa !25
  %64 = load ptr, ptr %7, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %64, i32 0, i32 55
  %66 = load i32, ptr %65, align 4, !tbaa !26
  %67 = load ptr, ptr %7, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %67, i32 0, i32 56
  %69 = load i32, ptr %68, align 8, !tbaa !27
  %70 = load ptr, ptr %7, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %70, i32 0, i32 57
  %72 = load i32, ptr %71, align 4, !tbaa !28
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  %74 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %73, i32 0, i32 58
  %75 = load i32, ptr %74, align 8, !tbaa !29
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %76, i32 0, i32 59
  %78 = load i32, ptr %77, align 4, !tbaa !30
  %79 = load ptr, ptr %7, align 8, !tbaa !5
  %80 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %79, i32 0, i32 60
  %81 = load i32, ptr %80, align 8, !tbaa !31
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %82, i32 0, i32 61
  %84 = load i32, ptr %83, align 4, !tbaa !32
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %85, i32 0, i32 62
  %87 = load i32, ptr %86, align 8, !tbaa !33
  %88 = load ptr, ptr %7, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %88, i32 0, i32 63
  %90 = load i32, ptr %89, align 4, !tbaa !34
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %91, i32 0, i32 64
  %93 = load i32, ptr %92, align 8, !tbaa !35
  %94 = load i8, ptr %11, align 1, !tbaa !18
  call void @libxsmm_generator_sigmoid_ps_rational_78_avx512(ptr noundef %41, i32 noundef %42, i32 noundef %45, i32 noundef %48, i32 noundef %51, i32 noundef %54, i32 noundef %57, i32 noundef %60, i32 noundef %63, i32 noundef %66, i32 noundef %69, i32 noundef %72, i32 noundef %75, i32 noundef %78, i32 noundef %81, i32 noundef %84, i32 noundef %87, i32 noundef %90, i32 noundef %93, i8 noundef zeroext %94)
  call void @llvm.lifetime.end.p0(i64 1, ptr %11) #3
  br label %191

95:                                               ; preds = %5
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %96, i32 0, i32 6
  %98 = load i32, ptr %97, align 4, !tbaa !15
  %99 = icmp uge i32 %98, 1005
  br i1 %99, label %100, label %145

100:                                              ; preds = %95
  %101 = load ptr, ptr %6, align 8, !tbaa !5
  %102 = load i32, ptr %10, align 4, !tbaa !9
  %103 = load ptr, ptr %7, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %103, i32 0, i32 50
  %105 = load i32, ptr %104, align 8, !tbaa !19
  %106 = load ptr, ptr %7, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %106, i32 0, i32 51
  %108 = load i32, ptr %107, align 4, !tbaa !20
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %109, i32 0, i32 52
  %111 = load i32, ptr %110, align 8, !tbaa !21
  %112 = load ptr, ptr %7, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %112, i32 0, i32 53
  %114 = load i32, ptr %113, align 4, !tbaa !24
  %115 = load ptr, ptr %7, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %115, i32 0, i32 54
  %117 = load i32, ptr %116, align 8, !tbaa !25
  %118 = load ptr, ptr %7, align 8, !tbaa !5
  %119 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %118, i32 0, i32 55
  %120 = load i32, ptr %119, align 4, !tbaa !26
  %121 = load ptr, ptr %7, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %121, i32 0, i32 56
  %123 = load i32, ptr %122, align 8, !tbaa !27
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %124, i32 0, i32 57
  %126 = load i32, ptr %125, align 4, !tbaa !28
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %127, i32 0, i32 58
  %129 = load i32, ptr %128, align 8, !tbaa !29
  %130 = load ptr, ptr %7, align 8, !tbaa !5
  %131 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %130, i32 0, i32 59
  %132 = load i32, ptr %131, align 4, !tbaa !30
  %133 = load ptr, ptr %7, align 8, !tbaa !5
  %134 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %133, i32 0, i32 60
  %135 = load i32, ptr %134, align 8, !tbaa !31
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %136, i32 0, i32 61
  %138 = load i32, ptr %137, align 4, !tbaa !32
  %139 = load ptr, ptr %7, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %139, i32 0, i32 62
  %141 = load i32, ptr %140, align 8, !tbaa !33
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %142, i32 0, i32 63
  %144 = load i32, ptr %143, align 4, !tbaa !34
  call void @libxsmm_generator_sigmoid_ps_rational_78_avx(ptr noundef %101, i32 noundef %102, i32 noundef %105, i32 noundef %108, i32 noundef %111, i32 noundef %114, i32 noundef %117, i32 noundef %120, i32 noundef %123, i32 noundef %126, i32 noundef %129, i32 noundef %132, i32 noundef %135, i32 noundef %138, i32 noundef %141, i32 noundef %144)
  br label %190

145:                                              ; preds = %95
  %146 = load ptr, ptr %6, align 8, !tbaa !5
  %147 = load i32, ptr %10, align 4, !tbaa !9
  %148 = load ptr, ptr %7, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %148, i32 0, i32 50
  %150 = load i32, ptr %149, align 8, !tbaa !19
  %151 = load ptr, ptr %7, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %151, i32 0, i32 51
  %153 = load i32, ptr %152, align 4, !tbaa !20
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %154, i32 0, i32 52
  %156 = load i32, ptr %155, align 8, !tbaa !21
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %157, i32 0, i32 53
  %159 = load i32, ptr %158, align 4, !tbaa !24
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %160, i32 0, i32 54
  %162 = load i32, ptr %161, align 8, !tbaa !25
  %163 = load ptr, ptr %7, align 8, !tbaa !5
  %164 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %163, i32 0, i32 55
  %165 = load i32, ptr %164, align 4, !tbaa !26
  %166 = load ptr, ptr %7, align 8, !tbaa !5
  %167 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %166, i32 0, i32 56
  %168 = load i32, ptr %167, align 8, !tbaa !27
  %169 = load ptr, ptr %7, align 8, !tbaa !5
  %170 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %169, i32 0, i32 57
  %171 = load i32, ptr %170, align 4, !tbaa !28
  %172 = load ptr, ptr %7, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %172, i32 0, i32 58
  %174 = load i32, ptr %173, align 8, !tbaa !29
  %175 = load ptr, ptr %7, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %175, i32 0, i32 59
  %177 = load i32, ptr %176, align 4, !tbaa !30
  %178 = load ptr, ptr %7, align 8, !tbaa !5
  %179 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %178, i32 0, i32 60
  %180 = load i32, ptr %179, align 8, !tbaa !31
  %181 = load ptr, ptr %7, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %181, i32 0, i32 61
  %183 = load i32, ptr %182, align 4, !tbaa !32
  %184 = load ptr, ptr %7, align 8, !tbaa !5
  %185 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %184, i32 0, i32 62
  %186 = load i32, ptr %185, align 8, !tbaa !33
  %187 = load ptr, ptr %7, align 8, !tbaa !5
  %188 = getelementptr inbounds %struct.libxsmm_micro_kernel_config, ptr %187, i32 0, i32 63
  %189 = load i32, ptr %188, align 4, !tbaa !34
  call void @libxsmm_generator_sigmoid_ps_rational_78_sse(ptr noundef %146, i32 noundef %147, i32 noundef %150, i32 noundef %153, i32 noundef %156, i32 noundef %159, i32 noundef %162, i32 noundef %165, i32 noundef %168, i32 noundef %171, i32 noundef %174, i32 noundef %177, i32 noundef %180, i32 noundef %183, i32 noundef %186, i32 noundef %189)
  br label %190

190:                                              ; preds = %145, %100
  br label %191

191:                                              ; preds = %190, %33
  ret void
}

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

declare void @libxsmm_generator_sigmoid_ps_rational_78_avx512(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, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext) #2

declare void @libxsmm_generator_sigmoid_ps_rational_78_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, i32 noundef, i32 noundef, i32 noundef) #2

declare void @libxsmm_generator_sigmoid_ps_rational_78_sse(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, i32 noundef, i32 noundef, i32 noundef) #2

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


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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_generator_gemm_apply_sigmoid_to_vreg_from_scratch(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 {
  %6 = load i32, ptr %1, align 8, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %0, i64 28
  %8 = load i32, ptr %7, align 4, !tbaa !13
  %9 = icmp ugt i32 %8, 1004
  %10 = select i1 %9, i32 537138704, i32 -1610346480
  %11 = shl i32 %3, 6
  %12 = getelementptr inbounds i8, ptr %1, i64 84
  %13 = load i8, ptr %12, align 4, !tbaa !15
  tail call void @libxsmm_x86_instruction_vec_move(ptr noundef %0, i32 noundef %6, i32 noundef %10, i32 noundef %2, i32 noundef 127, i32 noundef 0, i32 noundef %11, i8 noundef signext %13, i32 noundef %4, i32 noundef 0, i32 noundef 1, i32 noundef 0) #2
  %14 = load i32, ptr %7, align 4, !tbaa !13
  %15 = icmp ugt i32 %14, 1050
  br i1 %15, label %16, label %53

16:                                               ; preds = %5
  %17 = icmp ult i32 %14, 1101
  %18 = select i1 %17, i8 121, i8 122
  %19 = getelementptr inbounds i8, ptr %1, i64 200
  %20 = load i32, ptr %19, align 8, !tbaa !16
  %21 = getelementptr inbounds i8, ptr %1, i64 204
  %22 = load i32, ptr %21, align 4, !tbaa !17
  %23 = getelementptr inbounds i8, ptr %1, i64 208
  %24 = load i32, ptr %23, align 8, !tbaa !18
  %25 = getelementptr inbounds i8, ptr %1, i64 260
  %26 = load i32, ptr %25, align 4, !tbaa !19
  %27 = getelementptr inbounds i8, ptr %1, i64 264
  %28 = load i32, ptr %27, align 8, !tbaa !20
  %29 = getelementptr inbounds i8, ptr %1, i64 212
  %30 = load i32, ptr %29, align 4, !tbaa !21
  %31 = getelementptr inbounds i8, ptr %1, i64 216
  %32 = load i32, ptr %31, align 8, !tbaa !22
  %33 = getelementptr inbounds i8, ptr %1, i64 220
  %34 = load i32, ptr %33, align 4, !tbaa !23
  %35 = getelementptr inbounds i8, ptr %1, i64 224
  %36 = load i32, ptr %35, align 8, !tbaa !24
  %37 = getelementptr inbounds i8, ptr %1, i64 228
  %38 = load i32, ptr %37, align 4, !tbaa !25
  %39 = getelementptr inbounds i8, ptr %1, i64 232
  %40 = load i32, ptr %39, align 8, !tbaa !26
  %41 = getelementptr inbounds i8, ptr %1, i64 236
  %42 = load i32, ptr %41, align 4, !tbaa !27
  %43 = getelementptr inbounds i8, ptr %1, i64 240
  %44 = load i32, ptr %43, align 8, !tbaa !28
  %45 = getelementptr inbounds i8, ptr %1, i64 244
  %46 = load i32, ptr %45, align 4, !tbaa !29
  %47 = getelementptr inbounds i8, ptr %1, i64 248
  %48 = load i32, ptr %47, align 8, !tbaa !30
  %49 = getelementptr inbounds i8, ptr %1, i64 252
  %50 = load i32, ptr %49, align 4, !tbaa !31
  %51 = getelementptr inbounds i8, ptr %1, i64 256
  %52 = load i32, ptr %51, align 8, !tbaa !32
  tail call void @libxsmm_generator_sigmoid_ps_rational_78_avx512(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %20, i32 noundef %22, i32 noundef %24, i32 noundef %26, i32 noundef %28, i32 noundef %30, i32 noundef %32, i32 noundef %34, i32 noundef %36, i32 noundef %38, i32 noundef %40, i32 noundef %42, i32 noundef %44, i32 noundef %46, i32 noundef %48, i32 noundef %50, i32 noundef %52, i8 noundef zeroext %18) #2
  br label %85

53:                                               ; preds = %5
  %54 = icmp ugt i32 %14, 1004
  %55 = getelementptr inbounds i8, ptr %1, i64 200
  %56 = load i32, ptr %55, align 8, !tbaa !16
  %57 = getelementptr inbounds i8, ptr %1, i64 204
  %58 = load i32, ptr %57, align 4, !tbaa !17
  %59 = getelementptr inbounds i8, ptr %1, i64 208
  %60 = load i32, ptr %59, align 8, !tbaa !18
  %61 = getelementptr inbounds i8, ptr %1, i64 212
  %62 = load i32, ptr %61, align 4, !tbaa !21
  %63 = getelementptr inbounds i8, ptr %1, i64 216
  %64 = load i32, ptr %63, align 8, !tbaa !22
  %65 = getelementptr inbounds i8, ptr %1, i64 220
  %66 = load i32, ptr %65, align 4, !tbaa !23
  %67 = getelementptr inbounds i8, ptr %1, i64 224
  %68 = load i32, ptr %67, align 8, !tbaa !24
  %69 = getelementptr inbounds i8, ptr %1, i64 228
  %70 = load i32, ptr %69, align 4, !tbaa !25
  %71 = getelementptr inbounds i8, ptr %1, i64 232
  %72 = load i32, ptr %71, align 8, !tbaa !26
  %73 = getelementptr inbounds i8, ptr %1, i64 236
  %74 = load i32, ptr %73, align 4, !tbaa !27
  %75 = getelementptr inbounds i8, ptr %1, i64 240
  %76 = load i32, ptr %75, align 8, !tbaa !28
  %77 = getelementptr inbounds i8, ptr %1, i64 244
  %78 = load i32, ptr %77, align 4, !tbaa !29
  %79 = getelementptr inbounds i8, ptr %1, i64 248
  %80 = load i32, ptr %79, align 8, !tbaa !30
  %81 = getelementptr inbounds i8, ptr %1, i64 252
  %82 = load i32, ptr %81, align 4, !tbaa !31
  br i1 %54, label %83, label %84

83:                                               ; preds = %53
  tail call void @libxsmm_generator_sigmoid_ps_rational_78_avx(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %56, i32 noundef %58, i32 noundef %60, i32 noundef %62, i32 noundef %64, i32 noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %72, i32 noundef %74, i32 noundef %76, i32 noundef %78, i32 noundef %80, i32 noundef %82) #2
  br label %85

84:                                               ; preds = %53
  tail call void @libxsmm_generator_sigmoid_ps_rational_78_sse(ptr noundef nonnull %0, i32 noundef %4, i32 noundef %56, i32 noundef %58, i32 noundef %60, i32 noundef %62, i32 noundef %64, i32 noundef %66, i32 noundef %68, i32 noundef %70, i32 noundef %72, i32 noundef %74, i32 noundef %76, i32 noundef %78, i32 noundef %80, i32 noundef %82) #2
  br label %85

85:                                               ; preds = %83, %84, %16
  ret void
}

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

declare void @libxsmm_generator_sigmoid_ps_rational_78_avx512(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, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i8 noundef zeroext) local_unnamed_addr #1

declare void @libxsmm_generator_sigmoid_ps_rational_78_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, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare void @libxsmm_generator_sigmoid_ps_rational_78_sse(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, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

attributes #0 = { 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 #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 }

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass