; LLVM IR from zchrissirhcz/pixel :: src (px_convolution)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.px_conv_param_t = type { i32, i32, i32, i32, i32, i32 }
%struct.px_size_t = type { i32, i32 }
%struct.px_matrix_t = type { ptr, i32, i32 }
%struct.px_cube_t = type { ptr, i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local i64 @px_get_conv_output_matrix_dim(i64, i64, ptr noundef byval(%struct.px_conv_param_t) align 8) #0

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

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

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

declare i64 @px_get_channel_wise_matrix_dim(ptr noundef) #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: nounwind uwtable
define dso_local ptr @px_forward_convolution_layer_for_cube_with_one_kernel(ptr noundef %0, ptr noundef %1, ptr noundef byval(%struct.px_conv_param_t) align 8 %2, float noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca %struct.px_size_t, align 4
  %9 = alloca %struct.px_size_t, align 4
  %10 = alloca %struct.px_size_t, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca ptr, align 8
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i64, align 8
  %21 = alloca ptr, align 8
  %22 = alloca %struct.px_matrix_t, align 8
  %23 = alloca ptr, align 8
  %24 = alloca %struct.px_matrix_t, align 8
  %25 = alloca i32, align 4
  %26 = alloca ptr, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store float %3, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #5
  %27 = load ptr, ptr %5, align 8, !tbaa !5
  %28 = call i64 @px_get_channel_wise_matrix_dim(ptr noundef %27)
  store i64 %28, ptr %8, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %29 = load ptr, ptr %6, align 8, !tbaa !5
  %30 = call i64 @px_get_channel_wise_matrix_dim(ptr noundef %29)
  store i64 %30, ptr %9, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #5
  %31 = load i64, ptr %8, align 4
  %32 = load i64, ptr %9, align 4
  %33 = call i64 @px_get_conv_output_matrix_dim(i64 %31, i64 %32, ptr noundef byval(%struct.px_conv_param_t) align 8 %2)
  store i64 %33, ptr %10, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %34 = getelementptr inbounds %struct.px_size_t, ptr %10, i32 0, i32 1
  %35 = load i32, ptr %34, align 4, !tbaa !11
  store i32 %35, ptr %11, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %36 = getelementptr inbounds %struct.px_size_t, ptr %10, i32 0, i32 0
  %37 = load i32, ptr %36, align 4, !tbaa !15
  store i32 %37, ptr %12, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  %38 = load ptr, ptr %6, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.px_cube_t, ptr %38, i32 0, i32 2
  %40 = load i32, ptr %39, align 4, !tbaa !16
  store i32 %40, ptr %13, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  %41 = load ptr, ptr %6, align 8, !tbaa !5
  %42 = getelementptr inbounds %struct.px_cube_t, ptr %41, i32 0, i32 3
  %43 = load i32, ptr %42, align 8, !tbaa !18
  store i32 %43, ptr %14, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.px_cube_t, ptr %44, i32 0, i32 2
  %46 = load i32, ptr %45, align 4, !tbaa !16
  store i32 %46, ptr %15, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = getelementptr inbounds %struct.px_cube_t, ptr %47, i32 0, i32 3
  %49 = load i32, ptr %48, align 8, !tbaa !18
  store i32 %49, ptr %16, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  %50 = load i64, ptr %10, align 4
  %51 = call ptr @px_create_matrix(i64 %50)
  store ptr %51, ptr %17, align 8, !tbaa !5
  %52 = load ptr, ptr %17, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.px_matrix_t, ptr %52, i32 0, i32 0
  %54 = load ptr, ptr %53, align 8, !tbaa !19
  %55 = load i32, ptr %11, align 4, !tbaa !14
  %56 = load i32, ptr %12, align 4, !tbaa !14
  %57 = mul nsw i32 %55, %56
  %58 = sext i32 %57 to i64
  %59 = mul i64 %58, 4
  call void @llvm.memset.p0.i64(ptr align 4 %54, i8 0, i64 %59, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.px_cube_t, ptr %60, i32 0, i32 1
  %62 = load i32, ptr %61, align 8, !tbaa !21
  store i32 %62, ptr %18, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #5
  store i32 0, ptr %19, align 4, !tbaa !14
  br label %63

63:                                               ; preds = %118, %4
  %64 = load i32, ptr %19, align 4, !tbaa !14
  %65 = load i32, ptr %18, align 4, !tbaa !14
  %66 = icmp slt i32 %64, %65
  br i1 %66, label %68, label %67

67:                                               ; preds = %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #5
  br label %121

68:                                               ; preds = %63
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  store i64 0, ptr %20, align 8, !tbaa !22
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  %69 = load i64, ptr %8, align 4
  %70 = call ptr @px_create_matrix(i64 %69)
  store ptr %70, ptr %21, align 8, !tbaa !5
  %71 = load i32, ptr %15, align 4, !tbaa !14
  %72 = load i32, ptr %16, align 4, !tbaa !14
  %73 = mul nsw i32 %71, %72
  %74 = sext i32 %73 to i64
  %75 = mul i64 %74, 4
  store i64 %75, ptr %20, align 8, !tbaa !22
  %76 = load ptr, ptr %21, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.px_matrix_t, ptr %76, i32 0, i32 0
  %78 = load ptr, ptr %77, align 8, !tbaa !19
  %79 = load ptr, ptr %5, align 8, !tbaa !5
  %80 = load i32, ptr %19, align 4, !tbaa !14
  %81 = call { ptr, i64 } @px_get_matrix_from_cube(ptr noundef %79, i32 noundef %80)
  %82 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 0
  %83 = extractvalue { ptr, i64 } %81, 0
  store ptr %83, ptr %82, align 8
  %84 = getelementptr inbounds { ptr, i64 }, ptr %22, i32 0, i32 1
  %85 = extractvalue { ptr, i64 } %81, 1
  store i64 %85, ptr %84, align 8
  %86 = getelementptr inbounds %struct.px_matrix_t, ptr %22, i32 0, i32 0
  %87 = load ptr, ptr %86, align 8, !tbaa !19
  %88 = load i64, ptr %20, align 8, !tbaa !22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %78, ptr align 4 %87, i64 %88, i1 false)
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  %89 = load i64, ptr %9, align 4
  %90 = call ptr @px_create_matrix(i64 %89)
  store ptr %90, ptr %23, align 8, !tbaa !5
  %91 = load i32, ptr %13, align 4, !tbaa !14
  %92 = load i32, ptr %14, align 4, !tbaa !14
  %93 = mul nsw i32 %91, %92
  %94 = sext i32 %93 to i64
  %95 = mul i64 %94, 4
  store i64 %95, ptr %20, align 8, !tbaa !22
  %96 = load ptr, ptr %23, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.px_matrix_t, ptr %96, i32 0, i32 0
  %98 = load ptr, ptr %97, align 8, !tbaa !19
  %99 = load ptr, ptr %6, align 8, !tbaa !5
  %100 = load i32, ptr %19, align 4, !tbaa !14
  %101 = call { ptr, i64 } @px_get_matrix_from_cube(ptr noundef %99, i32 noundef %100)
  %102 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 0
  %103 = extractvalue { ptr, i64 } %101, 0
  store ptr %103, ptr %102, align 8
  %104 = getelementptr inbounds { ptr, i64 }, ptr %24, i32 0, i32 1
  %105 = extractvalue { ptr, i64 } %101, 1
  store i64 %105, ptr %104, align 8
  %106 = getelementptr inbounds %struct.px_matrix_t, ptr %24, i32 0, i32 0
  %107 = load ptr, ptr %106, align 8, !tbaa !19
  %108 = load i64, ptr %20, align 8, !tbaa !22
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %98, ptr align 4 %107, i64 %108, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !14
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  %109 = load ptr, ptr %21, align 8, !tbaa !5
  %110 = load ptr, ptr %23, align 8, !tbaa !5
  %111 = call ptr @px_forward_convolution_layer_for_matrix(ptr noundef %109, ptr noundef %110, ptr noundef byval(%struct.px_conv_param_t) align 8 %2, float noundef 0.000000e+00)
  store ptr %111, ptr %26, align 8, !tbaa !5
  %112 = load ptr, ptr %17, align 8, !tbaa !5
  %113 = load ptr, ptr %26, align 8, !tbaa !5
  %114 = call i32 @px_matrix_add_matrix(ptr noundef %112, ptr noundef %113)
  %115 = load ptr, ptr %21, align 8, !tbaa !5
  call void @px_destroy_matrix(ptr noundef %115)
  %116 = load ptr, ptr %26, align 8, !tbaa !5
  call void @px_destroy_matrix(ptr noundef %116)
  %117 = load ptr, ptr %23, align 8, !tbaa !5
  call void @px_destroy_matrix(ptr noundef %117)
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  br label %118

118:                                              ; preds = %68
  %119 = load i32, ptr %19, align 4, !tbaa !14
  %120 = add nsw i32 %119, 1
  store i32 %120, ptr %19, align 4, !tbaa !14
  br label %63, !llvm.loop !24

121:                                              ; preds = %67
  %122 = load ptr, ptr %17, align 8, !tbaa !5
  %123 = load float, ptr %7, align 4, !tbaa !9
  %124 = call i32 @px_matrix_add_scalar(ptr noundef %122, float noundef %123)
  %125 = load ptr, ptr %17, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, 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
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #5
  ret ptr %125
}

declare void @px_destroy_matrix(ptr noundef) #3

declare ptr @px_create_matrix(i64) #3

declare { ptr, i64 } @px_get_matrix_from_cube(ptr noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @px_forward_convolution_layer_for_matrix(ptr noundef, ptr noundef, ptr noundef byval(%struct.px_conv_param_t) align 8, float noundef) #0

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

declare i32 @px_matrix_add_scalar(ptr noundef, float noundef) #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: write) }
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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !13, i64 4}
!12 = !{!"px_size_t", !13, i64 0, !13, i64 4}
!13 = !{!"int", !7, i64 0}
!14 = !{!13, !13, i64 0}
!15 = !{!12, !13, i64 0}
!16 = !{!17, !13, i64 12}
!17 = !{!"px_cube_t", !6, i64 0, !13, i64 8, !13, i64 12, !13, i64 16}
!18 = !{!17, !13, i64 16}
!19 = !{!20, !6, i64 0}
!20 = !{!"px_matrix_t", !6, i64 0, !13, i64 8, !13, i64 12}
!21 = !{!17, !13, i64 8}
!22 = !{!23, !23, i64 0}
!23 = !{!"long", !7, i64 0}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.px_conv_param_t = type { i32, i32, i32, i32, i32, i32 }

; Function Attrs: nounwind uwtable
declare dso_local i64 @px_get_conv_output_matrix_dim(i64, i64, ptr noundef byval(%struct.px_conv_param_t) align 8) local_unnamed_addr #0

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

declare i64 @px_get_channel_wise_matrix_dim(ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #3

; Function Attrs: nounwind uwtable
define dso_local noundef ptr @px_forward_convolution_layer_for_cube_with_one_kernel(ptr noundef %0, ptr noundef %1, ptr noundef byval(%struct.px_conv_param_t) align 8 %2, float noundef %3) local_unnamed_addr #0 {
  %5 = tail call i64 @px_get_channel_wise_matrix_dim(ptr noundef %0) #4
  %6 = tail call i64 @px_get_channel_wise_matrix_dim(ptr noundef %1) #4
  %7 = tail call i64 @px_get_conv_output_matrix_dim(i64 %5, i64 %6, ptr noundef nonnull byval(%struct.px_conv_param_t) align 8 %2)
  %.sroa.5.0.extract.shift = lshr i64 %7, 32
  %8 = getelementptr inbounds i8, ptr %1, i64 12
  %9 = load i32, ptr %8, align 4, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %1, i64 16
  %11 = load i32, ptr %10, align 8, !tbaa !11
  %12 = getelementptr inbounds i8, ptr %0, i64 12
  %13 = load i32, ptr %12, align 4, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 16
  %15 = load i32, ptr %14, align 8, !tbaa !11
  %16 = tail call ptr @px_create_matrix(i64 %7) #4
  %17 = load ptr, ptr %16, align 8, !tbaa !12
  %18 = shl i64 %7, 32
  %sext = mul i64 %18, %.sroa.5.0.extract.shift
  %19 = ashr exact i64 %sext, 30
  tail call void @llvm.memset.p0.i64(ptr align 4 %17, i8 0, i64 %19, i1 false)
  %20 = getelementptr inbounds i8, ptr %0, i64 8
  %21 = load i32, ptr %20, align 8, !tbaa !14
  %22 = icmp sgt i32 %21, 0
  br i1 %22, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %4
  %23 = mul nsw i32 %15, %13
  %24 = sext i32 %23 to i64
  %25 = shl nsw i64 %24, 2
  %26 = mul nsw i32 %11, %9
  %27 = sext i32 %26 to i64
  %28 = shl nsw i64 %27, 2
  br label %30

._crit_edge:                                      ; preds = %30, %4
  %29 = tail call i32 @px_matrix_add_scalar(ptr noundef nonnull %16, float noundef %3) #4
  ret ptr %16

30:                                               ; preds = %.lr.ph, %30
  %.042 = phi i32 [ 0, %.lr.ph ], [ %41, %30 ]
  %31 = tail call ptr @px_create_matrix(i64 %5) #4
  %32 = load ptr, ptr %31, align 8, !tbaa !12
  %33 = tail call { ptr, i64 } @px_get_matrix_from_cube(ptr noundef %0, i32 noundef %.042) #4
  %34 = extractvalue { ptr, i64 } %33, 0
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 4 %32, ptr align 4 %34, i64 %25, i1 false)
  %35 = tail call ptr @px_create_matrix(i64 %6) #4
  %36 = load ptr, ptr %35, align 8, !tbaa !12
  %37 = tail call { ptr, i64 } @px_get_matrix_from_cube(ptr noundef %1, i32 noundef %.042) #4
  %38 = extractvalue { ptr, i64 } %37, 0
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 4 %36, ptr align 4 %38, i64 %28, i1 false)
  %39 = tail call ptr @px_forward_convolution_layer_for_matrix(ptr noundef nonnull %31, ptr noundef nonnull %35, ptr noundef nonnull byval(%struct.px_conv_param_t) align 8 %2, float noundef 0.000000e+00)
  %40 = tail call i32 @px_matrix_add_matrix(ptr noundef nonnull %16, ptr noundef %39) #4
  tail call void @px_destroy_matrix(ptr noundef nonnull %31) #4
  tail call void @px_destroy_matrix(ptr noundef %39) #4
  tail call void @px_destroy_matrix(ptr noundef nonnull %35) #4
  %41 = add nuw nsw i32 %.042, 1
  %exitcond.not = icmp eq i32 %41, %21
  br i1 %exitcond.not, label %._crit_edge, label %30, !llvm.loop !15
}

declare void @px_destroy_matrix(ptr noundef) local_unnamed_addr #2

declare ptr @px_create_matrix(i64) local_unnamed_addr #2

declare { ptr, i64 } @px_get_matrix_from_cube(ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
declare dso_local ptr @px_forward_convolution_layer_for_matrix(ptr noundef, ptr noundef, ptr noundef byval(%struct.px_conv_param_t) align 8, float noundef) local_unnamed_addr #0

declare i32 @px_matrix_add_matrix(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @px_matrix_add_scalar(ptr noundef, float noundef) local_unnamed_addr #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #2 = { "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 12}
!6 = !{!"px_cube_t", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!6, !10, i64 16}
!12 = !{!13, !7, i64 0}
!13 = !{!"px_matrix_t", !7, i64 0, !10, i64 8, !10, i64 12}
!14 = !{!6, !10, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass