; LLVM IR from ggml-org/ggml :: examples/magika/main.ll (Z12magika_graphRK12magika_modeli)

; 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<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.1" = type { i8 }
%struct.ggml_init_params = type { i64, ptr, i8 }
%struct.magika_model = type { %struct.magika_hparams, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr }
%struct.magika_hparams = type { i32, i32, i32, i32, i32, i32, float, i32 }

@_ZZ12magika_graphRK12magika_modeliE8buf_size = external hidden global i64, align 8
@_ZGVZ12magika_graphRK12magika_modeliE8buf_size = external hidden global i64, align 8
@_ZZ12magika_graphRK12magika_modeliE3buf = external hidden global %"class.std::vector", align 8
@_ZGVZ12magika_graphRK12magika_modeliE3buf = external hidden global i64, align 8
@__dso_handle = external hidden global i8
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 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

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) #0

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

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z12magika_graphRK12magika_modeli(ptr noundef nonnull align 8 dereferenceable(152) %0, i32 noundef %1) #3 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca %"class.std::allocator.1", align 1
  %9 = alloca %struct.ggml_init_params, align 8
  %10 = alloca ptr, align 8
  %11 = alloca %struct.ggml_init_params, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store i32 %1, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  %15 = load ptr, ptr %3, align 8, !tbaa !5
  %16 = getelementptr inbounds %struct.magika_model, ptr %15, i32 0, i32 0
  store ptr %16, ptr %5, align 8, !tbaa !5
  %17 = load atomic i8, ptr @_ZGVZ12magika_graphRK12magika_modeliE8buf_size acquire, align 8
  %18 = icmp eq i8 %17, 0
  br i1 %18, label %19, label %29, !prof !11

19:                                               ; preds = %2
  %20 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ12magika_graphRK12magika_modeliE8buf_size) #4
  %21 = icmp ne i32 %20, 0
  br i1 %21, label %22, label %29

22:                                               ; preds = %19
  %23 = invoke i64 @ggml_tensor_overhead()
          to label %24 unwind label %185

24:                                               ; preds = %22
  %25 = mul i64 %23, 2048
  %26 = invoke i64 @ggml_graph_overhead()
          to label %27 unwind label %185

27:                                               ; preds = %24
  %28 = add i64 %25, %26
  store i64 %28, ptr @_ZZ12magika_graphRK12magika_modeliE8buf_size, align 8, !tbaa !12
  call void @__cxa_guard_release(ptr @_ZGVZ12magika_graphRK12magika_modeliE8buf_size) #4
  br label %29

29:                                               ; preds = %27, %19, %2
  %30 = load atomic i8, ptr @_ZGVZ12magika_graphRK12magika_modeliE3buf acquire, align 8
  %31 = icmp eq i8 %30, 0
  br i1 %31, label %32, label %39, !prof !11

32:                                               ; preds = %29
  %33 = call i32 @__cxa_guard_acquire(ptr @_ZGVZ12magika_graphRK12magika_modeliE3buf) #4
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %35, label %39

35:                                               ; preds = %32
  %36 = load i64, ptr @_ZZ12magika_graphRK12magika_modeliE8buf_size, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 1, ptr %8) #4
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) @_ZZ12magika_graphRK12magika_modeliE3buf, i64 noundef %36, ptr noundef nonnull align 1 dereferenceable(1) %8)
          to label %37 unwind label %189

37:                                               ; preds = %35
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  %38 = call i32 @__cxa_atexit(ptr @_ZNSt6vectorIhSaIhEED2Ev, ptr @_ZZ12magika_graphRK12magika_modeliE3buf, ptr @__dso_handle) #4
  call void @__cxa_guard_release(ptr @_ZGVZ12magika_graphRK12magika_modeliE3buf) #4
  br label %39

39:                                               ; preds = %37, %32, %29
  call void @llvm.lifetime.start.p0(i64 24, ptr %9) #4
  %40 = getelementptr inbounds %struct.ggml_init_params, ptr %9, i32 0, i32 0
  %41 = load i64, ptr @_ZZ12magika_graphRK12magika_modeliE8buf_size, align 8, !tbaa !12
  store i64 %41, ptr %40, align 8, !tbaa !14
  %42 = getelementptr inbounds %struct.ggml_init_params, ptr %9, i32 0, i32 1
  %43 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZZ12magika_graphRK12magika_modeliE3buf) #4
  store ptr %43, ptr %42, align 8, !tbaa !17
  %44 = getelementptr inbounds %struct.ggml_init_params, ptr %9, i32 0, i32 2
  store i8 1, ptr %44, align 8, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %11, ptr align 8 %9, i64 24, i1 false), !tbaa.struct !19
  %45 = call ptr @ggml_init(ptr noundef byval(%struct.ggml_init_params) align 8 %11)
  store ptr %45, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  %46 = load ptr, ptr %10, align 8, !tbaa !5
  %47 = call ptr @ggml_new_graph(ptr noundef %46)
  store ptr %47, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  %48 = load ptr, ptr %10, align 8, !tbaa !5
  %49 = load i32, ptr %4, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = call ptr @ggml_new_tensor_3d(ptr noundef %48, i32 noundef 0, i64 noundef 257, i64 noundef 1536, i64 noundef %50)
  store ptr %51, ptr %13, align 8, !tbaa !5
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = call ptr @ggml_set_name(ptr noundef %52, ptr noundef @.str.21)
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  call void @ggml_set_input(ptr noundef %54)
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  %55 = load ptr, ptr %10, align 8, !tbaa !5
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.magika_model, ptr %56, i32 0, i32 1
  %58 = load ptr, ptr %57, align 8, !tbaa !21
  %59 = load ptr, ptr %13, align 8, !tbaa !5
  %60 = call ptr @ggml_mul_mat(ptr noundef %55, ptr noundef %58, ptr noundef %59)
  store ptr %60, ptr %14, align 8, !tbaa !5
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = load ptr, ptr %14, align 8, !tbaa !5
  %63 = load ptr, ptr %3, align 8, !tbaa !5
  %64 = getelementptr inbounds %struct.magika_model, ptr %63, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !25
  %66 = call ptr @ggml_add(ptr noundef %61, ptr noundef %62, ptr noundef %65)
  store ptr %66, ptr %14, align 8, !tbaa !5
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = load ptr, ptr %14, align 8, !tbaa !5
  %69 = call ptr @ggml_gelu(ptr noundef %67, ptr noundef %68)
  store ptr %69, ptr %14, align 8, !tbaa !5
  %70 = load ptr, ptr %10, align 8, !tbaa !5
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  %72 = load i32, ptr %4, align 4, !tbaa !9
  %73 = sext i32 %72 to i64
  %74 = call ptr @ggml_reshape_3d(ptr noundef %70, ptr noundef %71, i64 noundef 512, i64 noundef 384, i64 noundef %73)
  store ptr %74, ptr %14, align 8, !tbaa !5
  %75 = load ptr, ptr %10, align 8, !tbaa !5
  %76 = load ptr, ptr %10, align 8, !tbaa !5
  %77 = load ptr, ptr %14, align 8, !tbaa !5
  %78 = call ptr @ggml_transpose(ptr noundef %76, ptr noundef %77)
  %79 = call ptr @ggml_cont(ptr noundef %75, ptr noundef %78)
  store ptr %79, ptr %14, align 8, !tbaa !5
  %80 = load ptr, ptr %10, align 8, !tbaa !5
  %81 = load ptr, ptr %14, align 8, !tbaa !5
  %82 = load ptr, ptr %5, align 8, !tbaa !5
  %83 = getelementptr inbounds %struct.magika_hparams, ptr %82, i32 0, i32 6
  %84 = load float, ptr %83, align 4, !tbaa !26
  %85 = call ptr @ggml_norm(ptr noundef %80, ptr noundef %81, float noundef %84)
  store ptr %85, ptr %14, align 8, !tbaa !5
  %86 = load ptr, ptr %10, align 8, !tbaa !5
  %87 = load ptr, ptr %14, align 8, !tbaa !5
  %88 = load ptr, ptr %3, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.magika_model, ptr %88, i32 0, i32 3
  %90 = load ptr, ptr %89, align 8, !tbaa !27
  %91 = call ptr @ggml_mul(ptr noundef %86, ptr noundef %87, ptr noundef %90)
  store ptr %91, ptr %14, align 8, !tbaa !5
  %92 = load ptr, ptr %10, align 8, !tbaa !5
  %93 = load ptr, ptr %14, align 8, !tbaa !5
  %94 = load ptr, ptr %3, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.magika_model, ptr %94, i32 0, i32 4
  %96 = load ptr, ptr %95, align 8, !tbaa !28
  %97 = call ptr @ggml_add(ptr noundef %92, ptr noundef %93, ptr noundef %96)
  store ptr %97, ptr %14, align 8, !tbaa !5
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = load ptr, ptr %10, align 8, !tbaa !5
  %100 = load ptr, ptr %14, align 8, !tbaa !5
  %101 = call ptr @ggml_transpose(ptr noundef %99, ptr noundef %100)
  %102 = call ptr @ggml_cont(ptr noundef %98, ptr noundef %101)
  store ptr %102, ptr %14, align 8, !tbaa !5
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  %104 = load ptr, ptr %3, align 8, !tbaa !5
  %105 = getelementptr inbounds %struct.magika_model, ptr %104, i32 0, i32 5
  %106 = load ptr, ptr %105, align 8, !tbaa !29
  %107 = load ptr, ptr %14, align 8, !tbaa !5
  %108 = call ptr @ggml_mul_mat(ptr noundef %103, ptr noundef %106, ptr noundef %107)
  store ptr %108, ptr %14, align 8, !tbaa !5
  %109 = load ptr, ptr %10, align 8, !tbaa !5
  %110 = load ptr, ptr %14, align 8, !tbaa !5
  %111 = load ptr, ptr %3, align 8, !tbaa !5
  %112 = getelementptr inbounds %struct.magika_model, ptr %111, i32 0, i32 6
  %113 = load ptr, ptr %112, align 8, !tbaa !30
  %114 = call ptr @ggml_add(ptr noundef %109, ptr noundef %110, ptr noundef %113)
  store ptr %114, ptr %14, align 8, !tbaa !5
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = load ptr, ptr %14, align 8, !tbaa !5
  %117 = call ptr @ggml_gelu(ptr noundef %115, ptr noundef %116)
  store ptr %117, ptr %14, align 8, !tbaa !5
  %118 = load ptr, ptr %10, align 8, !tbaa !5
  %119 = load ptr, ptr %3, align 8, !tbaa !5
  %120 = getelementptr inbounds %struct.magika_model, ptr %119, i32 0, i32 7
  %121 = load ptr, ptr %120, align 8, !tbaa !31
  %122 = load ptr, ptr %14, align 8, !tbaa !5
  %123 = call ptr @ggml_mul_mat(ptr noundef %118, ptr noundef %121, ptr noundef %122)
  store ptr %123, ptr %14, align 8, !tbaa !5
  %124 = load ptr, ptr %10, align 8, !tbaa !5
  %125 = load ptr, ptr %14, align 8, !tbaa !5
  %126 = load ptr, ptr %3, align 8, !tbaa !5
  %127 = getelementptr inbounds %struct.magika_model, ptr %126, i32 0, i32 8
  %128 = load ptr, ptr %127, align 8, !tbaa !32
  %129 = call ptr @ggml_add(ptr noundef %124, ptr noundef %125, ptr noundef %128)
  store ptr %129, ptr %14, align 8, !tbaa !5
  %130 = load ptr, ptr %10, align 8, !tbaa !5
  %131 = load ptr, ptr %14, align 8, !tbaa !5
  %132 = call ptr @ggml_gelu(ptr noundef %130, ptr noundef %131)
  store ptr %132, ptr %14, align 8, !tbaa !5
  %133 = load ptr, ptr %10, align 8, !tbaa !5
  %134 = load ptr, ptr %10, align 8, !tbaa !5
  %135 = load ptr, ptr %14, align 8, !tbaa !5
  %136 = call ptr @ggml_transpose(ptr noundef %134, ptr noundef %135)
  %137 = call ptr @ggml_cont(ptr noundef %133, ptr noundef %136)
  store ptr %137, ptr %14, align 8, !tbaa !5
  %138 = load ptr, ptr %10, align 8, !tbaa !5
  %139 = load ptr, ptr %14, align 8, !tbaa !5
  %140 = call ptr @ggml_pool_1d(ptr noundef %138, ptr noundef %139, i32 noundef 0, i32 noundef 384, i32 noundef 384, i32 noundef 0)
  store ptr %140, ptr %14, align 8, !tbaa !5
  %141 = load ptr, ptr %10, align 8, !tbaa !5
  %142 = load ptr, ptr %14, align 8, !tbaa !5
  %143 = load i32, ptr %4, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = call ptr @ggml_reshape_2d(ptr noundef %141, ptr noundef %142, i64 noundef 256, i64 noundef %144)
  store ptr %145, ptr %14, align 8, !tbaa !5
  %146 = load ptr, ptr %10, align 8, !tbaa !5
  %147 = load ptr, ptr %14, align 8, !tbaa !5
  %148 = load ptr, ptr %5, align 8, !tbaa !5
  %149 = getelementptr inbounds %struct.magika_hparams, ptr %148, i32 0, i32 6
  %150 = load float, ptr %149, align 4, !tbaa !26
  %151 = call ptr @ggml_norm(ptr noundef %146, ptr noundef %147, float noundef %150)
  store ptr %151, ptr %14, align 8, !tbaa !5
  %152 = load ptr, ptr %10, align 8, !tbaa !5
  %153 = load ptr, ptr %14, align 8, !tbaa !5
  %154 = load ptr, ptr %3, align 8, !tbaa !5
  %155 = getelementptr inbounds %struct.magika_model, ptr %154, i32 0, i32 9
  %156 = load ptr, ptr %155, align 8, !tbaa !33
  %157 = call ptr @ggml_mul(ptr noundef %152, ptr noundef %153, ptr noundef %156)
  store ptr %157, ptr %14, align 8, !tbaa !5
  %158 = load ptr, ptr %10, align 8, !tbaa !5
  %159 = load ptr, ptr %14, align 8, !tbaa !5
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = getelementptr inbounds %struct.magika_model, ptr %160, i32 0, i32 10
  %162 = load ptr, ptr %161, align 8, !tbaa !34
  %163 = call ptr @ggml_add(ptr noundef %158, ptr noundef %159, ptr noundef %162)
  store ptr %163, ptr %14, align 8, !tbaa !5
  %164 = load ptr, ptr %10, align 8, !tbaa !5
  %165 = load ptr, ptr %3, align 8, !tbaa !5
  %166 = getelementptr inbounds %struct.magika_model, ptr %165, i32 0, i32 11
  %167 = load ptr, ptr %166, align 8, !tbaa !35
  %168 = load ptr, ptr %14, align 8, !tbaa !5
  %169 = call ptr @ggml_mul_mat(ptr noundef %164, ptr noundef %167, ptr noundef %168)
  store ptr %169, ptr %14, align 8, !tbaa !5
  %170 = load ptr, ptr %10, align 8, !tbaa !5
  %171 = load ptr, ptr %14, align 8, !tbaa !5
  %172 = load ptr, ptr %3, align 8, !tbaa !5
  %173 = getelementptr inbounds %struct.magika_model, ptr %172, i32 0, i32 12
  %174 = load ptr, ptr %173, align 8, !tbaa !36
  %175 = call ptr @ggml_add(ptr noundef %170, ptr noundef %171, ptr noundef %174)
  store ptr %175, ptr %14, align 8, !tbaa !5
  %176 = load ptr, ptr %10, align 8, !tbaa !5
  %177 = load ptr, ptr %14, align 8, !tbaa !5
  %178 = call ptr @ggml_soft_max(ptr noundef %176, ptr noundef %177)
  store ptr %178, ptr %14, align 8, !tbaa !5
  %179 = load ptr, ptr %14, align 8, !tbaa !5
  %180 = call ptr @ggml_set_name(ptr noundef %179, ptr noundef @.str.22)
  %181 = load ptr, ptr %14, align 8, !tbaa !5
  call void @ggml_set_output(ptr noundef %181)
  %182 = load ptr, ptr %12, align 8, !tbaa !5
  %183 = load ptr, ptr %14, align 8, !tbaa !5
  call void @ggml_build_forward_expand(ptr noundef %182, ptr noundef %183)
  %184 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 24, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  ret ptr %184

185:                                              ; preds = %24, %22
  %186 = landingpad { ptr, i32 }
          cleanup
  %187 = extractvalue { ptr, i32 } %186, 0
  store ptr %187, ptr %6, align 8
  %188 = extractvalue { ptr, i32 } %186, 1
  store i32 %188, ptr %7, align 4
  call void @__cxa_guard_abort(ptr @_ZGVZ12magika_graphRK12magika_modeliE8buf_size) #4
  br label %193

189:                                              ; preds = %35
  %190 = landingpad { ptr, i32 }
          cleanup
  %191 = extractvalue { ptr, i32 } %190, 0
  store ptr %191, ptr %6, align 8
  %192 = extractvalue { ptr, i32 } %190, 1
  store i32 %192, ptr %7, align 4
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %8) #4
  call void @llvm.lifetime.end.p0(i64 1, ptr %8) #4
  call void @__cxa_guard_abort(ptr @_ZGVZ12magika_graphRK12magika_modeliE3buf) #4
  br label %193

193:                                              ; preds = %189, %185
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  br label %194

194:                                              ; preds = %193
  %195 = load ptr, ptr %6, align 8
  %196 = load i32, ptr %7, align 4
  %197 = insertvalue { ptr, i32 } poison, ptr %195, 0
  %198 = insertvalue { ptr, i32 } %197, i32 %196, 1
  resume { ptr, i32 } %198
}

