; LLVM IR from ggml-org/ggml :: tests/test-conv2d-dw.ll (Z15test_conv_2d_dwiiiiib)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.ggml_init_params = type { i64, ptr, i8 }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }
%"class.std::allocator" = type { i8 }

@.str.2 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9f32_rangeiff(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, float noundef, float 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: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20conv_2d_dw_referenceiiPKfiiS0_iiiii(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z11check_equalRKSt6vectorIfSaIfEES3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) #0

declare i32 @printf(ptr noundef, ...) #3

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z15test_conv_2d_dwiiiiib(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i1 noundef zeroext %5) #0 personality ptr @__gxx_personality_v0 {
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i8, align 1
  %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 %struct.ggml_init_params, align 8
  %19 = alloca %"class.std::unique_ptr", align 8
  %20 = alloca %struct.ggml_init_params, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca ptr, align 8
  %26 = alloca ptr, align 8
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca ptr, align 8
  %30 = alloca %"class.std::unique_ptr.2", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::unique_ptr.10", align 8
  %33 = alloca %"class.std::vector", align 8
  %34 = alloca %"class.std::vector", align 8
  %35 = alloca %"class.std::vector", align 8
  %36 = alloca %"class.std::allocator", align 1
  %37 = alloca %"class.std::vector", align 8
  %38 = alloca i8, align 1
  store i32 %0, ptr %7, align 4, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !5
  store i32 %4, ptr %11, align 4, !tbaa !5
  %39 = zext i1 %5 to i8
  store i8 %39, ptr %12, align 1, !tbaa !9
  call void @ggml_time_init()
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 2, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 8, ptr %14, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 6, ptr %15, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %40 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %40, ptr %16, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %41 = load i32, ptr %8, align 4, !tbaa !5
  store i32 %41, ptr %17, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %18) #5
  %42 = getelementptr inbounds %struct.ggml_init_params, ptr %18, i32 0, i32 0
  %43 = call i64 @ggml_tensor_overhead()
  %44 = mul i64 64, %43
  %45 = call i64 @ggml_graph_overhead()
  %46 = add i64 %44, %45
  store i64 %46, ptr %42, align 8, !tbaa !11
  %47 = getelementptr inbounds %struct.ggml_init_params, ptr %18, i32 0, i32 1
  store ptr null, ptr %47, align 8, !tbaa !15
  %48 = getelementptr inbounds %struct.ggml_init_params, ptr %18, i32 0, i32 2
  store i8 1, ptr %48, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %20, ptr align 8 %18, i64 24, i1 false), !tbaa.struct !17
  %49 = call ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8 %20)
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %19, ptr noundef %49) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %50 = call noundef ptr @_ZNKSt10unique_ptrI12ggml_context20ggml_context_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  store ptr %50, ptr %21, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  %51 = load ptr, ptr %21, align 8, !tbaa !19
  %52 = invoke ptr @ggml_new_graph(ptr noundef %51)
          to label %53 unwind label %95

53:                                               ; preds = %6
  store ptr %52, ptr %22, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  %54 = load ptr, ptr %21, align 8, !tbaa !19
  %55 = load i32, ptr %7, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = invoke ptr @ggml_new_tensor_4d(ptr noundef %54, i32 noundef 0, i64 noundef 8, i64 noundef 6, i64 noundef %56, i64 noundef 2)
          to label %58 unwind label %99

58:                                               ; preds = %53
  store ptr %57, ptr %25, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %59 = load ptr, ptr %21, align 8, !tbaa !19
  %60 = load i32, ptr %16, align 4, !tbaa !5
  %61 = sext i32 %60 to i64
  %62 = load i32, ptr %17, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = load i32, ptr %7, align 4, !tbaa !5
  %65 = sext i32 %64 to i64
  %66 = invoke ptr @ggml_new_tensor_4d(ptr noundef %59, i32 noundef 0, i64 noundef %61, i64 noundef %63, i64 noundef 1, i64 noundef %65)
          to label %67 unwind label %103

67:                                               ; preds = %58
  store ptr %66, ptr %26, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  %68 = load ptr, ptr %25, align 8, !tbaa !19
  store ptr %68, ptr %27, align 8, !tbaa !19
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  %69 = load ptr, ptr %26, align 8, !tbaa !19
  store ptr %69, ptr %28, align 8, !tbaa !19
  %70 = load i8, ptr %12, align 1, !tbaa !9, !range !20, !noundef !21
  %71 = trunc i8 %70 to i1
  br i1 %71, label %72, label %111

72:                                               ; preds = %67
  %73 = load ptr, ptr %21, align 8, !tbaa !19
  %74 = load ptr, ptr %21, align 8, !tbaa !19
  %75 = load ptr, ptr %27, align 8, !tbaa !19
  %76 = invoke ptr @ggml_permute(ptr noundef %74, ptr noundef %75, i32 noundef 1, i32 noundef 2, i32 noundef 0, i32 noundef 3)
          to label %77 unwind label %107

77:                                               ; preds = %72
  %78 = invoke ptr @ggml_cont(ptr noundef %73, ptr noundef %76)
          to label %79 unwind label %107

79:                                               ; preds = %77
  store ptr %78, ptr %27, align 8, !tbaa !19
  %80 = load ptr, ptr %21, align 8, !tbaa !19
  %81 = load ptr, ptr %27, align 8, !tbaa !19
  %82 = invoke ptr @ggml_permute(ptr noundef %80, ptr noundef %81, i32 noundef 2, i32 noundef 0, i32 noundef 1, i32 noundef 3)
          to label %83 unwind label %107

83:                                               ; preds = %79
  store ptr %82, ptr %27, align 8, !tbaa !19
  %84 = load ptr, ptr %21, align 8, !tbaa !19
  %85 = load ptr, ptr %21, align 8, !tbaa !19
  %86 = load ptr, ptr %28, align 8, !tbaa !19
  %87 = invoke ptr @ggml_permute(ptr noundef %85, ptr noundef %86, i32 noundef 2, i32 noundef 3, i32 noundef 1, i32 noundef 0)
          to label %88 unwind label %107

88:                                               ; preds = %83
  %89 = invoke ptr @ggml_cont(ptr noundef %84, ptr noundef %87)
          to label %90 unwind label %107

90:                                               ; preds = %88
  store ptr %89, ptr %28, align 8, !tbaa !19
  %91 = load ptr, ptr %21, align 8, !tbaa !19
  %92 = load ptr, ptr %28, align 8, !tbaa !19
  %93 = invoke ptr @ggml_permute(ptr noundef %91, ptr noundef %92, i32 noundef 3, i32 noundef 2, i32 noundef 0, i32 noundef 1)
          to label %94 unwind label %107

94:                                               ; preds = %90
  store ptr %93, ptr %28, align 8, !tbaa !19
  br label %111

95:                                               ; preds = %6
  %96 = landingpad { ptr, i32 }
          cleanup
  %97 = extractvalue { ptr, i32 } %96, 0
  store ptr %97, ptr %23, align 8
  %98 = extractvalue { ptr, i32 } %96, 1
  store i32 %98, ptr %24, align 4
  br label %276

99:                                               ; preds = %53
  %100 = landingpad { ptr, i32 }
          cleanup
  %101 = extractvalue { ptr, i32 } %100, 0
  store ptr %101, ptr %23, align 8
  %102 = extractvalue { ptr, i32 } %100, 1
  store i32 %102, ptr %24, align 4
  br label %275

103:                                              ; preds = %58
  %104 = landingpad { ptr, i32 }
          cleanup
  %105 = extractvalue { ptr, i32 } %104, 0
  store ptr %105, ptr %23, align 8
  %106 = extractvalue { ptr, i32 } %104, 1
  store i32 %106, ptr %24, align 4
  br label %274

107:                                              ; preds = %90, %88, %83, %79, %77, %72
  %108 = landingpad { ptr, i32 }
          cleanup
  %109 = extractvalue { ptr, i32 } %108, 0
  store ptr %109, ptr %23, align 8
  %110 = extractvalue { ptr, i32 } %108, 1
  store i32 %110, ptr %24, align 4
  br label %273

111:                                              ; preds = %94, %67
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  %112 = load ptr, ptr %21, align 8, !tbaa !19
  %113 = load ptr, ptr %28, align 8, !tbaa !19
  %114 = load ptr, ptr %27, align 8, !tbaa !19
  %115 = load i32, ptr %9, align 4, !tbaa !5
  %116 = load i32, ptr %9, align 4, !tbaa !5
  %117 = load i32, ptr %10, align 4, !tbaa !5
  %118 = load i32, ptr %10, align 4, !tbaa !5
  %119 = load i32, ptr %11, align 4, !tbaa !5
  %120 = load i32, ptr %11, align 4, !tbaa !5
  %121 = invoke ptr @ggml_conv_2d_dw_direct(ptr noundef %112, ptr noundef %113, ptr noundef %114, i32 noundef %115, i32 noundef %116, i32 noundef %117, i32 noundef %118, i32 noundef %119, i32 noundef %120)
          to label %122 unwind label %130

122:                                              ; preds = %111
  store ptr %121, ptr %29, align 8, !tbaa !19
  %123 = load i8, ptr %12, align 1, !tbaa !9, !range !20, !noundef !21
  %124 = trunc i8 %123 to i1
  br i1 %124, label %125, label %134

125:                                              ; preds = %122
  %126 = load ptr, ptr %21, align 8, !tbaa !19
  %127 = load ptr, ptr %29, align 8, !tbaa !19
  %128 = invoke ptr @ggml_cont(ptr noundef %126, ptr noundef %127)
          to label %129 unwind label %130

129:                                              ; preds = %125
  store ptr %128, ptr %29, align 8, !tbaa !19
  br label %134

