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

; 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_conv_2d_dw_params = type { i64, i64, i64, i64, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32 }
%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 = external hidden unnamed_addr constant [68 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [43 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: noreturn
declare void @ggml_abort(ptr noundef, i32 noundef, ptr noundef, ...) #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @ggml_compute_forward_conv_2d_dw(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca %struct.ggml_conv_2d_dw_params, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #5
  %8 = load ptr, ptr %4, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.ggml_tensor, ptr %8, i32 0, i32 7
  %10 = getelementptr inbounds [10 x ptr], ptr %9, i64 0, i64 0
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  store ptr %11, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.ggml_tensor, ptr %12, i32 0, i32 7
  %14 = getelementptr inbounds [10 x ptr], ptr %13, i64 0, i64 1
  %15 = load ptr, ptr %14, align 8, !tbaa !5
  store ptr %15, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr %7) #5
  %16 = load ptr, ptr %6, align 8, !tbaa !5
  %17 = getelementptr inbounds %struct.ggml_tensor, ptr %16, i32 0, i32 2
  %18 = getelementptr inbounds [4 x i64], ptr %17, i64 0, i64 2
  %19 = load i64, ptr %18, align 8, !tbaa !9
  %20 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 0
  store i64 %19, ptr %20, align 8, !tbaa !11
  %21 = load ptr, ptr %6, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.ggml_tensor, ptr %21, i32 0, i32 2
  %23 = getelementptr inbounds [4 x i64], ptr %22, i64 0, i64 3
  %24 = load i64, ptr %23, align 8, !tbaa !9
  %25 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 1
  store i64 %24, ptr %25, align 8, !tbaa !14
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.ggml_tensor, ptr %26, i32 0, i32 2
  %28 = getelementptr inbounds [4 x i64], ptr %27, i64 0, i64 0
  %29 = load i64, ptr %28, align 8, !tbaa !9
  %30 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 2
  store i64 %29, ptr %30, align 8, !tbaa !15
  %31 = load ptr, ptr %6, align 8, !tbaa !5
  %32 = getelementptr inbounds %struct.ggml_tensor, ptr %31, i32 0, i32 2
  %33 = getelementptr inbounds [4 x i64], ptr %32, i64 0, i64 1
  %34 = load i64, ptr %33, align 8, !tbaa !9
  %35 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 3
  store i64 %34, ptr %35, align 8, !tbaa !16
  %36 = load ptr, ptr %4, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.ggml_tensor, ptr %36, i32 0, i32 2
  %38 = getelementptr inbounds [4 x i64], ptr %37, i64 0, i64 0
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 4
  store i64 %39, ptr %40, align 8, !tbaa !17
  %41 = load ptr, ptr %4, 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 1
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 5
  store i64 %44, ptr %45, align 8, !tbaa !18
  %46 = load ptr, ptr %5, 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 0
  %49 = load i64, ptr %48, align 8, !tbaa !9
  %50 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 6
  store i64 %49, ptr %50, align 8, !tbaa !19
  %51 = load ptr, ptr %5, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.ggml_tensor, ptr %51, i32 0, i32 2
  %53 = getelementptr inbounds [4 x i64], ptr %52, i64 0, i64 1
  %54 = load i64, ptr %53, align 8, !tbaa !9
  %55 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 7
  store i64 %54, ptr %55, align 8, !tbaa !20
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.ggml_tensor, ptr %56, i32 0, i32 5
  %58 = getelementptr inbounds [16 x i32], ptr %57, i64 0, i64 0
  %59 = load i32, ptr %58, align 4, !tbaa !21
  %60 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 8
  store i32 %59, ptr %60, align 8, !tbaa !22
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.ggml_tensor, ptr %61, i32 0, i32 5
  %63 = getelementptr inbounds [16 x i32], ptr %62, i64 0, i64 1
  %64 = load i32, ptr %63, align 4, !tbaa !21
  %65 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 9
  store i32 %64, ptr %65, align 4, !tbaa !23
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.ggml_tensor, ptr %66, i32 0, i32 5
  %68 = getelementptr inbounds [16 x i32], ptr %67, i64 0, i64 2
  %69 = load i32, ptr %68, align 4, !tbaa !21
  %70 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 10
  store i32 %69, ptr %70, align 8, !tbaa !24
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %struct.ggml_tensor, ptr %71, i32 0, i32 5
  %73 = getelementptr inbounds [16 x i32], ptr %72, i64 0, i64 3
  %74 = load i32, ptr %73, align 4, !tbaa !21
  %75 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 11
  store i32 %74, ptr %75, align 4, !tbaa !25
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.ggml_tensor, ptr %76, i32 0, i32 5
  %78 = getelementptr inbounds [16 x i32], ptr %77, i64 0, i64 4
  %79 = load i32, ptr %78, align 4, !tbaa !21
  %80 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 12
  store i32 %79, ptr %80, align 8, !tbaa !26
  %81 = load ptr, ptr %4, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.ggml_tensor, ptr %81, i32 0, i32 5
  %83 = getelementptr inbounds [16 x i32], ptr %82, i64 0, i64 5
  %84 = load i32, ptr %83, align 4, !tbaa !21
  %85 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 13
  store i32 %84, ptr %85, align 4, !tbaa !27
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.ggml_tensor, ptr %86, i32 0, i32 2
  %88 = getelementptr inbounds [4 x i64], ptr %87, i64 0, i64 3
  %89 = load i64, ptr %88, align 8, !tbaa !9
  %90 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 0
  %91 = load i64, ptr %90, align 8, !tbaa !11
  %92 = icmp eq i64 %89, %91
  br i1 %92, label %94, label %93

93:                                               ; preds = %2
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 6225, ptr noundef @.str.2, ptr noundef @.str.10) #6
  unreachable

94:                                               ; preds = %2
  %95 = load ptr, ptr %4, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.ggml_tensor, ptr %95, i32 0, i32 2
  %97 = getelementptr inbounds [4 x i64], ptr %96, i64 0, i64 3
  %98 = load i64, ptr %97, align 8, !tbaa !9
  %99 = getelementptr inbounds %struct.ggml_conv_2d_dw_params, ptr %7, i32 0, i32 1
  %100 = load i64, ptr %99, align 8, !tbaa !14
  %101 = icmp eq i64 %98, %100
  br i1 %101, label %103, label %102

102:                                              ; preds = %94
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 6226, ptr noundef @.str.2, ptr noundef @.str.11) #6
  unreachable

103:                                              ; preds = %94
  %104 = load ptr, ptr %6, align 8, !tbaa !5
  %105 = call zeroext i1 @ggml_is_contiguous(ptr noundef %104)
  br i1 %105, label %106, label %111

106:                                              ; preds = %103
  %107 = load ptr, ptr %3, align 8, !tbaa !5
  %108 = load ptr, ptr %6, align 8, !tbaa !5
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZL36ggml_compute_forward_conv_2d_dw_whcnPK19ggml_compute_paramsPK11ggml_tensorS4_PS2_RK22ggml_conv_2d_dw_params(ptr noundef %107, ptr noundef %108, ptr noundef %109, ptr noundef %110, ptr noundef nonnull align 8 dereferenceable(88) %7)
  br label %142

111:                                              ; preds = %103
  %112 = load ptr, ptr %6, align 8, !tbaa !5
  %113 = call zeroext i1 @ggml_is_contiguous_channels(ptr noundef %112)
  br i1 %113, label %114, label %140

114:                                              ; preds = %111
  %115 = load ptr, ptr %5, 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 0
  %118 = load i64, ptr %117, align 8, !tbaa !9
  %119 = load ptr, ptr %5, 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
  %122 = load i64, ptr %121, align 8, !tbaa !9
  %123 = icmp uge i64 %118, %122
  br i1 %123, label %124, label %134

124:                                              ; preds = %114
  %125 = load ptr, ptr %5, align 8, !tbaa !5
  %126 = getelementptr inbounds %struct.ggml_tensor, ptr %125, i32 0, i32 3
  %127 = getelementptr inbounds [4 x i64], ptr %126, i64 0, i64 1
  %128 = load i64, ptr %127, align 8, !tbaa !9
  %129 = load ptr, ptr %5, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.ggml_tensor, ptr %129, i32 0, i32 3
  %131 = getelementptr inbounds [4 x i64], ptr %130, i64 0, i64 0
  %132 = load i64, ptr %131, align 8, !tbaa !9
  %133 = icmp uge i64 %128, %132
  br i1 %133, label %135, label %134

134:                                              ; preds = %124, %114
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 6232, ptr noundef @.str.2, ptr noundef @.str.12) #6
  unreachable

135:                                              ; preds = %124
  %136 = load ptr, ptr %3, align 8, !tbaa !5
  %137 = load ptr, ptr %6, align 8, !tbaa !5
  %138 = load ptr, ptr %5, align 8, !tbaa !5
  %139 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZL36ggml_compute_forward_conv_2d_dw_cwhnPK19ggml_compute_paramsPK11ggml_tensorS4_PS2_RK22ggml_conv_2d_dw_params(ptr noundef %136, ptr noundef %137, ptr noundef %138, ptr noundef %139, ptr noundef nonnull align 8 dereferenceable(88) %7)
  br label %141

140:                                              ; preds = %111
  call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef @.str, i32 noundef 6235, ptr noundef @.str.13) #6
  unreachable

141:                                              ; preds = %135
  br label %142

142:                                              ; preds = %141, %106
  call void @llvm.lifetime.end.p0(i64 88, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #5
  ret void
}

declare zeroext i1 @ggml_is_contiguous(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL36ggml_compute_forward_conv_2d_dw_whcnPK19ggml_compute_paramsPK11ggml_tensorS4_PS2_RK22ggml_conv_2d_dw_params(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(88)) #4

declare zeroext i1 @ggml_is_contiguous_channels(ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL36ggml_compute_forward_conv_2d_dw_cwhnPK19ggml_compute_paramsPK11ggml_tensorS4_PS2_RK22ggml_conv_2d_dw_params(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(88)) #4

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "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 = { mustprogress 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 = { "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 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 #5 = { nounwind }
attributes #6 = { noreturn }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS22ggml_conv_2d_dw_params", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 16}
!16 = !{!12, !10, i64 24}
!17 = !{!12, !10, i64 32}
!18 = !{!12, !10, i64 40}
!19 = !{!12, !10, i64 48}
!20 = !{!12, !10, i64 56}
!21 = !{!13, !13, i64 0}
!22 = !{!12, !13, i64 64}
!23 = !{!12, !13, i64 68}
!24 = !{!12, !13, i64 72}
!25 = !{!12, !13, i64 76}
!26 = !{!12, !13, i64 80}
!27 = !{!12, !13, i64 84}


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

%struct.ggml_conv_2d_dw_params = type { i64, i64, i64, i64, i64, i64, i64, i64, i32, i32, i32, i32, i32, i32 }

@.str = external hidden unnamed_addr constant [68 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [28 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [65 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [43 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: noreturn
declare void @ggml_abort(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #1

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

; Function Attrs: mustprogress uwtable
define dso_local void @ggml_compute_forward_conv_2d_dw(ptr noundef %0, ptr noundef %1) local_unnamed_addr #2 {
  %3 = alloca %struct.ggml_conv_2d_dw_params, align 8
  %4 = getelementptr inbounds i8, ptr %1, i64 152
  %5 = load ptr, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 160
  %7 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 88, ptr nonnull %3) #5
  %8 = getelementptr inbounds i8, ptr %7, i64 16
  %9 = getelementptr inbounds i8, ptr %7, i64 32
  %10 = load i64, ptr %9, align 8, !tbaa !9
  store i64 %10, ptr %3, align 8, !tbaa !11
  %11 = getelementptr inbounds i8, ptr %7, i64 40
  %12 = load i64, ptr %11, align 8, !tbaa !9
  %13 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 %12, ptr %13, align 8, !tbaa !14
  %14 = getelementptr inbounds i8, ptr %3, i64 16
  %15 = load <2 x i64>, ptr %8, align 8, !tbaa !9
  store <2 x i64> %15, ptr %14, align 8, !tbaa !9
  %16 = getelementptr inbounds i8, ptr %1, i64 16
  %17 = getelementptr inbounds i8, ptr %3, i64 32
  %18 = load <2 x i64>, ptr %16, align 8, !tbaa !9
  store <2 x i64> %18, ptr %17, align 8, !tbaa !9
  %19 = getelementptr inbounds i8, ptr %5, i64 16
  %20 = load i64, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds i8, ptr %3, i64 48
  store i64 %20, ptr %21, align 8, !tbaa !15
  %22 = getelementptr inbounds i8, ptr %5, i64 24
  %23 = load i64, ptr %22, align 8, !tbaa !9
  %24 = getelementptr inbounds i8, ptr %3, i64 56
  store i64 %23, ptr %24, align 8, !tbaa !16
  %25 = getelementptr inbounds i8, ptr %1, i64 84
  %26 = getelementptr inbounds i8, ptr %3, i64 64
  %27 = load <4 x i32>, ptr %25, align 4, !tbaa !17
  store <4 x i32> %27, ptr %26, align 8, !tbaa !17
  %28 = getelementptr inbounds i8, ptr %1, i64 100
  %29 = getelementptr inbounds i8, ptr %3, i64 80
  %30 = load <2 x i32>, ptr %28, align 4, !tbaa !17
  store <2 x i32> %30, ptr %29, align 8, !tbaa !17
  %31 = getelementptr inbounds i8, ptr %5, i64 40
  %32 = load i64, ptr %31, align 8, !tbaa !9
  %33 = icmp eq i64 %32, %10
  br i1 %33, label %35, label %34

34:                                               ; preds = %2
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 6225, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.10) #6
  unreachable

35:                                               ; preds = %2
  %36 = getelementptr inbounds i8, ptr %1, i64 40
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = icmp eq i64 %37, %12
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 6226, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.11) #6
  unreachable

40:                                               ; preds = %35
  %41 = tail call zeroext i1 @ggml_is_contiguous(ptr noundef nonnull %7)
  br i1 %41, label %42, label %43

42:                                               ; preds = %40
  call void @_ZL36ggml_compute_forward_conv_2d_dw_whcnPK19ggml_compute_paramsPK11ggml_tensorS4_PS2_RK22ggml_conv_2d_dw_params(ptr noundef %0, ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %1, ptr noundef nonnull align 8 dereferenceable(88) %3)
  br label %56

43:                                               ; preds = %40
  %44 = tail call zeroext i1 @ggml_is_contiguous_channels(ptr noundef nonnull %7)
  br i1 %44, label %45, label %55

45:                                               ; preds = %43
  %46 = getelementptr inbounds i8, ptr %5, i64 48
  %47 = load i64, ptr %46, align 8, !tbaa !9
  %48 = getelementptr inbounds i8, ptr %5, i64 64
  %49 = load i64, ptr %48, align 8, !tbaa !9
  %.not = icmp ult i64 %47, %49
  br i1 %.not, label %53, label %50

50:                                               ; preds = %45
  %51 = getelementptr inbounds i8, ptr %5, i64 56
  %52 = load i64, ptr %51, align 8, !tbaa !9
  %.not32 = icmp ult i64 %52, %47
  br i1 %.not32, label %53, label %54

53:                                               ; preds = %50, %45
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 6232, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.12) #6
  unreachable

54:                                               ; preds = %50
  call void @_ZL36ggml_compute_forward_conv_2d_dw_cwhnPK19ggml_compute_paramsPK11ggml_tensorS4_PS2_RK22ggml_conv_2d_dw_params(ptr noundef %0, ptr noundef nonnull %7, ptr noundef nonnull %5, ptr noundef nonnull %1, ptr noundef nonnull align 8 dereferenceable(88) %3)
  br label %56

55:                                               ; preds = %43
  tail call void (ptr, i32, ptr, ...) @ggml_abort(ptr noundef nonnull @.str, i32 noundef 6235, ptr noundef nonnull @.str.13) #6
  unreachable

56:                                               ; preds = %54, %42
  call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %3) #5
  ret void
}

declare zeroext i1 @ggml_is_contiguous(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL36ggml_compute_forward_conv_2d_dw_whcnPK19ggml_compute_paramsPK11ggml_tensorS4_PS2_RK22ggml_conv_2d_dw_params(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4

declare zeroext i1 @ggml_is_contiguous_channels(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare hidden void @_ZL36ggml_compute_forward_conv_2d_dw_cwhnPK19ggml_compute_paramsPK11ggml_tensorS4_PS2_RK22ggml_conv_2d_dw_params(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef nonnull align 8 dereferenceable(88)) local_unnamed_addr #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn "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 = { mustprogress 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 = { "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 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 #5 = { nounwind }
attributes #6 = { noreturn }

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !10, i64 0}
!12 = !{!"_ZTS22ggml_conv_2d_dw_params", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !13, i64 64, !13, i64 68, !13, i64 72, !13, i64 76, !13, i64 80, !13, i64 84}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !10, i64 8}
!15 = !{!12, !10, i64 48}
!16 = !{!12, !10, i64 56}
!17 = !{!13, !13, i64 0}


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