; Function Attrs: nounwind
declare i32 @__cxa_guard_acquire(ptr) #4

declare i64 @ggml_tensor_overhead() #5

declare i64 @ggml_graph_overhead() #5

; Function Attrs: nounwind
declare void @__cxa_guard_abort(ptr) #4

; Function Attrs: nounwind
declare void @__cxa_guard_release(ptr) #4

; Function Attrs: nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) #4

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

declare ptr @ggml_new_graph(ptr noundef) #5

declare ptr @ggml_new_tensor_3d(ptr noundef, i32 noundef, i64 noundef, i64 noundef, i64 noundef) #5

declare ptr @ggml_set_name(ptr noundef, ptr noundef) #5

declare void @ggml_set_input(ptr noundef) #5

declare ptr @ggml_mul_mat(ptr noundef, ptr noundef, ptr noundef) #5

declare ptr @ggml_add(ptr noundef, ptr noundef, ptr noundef) #5

declare ptr @ggml_gelu(ptr noundef, ptr noundef) #5

declare ptr @ggml_reshape_3d(ptr noundef, ptr noundef, i64 noundef, i64 noundef, i64 noundef) #5

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

declare ptr @ggml_transpose(ptr noundef, ptr noundef) #5

declare ptr @ggml_norm(ptr noundef, ptr noundef, float noundef) #5

declare ptr @ggml_mul(ptr noundef, ptr noundef, ptr noundef) #5

declare ptr @ggml_pool_1d(ptr noundef, ptr noundef, i32 noundef, i32 noundef, i32 noundef, i32 noundef) #5

declare ptr @ggml_reshape_2d(ptr noundef, ptr noundef, i64 noundef, i64 noundef) #5

declare ptr @ggml_soft_max(ptr noundef, ptr noundef) #5

declare void @ggml_set_output(ptr noundef) #5

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

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

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

!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 = !{!"int", !7, i64 0}
!11 = !{!"branch_weights", i32 1, i32 1048575}
!12 = !{!13, !13, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"_ZTS16ggml_init_params", !13, i64 0, !6, i64 8, !16, i64 16}
!16 = !{!"bool", !7, i64 0}
!17 = !{!15, !6, i64 8}
!18 = !{!15, !16, i64 16}
!19 = !{i64 0, i64 8, !12, i64 8, i64 8, !5, i64 16, i64 1, !20}
!20 = !{!16, !16, i64 0}
!21 = !{!22, !6, i64 32}
!22 = !{!"_ZTS12magika_model", !23, i64 0, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !6, i64 128, !6, i64 136, !6, i64 144}
!23 = !{!"_ZTS14magika_hparams", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12, !10, i64 16, !10, i64 20, !24, i64 24, !10, i64 28}
!24 = !{!"float", !7, i64 0}
!25 = !{!22, !6, i64 40}
!26 = !{!23, !24, i64 24}
!27 = !{!22, !6, i64 48}
!28 = !{!22, !6, i64 56}
!29 = !{!22, !6, i64 64}
!30 = !{!22, !6, i64 72}
!31 = !{!22, !6, i64 80}
!32 = !{!22, !6, i64 88}
!33 = !{!22, !6, i64 96}
!34 = !{!22, !6, i64 104}
!35 = !{!22, !6, i64 112}
!36 = !{!22, !6, i64 120}