130:                                              ; preds = %134, %125, %111
  %131 = landingpad { ptr, i32 }
          cleanup
  %132 = extractvalue { ptr, i32 } %131, 0
  store ptr %132, ptr %23, align 8
  %133 = extractvalue { ptr, i32 } %131, 1
  store i32 %133, ptr %24, align 4
  br label %272

134:                                              ; preds = %129, %122
  %135 = load ptr, ptr %22, align 8, !tbaa !19
  %136 = load ptr, ptr %29, align 8, !tbaa !19
  invoke void @ggml_build_forward_expand(ptr noundef %135, ptr noundef %136)
          to label %137 unwind label %130

137:                                              ; preds = %134
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %138 = invoke ptr @ggml_backend_cpu_init()
          to label %139 unwind label %219

139:                                              ; preds = %137
  call void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %30, ptr noundef %138) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #5
  %140 = call noundef ptr @_ZNKSt10unique_ptrI12ggml_backend20ggml_backend_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  store ptr %140, ptr %31, align 8, !tbaa !19
  %141 = load ptr, ptr %31, align 8, !tbaa !19
  invoke void @ggml_backend_cpu_set_n_threads(ptr noundef %141, i32 noundef 2)
          to label %142 unwind label %223

142:                                              ; preds = %139
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #5
  %143 = load ptr, ptr %21, align 8, !tbaa !19
  %144 = load ptr, ptr %31, align 8, !tbaa !19
  %145 = invoke ptr @ggml_backend_alloc_ctx_tensors(ptr noundef %143, ptr noundef %144)
          to label %146 unwind label %227

146:                                              ; preds = %142
  call void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef %145) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr %33) #5
  %147 = load ptr, ptr %27, align 8, !tbaa !19
  %148 = invoke i64 @ggml_nelements(ptr noundef %147)
          to label %149 unwind label %231

149:                                              ; preds = %146
  %150 = trunc i64 %148 to i32
  invoke void @_Z9f32_rangeiff(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %33, i32 noundef %150, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %151 unwind label %231

151:                                              ; preds = %149
  call void @llvm.lifetime.start.p0(i64 24, ptr %34) #5
  %152 = load ptr, ptr %28, align 8, !tbaa !19
  %153 = invoke i64 @ggml_nelements(ptr noundef %152)
          to label %154 unwind label %235

154:                                              ; preds = %151
  %155 = trunc i64 %153 to i32
  invoke void @_Z9f32_rangeiff(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %34, i32 noundef %155, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %156 unwind label %235

156:                                              ; preds = %154
  %157 = load ptr, ptr %25, align 8, !tbaa !19
  %158 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  %159 = load ptr, ptr %27, align 8, !tbaa !19
  %160 = invoke i64 @ggml_nbytes(ptr noundef %159)
          to label %161 unwind label %239

161:                                              ; preds = %156
  invoke void @ggml_backend_tensor_set(ptr noundef %157, ptr noundef %158, i64 noundef 0, i64 noundef %160)
          to label %162 unwind label %239

162:                                              ; preds = %161
  %163 = load ptr, ptr %26, align 8, !tbaa !19
  %164 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  %165 = load ptr, ptr %28, align 8, !tbaa !19
  %166 = invoke i64 @ggml_nbytes(ptr noundef %165)
          to label %167 unwind label %239

167:                                              ; preds = %162
  invoke void @ggml_backend_tensor_set(ptr noundef %163, ptr noundef %164, i64 noundef 0, i64 noundef %166)
          to label %168 unwind label %239

168:                                              ; preds = %167
  %169 = load ptr, ptr %31, align 8, !tbaa !19
  %170 = load ptr, ptr %22, align 8, !tbaa !19
  %171 = invoke i32 @ggml_backend_graph_compute(ptr noundef %169, ptr noundef %170)
          to label %172 unwind label %239

172:                                              ; preds = %168
  call void @llvm.lifetime.start.p0(i64 24, ptr %35) #5
  %173 = load ptr, ptr %29, align 8, !tbaa !19
  %174 = invoke i64 @ggml_nelements(ptr noundef %173)
          to label %175 unwind label %243

175:                                              ; preds = %172
  call void @llvm.lifetime.start.p0(i64 1, ptr %36) #5
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #5
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %35, i64 noundef %174, ptr noundef nonnull align 1 dereferenceable(1) %36)
          to label %176 unwind label %247

176:                                              ; preds = %175
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #5
  %177 = load ptr, ptr %29, align 8, !tbaa !19
  %178 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  %179 = load ptr, ptr %29, align 8, !tbaa !19
  %180 = invoke i64 @ggml_nbytes(ptr noundef %179)
          to label %181 unwind label %251

181:                                              ; preds = %176
  invoke void @ggml_backend_tensor_get(ptr noundef %177, ptr noundef %178, i64 noundef 0, i64 noundef %180)
          to label %182 unwind label %251

182:                                              ; preds = %181
  call void @llvm.lifetime.start.p0(i64 24, ptr %37) #5
  %183 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  %184 = load i32, ptr %16, align 4, !tbaa !5
  %185 = load i32, ptr %17, align 4, !tbaa !5
  %186 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  %187 = load i32, ptr %7, align 4, !tbaa !5
  %188 = load i32, ptr %9, align 4, !tbaa !5
  %189 = load i32, ptr %10, align 4, !tbaa !5
  %190 = load i32, ptr %11, align 4, !tbaa !5
  invoke void @_Z20conv_2d_dw_referenceiiPKfiiS0_iiiii(ptr dead_on_unwind writable sret(%"class.std::vector") align 8 %37, i32 noundef 8, i32 noundef 6, ptr noundef %183, i32 noundef %184, i32 noundef %185, ptr noundef %186, i32 noundef %187, i32 noundef 2, i32 noundef %188, i32 noundef %189, i32 noundef %190)
          to label %191 unwind label %255

191:                                              ; preds = %182
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #5
  %192 = invoke noundef zeroext i1 @_Z11check_equalRKSt6vectorIfSaIfEES3_(ptr noundef nonnull align 8 dereferenceable(24) %35, ptr noundef nonnull align 8 dereferenceable(24) %37)
          to label %193 unwind label %259

193:                                              ; preds = %191
  %194 = zext i1 %192 to i8
  store i8 %194, ptr %38, align 1, !tbaa !9
  %195 = load i32, ptr %7, align 4, !tbaa !5
  %196 = load i32, ptr %8, align 4, !tbaa !5
  %197 = load i32, ptr %8, align 4, !tbaa !5
  %198 = load i32, ptr %9, align 4, !tbaa !5
  %199 = load i32, ptr %10, align 4, !tbaa !5
  %200 = load i32, ptr %11, align 4, !tbaa !5
  %201 = load i8, ptr %12, align 1, !tbaa !9, !range !20, !noundef !21
  %202 = trunc i8 %201 to i1
  br i1 %202, label %203, label %204

203:                                              ; preds = %193
  br label %205

204:                                              ; preds = %193
  br label %205

205:                                              ; preds = %204, %203
  %206 = phi ptr [ @.str.3, %203 ], [ @.str.4, %204 ]
  %207 = getelementptr inbounds [5 x i8], ptr %206, i64 0, i64 0
  %208 = load i8, ptr %38, align 1, !tbaa !9, !range !20, !noundef !21
  %209 = trunc i8 %208 to i1
  br i1 %209, label %210, label %211

210:                                              ; preds = %205
  br label %212

211:                                              ; preds = %205
  br label %212

212:                                              ; preds = %211, %210
  %213 = phi ptr [ @.str.5, %210 ], [ @.str.6, %211 ]
  %214 = getelementptr inbounds [16 x i8], ptr %213, i64 0, i64 0
  %215 = invoke i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %195, i32 noundef %196, i32 noundef %197, i32 noundef %198, i32 noundef %199, i32 noundef %200, ptr noundef %207, ptr noundef %214)
          to label %216 unwind label %259

216:                                              ; preds = %212
  %217 = load i8, ptr %38, align 1, !tbaa !9, !range !20, !noundef !21
  %218 = trunc i8 %217 to i1
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #5
  call void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 4, ptr %13) #5
  ret i1 %218

219:                                              ; preds = %137
  %220 = landingpad { ptr, i32 }
          cleanup
  %221 = extractvalue { ptr, i32 } %220, 0
  store ptr %221, ptr %23, align 8
  %222 = extractvalue { ptr, i32 } %220, 1
  store i32 %222, ptr %24, align 4
  br label %271

223:                                              ; preds = %139
  %224 = landingpad { ptr, i32 }
          cleanup
  %225 = extractvalue { ptr, i32 } %224, 0
  store ptr %225, ptr %23, align 8
  %226 = extractvalue { ptr, i32 } %224, 1
  store i32 %226, ptr %24, align 4
  br label %270

227:                                              ; preds = %142
  %228 = landingpad { ptr, i32 }
          cleanup
  %229 = extractvalue { ptr, i32 } %228, 0
  store ptr %229, ptr %23, align 8
  %230 = extractvalue { ptr, i32 } %228, 1
  store i32 %230, ptr %24, align 4
  br label %269

231:                                              ; preds = %149, %146
  %232 = landingpad { ptr, i32 }
          cleanup
  %233 = extractvalue { ptr, i32 } %232, 0
  store ptr %233, ptr %23, align 8
  %234 = extractvalue { ptr, i32 } %232, 1
  store i32 %234, ptr %24, align 4
  br label %268

235:                                              ; preds = %154, %151
  %236 = landingpad { ptr, i32 }
          cleanup
  %237 = extractvalue { ptr, i32 } %236, 0
  store ptr %237, ptr %23, align 8
  %238 = extractvalue { ptr, i32 } %236, 1
  store i32 %238, ptr %24, align 4
  br label %267

239:                                              ; preds = %168, %167, %162, %161, %156
  %240 = landingpad { ptr, i32 }
          cleanup
  %241 = extractvalue { ptr, i32 } %240, 0
  store ptr %241, ptr %23, align 8
  %242 = extractvalue { ptr, i32 } %240, 1
  store i32 %242, ptr %24, align 4
  br label %266

243:                                              ; preds = %172
  %244 = landingpad { ptr, i32 }
          cleanup
  %245 = extractvalue { ptr, i32 } %244, 0
  store ptr %245, ptr %23, align 8
  %246 = extractvalue { ptr, i32 } %244, 1
  store i32 %246, ptr %24, align 4
  br label %265

247:                                              ; preds = %175
  %248 = landingpad { ptr, i32 }
          cleanup
  %249 = extractvalue { ptr, i32 } %248, 0
  store ptr %249, ptr %23, align 8
  %250 = extractvalue { ptr, i32 } %248, 1
  store i32 %250, ptr %24, align 4
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %36) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr %36) #5
  br label %265

251:                                              ; preds = %181, %176
  %252 = landingpad { ptr, i32 }
          cleanup
  %253 = extractvalue { ptr, i32 } %252, 0
  store ptr %253, ptr %23, align 8
  %254 = extractvalue { ptr, i32 } %252, 1
  store i32 %254, ptr %24, align 4
  br label %264

255:                                              ; preds = %182
  %256 = landingpad { ptr, i32 }
          cleanup
  %257 = extractvalue { ptr, i32 } %256, 0
  store ptr %257, ptr %23, align 8
  %258 = extractvalue { ptr, i32 } %256, 1
  store i32 %258, ptr %24, align 4
  br label %263

259:                                              ; preds = %212, %191
  %260 = landingpad { ptr, i32 }
          cleanup
  %261 = extractvalue { ptr, i32 } %260, 0
  store ptr %261, ptr %23, align 8
  %262 = extractvalue { ptr, i32 } %260, 1
  store i32 %262, ptr %24, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %37) #5
  br label %263

263:                                              ; preds = %259, %255
  call void @llvm.lifetime.end.p0(i64 24, ptr %37) #5
  br label %264

264:                                              ; preds = %263, %251
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %35) #5
  br label %265

265:                                              ; preds = %264, %247, %243
  call void @llvm.lifetime.end.p0(i64 24, ptr %35) #5
  br label %266

266:                                              ; preds = %265, %239
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %34) #5
  br label %267

267:                                              ; preds = %266, %235
  call void @llvm.lifetime.end.p0(i64 24, ptr %34) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %33) #5
  br label %268

268:                                              ; preds = %267, %231
  call void @llvm.lifetime.end.p0(i64 24, ptr %33) #5
  call void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #5
  br label %269

269:                                              ; preds = %268, %227
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #5
  br label %270

270:                                              ; preds = %269, %223
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #5
  call void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %30) #5
  br label %271

271:                                              ; preds = %270, %219
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  br label %272

272:                                              ; preds = %271, %130
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  br label %273

273:                                              ; preds = %272, %107
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  br label %274

274:                                              ; preds = %273, %103
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  br label %275

275:                                              ; preds = %274, %99
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  br label %276

276:                                              ; preds = %275, %95
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, 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 4, ptr %13) #5
  br label %277

277:                                              ; preds = %276
  %278 = load ptr, ptr %23, align 8
  %279 = load i32, ptr %24, align 4
  %280 = insertvalue { ptr, i32 } poison, ptr %278, 0
  %281 = insertvalue { ptr, i32 } %280, i32 %279, 1
  resume { ptr, i32 } %281
}

declare void @ggml_time_init() #3

declare i64 @ggml_tensor_overhead() #3

declare i64 @ggml_graph_overhead() #3

declare ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8) #3

; 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) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrI12ggml_context20ggml_context_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

declare ptr @ggml_new_graph(ptr noundef) #3

declare ptr @ggml_new_tensor_4d(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) #3

declare ptr @ggml_cont(ptr noundef, ptr noundef) #3

declare ptr @ggml_permute(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare ptr @ggml_conv_2d_dw_direct(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare void @ggml_build_forward_expand(ptr noundef, ptr noundef) #3

declare ptr @ggml_backend_cpu_init() #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrI12ggml_backend20ggml_backend_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) #2 align 2

declare void @ggml_backend_cpu_set_n_threads(ptr noundef, i32 noundef) #3

declare ptr @ggml_backend_alloc_ctx_tensors(ptr noundef, ptr noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2 align 2

declare i64 @ggml_nelements(ptr noundef) #3

declare void @ggml_backend_tensor_set(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #3

declare i64 @ggml_nbytes(ptr noundef) #3

declare i32 @ggml_backend_graph_compute(ptr noundef, ptr noundef) #3

declare void @ggml_backend_tensor_get(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #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 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"bool", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS16ggml_init_params", !13, i64 0, !14, i64 8, !10, i64 16}
!13 = !{!"long", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!12, !14, i64 8}
!16 = !{!12, !10, i64 16}
!17 = !{i64 0, i64 8, !18, i64 8, i64 8, !19, i64 16, i64 1, !9}
!18 = !{!13, !13, i64 0}
!19 = !{!14, !14, i64 0}
!20 = !{i8 0, i8 2}
!21 = !{}


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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%struct.ggml_init_params = type { i64, ptr, i8 }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }
%"class.std::allocator" = type { i8 }

@.str.2 = external hidden unnamed_addr constant [91 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [16 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [16 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z9f32_rangeiff(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, float noundef, float 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 nounwind uwtable
declare dso_local void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare dso_local void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z20conv_2d_dw_referenceiiPKfiiS0_iiiii(ptr dead_on_unwind noalias writable sret(%"class.std::vector") align 8, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_Z11check_equalRKSt6vectorIfSaIfEES3_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z15test_conv_2d_dwiiiiib(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, i1 noundef zeroext %5) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %7 = alloca %"class.std::unique_ptr", align 8
  %8 = alloca %struct.ggml_init_params, align 8
  %9 = alloca %"class.std::unique_ptr.2", align 8
  %10 = alloca %"class.std::unique_ptr.10", align 8
  %11 = alloca %"class.std::vector", align 8
  %12 = alloca %"class.std::vector", align 8
  %13 = alloca %"class.std::vector", align 8
  %14 = alloca %"class.std::allocator", align 1
  %15 = alloca %"class.std::vector", align 8
  tail call void @ggml_time_init()
  %16 = tail call i64 @ggml_tensor_overhead()
  %17 = shl i64 %16, 6
  %18 = tail call i64 @ggml_graph_overhead()
  %19 = add i64 %17, %18
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #5
  store i64 %19, ptr %8, align 8, !tbaa !5
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  store ptr null, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !9
  %.sroa.6.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 16
  store i8 1, ptr %.sroa.6.0..sroa_idx, align 8, !tbaa !11
  %20 = tail call ptr @ggml_init(ptr noundef nonnull byval(%struct.ggml_init_params) align 8 %8)
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef %20) #5
  %21 = call noundef ptr @_ZNKSt10unique_ptrI12ggml_context20ggml_context_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  %22 = invoke ptr @ggml_new_graph(ptr noundef %21)
          to label %23 unwind label %42

23:                                               ; preds = %6
  %24 = sext i32 %0 to i64
  %25 = invoke ptr @ggml_new_tensor_4d(ptr noundef %21, i32 noundef 0, i64 noundef 8, i64 noundef 6, i64 noundef %24, i64 noundef 2)
          to label %26 unwind label %44

26:                                               ; preds = %23
  %27 = sext i32 %1 to i64
  %28 = invoke ptr @ggml_new_tensor_4d(ptr noundef %21, i32 noundef 0, i64 noundef %27, i64 noundef %27, i64 noundef 1, i64 noundef %24)
          to label %29 unwind label %46

29:                                               ; preds = %26
  br i1 %5, label %30, label %50

30:                                               ; preds = %29
  %31 = invoke ptr @ggml_permute(ptr noundef %21, ptr noundef %25, i32 noundef 1, i32 noundef 2, i32 noundef 0, i32 noundef 3)
          to label %32 unwind label %48

32:                                               ; preds = %30
  %33 = invoke ptr @ggml_cont(ptr noundef %21, ptr noundef %31)
          to label %34 unwind label %48

34:                                               ; preds = %32
  %35 = invoke ptr @ggml_permute(ptr noundef %21, ptr noundef %33, i32 noundef 2, i32 noundef 0, i32 noundef 1, i32 noundef 3)
          to label %36 unwind label %48

36:                                               ; preds = %34
  %37 = invoke ptr @ggml_permute(ptr noundef %21, ptr noundef %28, i32 noundef 2, i32 noundef 3, i32 noundef 1, i32 noundef 0)
          to label %38 unwind label %48

38:                                               ; preds = %36
  %39 = invoke ptr @ggml_cont(ptr noundef %21, ptr noundef %37)
          to label %40 unwind label %48

40:                                               ; preds = %38
  %41 = invoke ptr @ggml_permute(ptr noundef %21, ptr noundef %39, i32 noundef 3, i32 noundef 2, i32 noundef 0, i32 noundef 1)
          to label %50 unwind label %48

42:                                               ; preds = %6
  %43 = landingpad { ptr, i32 }
          cleanup
  br label %128

44:                                               ; preds = %23
  %45 = landingpad { ptr, i32 }
          cleanup
  br label %128

46:                                               ; preds = %26
  %47 = landingpad { ptr, i32 }
          cleanup
  br label %128

48:                                               ; preds = %40, %38, %36, %34, %32, %30
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %128

50:                                               ; preds = %40, %29
  %.082 = phi ptr [ %25, %29 ], [ %35, %40 ]
  %.081 = phi ptr [ %28, %29 ], [ %41, %40 ]
  %51 = invoke ptr @ggml_conv_2d_dw_direct(ptr noundef %21, ptr noundef %.081, ptr noundef %.082, i32 noundef %2, i32 noundef %2, i32 noundef %3, i32 noundef %3, i32 noundef %4, i32 noundef %4)
          to label %52 unwind label %55

52:                                               ; preds = %50
  br i1 %5, label %53, label %57

53:                                               ; preds = %52
  %54 = invoke ptr @ggml_cont(ptr noundef %21, ptr noundef %51)
          to label %57 unwind label %55

55:                                               ; preds = %57, %53, %50
  %56 = landingpad { ptr, i32 }
          cleanup
  br label %128

57:                                               ; preds = %53, %52
  %.080 = phi ptr [ %51, %52 ], [ %54, %53 ]
  invoke void @ggml_build_forward_expand(ptr noundef %22, ptr noundef %.080)
          to label %58 unwind label %55

58:                                               ; preds = %57
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  %59 = invoke ptr @ggml_backend_cpu_init()
          to label %60 unwind label %97

60:                                               ; preds = %58
  call void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %9, ptr noundef %59) #5
  %61 = call noundef ptr @_ZNKSt10unique_ptrI12ggml_backend20ggml_backend_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  invoke void @ggml_backend_cpu_set_n_threads(ptr noundef %61, i32 noundef 2)
          to label %62 unwind label %99

62:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #5
  %63 = invoke ptr @ggml_backend_alloc_ctx_tensors(ptr noundef %21, ptr noundef %61)
          to label %64 unwind label %101

64:                                               ; preds = %62
  call void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef %63) #5
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #5
  %65 = invoke i64 @ggml_nelements(ptr noundef %.082)
          to label %66 unwind label %103

66:                                               ; preds = %64
  %67 = trunc i64 %65 to i32
  invoke void @_Z9f32_rangeiff(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %11, i32 noundef %67, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %68 unwind label %103

68:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #5
  %69 = invoke i64 @ggml_nelements(ptr noundef %.081)
          to label %70 unwind label %105

70:                                               ; preds = %68
  %71 = trunc i64 %69 to i32
  invoke void @_Z9f32_rangeiff(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %12, i32 noundef %71, float noundef -1.000000e+00, float noundef 1.000000e+00)
          to label %72 unwind label %105

72:                                               ; preds = %70
  %73 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %74 = invoke i64 @ggml_nbytes(ptr noundef %.082)
          to label %75 unwind label %107

75:                                               ; preds = %72
  invoke void @ggml_backend_tensor_set(ptr noundef %25, ptr noundef %73, i64 noundef 0, i64 noundef %74)
          to label %76 unwind label %107

76:                                               ; preds = %75
  %77 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  %78 = invoke i64 @ggml_nbytes(ptr noundef %.081)
          to label %79 unwind label %107

79:                                               ; preds = %76
  invoke void @ggml_backend_tensor_set(ptr noundef %28, ptr noundef %77, i64 noundef 0, i64 noundef %78)
          to label %80 unwind label %107

80:                                               ; preds = %79
  %81 = invoke i32 @ggml_backend_graph_compute(ptr noundef %61, ptr noundef %22)
          to label %82 unwind label %107

82:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #5
  %83 = invoke i64 @ggml_nelements(ptr noundef %.080)
          to label %84 unwind label %109

84:                                               ; preds = %82
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %14) #5
  call void @_ZNSaIfEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  invoke void @_ZNSt6vectorIfSaIfEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %13, i64 noundef %83, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %85 unwind label %111

85:                                               ; preds = %84
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  %86 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  %87 = invoke i64 @ggml_nbytes(ptr noundef %.080)
          to label %88 unwind label %113

88:                                               ; preds = %85
  invoke void @ggml_backend_tensor_get(ptr noundef %.080, ptr noundef %86, i64 noundef 0, i64 noundef %87)
          to label %89 unwind label %113

89:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %15) #5
  %90 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  %91 = call noundef ptr @_ZNSt6vectorIfSaIfEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  invoke void @_Z20conv_2d_dw_referenceiiPKfiiS0_iiiii(ptr dead_on_unwind nonnull writable sret(%"class.std::vector") align 8 %15, i32 noundef 8, i32 noundef 6, ptr noundef %90, i32 noundef %1, i32 noundef %1, ptr noundef %91, i32 noundef %0, i32 noundef 2, i32 noundef %2, i32 noundef %3, i32 noundef %4)
          to label %92 unwind label %115

92:                                               ; preds = %89
  %93 = invoke noundef zeroext i1 @_Z11check_equalRKSt6vectorIfSaIfEES3_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %94 unwind label %117

94:                                               ; preds = %92
  %.str.3..str.4 = select i1 %5, ptr @.str.3, ptr @.str.4
  %95 = select i1 %93, ptr @.str.5, ptr @.str.6
  %96 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef %0, i32 noundef %1, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4, ptr noundef nonnull %.str.3..str.4, ptr noundef nonnull %95)
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  call void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  ret i1 %93

97:                                               ; preds = %58
  %98 = landingpad { ptr, i32 }
          cleanup
  br label %127

99:                                               ; preds = %60
  %100 = landingpad { ptr, i32 }
          cleanup
  br label %126

101:                                              ; preds = %62
  %102 = landingpad { ptr, i32 }
          cleanup
  br label %125

103:                                              ; preds = %66, %64
  %104 = landingpad { ptr, i32 }
          cleanup
  br label %124

105:                                              ; preds = %70, %68
  %106 = landingpad { ptr, i32 }
          cleanup
  br label %123

107:                                              ; preds = %80, %79, %76, %75, %72
  %108 = landingpad { ptr, i32 }
          cleanup
  br label %122

109:                                              ; preds = %82
  %110 = landingpad { ptr, i32 }
          cleanup
  br label %121

111:                                              ; preds = %84
  %112 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %14) #5
  br label %121

113:                                              ; preds = %88, %85
  %114 = landingpad { ptr, i32 }
          cleanup
  br label %120

115:                                              ; preds = %89
  %116 = landingpad { ptr, i32 }
          cleanup
  br label %119

117:                                              ; preds = %92
  %118 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #5
  br label %119

119:                                              ; preds = %117, %115
  %.pn = phi { ptr, i32 } [ %118, %117 ], [ %116, %115 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %15) #5
  br label %120

120:                                              ; preds = %119, %113
  %.pn.pn = phi { ptr, i32 } [ %.pn, %119 ], [ %114, %113 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #5
  br label %121

121:                                              ; preds = %120, %111, %109
  %.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn, %120 ], [ %112, %111 ], [ %110, %109 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #5
  br label %122

122:                                              ; preds = %121, %107
  %.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn, %121 ], [ %108, %107 ]
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %12) #5
  br label %123

123:                                              ; preds = %122, %105
  %.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn, %122 ], [ %106, %105 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #5
  call void @_ZNSt6vectorIfSaIfEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %11) #5
  br label %124

124:                                              ; preds = %123, %103
  %.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn, %123 ], [ %104, %103 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #5
  call void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %10) #5
  br label %125

125:                                              ; preds = %124, %101
  %.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn, %124 ], [ %102, %101 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #5
  br label %126

126:                                              ; preds = %125, %99
  %.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn, %125 ], [ %100, %99 ]
  call void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %9) #5
  br label %127

127:                                              ; preds = %126, %97
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn.pn.pn.pn.pn.pn.pn.pn, %126 ], [ %98, %97 ]
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  br label %128

128:                                              ; preds = %44, %48, %127, %55, %46, %42
  %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn = phi { ptr, i32 } [ %43, %42 ], [ %45, %44 ], [ %47, %46 ], [ %49, %48 ], [ %.pn.pn.pn.pn.pn.pn.pn.pn.pn, %127 ], [ %56, %55 ]
  call void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %7) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #5
  resume { ptr, i32 } %.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn.pn
}

declare void @ggml_time_init() local_unnamed_addr #4

declare i64 @ggml_tensor_overhead() local_unnamed_addr #4

declare i64 @ggml_graph_overhead() local_unnamed_addr #4

declare ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrI12ggml_context20ggml_context_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

declare ptr @ggml_new_graph(ptr noundef) local_unnamed_addr #4

declare ptr @ggml_new_tensor_4d(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef, i64 noundef) local_unnamed_addr #4

declare ptr @ggml_cont(ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @ggml_permute(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare ptr @ggml_conv_2d_dw_direct(ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #4

declare void @ggml_build_forward_expand(ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @ggml_backend_cpu_init() local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt10unique_ptrI12ggml_backend20ggml_backend_deleterE3getEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #2 align 2

declare void @ggml_backend_cpu_set_n_threads(ptr noundef, i32 noundef) local_unnamed_addr #4

declare ptr @ggml_backend_alloc_ctx_tensors(ptr noundef, ptr noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterEC2IS1_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) unnamed_addr #2 align 2

declare i64 @ggml_nelements(ptr noundef) local_unnamed_addr #4

declare void @ggml_backend_tensor_set(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #4

declare i64 @ggml_nbytes(ptr noundef) local_unnamed_addr #4

declare i32 @ggml_backend_graph_compute(ptr noundef, ptr noundef) local_unnamed_addr #4

declare void @ggml_backend_tensor_get(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI19ggml_backend_buffer27ggml_backend_buffer_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI12ggml_backend20ggml_backend_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI12ggml_context20ggml_context_deleterED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIfED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

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

!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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"bool", !7, i64 0}


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