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

; 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_generated_code = type { ptr, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [82 x i8], align 1
@libxsmm_ninit = external global i32, align 4
@libxsmm_verbosity = external global i32, align 4
@stderr = external global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [77 x i8], align 1
@__func__.libxsmm_x86_instruction_tile_compute = external hidden unnamed_addr constant [37 x i8], align 1
@.str.127 = external hidden unnamed_addr constant [90 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [44 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

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

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

; Function Attrs: nounwind
declare i32 @snprintf(ptr noundef, i64 noundef, ptr noundef, ...) #3

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_x86_instruction_tile_compute(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) #2 {
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca [512 x i8], align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca [24 x i8], align 16
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  store i32 %5, ptr %12, align 4, !tbaa !9
  %17 = load i32, ptr %8, align 4, !tbaa !9
  %18 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %18, label %20 [
    i32 1879515230, label %19
    i32 1879449694, label %19
    i32 1879384158, label %19
    i32 1879318622, label %19
    i32 1879331069, label %19
    i32 1879462141, label %19
    i32 1879527677, label %19
    i32 1879396605, label %19
    i32 1879449692, label %19
    i32 1879515228, label %19
    i32 1879449708, label %19
    i32 1879515244, label %19
    i32 1879384136, label %19
    i32 1879318600, label %19
    i32 1879384172, label %19
    i32 1879318636, label %19
    i32 1879318635, label %19
    i32 1879384171, label %19
    i32 1879515243, label %19
    i32 1879449707, label %19
    i32 1611014239, label %19
  ]

19:                                               ; preds = %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6
  br label %32

20:                                               ; preds = %6
  %21 = load ptr, ptr @stderr, align 8, !tbaa !5
  %22 = load i32, ptr %9, align 4, !tbaa !9
  %23 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %21, ptr noundef @.str.126, i32 noundef %22) #5
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %26 = icmp ult i32 1, %25
  br i1 %26, label %27, label %29

27:                                               ; preds = %20
  %28 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %30

29:                                               ; preds = %20
  br label %30

30:                                               ; preds = %29, %27
  %31 = phi i32 [ %28, %27 ], [ 1, %29 ]
  call void @libxsmm_handle_error(ptr noundef %24, i32 noundef 90000, ptr noundef @__func__.libxsmm_x86_instruction_tile_compute, ptr noundef @.str, i32 noundef 3991, i32 noundef %31)
  br label %166

32:                                               ; preds = %19
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %33, i32 0, i32 3
  %35 = load i32, ptr %34, align 8, !tbaa !11
  %36 = icmp ugt i32 %35, 1
  br i1 %36, label %37, label %91

37:                                               ; preds = %32
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %38, i32 0, i32 6
  %40 = load i32, ptr %39, align 4, !tbaa !13
  %41 = icmp uge i32 %40, 1104
  br i1 %41, label %42, label %91

42:                                               ; preds = %37
  %43 = load ptr, ptr %7, align 8, !tbaa !5
  %44 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %43, i32 0, i32 6
  %45 = load i32, ptr %44, align 4, !tbaa !13
  %46 = icmp ult i32 %45, 1999
  br i1 %46, label %47, label %91

47:                                               ; preds = %42
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %48, i32 0, i32 1
  %50 = load i32, ptr %49, align 8, !tbaa !14
  %51 = load ptr, ptr %7, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %51, i32 0, i32 2
  %53 = load i32, ptr %52, align 4, !tbaa !15
  %54 = sub i32 %50, %53
  %55 = icmp ult i32 %54, 20
  br i1 %55, label %56, label %65

56:                                               ; preds = %47
  %57 = load ptr, ptr %7, align 8, !tbaa !5
  %58 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %59 = icmp ult i32 1, %58
  br i1 %59, label %60, label %62

60:                                               ; preds = %56
  %61 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %63

62:                                               ; preds = %56
  br label %63

63:                                               ; preds = %62, %60
  %64 = phi i32 [ %61, %60 ], [ 1, %62 ]
  call void @libxsmm_handle_error(ptr noundef %57, i32 noundef 90002, ptr noundef @__func__.libxsmm_x86_instruction_tile_compute, ptr noundef @.str, i32 noundef 3999, i32 noundef %64)
  br label %166

65:                                               ; preds = %47
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = lshr i32 %66, 28
  %68 = and i32 %67, 3
  %69 = icmp eq i32 %68, 3
  br i1 %69, label %70, label %76

70:                                               ; preds = %65
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = load i32, ptr %9, align 4, !tbaa !9
  %73 = load i32, ptr %11, align 4, !tbaa !9
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vex_compute_3reg(ptr noundef %71, i32 noundef %72, i32 noundef 0, i32 noundef %73, i32 noundef %74, i32 noundef %75)
  br label %90

76:                                               ; preds = %65
  %77 = load i32, ptr %9, align 4, !tbaa !9
  %78 = lshr i32 %77, 28
  %79 = and i32 %78, 3
  %80 = icmp eq i32 %79, 2
  br i1 %80, label %81, label %86

81:                                               ; preds = %76
  %82 = load ptr, ptr %7, align 8, !tbaa !5
  %83 = load i32, ptr %9, align 4, !tbaa !9
  %84 = load i32, ptr %10, align 4, !tbaa !9
  %85 = load i32, ptr %12, align 4, !tbaa !9
  call void @libxsmm_x86_instruction_vex_compute_3reg(ptr noundef %82, i32 noundef %83, i32 noundef 0, i32 noundef %84, i32 noundef 0, i32 noundef %85)
  br label %89

86:                                               ; preds = %76
  %87 = load ptr, ptr @stderr, align 8, !tbaa !5
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str.127) #5
  call void @exit(i32 noundef -1) #6
  unreachable

89:                                               ; preds = %81
  br label %90

90:                                               ; preds = %89, %70
  br label %166

91:                                               ; preds = %42, %37, %32
  %92 = load ptr, ptr %7, align 8, !tbaa !5
  %93 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %92, i32 0, i32 3
  %94 = load i32, ptr %93, align 8, !tbaa !11
  %95 = icmp ult i32 %94, 2
  br i1 %95, label %96, label %154

96:                                               ; preds = %91
  call void @llvm.lifetime.start.p0(i64 512, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 511, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #5
  %97 = load i32, ptr %9, align 4, !tbaa !9
  %98 = getelementptr inbounds [24 x i8], ptr %16, i64 0, i64 0
  call void @libxsmm_get_x86_instr_name(i32 noundef %97, ptr noundef %98, i32 noundef 23)
  %99 = load i32, ptr %9, align 4, !tbaa !9
  switch i32 %99, label %152 [
    i32 1879515230, label %100
    i32 1879449694, label %100
    i32 1879384158, label %100
    i32 1879318622, label %100
    i32 1879331069, label %100
    i32 1879462141, label %100
    i32 1879527677, label %100
    i32 1879396605, label %100
    i32 1879449692, label %100
    i32 1879515228, label %100
    i32 1879449708, label %100
    i32 1879515244, label %100
    i32 1879384136, label %100
    i32 1879318600, label %100
    i32 1879384172, label %100
    i32 1879318636, label %100
    i32 1879318635, label %100
    i32 1879384171, label %100
    i32 1879515243, label %100
    i32 1879449707, label %100
    i32 1611014239, label %127
  ]

100:                                              ; preds = %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96, %96
  %101 = load ptr, ptr %7, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %101, i32 0, i32 3
  %103 = load i32, ptr %102, align 8, !tbaa !11
  %104 = icmp eq i32 %103, 0
  br i1 %104, label %105, label %114

105:                                              ; preds = %100
  %106 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [24 x i8], ptr %16, i64 0, i64 0
  %110 = load i32, ptr %10, align 4, !tbaa !9
  %111 = load i32, ptr %11, align 4, !tbaa !9
  %112 = load i32, ptr %12, align 4, !tbaa !9
  %113 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %106, i64 noundef %108, ptr noundef @.str.128, ptr noundef %109, i32 noundef %110, i32 noundef %111, i32 noundef %112) #5
  store i32 %113, ptr %15, align 4, !tbaa !9
  br label %123

114:                                              ; preds = %100
  %115 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %116 = load i32, ptr %14, align 4, !tbaa !9
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [24 x i8], ptr %16, i64 0, i64 0
  %119 = load i32, ptr %10, align 4, !tbaa !9
  %120 = load i32, ptr %11, align 4, !tbaa !9
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %115, i64 noundef %117, ptr noundef @.str.129, ptr noundef %118, i32 noundef %119, i32 noundef %120, i32 noundef %121) #5
  store i32 %122, ptr %15, align 4, !tbaa !9
  br label %123

123:                                              ; preds = %114, %105
  %124 = load ptr, ptr %7, align 8, !tbaa !5
  %125 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %126 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_append_code_as_string(ptr noundef %124, ptr noundef %125, i32 noundef %126)
  br label %153

127:                                              ; preds = %96
  %128 = load ptr, ptr %7, align 8, !tbaa !5
  %129 = getelementptr inbounds %struct.libxsmm_generated_code, ptr %128, i32 0, i32 3
  %130 = load i32, ptr %129, align 8, !tbaa !11
  %131 = icmp eq i32 %130, 0
  br i1 %131, label %132, label %140

132:                                              ; preds = %127
  %133 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %134 = load i32, ptr %14, align 4, !tbaa !9
  %135 = sext i32 %134 to i64
  %136 = getelementptr inbounds [24 x i8], ptr %16, i64 0, i64 0
  %137 = load i32, ptr %10, align 4, !tbaa !9
  %138 = load i32, ptr %12, align 4, !tbaa !9
  %139 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %133, i64 noundef %135, ptr noundef @.str.130, ptr noundef %136, i32 noundef %137, i32 noundef %138) #5
  store i32 %139, ptr %15, align 4, !tbaa !9
  br label %148

140:                                              ; preds = %127
  %141 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %142 = load i32, ptr %14, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [24 x i8], ptr %16, i64 0, i64 0
  %145 = load i32, ptr %10, align 4, !tbaa !9
  %146 = load i32, ptr %12, align 4, !tbaa !9
  %147 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef %141, i64 noundef %143, ptr noundef @.str.131, ptr noundef %144, i32 noundef %145, i32 noundef %146) #5
  store i32 %147, ptr %15, align 4, !tbaa !9
  br label %148

148:                                              ; preds = %140, %132
  %149 = load ptr, ptr %7, align 8, !tbaa !5
  %150 = getelementptr inbounds [512 x i8], ptr %13, i64 0, i64 0
  %151 = load i32, ptr %15, align 4, !tbaa !9
  call void @libxsmm_append_code_as_string(ptr noundef %149, ptr noundef %150, i32 noundef %151)
  br label %153

152:                                              ; preds = %96
  br label %153

153:                                              ; preds = %152, %148, %123
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 512, ptr %13) #5
  br label %165

154:                                              ; preds = %91
  %155 = load ptr, ptr @stderr, align 8, !tbaa !5
  %156 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %155, ptr noundef @.str.8) #5
  %157 = load ptr, ptr %7, align 8, !tbaa !5
  %158 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %159 = icmp ult i32 1, %158
  br i1 %159, label %160, label %162

160:                                              ; preds = %154
  %161 = load i32, ptr @libxsmm_verbosity, align 4, !tbaa !9
  br label %163

162:                                              ; preds = %154
  br label %163

163:                                              ; preds = %162, %160
  %164 = phi i32 [ %161, %160 ], [ 1, %162 ]
  call void @libxsmm_handle_error(ptr noundef %157, i32 noundef 90000, ptr noundef @__func__.libxsmm_x86_instruction_tile_compute, ptr noundef @.str, i32 noundef 4071, i32 noundef %164)
  br label %166

165:                                              ; preds = %153
  br label %166

166:                                              ; preds = %165, %163, %90, %63, %30
  ret void
}

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

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 "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { nounwind }
attributes #6 = { noreturn nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"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 16}
!12 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!13 = !{!12, !10, i64 28}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 12}


; 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 [82 x i8], align 1
@libxsmm_ninit = external local_unnamed_addr global i32, align 4
@libxsmm_verbosity = external local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str.8 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.126 = external hidden unnamed_addr constant [77 x i8], align 1
@__func__.libxsmm_x86_instruction_tile_compute = external hidden unnamed_addr constant [37 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.129 = external hidden unnamed_addr constant [53 x i8], align 1
@.str.130 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.131 = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: mustprogress 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) local_unnamed_addr #1

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

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

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

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

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

; Function Attrs: nounwind uwtable
define dso_local void @libxsmm_x86_instruction_tile_compute(ptr noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5) local_unnamed_addr #2 {
  %7 = alloca [512 x i8], align 16
  %8 = alloca [24 x i8], align 16
  switch i32 %2, label %9 [
    i32 1879515230, label %16
    i32 1879449694, label %16
    i32 1879384158, label %16
    i32 1879318622, label %16
    i32 1879331069, label %16
    i32 1879462141, label %16
    i32 1879527677, label %16
    i32 1879396605, label %16
    i32 1879449692, label %16
    i32 1879515228, label %16
    i32 1879449708, label %16
    i32 1879515244, label %16
    i32 1879384136, label %16
    i32 1879318600, label %16
    i32 1879384172, label %16
    i32 1879318636, label %16
    i32 1879318635, label %16
    i32 1879384171, label %16
    i32 1879515243, label %16
    i32 1879449707, label %16
    i32 1611014239, label %16
  ]

9:                                                ; preds = %6
  %10 = load ptr, ptr @stderr, align 8, !tbaa !5
  %11 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str.126, i32 noundef %2) #4
  %12 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %13 = icmp ugt i32 %12, 1
  %14 = load i32, ptr @libxsmm_verbosity, align 4
  %15 = select i1 %13, i32 %14, i32 1
  tail call void @libxsmm_handle_error(ptr noundef %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_x86_instruction_tile_compute, ptr noundef nonnull @.str, i32 noundef 3991, i32 noundef %15) #5
  br label %57

16:                                               ; preds = %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6, %6
  %17 = getelementptr inbounds i8, ptr %0, i64 16
  %18 = load i32, ptr %17, align 8, !tbaa !11
  %19 = icmp ugt i32 %18, 1
  br i1 %19, label %20, label %40

20:                                               ; preds = %16
  %21 = getelementptr inbounds i8, ptr %0, i64 28
  %22 = load i32, ptr %21, align 4, !tbaa !13
  %23 = add i32 %22, -1104
  %or.cond = icmp ult i32 %23, 895
  br i1 %or.cond, label %24, label %50

24:                                               ; preds = %20
  %25 = getelementptr inbounds i8, ptr %0, i64 8
  %26 = load i32, ptr %25, align 8, !tbaa !14
  %27 = getelementptr inbounds i8, ptr %0, i64 12
  %28 = load i32, ptr %27, align 4, !tbaa !15
  %29 = sub i32 %26, %28
  %30 = icmp ult i32 %29, 20
  br i1 %30, label %31, label %36

31:                                               ; preds = %24
  %32 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %33 = icmp ugt i32 %32, 1
  %34 = load i32, ptr @libxsmm_verbosity, align 4
  %35 = select i1 %33, i32 %34, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90002, ptr noundef nonnull @__func__.libxsmm_x86_instruction_tile_compute, ptr noundef nonnull @.str, i32 noundef 3999, i32 noundef %35) #5
  br label %57

36:                                               ; preds = %24
  %37 = and i32 %2, 805306368
  %switch = icmp eq i32 %37, 805306368
  br i1 %switch, label %38, label %39

38:                                               ; preds = %36
  tail call void @libxsmm_x86_instruction_vex_compute_3reg(ptr noundef nonnull %0, i32 noundef %2, i32 noundef 0, i32 noundef %4, i32 noundef %3, i32 noundef %5)
  br label %57

39:                                               ; preds = %36
  tail call void @libxsmm_x86_instruction_vex_compute_3reg(ptr noundef nonnull %0, i32 noundef %2, i32 noundef 0, i32 noundef %3, i32 noundef 0, i32 noundef %5)
  br label %57

40:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 512, ptr nonnull %7) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %8) #5
  call void @libxsmm_get_x86_instr_name(i32 noundef %2, ptr noundef nonnull %8, i32 noundef 23) #5
  switch i32 %2, label %49 [
    i32 1879515230, label %41
    i32 1879449694, label %41
    i32 1879384158, label %41
    i32 1879318622, label %41
    i32 1879331069, label %41
    i32 1879462141, label %41
    i32 1879527677, label %41
    i32 1879396605, label %41
    i32 1879449692, label %41
    i32 1879515228, label %41
    i32 1879449708, label %41
    i32 1879515244, label %41
    i32 1879384136, label %41
    i32 1879318600, label %41
    i32 1879384172, label %41
    i32 1879318636, label %41
    i32 1879318635, label %41
    i32 1879384171, label %41
    i32 1879515243, label %41
    i32 1879449707, label %41
    i32 1611014239, label %45
  ]

41:                                               ; preds = %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40, %40
  %42 = load i32, ptr %17, align 8, !tbaa !11
  %43 = icmp eq i32 %42, 0
  %.str.128..str.129 = select i1 %43, ptr @.str.128, ptr @.str.129
  %44 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %7, i64 noundef 511, ptr noundef nonnull %.str.128..str.129, ptr noundef nonnull %8, i32 noundef %3, i32 noundef %4, i32 noundef %5) #5
  br label %.sink.split

45:                                               ; preds = %40
  %46 = load i32, ptr %17, align 8, !tbaa !11
  %47 = icmp eq i32 %46, 0
  %.str.130..str.131 = select i1 %47, ptr @.str.130, ptr @.str.131
  %48 = call i32 (ptr, i64, ptr, ...) @snprintf(ptr noundef nonnull dereferenceable(1) %7, i64 noundef 511, ptr noundef nonnull %.str.130..str.131, ptr noundef nonnull %8, i32 noundef %3, i32 noundef %5) #5
  br label %.sink.split

.sink.split:                                      ; preds = %41, %45
  %.sink = phi i32 [ %48, %45 ], [ %44, %41 ]
  call void @libxsmm_append_code_as_string(ptr noundef nonnull %0, ptr noundef nonnull %7, i32 noundef %.sink) #5
  br label %49

49:                                               ; preds = %.sink.split, %40
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %8) #5
  call void @llvm.lifetime.end.p0(i64 512, ptr nonnull %7) #5
  br label %57

50:                                               ; preds = %20
  %51 = load ptr, ptr @stderr, align 8, !tbaa !5
  %52 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %51, ptr noundef nonnull @.str.8) #4
  %53 = load i32, ptr @libxsmm_ninit, align 4, !tbaa !9
  %54 = icmp ugt i32 %53, 1
  %55 = load i32, ptr @libxsmm_verbosity, align 4
  %56 = select i1 %54, i32 %55, i32 1
  tail call void @libxsmm_handle_error(ptr noundef nonnull %0, i32 noundef 90000, ptr noundef nonnull @__func__.libxsmm_x86_instruction_tile_compute, ptr noundef nonnull @.str, i32 noundef 4071, i32 noundef %56) #5
  br label %57

57:                                               ; preds = %38, %39, %49, %50, %31, %9
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { cold nounwind }
attributes #5 = { 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 16}
!12 = !{!"libxsmm_generated_code", !6, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !10, i64 24, !10, i64 28}
!13 = !{!12, !10, i64 28}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 12}


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