; 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.69 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [23 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @ggml_dup_tensor(ptr noundef, ptr noundef) #3

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

; Function Attrs: nounwind uwtable
define dso_local ptr @ggml_rope_multi(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr noundef %5, i32 noundef %6, i32 noundef %7, float noundef %8, float noundef %9, float noundef %10, float noundef %11, float noundef %12, float noundef %13) #3 {
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca i32, align 4
  %20 = alloca ptr, align 8
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = alloca float, align 4
  %27 = alloca float, align 4
  %28 = alloca float, align 4
  %29 = alloca ptr, align 8
  %30 = alloca [15 x i32], align 16
  store ptr %0, ptr %15, align 8, !tbaa !5
  store ptr %1, ptr %16, align 8, !tbaa !5
  store ptr %2, ptr %17, align 8, !tbaa !5
  store ptr %3, ptr %18, align 8, !tbaa !5
  store i32 %4, ptr %19, align 4, !tbaa !9
  store ptr %5, ptr %20, align 8, !tbaa !5
  store i32 %6, ptr %21, align 4, !tbaa !9
  store i32 %7, ptr %22, align 4, !tbaa !9
  store float %8, ptr %23, align 4, !tbaa !11
  store float %9, ptr %24, align 4, !tbaa !11
  store float %10, ptr %25, align 4, !tbaa !11
  store float %11, ptr %26, align 4, !tbaa !11
  store float %12, ptr %27, align 4, !tbaa !11
  store float %13, ptr %28, align 4, !tbaa !11
  %31 = load i32, ptr %21, align 4, !tbaa !9
  %32 = and i32 %31, 1
  %33 = icmp eq i32 %32, 0
  br i1 %33, label %34, label %35

34:                                               ; preds = %14
  br i1 true, label %36, label %35

35:                                               ; preds = %34, %14
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 3577, ptr noundef @.str.13, ptr noundef @.str.74) #5
  unreachable

36:                                               ; preds = %34
  %37 = load ptr, ptr %17, align 8, !tbaa !5
  %38 = call zeroext i1 @ggml_is_vector(ptr noundef %37)
  br i1 %38, label %40, label %39

39:                                               ; preds = %36
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 3579, ptr noundef @.str.13, ptr noundef @.str.75) #5
  unreachable

40:                                               ; preds = %36
  %41 = load ptr, ptr %17, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ggml_tensor, ptr %41, i32 0, i32 0
  %43 = load i32, ptr %42, align 8, !tbaa !13
  %44 = icmp eq i32 %43, 26
  br i1 %44, label %46, label %45

45:                                               ; preds = %40
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 3580, ptr noundef @.str.13, ptr noundef @.str.69) #5
  unreachable

46:                                               ; preds = %40
  %47 = load ptr, ptr %16, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.ggml_tensor, ptr %47, i32 0, i32 2
  %49 = getelementptr inbounds [4 x i64], ptr %48, i64 0, i64 2
  %50 = load i64, ptr %49, align 8, !tbaa !16
  %51 = mul nsw i64 %50, 4
  %52 = load ptr, ptr %17, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.ggml_tensor, ptr %52, i32 0, i32 2
  %54 = getelementptr inbounds [4 x i64], ptr %53, i64 0, i64 0
  %55 = load i64, ptr %54, align 8, !tbaa !16
  %56 = icmp eq i64 %51, %55
  br i1 %56, label %58, label %57

57:                                               ; preds = %46
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 3581, ptr noundef @.str.13, ptr noundef @.str.76) #5
  unreachable

58:                                               ; preds = %46
  %59 = load ptr, ptr %18, align 8, !tbaa !5
  %60 = icmp ne ptr %59, null
  br i1 %60, label %61, label %78

61:                                               ; preds = %58
  %62 = load ptr, ptr %18, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.ggml_tensor, ptr %62, i32 0, i32 0
  %64 = load i32, ptr %63, align 8, !tbaa !13
  %65 = icmp eq i32 %64, 0
  br i1 %65, label %67, label %66

66:                                               ; preds = %61
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 3584, ptr noundef @.str.13, ptr noundef @.str.77) #5
  unreachable

67:                                               ; preds = %61
  %68 = load ptr, ptr %18, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.ggml_tensor, ptr %68, i32 0, i32 2
  %70 = getelementptr inbounds [4 x i64], ptr %69, i64 0, i64 0
  %71 = load i64, ptr %70, align 8, !tbaa !16
  %72 = load i32, ptr %19, align 4, !tbaa !9
  %73 = sdiv i32 %72, 2
  %74 = sext i32 %73 to i64
  %75 = icmp sge i64 %71, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %67
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 3585, ptr noundef @.str.13, ptr noundef @.str.78) #5
  unreachable

77:                                               ; preds = %67
  br label %78

78:                                               ; preds = %77, %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %79 = load ptr, ptr %15, align 8, !tbaa !5
  %80 = load ptr, ptr %16, align 8, !tbaa !5
  %81 = call ptr @ggml_dup_tensor(ptr noundef %79, ptr noundef %80)
  store ptr %81, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 60, ptr %30) #6
  call void @llvm.memset.p0.i64(ptr align 16 %30, i8 0, i64 60, i1 false)
  %82 = getelementptr inbounds i32, ptr %30, i64 1
  %83 = load i32, ptr %19, align 4, !tbaa !9
  store i32 %83, ptr %82, align 4, !tbaa !9
  %84 = getelementptr inbounds i32, ptr %30, i64 2
  %85 = load i32, ptr %21, align 4, !tbaa !9
  store i32 %85, ptr %84, align 4, !tbaa !9
  %86 = getelementptr inbounds i32, ptr %30, i64 3
  %87 = getelementptr inbounds i32, ptr %30, i64 4
  %88 = load i32, ptr %22, align 4, !tbaa !9
  store i32 %88, ptr %87, align 4, !tbaa !9
  %89 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 0
  %90 = getelementptr inbounds i32, ptr %89, i64 5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %90, ptr align 4 %23, i64 4, i1 false)
  %91 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 0
  %92 = getelementptr inbounds i32, ptr %91, i64 6
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %92, ptr align 4 %24, i64 4, i1 false)
  %93 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 0
  %94 = getelementptr inbounds i32, ptr %93, i64 7
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %94, ptr align 4 %25, i64 4, i1 false)
  %95 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 0
  %96 = getelementptr inbounds i32, ptr %95, i64 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %96, ptr align 4 %26, i64 4, i1 false)
  %97 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 0
  %98 = getelementptr inbounds i32, ptr %97, i64 9
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %98, ptr align 4 %27, i64 4, i1 false)
  %99 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 0
  %100 = getelementptr inbounds i32, ptr %99, i64 10
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %100, ptr align 4 %28, i64 4, i1 false)
  %101 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 11
  %102 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %101, ptr align 4 %102, i64 16, i1 false)
  %103 = load ptr, ptr %29, align 8, !tbaa !5
  %104 = getelementptr inbounds [15 x i32], ptr %30, i64 0, i64 0
  call void @ggml_set_op_params(ptr noundef %103, ptr noundef %104, i64 noundef 60)
  %105 = load ptr, ptr %29, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.ggml_tensor, ptr %105, i32 0, i32 4
  store i32 45, ptr %106, align 8, !tbaa !17
  %107 = load ptr, ptr %16, align 8, !tbaa !5
  %108 = load ptr, ptr %29, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.ggml_tensor, ptr %108, i32 0, i32 7
  %110 = getelementptr inbounds [10 x ptr], ptr %109, i64 0, i64 0
  store ptr %107, ptr %110, align 8, !tbaa !5
  %111 = load ptr, ptr %17, align 8, !tbaa !5
  %112 = load ptr, ptr %29, align 8, !tbaa !5
  %113 = getelementptr inbounds %struct.ggml_tensor, ptr %112, i32 0, i32 7
  %114 = getelementptr inbounds [10 x ptr], ptr %113, i64 0, i64 1
  store ptr %111, ptr %114, align 8, !tbaa !5
  %115 = load ptr, ptr %18, align 8, !tbaa !5
  %116 = load ptr, ptr %29, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.ggml_tensor, ptr %116, i32 0, i32 7
  %118 = getelementptr inbounds [10 x ptr], ptr %117, i64 0, i64 2
  store ptr %115, ptr %118, align 8, !tbaa !5
  %119 = load ptr, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 60, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  ret ptr %119
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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


; 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.69 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.74 = external hidden unnamed_addr constant [58 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [23 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: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

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

; Function Attrs: nounwind uwtable
declare dso_local ptr @ggml_dup_tensor(ptr noundef, ptr noundef) local_unnamed_addr #3

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

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @ggml_rope_multi(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, i32 noundef %4, ptr nocapture noundef readonly %5, i32 noundef %6, i32 noundef %7, float noundef %8, float noundef %9, float noundef %10, float noundef %11, float noundef %12, float noundef %13) local_unnamed_addr #3 {
  %15 = alloca [15 x i32], align 16
  %16 = and i32 %6, 1
  %17 = icmp eq i32 %16, 0
  br i1 %17, label %19, label %18

18:                                               ; preds = %14
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 3577, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.74) #5
  unreachable

19:                                               ; preds = %14
  %20 = tail call zeroext i1 @ggml_is_vector(ptr noundef %2)
  br i1 %20, label %22, label %21

21:                                               ; preds = %19
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 3579, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.75) #5
  unreachable

22:                                               ; preds = %19
  %23 = load i32, ptr %2, align 8, !tbaa !5
  %24 = icmp eq i32 %23, 26
  br i1 %24, label %26, label %25

25:                                               ; preds = %22
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 3580, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.69) #5
  unreachable

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %1, i64 32
  %28 = load i64, ptr %27, align 8, !tbaa !12
  %29 = shl nsw i64 %28, 2
  %30 = getelementptr inbounds i8, ptr %2, i64 16
  %31 = load i64, ptr %30, align 8, !tbaa !12
  %32 = icmp eq i64 %29, %31
  br i1 %32, label %34, label %33

33:                                               ; preds = %26
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 3581, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.76) #5
  unreachable

34:                                               ; preds = %26
  %.not = icmp eq ptr %3, null
  br i1 %.not, label %45, label %35

35:                                               ; preds = %34
  %36 = load i32, ptr %3, align 8, !tbaa !5
  %37 = icmp eq i32 %36, 0
  br i1 %37, label %39, label %38

38:                                               ; preds = %35
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 3584, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.77) #5
  unreachable

39:                                               ; preds = %35
  %40 = getelementptr inbounds i8, ptr %3, i64 16
  %41 = load i64, ptr %40, align 8, !tbaa !12
  %42 = sdiv i32 %4, 2
  %43 = sext i32 %42 to i64
  %.not28 = icmp slt i64 %41, %43
  br i1 %.not28, label %44, label %45

44:                                               ; preds = %39
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 3585, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.78) #5
  unreachable

45:                                               ; preds = %39, %34
  %46 = tail call ptr @ggml_dup_tensor(ptr noundef %0, ptr noundef nonnull %1)
  call void @llvm.lifetime.start.p0(i64 60, ptr nonnull %15) #6
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 16 dereferenceable(60) %15, i8 0, i64 16, i1 false)
  %47 = getelementptr inbounds i8, ptr %15, i64 4
  store i32 %4, ptr %47, align 4, !tbaa !13
  %48 = getelementptr inbounds i8, ptr %15, i64 8
  store i32 %6, ptr %48, align 8, !tbaa !13
  %49 = getelementptr inbounds i8, ptr %15, i64 16
  store i32 %7, ptr %49, align 16, !tbaa !13
  %50 = getelementptr inbounds i8, ptr %15, i64 20
  store float %8, ptr %50, align 4
  %51 = getelementptr inbounds i8, ptr %15, i64 24
  store float %9, ptr %51, align 8
  %52 = getelementptr inbounds i8, ptr %15, i64 28
  store float %10, ptr %52, align 4
  %53 = getelementptr inbounds i8, ptr %15, i64 32
  store float %11, ptr %53, align 16
  %54 = getelementptr inbounds i8, ptr %15, i64 36
  store float %12, ptr %54, align 4
  %55 = getelementptr inbounds i8, ptr %15, i64 40
  store float %13, ptr %55, align 8
  %56 = getelementptr inbounds i8, ptr %15, i64 44
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(16) %56, ptr noundef nonnull align 4 dereferenceable(16) %5, i64 16, i1 false)
  call void @ggml_set_op_params(ptr noundef %46, ptr noundef nonnull %15, i64 noundef 60)
  %57 = getelementptr inbounds i8, ptr %46, i64 80
  store i32 45, ptr %57, align 8, !tbaa !14
  %58 = getelementptr inbounds i8, ptr %46, i64 152
  store ptr %1, ptr %58, align 8, !tbaa !15
  %59 = getelementptr inbounds i8, ptr %46, i64 160
  store ptr %2, ptr %59, align 8, !tbaa !15
  %60 = getelementptr inbounds i8, ptr %46, i64 168
  store ptr %3, ptr %60, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 60, ptr nonnull %15) #6
  ret ptr %46
}

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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


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