; 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<unsigned char, std::allocator<unsigned char>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned char, std::allocator<unsigned char>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator.1" = type { i8 }
%struct.ggml_init_params = type { i64, ptr, i8 }

@_ZZ12magika_graphRK12magika_modeliE8buf_size = external hidden local_unnamed_addr global i64, align 8
@_ZGVZ12magika_graphRK12magika_modeliE8buf_size = external hidden global i64, align 8
@_ZZ12magika_graphRK12magika_modeliE3buf = external hidden global %"class.std::vector", align 8
@_ZGVZ12magika_graphRK12magika_modeliE3buf = external hidden global i64, align 8
@__dso_handle = external hidden global i8
@.str.21 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [19 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

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) #0

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

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_Z12magika_graphRK12magika_modeli(ptr nocapture noundef nonnull readonly align 8 dereferenceable(152) %0, i32 noundef %1) local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::allocator.1", align 1
  %4 = alloca %struct.ggml_init_params, align 8
  %5 = load atomic i8, ptr @_ZGVZ12magika_graphRK12magika_modeliE8buf_size acquire, align 8
  %6 = icmp eq i8 %5, 0
  br i1 %6, label %7, label %16, !prof !5

7:                                                ; preds = %2
  %8 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ12magika_graphRK12magika_modeliE8buf_size) #5
  %.not = icmp eq i32 %8, 0
  br i1 %.not, label %16, label %9

9:                                                ; preds = %7
  %10 = invoke i64 @ggml_tensor_overhead()
          to label %11 unwind label %88

11:                                               ; preds = %9
  %12 = invoke i64 @ggml_graph_overhead()
          to label %13 unwind label %88

13:                                               ; preds = %11
  %14 = shl i64 %10, 11
  %15 = add i64 %12, %14
  store i64 %15, ptr @_ZZ12magika_graphRK12magika_modeliE8buf_size, align 8, !tbaa !6
  tail call void @__cxa_guard_release(ptr nonnull @_ZGVZ12magika_graphRK12magika_modeliE8buf_size) #5
  br label %16

16:                                               ; preds = %13, %7, %2
  %17 = load atomic i8, ptr @_ZGVZ12magika_graphRK12magika_modeliE3buf acquire, align 8
  %18 = icmp eq i8 %17, 0
  br i1 %18, label %19, label %25, !prof !5

19:                                               ; preds = %16
  %20 = tail call i32 @__cxa_guard_acquire(ptr nonnull @_ZGVZ12magika_graphRK12magika_modeliE3buf) #5
  %.not80 = icmp eq i32 %20, 0
  br i1 %.not80, label %25, label %21

21:                                               ; preds = %19
  %22 = load i64, ptr @_ZZ12magika_graphRK12magika_modeliE8buf_size, align 8, !tbaa !6
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #5
  call void @_ZNSaIhEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  invoke void @_ZNSt6vectorIhSaIhEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) @_ZZ12magika_graphRK12magika_modeliE3buf, i64 noundef %22, ptr noundef nonnull align 1 dereferenceable(1) %3)
          to label %23 unwind label %90

23:                                               ; preds = %21
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  %24 = call i32 @__cxa_atexit(ptr nonnull @_ZNSt6vectorIhSaIhEED2Ev, ptr nonnull @_ZZ12magika_graphRK12magika_modeliE3buf, ptr nonnull @__dso_handle) #5
  call void @__cxa_guard_release(ptr nonnull @_ZGVZ12magika_graphRK12magika_modeliE3buf) #5
  br label %25

25:                                               ; preds = %23, %19, %16
  %26 = load i64, ptr @_ZZ12magika_graphRK12magika_modeliE8buf_size, align 8, !tbaa !6
  %27 = call noundef ptr @_ZNSt6vectorIhSaIhEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) @_ZZ12magika_graphRK12magika_modeliE3buf) #5
  store i64 %26, ptr %4, align 8, !tbaa !6
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %27, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !10
  %.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %4, i64 16
  store i8 1, ptr %.sroa.5.0..sroa_idx, align 8, !tbaa !12
  %28 = call ptr @ggml_init(ptr noundef nonnull byval(%struct.ggml_init_params) align 8 %4)
  %29 = call ptr @ggml_new_graph(ptr noundef %28)
  %30 = sext i32 %1 to i64
  %31 = call ptr @ggml_new_tensor_3d(ptr noundef %28, i32 noundef 0, i64 noundef 257, i64 noundef 1536, i64 noundef %30)
  %32 = call ptr @ggml_set_name(ptr noundef %31, ptr noundef nonnull @.str.21)
  call void @ggml_set_input(ptr noundef %31)
  %33 = getelementptr inbounds i8, ptr %0, i64 32
  %34 = load ptr, ptr %33, align 8, !tbaa !14
  %35 = call ptr @ggml_mul_mat(ptr noundef %28, ptr noundef %34, ptr noundef %31)
  %36 = getelementptr inbounds i8, ptr %0, i64 40
  %37 = load ptr, ptr %36, align 8, !tbaa !19
  %38 = call ptr @ggml_add(ptr noundef %28, ptr noundef %35, ptr noundef %37)
  %39 = call ptr @ggml_gelu(ptr noundef %28, ptr noundef %38)
  %40 = call ptr @ggml_reshape_3d(ptr noundef %28, ptr noundef %39, i64 noundef 512, i64 noundef 384, i64 noundef %30)
  %41 = call ptr @ggml_transpose(ptr noundef %28, ptr noundef %40)
  %42 = call ptr @ggml_cont(ptr noundef %28, ptr noundef %41)
  %43 = getelementptr inbounds i8, ptr %0, i64 24
  %44 = load float, ptr %43, align 8, !tbaa !20
  %45 = call ptr @ggml_norm(ptr noundef %28, ptr noundef %42, float noundef %44)
  %46 = getelementptr inbounds i8, ptr %0, i64 48
  %47 = load ptr, ptr %46, align 8, !tbaa !21
  %48 = call ptr @ggml_mul(ptr noundef %28, ptr noundef %45, ptr noundef %47)
  %49 = getelementptr inbounds i8, ptr %0, i64 56
  %50 = load ptr, ptr %49, align 8, !tbaa !22
  %51 = call ptr @ggml_add(ptr noundef %28, ptr noundef %48, ptr noundef %50)
  %52 = call ptr @ggml_transpose(ptr noundef %28, ptr noundef %51)
  %53 = call ptr @ggml_cont(ptr noundef %28, ptr noundef %52)
  %54 = getelementptr inbounds i8, ptr %0, i64 64
  %55 = load ptr, ptr %54, align 8, !tbaa !23
  %56 = call ptr @ggml_mul_mat(ptr noundef %28, ptr noundef %55, ptr noundef %53)
  %57 = getelementptr inbounds i8, ptr %0, i64 72
  %58 = load ptr, ptr %57, align 8, !tbaa !24
  %59 = call ptr @ggml_add(ptr noundef %28, ptr noundef %56, ptr noundef %58)
  %60 = call ptr @ggml_gelu(ptr noundef %28, ptr noundef %59)
  %61 = getelementptr inbounds i8, ptr %0, i64 80
  %62 = load ptr, ptr %61, align 8, !tbaa !25
  %63 = call ptr @ggml_mul_mat(ptr noundef %28, ptr noundef %62, ptr noundef %60)
  %64 = getelementptr inbounds i8, ptr %0, i64 88
  %65 = load ptr, ptr %64, align 8, !tbaa !26
  %66 = call ptr @ggml_add(ptr noundef %28, ptr noundef %63, ptr noundef %65)
  %67 = call ptr @ggml_gelu(ptr noundef %28, ptr noundef %66)
  %68 = call ptr @ggml_transpose(ptr noundef %28, ptr noundef %67)
  %69 = call ptr @ggml_cont(ptr noundef %28, ptr noundef %68)
  %70 = call ptr @ggml_pool_1d(ptr noundef %28, ptr noundef %69, i32 noundef 0, i32 noundef 384, i32 noundef 384, i32 noundef 0)
  %71 = call ptr @ggml_reshape_2d(ptr noundef %28, ptr noundef %70, i64 noundef 256, i64 noundef %30)
  %72 = load float, ptr %43, align 8, !tbaa !20
  %73 = call ptr @ggml_norm(ptr noundef %28, ptr noundef %71, float noundef %72)
  %74 = getelementptr inbounds i8, ptr %0, i64 96
  %75 = load ptr, ptr %74, align 8, !tbaa !27
  %76 = call ptr @ggml_mul(ptr noundef %28, ptr noundef %73, ptr noundef %75)
  %77 = getelementptr inbounds i8, ptr %0, i64 104
  %78 = load ptr, ptr %77, align 8, !tbaa !28
  %79 = call ptr @ggml_add(ptr noundef %28, ptr noundef %76, ptr noundef %78)
  %80 = getelementptr inbounds i8, ptr %0, i64 112
  %81 = load ptr, ptr %80, align 8, !tbaa !29
  %82 = call ptr @ggml_mul_mat(ptr noundef %28, ptr noundef %81, ptr noundef %79)
  %83 = getelementptr inbounds i8, ptr %0, i64 120
  %84 = load ptr, ptr %83, align 8, !tbaa !30
  %85 = call ptr @ggml_add(ptr noundef %28, ptr noundef %82, ptr noundef %84)
  %86 = call ptr @ggml_soft_max(ptr noundef %28, ptr noundef %85)
  %87 = call ptr @ggml_set_name(ptr noundef %86, ptr noundef nonnull @.str.22)
  call void @ggml_set_output(ptr noundef %86)
  call void @ggml_build_forward_expand(ptr noundef %29, ptr noundef %86)
  ret ptr %29

88:                                               ; preds = %11, %9
  %89 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_guard_abort(ptr nonnull @_ZGVZ12magika_graphRK12magika_modeliE8buf_size) #5
  br label %92

90:                                               ; preds = %21
  %91 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIhED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %3) #5
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  call void @__cxa_guard_abort(ptr nonnull @_ZGVZ12magika_graphRK12magika_modeliE3buf) #5
  br label %92

92:                                               ; preds = %90, %88
  %.pn = phi { ptr, i32 } [ %91, %90 ], [ %89, %88 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: nofree nounwind
declare i32 @__cxa_guard_acquire(ptr) local_unnamed_addr #3

declare i64 @ggml_tensor_overhead() local_unnamed_addr #4

declare i64 @ggml_graph_overhead() local_unnamed_addr #4

; Function Attrs: nofree nounwind
declare void @__cxa_guard_abort(ptr) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare void @__cxa_guard_release(ptr) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare i32 @__cxa_atexit(ptr, ptr, ptr) local_unnamed_addr #3

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

declare ptr @ggml_new_graph(ptr noundef) local_unnamed_addr #4

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

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

declare void @ggml_set_input(ptr noundef) local_unnamed_addr #4

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

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

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

declare ptr @ggml_reshape_3d(ptr noundef, ptr 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_transpose(ptr noundef, ptr noundef) local_unnamed_addr #4

declare ptr @ggml_norm(ptr noundef, ptr noundef, float noundef) local_unnamed_addr #4

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

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

declare ptr @ggml_reshape_2d(ptr noundef, ptr noundef, i64 noundef, i64 noundef) local_unnamed_addr #4

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

declare void @ggml_set_output(ptr noundef) local_unnamed_addr #4

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #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 = { nofree nounwind }
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 = !{!"branch_weights", i32 1, i32 1048575}
!6 = !{!7, !7, i64 0}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"bool", !8, i64 0}
!14 = !{!15, !11, i64 32}
!15 = !{!"_ZTS12magika_model", !16, i64 0, !11, i64 32, !11, i64 40, !11, i64 48, !11, i64 56, !11, i64 64, !11, i64 72, !11, i64 80, !11, i64 88, !11, i64 96, !11, i64 104, !11, i64 112, !11, i64 120, !11, i64 128, !11, i64 136, !11, i64 144}
!16 = !{!"_ZTS14magika_hparams", !17, i64 0, !17, i64 4, !17, i64 8, !17, i64 12, !17, i64 16, !17, i64 20, !18, i64 24, !17, i64 28}
!17 = !{!"int", !8, i64 0}
!18 = !{!"float", !8, i64 0}
!19 = !{!15, !11, i64 40}
!20 = !{!16, !18, i64 24}
!21 = !{!15, !11, i64 48}
!22 = !{!15, !11, i64 56}
!23 = !{!15, !11, i64 64}
!24 = !{!15, !11, i64 72}
!25 = !{!15, !11, i64 80}
!26 = !{!15, !11, i64 88}
!27 = !{!15, !11, i64 96}
!28 = !{!15, !11, i64 104}
!29 = !{!15, !11, i64 112}
!30 = !{!15, !11, i64 120}


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