; 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.88 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [34 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 i64 @ggml_blck_size(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @ggml_type_size(i32 noundef) #2

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @ggml_is_contiguous_channels(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: nounwind uwtable
declare hidden i64 @ggml_calc_conv_output_size(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) #2

; Function Attrs: nounwind uwtable
define dso_local ptr @ggml_conv_2d_dw_direct(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) #2 {
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca [4 x i64], align 16
  %20 = alloca ptr, align 8
  %21 = alloca i64, align 8
  %22 = alloca [6 x i32], align 16
  store ptr %0, ptr %10, align 8, !tbaa !5
  store ptr %1, ptr %11, align 8, !tbaa !5
  store ptr %2, ptr %12, align 8, !tbaa !5
  store i32 %3, ptr %13, align 4, !tbaa !9
  store i32 %4, ptr %14, align 4, !tbaa !9
  store i32 %5, ptr %15, align 4, !tbaa !9
  store i32 %6, ptr %16, align 4, !tbaa !9
  store i32 %7, ptr %17, align 4, !tbaa !9
  store i32 %8, ptr %18, align 4, !tbaa !9
  %23 = load ptr, ptr %11, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.ggml_tensor, ptr %23, i32 0, i32 2
  %25 = getelementptr inbounds [4 x i64], ptr %24, i64 0, i64 2
  %26 = load i64, ptr %25, align 8, !tbaa !11
  %27 = icmp eq i64 %26, 1
  br i1 %27, label %29, label %28

28:                                               ; preds = %9
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4033, ptr noundef @.str.13, ptr noundef @.str.88) #3
  unreachable

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

39:                                               ; preds = %29
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4034, ptr noundef @.str.13, ptr noundef @.str.89) #3
  unreachable

40:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 32, ptr %19) #4
  %41 = load ptr, ptr %12, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.ggml_tensor, ptr %41, i32 0, i32 2
  %43 = getelementptr inbounds [4 x i64], ptr %42, i64 0, i64 0
  %44 = load i64, ptr %43, align 8, !tbaa !11
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.ggml_tensor, ptr %45, i32 0, i32 2
  %47 = getelementptr inbounds [4 x i64], ptr %46, i64 0, i64 0
  %48 = load i64, ptr %47, align 8, !tbaa !11
  %49 = load i32, ptr %13, align 4, !tbaa !9
  %50 = load i32, ptr %15, align 4, !tbaa !9
  %51 = load i32, ptr %17, align 4, !tbaa !9
  %52 = call i64 @ggml_calc_conv_output_size(i64 noundef %44, i64 noundef %48, i32 noundef %49, i32 noundef %50, i32 noundef %51)
  %53 = getelementptr inbounds [4 x i64], ptr %19, i64 0, i64 0
  store i64 %52, ptr %53, align 16, !tbaa !11
  %54 = load ptr, ptr %12, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.ggml_tensor, ptr %54, i32 0, i32 2
  %56 = getelementptr inbounds [4 x i64], ptr %55, i64 0, i64 1
  %57 = load i64, ptr %56, align 8, !tbaa !11
  %58 = load ptr, ptr %11, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.ggml_tensor, ptr %58, i32 0, i32 2
  %60 = getelementptr inbounds [4 x i64], ptr %59, i64 0, i64 1
  %61 = load i64, ptr %60, align 8, !tbaa !11
  %62 = load i32, ptr %14, align 4, !tbaa !9
  %63 = load i32, ptr %16, align 4, !tbaa !9
  %64 = load i32, ptr %18, align 4, !tbaa !9
  %65 = call i64 @ggml_calc_conv_output_size(i64 noundef %57, i64 noundef %61, i32 noundef %62, i32 noundef %63, i32 noundef %64)
  %66 = getelementptr inbounds [4 x i64], ptr %19, i64 0, i64 1
  store i64 %65, ptr %66, align 8, !tbaa !11
  %67 = load ptr, ptr %12, align 8, !tbaa !5
  %68 = getelementptr inbounds %struct.ggml_tensor, ptr %67, i32 0, i32 2
  %69 = getelementptr inbounds [4 x i64], ptr %68, i64 0, i64 2
  %70 = load i64, ptr %69, align 8, !tbaa !11
  %71 = getelementptr inbounds [4 x i64], ptr %19, i64 0, i64 2
  store i64 %70, ptr %71, align 16, !tbaa !11
  %72 = load ptr, ptr %12, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.ggml_tensor, ptr %72, i32 0, i32 2
  %74 = getelementptr inbounds [4 x i64], ptr %73, i64 0, i64 3
  %75 = load i64, ptr %74, align 8, !tbaa !11
  %76 = getelementptr inbounds [4 x i64], ptr %19, i64 0, i64 3
  store i64 %75, ptr %76, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  %77 = load ptr, ptr %10, align 8, !tbaa !5
  %78 = load ptr, ptr %12, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.ggml_tensor, ptr %78, i32 0, i32 0
  %80 = load i32, ptr %79, align 8, !tbaa !13
  %81 = getelementptr inbounds [4 x i64], ptr %19, i64 0, i64 0
  %82 = call ptr @ggml_new_tensor(ptr noundef %77, i32 noundef %80, i32 noundef 4, ptr noundef %81)
  store ptr %82, ptr %20, align 8, !tbaa !5
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = call zeroext i1 @ggml_is_contiguous_channels(ptr noundef %83)
  br i1 %84, label %85, label %122

85:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  %86 = load ptr, ptr %20, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ggml_tensor, ptr %86, i32 0, i32 0
  %88 = load i32, ptr %87, align 8, !tbaa !13
  %89 = call i64 @ggml_type_size(i32 noundef %88)
  store i64 %89, ptr %21, align 8, !tbaa !11
  %90 = load ptr, ptr %20, align 8, !tbaa !5
  %91 = getelementptr inbounds %struct.ggml_tensor, ptr %90, i32 0, i32 0
  %92 = load i32, ptr %91, align 8, !tbaa !13
  %93 = call i64 @ggml_blck_size(i32 noundef %92)
  %94 = icmp eq i64 %93, 1
  br i1 %94, label %96, label %95

95:                                               ; preds = %85
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str.12, i32 noundef 4046, ptr noundef @.str.13, ptr noundef @.str.90) #3
  unreachable

96:                                               ; preds = %85
  %97 = load ptr, ptr %20, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.ggml_tensor, ptr %97, i32 0, i32 2
  %99 = getelementptr inbounds [4 x i64], ptr %98, i64 0, i64 2
  %100 = load i64, ptr %99, align 8, !tbaa !11
  %101 = load i64, ptr %21, align 8, !tbaa !11
  %102 = mul nsw i64 %100, %101
  %103 = load ptr, ptr %20, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.ggml_tensor, ptr %103, i32 0, i32 3
  %105 = getelementptr inbounds [4 x i64], ptr %104, i64 0, i64 0
  store i64 %102, ptr %105, align 8, !tbaa !11
  %106 = load ptr, ptr %20, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.ggml_tensor, ptr %106, i32 0, i32 2
  %108 = getelementptr inbounds [4 x i64], ptr %107, i64 0, i64 0
  %109 = load i64, ptr %108, align 8, !tbaa !11
  %110 = load ptr, ptr %20, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.ggml_tensor, ptr %110, i32 0, i32 3
  %112 = getelementptr inbounds [4 x i64], ptr %111, i64 0, i64 0
  %113 = load i64, ptr %112, align 8, !tbaa !11
  %114 = mul i64 %109, %113
  %115 = load ptr, ptr %20, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.ggml_tensor, ptr %115, i32 0, i32 3
  %117 = getelementptr inbounds [4 x i64], ptr %116, i64 0, i64 1
  store i64 %114, ptr %117, align 8, !tbaa !11
  %118 = load i64, ptr %21, align 8, !tbaa !11
  %119 = load ptr, ptr %20, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.ggml_tensor, ptr %119, i32 0, i32 3
  %121 = getelementptr inbounds [4 x i64], ptr %120, i64 0, i64 2
  store i64 %118, ptr %121, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  br label %122

122:                                              ; preds = %96, %40
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #4
  %123 = load i32, ptr %13, align 4, !tbaa !9
  store i32 %123, ptr %22, align 4, !tbaa !9
  %124 = getelementptr inbounds i32, ptr %22, i64 1
  %125 = load i32, ptr %14, align 4, !tbaa !9
  store i32 %125, ptr %124, align 4, !tbaa !9
  %126 = getelementptr inbounds i32, ptr %22, i64 2
  %127 = load i32, ptr %15, align 4, !tbaa !9
  store i32 %127, ptr %126, align 4, !tbaa !9
  %128 = getelementptr inbounds i32, ptr %22, i64 3
  %129 = load i32, ptr %16, align 4, !tbaa !9
  store i32 %129, ptr %128, align 4, !tbaa !9
  %130 = getelementptr inbounds i32, ptr %22, i64 4
  %131 = load i32, ptr %17, align 4, !tbaa !9
  store i32 %131, ptr %130, align 4, !tbaa !9
  %132 = getelementptr inbounds i32, ptr %22, i64 5
  %133 = load i32, ptr %18, align 4, !tbaa !9
  store i32 %133, ptr %132, align 4, !tbaa !9
  %134 = load ptr, ptr %20, align 8, !tbaa !5
  %135 = getelementptr inbounds [6 x i32], ptr %22, i64 0, i64 0
  call void @ggml_set_op_params(ptr noundef %134, ptr noundef %135, i64 noundef 24)
  %136 = load ptr, ptr %20, align 8, !tbaa !5
  %137 = getelementptr inbounds %struct.ggml_tensor, ptr %136, i32 0, i32 4
  store i32 51, ptr %137, align 8, !tbaa !15
  %138 = load ptr, ptr %11, align 8, !tbaa !5
  %139 = load ptr, ptr %20, align 8, !tbaa !5
  %140 = getelementptr inbounds %struct.ggml_tensor, ptr %139, i32 0, i32 7
  %141 = getelementptr inbounds [10 x ptr], ptr %140, i64 0, i64 0
  store ptr %138, ptr %141, align 8, !tbaa !5
  %142 = load ptr, ptr %12, align 8, !tbaa !5
  %143 = load ptr, ptr %20, align 8, !tbaa !5
  %144 = getelementptr inbounds %struct.ggml_tensor, ptr %143, i32 0, i32 7
  %145 = getelementptr inbounds [10 x ptr], ptr %144, i64 0, i64 1
  store ptr %142, ptr %145, align 8, !tbaa !5
  %146 = load ptr, ptr %20, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr %19) #4
  ret ptr %146
}

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 = { noreturn }
attributes #4 = { 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 = !{!"long", !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, !12, i64 240, !6, i64 248, !7, i64 256, !6, i64 320, !7, i64 328}
!15 = !{!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.88 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.89 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.90 = external hidden unnamed_addr constant [34 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 i64 @ggml_blck_size(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local i64 @ggml_type_size(i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @ggml_is_contiguous_channels(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: nounwind uwtable
declare hidden i64 @ggml_calc_conv_output_size(i64 noundef, i64 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local ptr @ggml_conv_2d_dw_direct(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3, i32 noundef %4, i32 noundef %5, i32 noundef %6, i32 noundef %7, i32 noundef %8) local_unnamed_addr #2 {
  %10 = alloca [4 x i64], align 16
  %11 = alloca [6 x i32], align 16
  %12 = getelementptr inbounds i8, ptr %1, i64 16
  %13 = getelementptr inbounds i8, ptr %1, i64 32
  %14 = load i64, ptr %13, align 8, !tbaa !5
  %15 = icmp eq i64 %14, 1
  br i1 %15, label %17, label %16

16:                                               ; preds = %9
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4033, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.88) #3
  unreachable

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

23:                                               ; preds = %17
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4034, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.89) #3
  unreachable

24:                                               ; preds = %17
  %25 = getelementptr inbounds i8, ptr %2, i64 16
  call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %10) #4
  %26 = load i64, ptr %25, align 8, !tbaa !5
  %27 = load i64, ptr %12, align 8, !tbaa !5
  %28 = tail call i64 @ggml_calc_conv_output_size(i64 noundef %26, i64 noundef %27, i32 noundef %3, i32 noundef %5, i32 noundef %7)
  store i64 %28, ptr %10, align 16, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %2, i64 24
  %30 = load i64, ptr %29, align 8, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %1, i64 24
  %32 = load i64, ptr %31, align 8, !tbaa !5
  %33 = tail call i64 @ggml_calc_conv_output_size(i64 noundef %30, i64 noundef %32, i32 noundef %4, i32 noundef %6, i32 noundef %8)
  %34 = getelementptr inbounds i8, ptr %10, i64 8
  store i64 %33, ptr %34, align 8, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %10, i64 16
  %36 = load <2 x i64>, ptr %20, align 8, !tbaa !5
  store <2 x i64> %36, ptr %35, align 16, !tbaa !5
  %37 = load i32, ptr %2, align 8, !tbaa !9
  %38 = call ptr @ggml_new_tensor(ptr noundef %0, i32 noundef %37, i32 noundef 4, ptr noundef nonnull %10)
  %39 = call zeroext i1 @ggml_is_contiguous_channels(ptr noundef nonnull %2)
  br i1 %39, label %40, label %57

40:                                               ; preds = %24
  %41 = load i32, ptr %38, align 8, !tbaa !9
  %42 = call i64 @ggml_type_size(i32 noundef %41)
  %43 = load i32, ptr %38, align 8, !tbaa !9
  %44 = call i64 @ggml_blck_size(i32 noundef %43)
  %45 = icmp eq i64 %44, 1
  br i1 %45, label %47, label %46

46:                                               ; preds = %40
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str.12, i32 noundef 4046, ptr noundef nonnull @.str.13, ptr noundef nonnull @.str.90) #3
  unreachable

47:                                               ; preds = %40
  %48 = getelementptr inbounds i8, ptr %38, i64 16
  %49 = getelementptr inbounds i8, ptr %38, i64 32
  %50 = load i64, ptr %49, align 8, !tbaa !5
  %51 = mul nsw i64 %50, %42
  %52 = getelementptr inbounds i8, ptr %38, i64 48
  store i64 %51, ptr %52, align 8, !tbaa !5
  %53 = load i64, ptr %48, align 8, !tbaa !5
  %54 = mul i64 %53, %51
  %55 = getelementptr inbounds i8, ptr %38, i64 56
  store i64 %54, ptr %55, align 8, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %38, i64 64
  store i64 %42, ptr %56, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %47, %24
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #4
  store i32 %3, ptr %11, align 16, !tbaa !13
  %58 = getelementptr inbounds i8, ptr %11, i64 4
  store i32 %4, ptr %58, align 4, !tbaa !13
  %59 = getelementptr inbounds i8, ptr %11, i64 8
  store i32 %5, ptr %59, align 8, !tbaa !13
  %60 = getelementptr inbounds i8, ptr %11, i64 12
  store i32 %6, ptr %60, align 4, !tbaa !13
  %61 = getelementptr inbounds i8, ptr %11, i64 16
  store i32 %7, ptr %61, align 16, !tbaa !13
  %62 = getelementptr inbounds i8, ptr %11, i64 20
  store i32 %8, ptr %62, align 4, !tbaa !13
  call void @ggml_set_op_params(ptr noundef %38, ptr noundef nonnull %11, i64 noundef 24)
  %63 = getelementptr inbounds i8, ptr %38, i64 80
  store i32 51, ptr %63, align 8, !tbaa !14
  %64 = getelementptr inbounds i8, ptr %38, i64 152
  store ptr %1, ptr %64, align 8, !tbaa !15
  %65 = getelementptr inbounds i8, ptr %38, i64 160
  store ptr %2, ptr %65, align 8, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %10) #4
  ret ptr %38
}

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 = { noreturn }
attributes #4 = { 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, !11, i64 0}
!10 = !{!"ggml_tensor", !11, i64 0, !12, i64 8, !7, i64 16, !7, i64 48, !11, i64 80, !7, i64 84, !11, i64 148, !7, i64 152, !12, i64 232, !6, i64 240, !12, i64 248, !7, i64 256, !12, i64 320, !7, i64 328}
!11 = !{!"int", !7, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 80}
!15 = !{!12, !12, i64 0}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,TailCallElimPass