; LLVM IR from kkumatani/distant_speech_recognition :: btk20_src/sad (neural_spnsp_det)

; 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.MLP = type { i32, ptr, ptr, ptr, ptr, ptr, i32, ptr }

@.str = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @Neural_Spnsp_Det(ptr noundef %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, float noundef %4, ptr noundef %5) #0 {
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca float, align 4
  %13 = alloca ptr, align 8
  %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 ptr, align 8
  %20 = alloca i32, align 4
  store ptr %0, ptr %8, align 8, !tbaa !5
  store i32 %1, ptr %9, align 4, !tbaa !9
  store i32 %2, ptr %10, align 4, !tbaa !9
  store ptr %3, ptr %11, align 8, !tbaa !5
  store float %4, ptr %12, align 4, !tbaa !11
  store ptr %5, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  %21 = load i32, ptr %9, align 4, !tbaa !9
  %22 = load i32, ptr %10, align 4, !tbaa !9
  %23 = mul nsw i32 2, %22
  %24 = add nsw i32 %23, 1
  %25 = mul nsw i32 %21, %24
  store i32 %25, ptr %18, align 4, !tbaa !9
  %26 = load i32, ptr %18, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = call noalias ptr @calloc(i64 noundef %27, i64 noundef 4) #6
  store ptr %28, ptr %17, align 8, !tbaa !5
  %29 = load ptr, ptr %17, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %31, label %33

31:                                               ; preds = %6
  %32 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %20, align 4
  br label %103

33:                                               ; preds = %6
  %34 = load ptr, ptr %11, align 8, !tbaa !5
  %35 = getelementptr inbounds %struct.MLP, ptr %34, i32 0, i32 1
  %36 = load ptr, ptr %35, align 8, !tbaa !13
  %37 = load ptr, ptr %11, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.MLP, ptr %37, i32 0, i32 0
  %39 = load i32, ptr %38, align 8, !tbaa !15
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds i32, ptr %36, i64 %40
  %42 = load i32, ptr %41, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = call noalias ptr @calloc(i64 noundef %43, i64 noundef 4) #6
  store ptr %44, ptr %19, align 8, !tbaa !5
  %45 = load ptr, ptr %19, align 8, !tbaa !5
  %46 = icmp eq ptr %45, null
  br i1 %46, label %47, label %50

47:                                               ; preds = %33
  %48 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %49 = load ptr, ptr %17, align 8, !tbaa !5
  call void @free(ptr noundef %49) #5
  store i32 -1, ptr %7, align 4
  store i32 1, ptr %20, align 4
  br label %103

50:                                               ; preds = %33
  store i32 0, ptr %16, align 4, !tbaa !9
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %82, %50
  %52 = load i32, ptr %14, align 4, !tbaa !9
  %53 = load i32, ptr %10, align 4, !tbaa !9
  %54 = mul nsw i32 2, %53
  %55 = add nsw i32 %54, 1
  %56 = icmp slt i32 %52, %55
  br i1 %56, label %57, label %85

57:                                               ; preds = %51
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %78, %57
  %59 = load i32, ptr %15, align 4, !tbaa !9
  %60 = load i32, ptr %9, align 4, !tbaa !9
  %61 = icmp slt i32 %59, %60
  br i1 %61, label %62, label %81

62:                                               ; preds = %58
  %63 = load ptr, ptr %8, align 8, !tbaa !5
  %64 = load i32, ptr %14, align 4, !tbaa !9
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds ptr, ptr %63, i64 %65
  %67 = load ptr, ptr %66, align 8, !tbaa !5
  %68 = load i32, ptr %15, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %67, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !11
  %72 = load ptr, ptr %17, align 8, !tbaa !5
  %73 = load i32, ptr %16, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds float, ptr %72, i64 %74
  store float %71, ptr %75, align 4, !tbaa !11
  %76 = load i32, ptr %16, align 4, !tbaa !9
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %16, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %62
  %79 = load i32, ptr %15, align 4, !tbaa !9
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %15, align 4, !tbaa !9
  br label %58, !llvm.loop !16

81:                                               ; preds = %58
  br label %82

82:                                               ; preds = %81
  %83 = load i32, ptr %14, align 4, !tbaa !9
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %14, align 4, !tbaa !9
  br label %51, !llvm.loop !18

85:                                               ; preds = %51
  %86 = load i32, ptr %18, align 4, !tbaa !9
  %87 = load ptr, ptr %17, align 8, !tbaa !5
  %88 = load ptr, ptr %11, align 8, !tbaa !5
  %89 = load ptr, ptr %19, align 8, !tbaa !5
  %90 = call i32 @Mlp_Post(i32 noundef %86, ptr noundef %87, ptr noundef %88, ptr noundef %89)
  %91 = load ptr, ptr %19, align 8, !tbaa !5
  %92 = getelementptr inbounds float, ptr %91, i64 0
  %93 = load float, ptr %92, align 4, !tbaa !11
  %94 = load float, ptr %12, align 4, !tbaa !11
  %95 = fcmp oge float %93, %94
  br i1 %95, label %96, label %98

96:                                               ; preds = %85
  %97 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 0, ptr %97, align 4, !tbaa !9
  br label %100

98:                                               ; preds = %85
  %99 = load ptr, ptr %13, align 8, !tbaa !5
  store i32 1, ptr %99, align 4, !tbaa !9
  br label %100

100:                                              ; preds = %98, %96
  %101 = load ptr, ptr %19, align 8, !tbaa !5
  call void @free(ptr noundef %101) #5
  %102 = load ptr, ptr %17, align 8, !tbaa !5
  call void @free(ptr noundef %102) #5
  store i32 0, ptr %7, align 4
  store i32 1, ptr %20, align 4
  br label %103

103:                                              ; preds = %100, %47, %31
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #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
  %104 = load i32, ptr %7, align 4
  ret i32 %104
}

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

; Function Attrs: nounwind allocsize(0,1)
declare noalias ptr @calloc(i64 noundef, i64 noundef) #2

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

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @Mlp_Post(i32 noundef, ptr noundef, ptr noundef, ptr noundef) #0

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

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 = { nounwind allocsize(0,1) "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 = { 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 #5 = { nounwind }
attributes #6 = { nounwind allocsize(0,1) }

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

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


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

@.str = external hidden unnamed_addr constant [52 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local range(i32 -1, 1) i32 @Neural_Spnsp_Det(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2, ptr noundef %3, float noundef %4, ptr nocapture noundef writeonly %5) local_unnamed_addr #0 {
  %7 = shl nsw i32 %2, 1
  %8 = or disjoint i32 %7, 1
  %9 = mul nsw i32 %8, %1
  %10 = sext i32 %9 to i64
  %11 = tail call noalias ptr @calloc(i64 noundef %10, i64 noundef 4) #4
  %12 = ptrtoint ptr %11 to i64
  %13 = icmp eq ptr %11, null
  br i1 %13, label %14, label %16

14:                                               ; preds = %6
  %15 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  br label %57

16:                                               ; preds = %6
  %17 = getelementptr inbounds i8, ptr %3, i64 8
  %18 = load ptr, ptr %17, align 8, !tbaa !5
  %19 = load i32, ptr %3, align 8, !tbaa !11
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds i32, ptr %18, i64 %20
  %22 = load i32, ptr %21, align 4, !tbaa !12
  %23 = sext i32 %22 to i64
  %24 = tail call noalias ptr @calloc(i64 noundef %23, i64 noundef 4) #4
  %25 = icmp eq ptr %24, null
  br i1 %25, label %52, label %.preheader35

.preheader35:                                     ; preds = %16
  %.not38 = icmp sgt i32 %2, -1
  %26 = icmp sgt i32 %1, 0
  %or.cond = and i1 %.not38, %26
  br i1 %or.cond, label %.preheader.us.preheader, label %._crit_edge41

.preheader.us.preheader:                          ; preds = %.preheader35
  %27 = or disjoint i32 %7, 1
  %wide.trip.count51 = zext nneg i32 %27 to i64
  %wide.trip.count = zext nneg i32 %1 to i64
  %min.iters.check = icmp ult i32 %1, 8
  %n.vec = and i64 %wide.trip.count, 2147483640
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %invariant.gep56 = getelementptr i8, ptr %11, i64 4
  %invariant.gep60 = getelementptr i8, ptr %11, i64 8
  %invariant.gep64 = getelementptr i8, ptr %11, i64 12
  br label %.preheader.us

.preheader.us:                                    ; preds = %.preheader.us.preheader, %._crit_edge.us
  %indvars.iv48 = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next49, %._crit_edge.us ]
  %.03239.us = phi i64 [ 0, %.preheader.us.preheader ], [ %indvars.iv.next44.lcssa, %._crit_edge.us ]
  %28 = getelementptr inbounds ptr, ptr %0, i64 %indvars.iv48
  %29 = load ptr, ptr %28, align 8, !tbaa !13
  %sext = shl i64 %.03239.us, 32
  %30 = ashr exact i64 %sext, 32
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.preheader.us
  %31 = ptrtoint ptr %29 to i64
  %32 = ashr exact i64 %sext, 30
  %33 = add i64 %32, %12
  %34 = sub i64 %33, %31
  %diff.check = icmp ult i64 %34, 32
  br i1 %diff.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %ind.end = add nsw i64 %30, %n.vec
  %35 = getelementptr float, ptr %11, i64 %30
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %36 = getelementptr inbounds float, ptr %29, i64 %index
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %wide.load = load <4 x float>, ptr %36, align 4, !tbaa !14
  %wide.load54 = load <4 x float>, ptr %37, align 4, !tbaa !14
  %38 = getelementptr float, ptr %35, i64 %index
  %39 = getelementptr inbounds i8, ptr %38, i64 16
  store <4 x float> %wide.load, ptr %38, align 4, !tbaa !14
  store <4 x float> %wide.load54, ptr %39, align 4, !tbaa !14
  %index.next = add nuw i64 %index, 8
  %40 = icmp eq i64 %index.next, %n.vec
  br i1 %40, label %middle.block, label %vector.body, !llvm.loop !16

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader.us
  %indvars.iv43.ph = phi i64 [ %30, %vector.memcheck ], [ %30, %.preheader.us ], [ %ind.end, %middle.block ]
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv43.prol = phi i64 [ %indvars.iv.next44.prol, %scalar.ph.prol ], [ %indvars.iv43.ph, %scalar.ph.preheader ]
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %41 = getelementptr inbounds float, ptr %29, i64 %indvars.iv.prol
  %42 = load float, ptr %41, align 4, !tbaa !14
  %43 = getelementptr inbounds float, ptr %11, i64 %indvars.iv43.prol
  store float %42, ptr %43, align 4, !tbaa !14
  %indvars.iv.next44.prol = add nsw i64 %indvars.iv43.prol, 1
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !20

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.next44.lcssa55.unr = phi i64 [ poison, %scalar.ph.preheader ], [ %indvars.iv.next44.prol, %scalar.ph.prol ]
  %indvars.iv43.unr = phi i64 [ %indvars.iv43.ph, %scalar.ph.preheader ], [ %indvars.iv.next44.prol, %scalar.ph.prol ]
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %44 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %45 = icmp ugt i64 %44, -4
  br i1 %45, label %._crit_edge.us, label %scalar.ph.preheader.new

scalar.ph.preheader.new:                          ; preds = %scalar.ph.prol.loopexit
  %invariant.gep = getelementptr i8, ptr %29, i64 4
  %invariant.gep58 = getelementptr i8, ptr %29, i64 8
  %invariant.gep62 = getelementptr i8, ptr %29, i64 12
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph, %scalar.ph.preheader.new
  %indvars.iv43 = phi i64 [ %indvars.iv43.unr, %scalar.ph.preheader.new ], [ %indvars.iv.next44.3, %scalar.ph ]
  %indvars.iv = phi i64 [ %indvars.iv.unr, %scalar.ph.preheader.new ], [ %indvars.iv.next.3, %scalar.ph ]
  %46 = getelementptr inbounds float, ptr %29, i64 %indvars.iv
  %47 = load float, ptr %46, align 4, !tbaa !14
  %48 = getelementptr inbounds float, ptr %11, i64 %indvars.iv43
  store float %47, ptr %48, align 4, !tbaa !14
  %gep = getelementptr float, ptr %invariant.gep, i64 %indvars.iv
  %49 = load float, ptr %gep, align 4, !tbaa !14
  %gep57 = getelementptr float, ptr %invariant.gep56, i64 %indvars.iv43
  store float %49, ptr %gep57, align 4, !tbaa !14
  %gep59 = getelementptr float, ptr %invariant.gep58, i64 %indvars.iv
  %50 = load float, ptr %gep59, align 4, !tbaa !14
  %gep61 = getelementptr float, ptr %invariant.gep60, i64 %indvars.iv43
  store float %50, ptr %gep61, align 4, !tbaa !14
  %gep63 = getelementptr float, ptr %invariant.gep62, i64 %indvars.iv
  %51 = load float, ptr %gep63, align 4, !tbaa !14
  %gep65 = getelementptr float, ptr %invariant.gep64, i64 %indvars.iv43
  store float %51, ptr %gep65, align 4, !tbaa !14
  %indvars.iv.next44.3 = add nsw i64 %indvars.iv43, 4
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %._crit_edge.us, label %scalar.ph, !llvm.loop !22

._crit_edge.us:                                   ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %indvars.iv.next44.lcssa = phi i64 [ %ind.end, %middle.block ], [ %indvars.iv.next44.lcssa55.unr, %scalar.ph.prol.loopexit ], [ %indvars.iv.next44.3, %scalar.ph ]
  %indvars.iv.next49 = add nuw nsw i64 %indvars.iv48, 1
  %exitcond52.not = icmp eq i64 %indvars.iv.next49, %wide.trip.count51
  br i1 %exitcond52.not, label %._crit_edge41, label %.preheader.us, !llvm.loop !23

52:                                               ; preds = %16
  %53 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  tail call void @free(ptr noundef nonnull %11) #5
  br label %57

._crit_edge41:                                    ; preds = %._crit_edge.us, %.preheader35
  %54 = tail call i32 @Mlp_Post(i32 noundef %9, ptr noundef nonnull %11, ptr noundef nonnull %3, ptr noundef nonnull %24)
  %55 = load float, ptr %24, align 4, !tbaa !14
  %56 = fcmp ult float %55, %4
  %. = zext i1 %56 to i32
  store i32 %., ptr %5, align 4, !tbaa !12
  tail call void @free(ptr noundef %24) #5
  tail call void @free(ptr noundef nonnull %11) #5
  br label %57

57:                                               ; preds = %._crit_edge41, %52, %14
  %.0 = phi i32 [ -1, %14 ], [ -1, %52 ], [ 0, %._crit_edge41 ]
  ret i32 %.0
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #1

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

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @Mlp_Post(i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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 nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { 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 #3 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 allocsize(0,1) }
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, !10, i64 8}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !7, i64 48, !10, i64 56}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!7, !7, i64 0}
!13 = !{!10, !10, i64 0}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !8, i64 0}
!16 = distinct !{!16, !17, !18, !19}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{!"llvm.loop.isvectorized", i32 1}
!19 = !{!"llvm.loop.unroll.runtime.disable"}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.unroll.disable"}
!22 = distinct !{!22, !17, !18}
!23 = distinct !{!23, !17}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass