; LLVM IR from ggml-org/ggml :: src (ggml)

; 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.ggml_tensor = type { i32, ptr, [4 x i64], [4 x i64], i32, [16 x i32], i32, [10 x ptr], ptr, i64, ptr, [64 x i8], ptr, [8 x i8] }

@.str.12 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [162 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: noreturn nounwind uwtable
declare dso_local void @ggml_abort(ptr noundef, i32 noundef, ptr noundef, ...) #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @ggml_is_contiguous(ptr noundef) #2

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

; Function Attrs: nounwind uwtable
declare hidden void @ggml_set_op_params(ptr noundef, ptr noundef, i64 noundef) #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @ggml_can_mul_mat(ptr noundef, ptr noundef) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @ggml_flash_attn_ext(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, float noundef %5, float noundef %6, float noundef %7) #2 {
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca [4 x i64], align 16
  %18 = alloca ptr, align 8
  %19 = alloca [3 x float], align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store float %5, ptr %14, align 4, !tbaa !9
  store float %6, ptr %15, align 4, !tbaa !9
  store float %7, ptr %16, align 4, !tbaa !9
  %20 = load ptr, ptr %11, align 8, !tbaa !5
  %21 = load ptr, ptr %10, align 8, !tbaa !5
  %22 = call zeroext i1 @ggml_can_mul_mat(ptr noundef %20, ptr noundef %21)
  br i1 %22, label %24, label %23

23:                                               ; preds = %8
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4364, ptr noundef @.str.13, ptr noundef @.str.98) #4
  unreachable

24:                                               ; preds = %8
  %25 = load ptr, ptr %13, align 8, !tbaa !5
  %26 = icmp ne ptr %25, null
  br i1 %26, label %27, label %61

27:                                               ; preds = %24
  %28 = load ptr, ptr %13, align 8, !tbaa !5
  %29 = call zeroext i1 @ggml_is_contiguous(ptr noundef %28)
  br i1 %29, label %31, label %30

30:                                               ; preds = %27
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4368, ptr noundef @.str.13, ptr noundef @.str.99) #4
  unreachable

31:                                               ; preds = %27
  %32 = load ptr, ptr %13, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.ggml_tensor, ptr %32, i32 0, i32 2
  %34 = getelementptr inbounds [4 x i64], ptr %33, i64 0, i64 2
  %35 = load i64, ptr %34, align 8, !tbaa !11
  %36 = icmp eq i64 %35, 1
  br i1 %36, label %38, label %37

37:                                               ; preds = %31
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4369, ptr noundef @.str.13, ptr noundef @.str.100) #4
  unreachable

38:                                               ; preds = %31
  %39 = load ptr, ptr %13, align 8, !tbaa !5
  %40 = getelementptr inbounds %struct.ggml_tensor, ptr %39, i32 0, i32 2
  %41 = getelementptr inbounds [4 x i64], ptr %40, i64 0, i64 3
  %42 = load i64, ptr %41, align 8, !tbaa !11
  %43 = icmp eq i64 %42, 1
  br i1 %43, label %45, label %44

44:                                               ; preds = %38
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4370, ptr noundef @.str.13, ptr noundef @.str.101) #4
  unreachable

45:                                               ; preds = %38
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.ggml_tensor, ptr %46, i32 0, i32 2
  %48 = getelementptr inbounds [4 x i64], ptr %47, i64 0, i64 1
  %49 = load i64, ptr %48, align 8, !tbaa !11
  %50 = load ptr, ptr %10, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.ggml_tensor, ptr %50, i32 0, i32 2
  %52 = getelementptr inbounds [4 x i64], ptr %51, i64 0, i64 1
  %53 = load i64, ptr %52, align 8, !tbaa !11
  %54 = add nsw i64 %53, 64
  %55 = sub nsw i64 %54, 1
  %56 = and i64 %55, -64
  %57 = icmp sge i64 %49, %56
  br i1 %57, label %58, label %59

58:                                               ; preds = %45
  br i1 true, label %60, label %59

59:                                               ; preds = %58, %45
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4372, ptr noundef @.str.13, ptr noundef @.str.103) #4
  unreachable

60:                                               ; preds = %58
  br label %61

61:                                               ; preds = %60, %24
  %62 = load float, ptr %15, align 4, !tbaa !9
  %63 = fcmp ogt float %62, 0.000000e+00
  br i1 %63, label %64, label %69

64:                                               ; preds = %61
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = icmp ne ptr %65, null
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4377, ptr noundef @.str.13, ptr noundef @.str.104) #4
  unreachable

68:                                               ; preds = %64
  br label %69

69:                                               ; preds = %68, %61
  call void @llvm.lifetime.start.p0(i64 32, ptr %17) #5
  %70 = load ptr, ptr %12, align 8, !tbaa !5
  %71 = getelementptr inbounds %struct.ggml_tensor, ptr %70, i32 0, i32 2
  %72 = getelementptr inbounds [4 x i64], ptr %71, i64 0, i64 0
  %73 = load i64, ptr %72, align 8, !tbaa !11
  store i64 %73, ptr %17, align 8, !tbaa !11
  %74 = getelementptr inbounds i64, ptr %17, i64 1
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = getelementptr inbounds %struct.ggml_tensor, ptr %75, i32 0, i32 2
  %77 = getelementptr inbounds [4 x i64], ptr %76, i64 0, i64 2
  %78 = load i64, ptr %77, align 8, !tbaa !11
  store i64 %78, ptr %74, align 8, !tbaa !11
  %79 = getelementptr inbounds i64, ptr %17, i64 2
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.ggml_tensor, ptr %80, i32 0, i32 2
  %82 = getelementptr inbounds [4 x i64], ptr %81, i64 0, i64 1
  %83 = load i64, ptr %82, align 8, !tbaa !11
  store i64 %83, ptr %79, align 8, !tbaa !11
  %84 = getelementptr inbounds i64, ptr %17, i64 3
  %85 = load ptr, ptr %10, align 8, !tbaa !5
  %86 = getelementptr inbounds %struct.ggml_tensor, ptr %85, i32 0, i32 2
  %87 = getelementptr inbounds [4 x i64], ptr %86, i64 0, i64 3
  %88 = load i64, ptr %87, align 8, !tbaa !11
  store i64 %88, ptr %84, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = getelementptr inbounds [4 x i64], ptr %17, i64 0, i64 0
  %91 = call ptr @ggml_new_tensor(ptr noundef %89, i32 noundef 0, i32 noundef 4, ptr noundef %90)
  store ptr %91, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %19) #5
  %92 = load float, ptr %14, align 4, !tbaa !9
  store float %92, ptr %19, align 4, !tbaa !9
  %93 = getelementptr inbounds float, ptr %19, i64 1
  %94 = load float, ptr %15, align 4, !tbaa !9
  store float %94, ptr %93, align 4, !tbaa !9
  %95 = getelementptr inbounds float, ptr %19, i64 2
  %96 = load float, ptr %16, align 4, !tbaa !9
  store float %96, ptr %95, align 4, !tbaa !9
  %97 = load ptr, ptr %18, align 8, !tbaa !5
  %98 = getelementptr inbounds [3 x float], ptr %19, i64 0, i64 0
  call void @ggml_set_op_params(ptr noundef %97, ptr noundef %98, i64 noundef 12)
  %99 = load ptr, ptr %18, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.ggml_tensor, ptr %99, i32 0, i32 4
  store i32 63, ptr %100, align 8, !tbaa !13
  %101 = load ptr, ptr %10, align 8, !tbaa !5
  %102 = load ptr, ptr %18, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.ggml_tensor, ptr %102, i32 0, i32 7
  %104 = getelementptr inbounds [10 x ptr], ptr %103, i64 0, i64 0
  store ptr %101, ptr %104, align 8, !tbaa !5
  %105 = load ptr, ptr %11, align 8, !tbaa !5
  %106 = load ptr, ptr %18, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ggml_tensor, ptr %106, i32 0, i32 7
  %108 = getelementptr inbounds [10 x ptr], ptr %107, i64 0, i64 1
  store ptr %105, ptr %108, align 8, !tbaa !5
  %109 = load ptr, ptr %12, align 8, !tbaa !5
  %110 = load ptr, ptr %18, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ggml_tensor, ptr %110, i32 0, i32 7
  %112 = getelementptr inbounds [10 x ptr], ptr %111, i64 0, i64 2
  store ptr %109, ptr %112, align 8, !tbaa !5
  %113 = load ptr, ptr %13, align 8, !tbaa !5
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.ggml_tensor, ptr %114, i32 0, i32 7
  %116 = getelementptr inbounds [10 x ptr], ptr %115, i64 0, i64 3
  store ptr %113, ptr %116, align 8, !tbaa !5
  %117 = load ptr, ptr %18, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr %17) #5
  ret ptr %117
}

attributes #0 = { noreturn 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 #4 = { noreturn }
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 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!14, !15, i64 80}
!14 = !{!"ggml_tensor", !15, i64 0, !6, i64 8, !7, i64 16, !7, i64 48, !15, i64 80, !7, i64 84, !15, i64 148, !7, i64 152, !6, i64 232, !12, i64 240, !6, i64 248, !7, i64 256, !6, i64 320, !7, i64 328}
!15 = !{!"int", !7, i64 0}


; 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.12 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.98 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.99 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.100 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.101 = external hidden unnamed_addr constant [17 x i8], align 1
@.str.103 = external hidden unnamed_addr constant [162 x i8], align 1
@.str.104 = external hidden unnamed_addr constant [5 x i8], align 1

; Function Attrs: noreturn nounwind uwtable
declare dso_local void @ggml_abort(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

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

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

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @ggml_is_contiguous(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare hidden void @ggml_set_op_params(ptr noundef, ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: inlinehint nounwind uwtable
declare hidden zeroext i1 @ggml_can_mul_mat(ptr noundef, ptr noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @ggml_flash_attn_ext(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, float noundef %5, float noundef %6, float noundef %7) local_unnamed_addr #2 {
  %9 = alloca [4 x i64], align 16
  %10 = alloca [3 x float], align 4
  %11 = tail call zeroext i1 @ggml_can_mul_mat(ptr noundef %2, ptr noundef %1)
  br i1 %11, label %13, label %12

12:                                               ; preds = %8
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4364, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.98) #4
  unreachable

13:                                               ; preds = %8
  %.not31 = icmp eq ptr %4, null
  br i1 %.not31, label %35, label %14

14:                                               ; preds = %13
  %15 = tail call zeroext i1 @ggml_is_contiguous(ptr noundef nonnull %4)
  br i1 %15, label %17, label %16

16:                                               ; preds = %14
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4368, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.99) #4
  unreachable

17:                                               ; preds = %14
  %18 = getelementptr inbounds i8, ptr %4, i64 32
  %19 = load i64, ptr %18, align 8, !tbaa !5
  %20 = icmp eq i64 %19, 1
  br i1 %20, label %22, label %21

21:                                               ; preds = %17
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4369, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.100) #4
  unreachable

22:                                               ; preds = %17
  %23 = getelementptr inbounds i8, ptr %4, i64 40
  %24 = load i64, ptr %23, align 8, !tbaa !5
  %25 = icmp eq i64 %24, 1
  br i1 %25, label %27, label %26

26:                                               ; preds = %22
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4370, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.101) #4
  unreachable

27:                                               ; preds = %22
  %28 = getelementptr inbounds i8, ptr %4, i64 24
  %29 = load i64, ptr %28, align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %1, i64 24
  %31 = load i64, ptr %30, align 8, !tbaa !5
  %32 = add nsw i64 %31, 63
  %33 = and i64 %32, -64
  %.not = icmp slt i64 %29, %33
  br i1 %.not, label %34, label %.thread

34:                                               ; preds = %27
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4372, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.103) #4
  unreachable

35:                                               ; preds = %13
  %36 = fcmp ule float %6, 0.000000e+00
  br i1 %36, label %..thread_crit_edge, label %37

..thread_crit_edge:                               ; preds = %35
  %.phi.trans.insert = getelementptr inbounds i8, ptr %1, i64 24
  %.pre = load i64, ptr %.phi.trans.insert, align 8, !tbaa !5
  br label %.thread

37:                                               ; preds = %35
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4377, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.104) #4
  unreachable

.thread:                                          ; preds = %..thread_crit_edge, %27
  %38 = phi i64 [ %.pre, %..thread_crit_edge ], [ %31, %27 ]
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %9) #5
  %39 = getelementptr inbounds i8, ptr %3, i64 16
  %40 = load i64, ptr %39, align 8, !tbaa !5
  store i64 %40, ptr %9, align 16, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %9, i64 8
  %42 = getelementptr inbounds i8, ptr %1, i64 32
  %43 = load i64, ptr %42, align 8, !tbaa !5
  store i64 %43, ptr %41, align 8, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %9, i64 16
  store i64 %38, ptr %44, align 16, !tbaa !5
  %45 = getelementptr inbounds i8, ptr %9, i64 24
  %46 = getelementptr inbounds i8, ptr %1, i64 40
  %47 = load i64, ptr %46, align 8, !tbaa !5
  store i64 %47, ptr %45, align 8, !tbaa !5
  %48 = call ptr @ggml_new_tensor(ptr noundef %0, i32 noundef 0, i32 noundef 4, ptr noundef nonnull %9)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #5
  store float %5, ptr %10, align 4, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %10, i64 4
  store float %6, ptr %49, align 4, !tbaa !9
  %50 = getelementptr inbounds i8, ptr %10, i64 8
  store float %7, ptr %50, align 4, !tbaa !9
  call void @ggml_set_op_params(ptr noundef %48, ptr noundef nonnull %10, i64 noundef 12)
  %51 = getelementptr inbounds i8, ptr %48, i64 80
  store i32 63, ptr %51, align 8, !tbaa !11
  %52 = getelementptr inbounds i8, ptr %48, i64 152
  store ptr %1, ptr %52, align 8, !tbaa !15
  %53 = getelementptr inbounds i8, ptr %48, i64 160
  store ptr %2, ptr %53, align 8, !tbaa !15
  %54 = getelementptr inbounds i8, ptr %48, i64 168
  store ptr %3, ptr %54, align 8, !tbaa !15
  %55 = getelementptr inbounds i8, ptr %48, i64 176
  store ptr %4, ptr %55, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %9) #5
  ret ptr %48
}

attributes #0 = { noreturn 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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { inlinehint 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 #4 = { noreturn }
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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !13, i64 80}
!12 = !{!"ggml_tensor", !13, i64 0, !14, i64 8, !7, i64 16, !7, i64 48, !13, i64 80, !7, i64 84, !13, i64 148, !7, i64 152, !14, i64 232, !6, i64 240, !14, i64 248, !7, i64 256, !14, i64 320, !7, i64 328}
!13 = !{!"int", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!14, !14, i64 0}


; Effective O3 passes: BDCEPass,ConstraintEliminationPass,EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass