; LLVM IR from Aakriti05/DSP-implementation_LMS_RNN :: rnn (main)

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

@dense_bias = external dso_local global double, align 8
@dense_kernel = external dso_local global [16 x double], align 16
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: nounwind
declare double @exp(double noundef) #3

; Function Attrs: nounwind uwtable
declare dso_local ptr @gru_single_cell(ptr noundef, ptr noundef) #4

; Function Attrs: nounwind uwtable
define dso_local void @main() #4 {
  %1 = alloca [32 x ptr], align 16
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca [32 x i32], align 16
  %7 = alloca i32, align 4
  %8 = alloca ptr, align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 256, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %12

12:                                               ; preds = %21, %0
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = icmp slt i32 %13, 32
  br i1 %14, label %16, label %15

15:                                               ; preds = %12
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  br label %24

16:                                               ; preds = %12
  %17 = call noalias ptr @malloc(i64 noundef 128) #7
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [32 x ptr], ptr %1, i64 0, i64 %19
  store ptr %17, ptr %20, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %16
  %22 = load i32, ptr %2, align 4, !tbaa !5
  %23 = add nsw i32 %22, 1
  store i32 %23, ptr %2, align 4, !tbaa !5
  br label %12, !llvm.loop !11

24:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %46, %24
  %26 = load i32, ptr %3, align 4, !tbaa !5
  %27 = icmp slt i32 %26, 32
  br i1 %27, label %29, label %28

28:                                               ; preds = %25
  store i32 5, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  br label %49

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %30

30:                                               ; preds = %42, %29
  %31 = load i32, ptr %5, align 4, !tbaa !5
  %32 = icmp slt i32 %31, 16
  br i1 %32, label %34, label %33

33:                                               ; preds = %30
  store i32 8, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  br label %45

34:                                               ; preds = %30
  %35 = load i32, ptr %3, align 4, !tbaa !5
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [32 x ptr], ptr %1, i64 0, i64 %36
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = load i32, ptr %5, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds double, ptr %38, i64 %40
  store double 0.000000e+00, ptr %41, align 8, !tbaa !13
  br label %42

42:                                               ; preds = %34
  %43 = load i32, ptr %5, align 4, !tbaa !5
  %44 = add nsw i32 %43, 1
  store i32 %44, ptr %5, align 4, !tbaa !5
  br label %30, !llvm.loop !15

45:                                               ; preds = %33
  br label %46

46:                                               ; preds = %45
  %47 = load i32, ptr %3, align 4, !tbaa !5
  %48 = add nsw i32 %47, 1
  store i32 %48, ptr %3, align 4, !tbaa !5
  br label %25, !llvm.loop !16

49:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 128, ptr %6) #6
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #6
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %50

50:                                               ; preds = %58, %49
  %51 = load i32, ptr %7, align 4, !tbaa !5
  %52 = icmp slt i32 %51, 32
  br i1 %52, label %54, label %53

53:                                               ; preds = %50
  store i32 11, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #6
  br label %61

54:                                               ; preds = %50
  %55 = load i32, ptr %7, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 %56
  store i32 1, ptr %57, align 4, !tbaa !5
  br label %58

58:                                               ; preds = %54
  %59 = load i32, ptr %7, align 4, !tbaa !5
  %60 = add nsw i32 %59, 1
  store i32 %60, ptr %7, align 4, !tbaa !5
  br label %50, !llvm.loop !17

61:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  store double 0.000000e+00, ptr %9, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %62

62:                                               ; preds = %70, %61
  %63 = load i32, ptr %10, align 4, !tbaa !5
  %64 = icmp slt i32 %63, 5
  br i1 %64, label %66, label %65

65:                                               ; preds = %62
  store i32 14, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  br label %73

66:                                               ; preds = %62
  %67 = getelementptr inbounds [32 x ptr], ptr %1, i64 0, i64 0
  %68 = getelementptr inbounds [32 x i32], ptr %6, i64 0, i64 0
  %69 = call ptr @gru_single_cell(ptr noundef %67, ptr noundef %68)
  store ptr %69, ptr %8, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %66
  %71 = load i32, ptr %10, align 4, !tbaa !5
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %10, align 4, !tbaa !5
  br label %62, !llvm.loop !18

73:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %74

74:                                               ; preds = %90, %73
  %75 = load i32, ptr %11, align 4, !tbaa !5
  %76 = icmp slt i32 %75, 16
  br i1 %76, label %78, label %77

77:                                               ; preds = %74
  store i32 17, ptr %4, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %93

78:                                               ; preds = %74
  %79 = load double, ptr %9, align 8, !tbaa !13
  %80 = load ptr, ptr %8, align 8, !tbaa !9
  %81 = load i32, ptr %11, align 4, !tbaa !5
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %80, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !13
  %85 = load i32, ptr %11, align 4, !tbaa !5
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds [16 x double], ptr @dense_kernel, i64 0, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !13
  %89 = call double @llvm.fmuladd.f64(double %84, double %88, double %79)
  store double %89, ptr %9, align 8, !tbaa !13
  br label %90

90:                                               ; preds = %78
  %91 = load i32, ptr %11, align 4, !tbaa !5
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %11, align 4, !tbaa !5
  br label %74, !llvm.loop !19

93:                                               ; preds = %77
  %94 = load double, ptr %9, align 8, !tbaa !13
  %95 = load double, ptr @dense_bias, align 8, !tbaa !13
  %96 = fadd double %94, %95
  store double %96, ptr %9, align 8, !tbaa !13
  %97 = load double, ptr %9, align 8, !tbaa !13
  %98 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %97)
  %99 = call double @exp(double noundef 1.000000e+00) #6
  %100 = call double @exp(double noundef 1.200000e+00) #6
  %101 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %99, double noundef %100)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 128, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 256, ptr %1) #6
  ret void
}

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

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

!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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !12}


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

@dense_bias = external dso_local local_unnamed_addr global double, align 8
@dense_kernel = external dso_local local_unnamed_addr global [16 x double], align 16
@.str = external hidden unnamed_addr constant [10 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [7 x i8], align 1

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

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: nounwind uwtable
declare dso_local ptr @gru_single_cell(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local void @main() local_unnamed_addr #2 {
.preheader29.preheader:
  %0 = alloca [32 x ptr], align 16
  %1 = alloca [32 x i32], align 16
  call void @llvm.lifetime.start.p0(i64 256, ptr nonnull %0) #5
  %calloc = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  store ptr %calloc, ptr %0, align 16, !tbaa !5
  %calloc44 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %2 = getelementptr inbounds i8, ptr %0, i64 8
  store ptr %calloc44, ptr %2, align 8, !tbaa !5
  %calloc45 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %3 = getelementptr inbounds i8, ptr %0, i64 16
  store ptr %calloc45, ptr %3, align 16, !tbaa !5
  %calloc46 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %4 = getelementptr inbounds i8, ptr %0, i64 24
  store ptr %calloc46, ptr %4, align 8, !tbaa !5
  %calloc47 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %5 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %calloc47, ptr %5, align 16, !tbaa !5
  %calloc48 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  store ptr %calloc48, ptr %6, align 8, !tbaa !5
  %calloc49 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %7 = getelementptr inbounds i8, ptr %0, i64 48
  store ptr %calloc49, ptr %7, align 16, !tbaa !5
  %calloc50 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %8 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %calloc50, ptr %8, align 8, !tbaa !5
  %calloc51 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %9 = getelementptr inbounds i8, ptr %0, i64 64
  store ptr %calloc51, ptr %9, align 16, !tbaa !5
  %calloc52 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %10 = getelementptr inbounds i8, ptr %0, i64 72
  store ptr %calloc52, ptr %10, align 8, !tbaa !5
  %calloc53 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %11 = getelementptr inbounds i8, ptr %0, i64 80
  store ptr %calloc53, ptr %11, align 16, !tbaa !5
  %calloc54 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %12 = getelementptr inbounds i8, ptr %0, i64 88
  store ptr %calloc54, ptr %12, align 8, !tbaa !5
  %calloc55 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %13 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr %calloc55, ptr %13, align 16, !tbaa !5
  %calloc56 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %14 = getelementptr inbounds i8, ptr %0, i64 104
  store ptr %calloc56, ptr %14, align 8, !tbaa !5
  %calloc57 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %15 = getelementptr inbounds i8, ptr %0, i64 112
  store ptr %calloc57, ptr %15, align 16, !tbaa !5
  %calloc58 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %16 = getelementptr inbounds i8, ptr %0, i64 120
  store ptr %calloc58, ptr %16, align 8, !tbaa !5
  %calloc59 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %17 = getelementptr inbounds i8, ptr %0, i64 128
  store ptr %calloc59, ptr %17, align 16, !tbaa !5
  %calloc60 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %18 = getelementptr inbounds i8, ptr %0, i64 136
  store ptr %calloc60, ptr %18, align 8, !tbaa !5
  %calloc61 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %19 = getelementptr inbounds i8, ptr %0, i64 144
  store ptr %calloc61, ptr %19, align 16, !tbaa !5
  %calloc62 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %20 = getelementptr inbounds i8, ptr %0, i64 152
  store ptr %calloc62, ptr %20, align 8, !tbaa !5
  %calloc63 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %21 = getelementptr inbounds i8, ptr %0, i64 160
  store ptr %calloc63, ptr %21, align 16, !tbaa !5
  %calloc64 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %22 = getelementptr inbounds i8, ptr %0, i64 168
  store ptr %calloc64, ptr %22, align 8, !tbaa !5
  %calloc65 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %23 = getelementptr inbounds i8, ptr %0, i64 176
  store ptr %calloc65, ptr %23, align 16, !tbaa !5
  %calloc66 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %24 = getelementptr inbounds i8, ptr %0, i64 184
  store ptr %calloc66, ptr %24, align 8, !tbaa !5
  %calloc67 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %25 = getelementptr inbounds i8, ptr %0, i64 192
  store ptr %calloc67, ptr %25, align 16, !tbaa !5
  %calloc68 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %26 = getelementptr inbounds i8, ptr %0, i64 200
  store ptr %calloc68, ptr %26, align 8, !tbaa !5
  %calloc69 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %27 = getelementptr inbounds i8, ptr %0, i64 208
  store ptr %calloc69, ptr %27, align 16, !tbaa !5
  %calloc70 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %28 = getelementptr inbounds i8, ptr %0, i64 216
  store ptr %calloc70, ptr %28, align 8, !tbaa !5
  %calloc71 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %29 = getelementptr inbounds i8, ptr %0, i64 224
  store ptr %calloc71, ptr %29, align 16, !tbaa !5
  %calloc72 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %30 = getelementptr inbounds i8, ptr %0, i64 232
  store ptr %calloc72, ptr %30, align 8, !tbaa !5
  %calloc73 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %31 = getelementptr inbounds i8, ptr %0, i64 240
  store ptr %calloc73, ptr %31, align 16, !tbaa !5
  %calloc74 = tail call dereferenceable_or_null(128) ptr @calloc(i64 1, i64 128)
  %32 = getelementptr inbounds i8, ptr %0, i64 248
  store ptr %calloc74, ptr %32, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 128, ptr nonnull %1) #5
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %1, align 16, !tbaa !9
  %33 = getelementptr inbounds i8, ptr %1, i64 16
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %33, align 16, !tbaa !9
  %34 = getelementptr inbounds i8, ptr %1, i64 32
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %34, align 16, !tbaa !9
  %35 = getelementptr inbounds i8, ptr %1, i64 48
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %35, align 16, !tbaa !9
  %36 = getelementptr inbounds i8, ptr %1, i64 64
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %36, align 16, !tbaa !9
  %37 = getelementptr inbounds i8, ptr %1, i64 80
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %37, align 16, !tbaa !9
  %38 = getelementptr inbounds i8, ptr %1, i64 96
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %38, align 16, !tbaa !9
  %39 = getelementptr inbounds i8, ptr %1, i64 112
  store <4 x i32> <i32 1, i32 1, i32 1, i32 1>, ptr %39, align 16, !tbaa !9
  %40 = call ptr @gru_single_cell(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %41 = call ptr @gru_single_cell(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %42 = call ptr @gru_single_cell(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %43 = call ptr @gru_single_cell(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %44 = call ptr @gru_single_cell(ptr noundef nonnull %0, ptr noundef nonnull %1)
  %45 = load double, ptr %44, align 8, !tbaa !11
  %46 = load double, ptr @dense_kernel, align 16, !tbaa !11
  %47 = call double @llvm.fmuladd.f64(double %45, double %46, double 0.000000e+00)
  %48 = getelementptr inbounds i8, ptr %44, i64 8
  %49 = load double, ptr %48, align 8, !tbaa !11
  %50 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 8), align 8, !tbaa !11
  %51 = call double @llvm.fmuladd.f64(double %49, double %50, double %47)
  %52 = getelementptr inbounds i8, ptr %44, i64 16
  %53 = load double, ptr %52, align 8, !tbaa !11
  %54 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 16), align 16, !tbaa !11
  %55 = call double @llvm.fmuladd.f64(double %53, double %54, double %51)
  %56 = getelementptr inbounds i8, ptr %44, i64 24
  %57 = load double, ptr %56, align 8, !tbaa !11
  %58 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 24), align 8, !tbaa !11
  %59 = call double @llvm.fmuladd.f64(double %57, double %58, double %55)
  %60 = getelementptr inbounds i8, ptr %44, i64 32
  %61 = load double, ptr %60, align 8, !tbaa !11
  %62 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 32), align 16, !tbaa !11
  %63 = call double @llvm.fmuladd.f64(double %61, double %62, double %59)
  %64 = getelementptr inbounds i8, ptr %44, i64 40
  %65 = load double, ptr %64, align 8, !tbaa !11
  %66 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 40), align 8, !tbaa !11
  %67 = call double @llvm.fmuladd.f64(double %65, double %66, double %63)
  %68 = getelementptr inbounds i8, ptr %44, i64 48
  %69 = load double, ptr %68, align 8, !tbaa !11
  %70 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 48), align 16, !tbaa !11
  %71 = call double @llvm.fmuladd.f64(double %69, double %70, double %67)
  %72 = getelementptr inbounds i8, ptr %44, i64 56
  %73 = load double, ptr %72, align 8, !tbaa !11
  %74 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 56), align 8, !tbaa !11
  %75 = call double @llvm.fmuladd.f64(double %73, double %74, double %71)
  %76 = getelementptr inbounds i8, ptr %44, i64 64
  %77 = load double, ptr %76, align 8, !tbaa !11
  %78 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 64), align 16, !tbaa !11
  %79 = call double @llvm.fmuladd.f64(double %77, double %78, double %75)
  %80 = getelementptr inbounds i8, ptr %44, i64 72
  %81 = load double, ptr %80, align 8, !tbaa !11
  %82 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 72), align 8, !tbaa !11
  %83 = call double @llvm.fmuladd.f64(double %81, double %82, double %79)
  %84 = getelementptr inbounds i8, ptr %44, i64 80
  %85 = load double, ptr %84, align 8, !tbaa !11
  %86 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 80), align 16, !tbaa !11
  %87 = call double @llvm.fmuladd.f64(double %85, double %86, double %83)
  %88 = getelementptr inbounds i8, ptr %44, i64 88
  %89 = load double, ptr %88, align 8, !tbaa !11
  %90 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 88), align 8, !tbaa !11
  %91 = call double @llvm.fmuladd.f64(double %89, double %90, double %87)
  %92 = getelementptr inbounds i8, ptr %44, i64 96
  %93 = load double, ptr %92, align 8, !tbaa !11
  %94 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 96), align 16, !tbaa !11
  %95 = call double @llvm.fmuladd.f64(double %93, double %94, double %91)
  %96 = getelementptr inbounds i8, ptr %44, i64 104
  %97 = load double, ptr %96, align 8, !tbaa !11
  %98 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 104), align 8, !tbaa !11
  %99 = call double @llvm.fmuladd.f64(double %97, double %98, double %95)
  %100 = getelementptr inbounds i8, ptr %44, i64 112
  %101 = load double, ptr %100, align 8, !tbaa !11
  %102 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 112), align 16, !tbaa !11
  %103 = call double @llvm.fmuladd.f64(double %101, double %102, double %99)
  %104 = getelementptr inbounds i8, ptr %44, i64 120
  %105 = load double, ptr %104, align 8, !tbaa !11
  %106 = load double, ptr getelementptr inbounds (i8, ptr @dense_kernel, i64 120), align 8, !tbaa !11
  %107 = call double @llvm.fmuladd.f64(double %105, double %106, double %103)
  %108 = load double, ptr @dense_bias, align 8, !tbaa !11
  %109 = fadd double %107, %108
  %110 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %109)
  %111 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef 0x4005BF0A8B145769, double noundef 0x400A8F99761065A4)
  call void @llvm.lifetime.end.p0(i64 128, ptr nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 256, ptr nonnull %0) #5
  ret void
}

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

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass