; LLVM IR from AlgoGenesis/C :: Machine_Learning_Algorithms/Artificial Neural Network(ANN) (Program)

; 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.NeuralNetwork = type { [2 x double], [2 x double], [1 x double], [2 x [2 x double]], [2 x [1 x double]], [2 x double], [1 x double] }

; Function Attrs: nounwind uwtable
declare dso_local double @sigmoid_derivative(double noundef) #0

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

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

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

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

15:                                               ; preds = %35, %2
  %16 = load i32, ptr %7, align 4, !tbaa !9
  %17 = icmp slt i32 %16, 1
  br i1 %17, label %19, label %18

18:                                               ; preds = %15
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %38

19:                                               ; preds = %15
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = load i32, ptr %7, align 4, !tbaa !9
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds double, ptr %20, i64 %22
  %24 = load double, ptr %23, align 8, !tbaa !11
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.NeuralNetwork, ptr %25, i32 0, i32 2
  %27 = load i32, ptr %7, align 4, !tbaa !9
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [1 x double], ptr %26, i64 0, i64 %28
  %30 = load double, ptr %29, align 8, !tbaa !11
  %31 = fsub double %24, %30
  %32 = load i32, ptr %7, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [1 x double], ptr %5, i64 0, i64 %33
  store double %31, ptr %34, align 8, !tbaa !11
  br label %35

35:                                               ; preds = %19
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %7, align 4, !tbaa !9
  br label %15, !llvm.loop !13

38:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #3
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %82, %38
  %40 = load i32, ptr %8, align 4, !tbaa !9
  %41 = icmp slt i32 %40, 2
  br i1 %41, label %43, label %42

42:                                               ; preds = %39
  store i32 5, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #3
  br label %85

43:                                               ; preds = %39
  %44 = load i32, ptr %8, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [2 x double], ptr %6, i64 0, i64 %45
  store double 0.000000e+00, ptr %46, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %47

47:                                               ; preds = %78, %43
  %48 = load i32, ptr %10, align 4, !tbaa !9
  %49 = icmp slt i32 %48, 1
  br i1 %49, label %51, label %50

50:                                               ; preds = %47
  store i32 8, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  br label %81

51:                                               ; preds = %47
  %52 = load i32, ptr %10, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [1 x double], ptr %5, i64 0, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !11
  %56 = load ptr, ptr %3, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.NeuralNetwork, ptr %56, i32 0, i32 4
  %58 = load i32, ptr %8, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds [2 x [1 x double]], ptr %57, i64 0, i64 %59
  %61 = load i32, ptr %10, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [1 x double], ptr %60, i64 0, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !11
  %65 = fmul double %55, %64
  %66 = load ptr, ptr %3, align 8, !tbaa !5
  %67 = getelementptr inbounds %struct.NeuralNetwork, ptr %66, i32 0, i32 2
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds [1 x double], ptr %67, i64 0, i64 %69
  %71 = load double, ptr %70, align 8, !tbaa !11
  %72 = call double @sigmoid_derivative(double noundef %71)
  %73 = load i32, ptr %8, align 4, !tbaa !9
  %74 = sext i32 %73 to i64
  %75 = getelementptr inbounds [2 x double], ptr %6, i64 0, i64 %74
  %76 = load double, ptr %75, align 8, !tbaa !11
  %77 = call double @llvm.fmuladd.f64(double %65, double %72, double %76)
  store double %77, ptr %75, align 8, !tbaa !11
  br label %78

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

81:                                               ; preds = %50
  br label %82

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

85:                                               ; preds = %42
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %148, %85
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = icmp slt i32 %87, 1
  br i1 %88, label %90, label %89

89:                                               ; preds = %86
  store i32 11, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  br label %151

90:                                               ; preds = %86
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %91

91:                                               ; preds = %125, %90
  %92 = load i32, ptr %12, align 4, !tbaa !9
  %93 = icmp slt i32 %92, 2
  br i1 %93, label %95, label %94

94:                                               ; preds = %91
  store i32 14, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  br label %128

95:                                               ; preds = %91
  %96 = load i32, ptr %11, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [1 x double], ptr %5, i64 0, i64 %97
  %99 = load double, ptr %98, align 8, !tbaa !11
  %100 = fmul double 1.000000e-01, %99
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.NeuralNetwork, ptr %101, i32 0, i32 2
  %103 = load i32, ptr %11, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds [1 x double], ptr %102, i64 0, i64 %104
  %106 = load double, ptr %105, align 8, !tbaa !11
  %107 = call double @sigmoid_derivative(double noundef %106)
  %108 = fmul double %100, %107
  %109 = load ptr, ptr %3, align 8, !tbaa !5
  %110 = getelementptr inbounds %struct.NeuralNetwork, ptr %109, i32 0, i32 1
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [2 x double], ptr %110, i64 0, i64 %112
  %114 = load double, ptr %113, align 8, !tbaa !11
  %115 = load ptr, ptr %3, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.NeuralNetwork, ptr %115, i32 0, i32 4
  %117 = load i32, ptr %12, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds [2 x [1 x double]], ptr %116, i64 0, i64 %118
  %120 = load i32, ptr %11, align 4, !tbaa !9
  %121 = sext i32 %120 to i64
  %122 = getelementptr inbounds [1 x double], ptr %119, i64 0, i64 %121
  %123 = load double, ptr %122, align 8, !tbaa !11
  %124 = call double @llvm.fmuladd.f64(double %108, double %114, double %123)
  store double %124, ptr %122, align 8, !tbaa !11
  br label %125

125:                                              ; preds = %95
  %126 = load i32, ptr %12, align 4, !tbaa !9
  %127 = add nsw i32 %126, 1
  store i32 %127, ptr %12, align 4, !tbaa !9
  br label %91, !llvm.loop !17

128:                                              ; preds = %94
  %129 = load i32, ptr %11, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds [1 x double], ptr %5, i64 0, i64 %130
  %132 = load double, ptr %131, align 8, !tbaa !11
  %133 = fmul double 1.000000e-01, %132
  %134 = load ptr, ptr %3, align 8, !tbaa !5
  %135 = getelementptr inbounds %struct.NeuralNetwork, ptr %134, i32 0, i32 2
  %136 = load i32, ptr %11, align 4, !tbaa !9
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds [1 x double], ptr %135, i64 0, i64 %137
  %139 = load double, ptr %138, align 8, !tbaa !11
  %140 = call double @sigmoid_derivative(double noundef %139)
  %141 = load ptr, ptr %3, align 8, !tbaa !5
  %142 = getelementptr inbounds %struct.NeuralNetwork, ptr %141, i32 0, i32 6
  %143 = load i32, ptr %11, align 4, !tbaa !9
  %144 = sext i32 %143 to i64
  %145 = getelementptr inbounds [1 x double], ptr %142, i64 0, i64 %144
  %146 = load double, ptr %145, align 8, !tbaa !11
  %147 = call double @llvm.fmuladd.f64(double %133, double %140, double %146)
  store double %147, ptr %145, align 8, !tbaa !11
  br label %148

148:                                              ; preds = %128
  %149 = load i32, ptr %11, align 4, !tbaa !9
  %150 = add nsw i32 %149, 1
  store i32 %150, ptr %11, align 4, !tbaa !9
  br label %86, !llvm.loop !18

151:                                              ; preds = %89
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  store i32 0, ptr %13, align 4, !tbaa !9
  br label %152

152:                                              ; preds = %214, %151
  %153 = load i32, ptr %13, align 4, !tbaa !9
  %154 = icmp slt i32 %153, 2
  br i1 %154, label %156, label %155

155:                                              ; preds = %152
  store i32 17, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  br label %217

156:                                              ; preds = %152
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %157

157:                                              ; preds = %191, %156
  %158 = load i32, ptr %14, align 4, !tbaa !9
  %159 = icmp slt i32 %158, 2
  br i1 %159, label %161, label %160

160:                                              ; preds = %157
  store i32 20, ptr %9, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  br label %194

161:                                              ; preds = %157
  %162 = load i32, ptr %13, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [2 x double], ptr %6, i64 0, i64 %163
  %165 = load double, ptr %164, align 8, !tbaa !11
  %166 = fmul double 1.000000e-01, %165
  %167 = load ptr, ptr %3, align 8, !tbaa !5
  %168 = getelementptr inbounds %struct.NeuralNetwork, ptr %167, i32 0, i32 1
  %169 = load i32, ptr %13, align 4, !tbaa !9
  %170 = sext i32 %169 to i64
  %171 = getelementptr inbounds [2 x double], ptr %168, i64 0, i64 %170
  %172 = load double, ptr %171, align 8, !tbaa !11
  %173 = call double @sigmoid_derivative(double noundef %172)
  %174 = fmul double %166, %173
  %175 = load ptr, ptr %3, align 8, !tbaa !5
  %176 = getelementptr inbounds %struct.NeuralNetwork, ptr %175, i32 0, i32 0
  %177 = load i32, ptr %14, align 4, !tbaa !9
  %178 = sext i32 %177 to i64
  %179 = getelementptr inbounds [2 x double], ptr %176, i64 0, i64 %178
  %180 = load double, ptr %179, align 8, !tbaa !11
  %181 = load ptr, ptr %3, align 8, !tbaa !5
  %182 = getelementptr inbounds %struct.NeuralNetwork, ptr %181, i32 0, i32 3
  %183 = load i32, ptr %14, align 4, !tbaa !9
  %184 = sext i32 %183 to i64
  %185 = getelementptr inbounds [2 x [2 x double]], ptr %182, i64 0, i64 %184
  %186 = load i32, ptr %13, align 4, !tbaa !9
  %187 = sext i32 %186 to i64
  %188 = getelementptr inbounds [2 x double], ptr %185, i64 0, i64 %187
  %189 = load double, ptr %188, align 8, !tbaa !11
  %190 = call double @llvm.fmuladd.f64(double %174, double %180, double %189)
  store double %190, ptr %188, align 8, !tbaa !11
  br label %191

191:                                              ; preds = %161
  %192 = load i32, ptr %14, align 4, !tbaa !9
  %193 = add nsw i32 %192, 1
  store i32 %193, ptr %14, align 4, !tbaa !9
  br label %157, !llvm.loop !19

194:                                              ; preds = %160
  %195 = load i32, ptr %13, align 4, !tbaa !9
  %196 = sext i32 %195 to i64
  %197 = getelementptr inbounds [2 x double], ptr %6, i64 0, i64 %196
  %198 = load double, ptr %197, align 8, !tbaa !11
  %199 = fmul double 1.000000e-01, %198
  %200 = load ptr, ptr %3, align 8, !tbaa !5
  %201 = getelementptr inbounds %struct.NeuralNetwork, ptr %200, i32 0, i32 1
  %202 = load i32, ptr %13, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds [2 x double], ptr %201, i64 0, i64 %203
  %205 = load double, ptr %204, align 8, !tbaa !11
  %206 = call double @sigmoid_derivative(double noundef %205)
  %207 = load ptr, ptr %3, align 8, !tbaa !5
  %208 = getelementptr inbounds %struct.NeuralNetwork, ptr %207, i32 0, i32 5
  %209 = load i32, ptr %13, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds [2 x double], ptr %208, i64 0, i64 %210
  %212 = load double, ptr %211, align 8, !tbaa !11
  %213 = call double @llvm.fmuladd.f64(double %199, double %206, double %212)
  store double %213, ptr %211, align 8, !tbaa !11
  br label %214

214:                                              ; preds = %194
  %215 = load i32, ptr %13, align 4, !tbaa !9
  %216 = add nsw i32 %215, 1
  store i32 %216, ptr %13, align 4, !tbaa !9
  br label %152, !llvm.loop !20

217:                                              ; preds = %155
  call void @llvm.lifetime.end.p0(i64 16, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

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 nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}


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

; Function Attrs: nounwind uwtable
declare dso_local double @sigmoid_derivative(double noundef) local_unnamed_addr #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
define dso_local void @backpropagation(ptr nocapture noundef %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
.critedge:
  %2 = load double, ptr %1, align 8, !tbaa !5
  %3 = getelementptr inbounds i8, ptr %0, i64 32
  %4 = load double, ptr %3, align 8, !tbaa !5
  %5 = fsub double %2, %4
  %6 = getelementptr inbounds i8, ptr %0, i64 72
  %7 = load double, ptr %6, align 8, !tbaa !5
  %8 = fmul double %5, %7
  %9 = tail call double @sigmoid_derivative(double noundef %4)
  %10 = tail call double @llvm.fmuladd.f64(double %8, double %9, double 0.000000e+00)
  %11 = getelementptr inbounds i8, ptr %0, i64 80
  %12 = load double, ptr %11, align 8, !tbaa !5
  %13 = fmul double %5, %12
  %14 = load double, ptr %3, align 8, !tbaa !5
  %15 = tail call double @sigmoid_derivative(double noundef %14)
  %16 = tail call double @llvm.fmuladd.f64(double %13, double %15, double 0.000000e+00)
  %17 = fmul double %5, 1.000000e-01
  %18 = getelementptr inbounds i8, ptr %0, i64 16
  %19 = load double, ptr %3, align 8, !tbaa !5
  %20 = tail call double @sigmoid_derivative(double noundef %19)
  %21 = fmul double %17, %20
  %22 = load double, ptr %18, align 8, !tbaa !5
  %23 = load double, ptr %6, align 8, !tbaa !5
  %24 = tail call double @llvm.fmuladd.f64(double %21, double %22, double %23)
  store double %24, ptr %6, align 8, !tbaa !5
  %25 = load double, ptr %3, align 8, !tbaa !5
  %26 = tail call double @sigmoid_derivative(double noundef %25)
  %27 = fmul double %17, %26
  %28 = getelementptr inbounds i8, ptr %0, i64 24
  %29 = load double, ptr %28, align 8, !tbaa !5
  %30 = load double, ptr %11, align 8, !tbaa !5
  %31 = tail call double @llvm.fmuladd.f64(double %27, double %29, double %30)
  store double %31, ptr %11, align 8, !tbaa !5
  %32 = load double, ptr %3, align 8, !tbaa !5
  %33 = tail call double @sigmoid_derivative(double noundef %32)
  %34 = getelementptr inbounds i8, ptr %0, i64 104
  %35 = load double, ptr %34, align 8, !tbaa !5
  %36 = tail call double @llvm.fmuladd.f64(double %17, double %33, double %35)
  store double %36, ptr %34, align 8, !tbaa !5
  %37 = getelementptr inbounds i8, ptr %0, i64 40
  %38 = getelementptr inbounds i8, ptr %0, i64 88
  %39 = fmul double %10, 1.000000e-01
  %40 = load double, ptr %18, align 8, !tbaa !5
  %41 = tail call double @sigmoid_derivative(double noundef %40)
  %42 = fmul double %39, %41
  %43 = load double, ptr %0, align 8, !tbaa !5
  %44 = load double, ptr %37, align 8, !tbaa !5
  %45 = tail call double @llvm.fmuladd.f64(double %42, double %43, double %44)
  store double %45, ptr %37, align 8, !tbaa !5
  %46 = load double, ptr %18, align 8, !tbaa !5
  %47 = tail call double @sigmoid_derivative(double noundef %46)
  %48 = fmul double %39, %47
  %49 = getelementptr inbounds i8, ptr %0, i64 8
  %50 = load double, ptr %49, align 8, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %0, i64 56
  %52 = load double, ptr %51, align 8, !tbaa !5
  %53 = tail call double @llvm.fmuladd.f64(double %48, double %50, double %52)
  store double %53, ptr %51, align 8, !tbaa !5
  %54 = load double, ptr %18, align 8, !tbaa !5
  %55 = tail call double @sigmoid_derivative(double noundef %54)
  %56 = load double, ptr %38, align 8, !tbaa !5
  %57 = tail call double @llvm.fmuladd.f64(double %39, double %55, double %56)
  store double %57, ptr %38, align 8, !tbaa !5
  %58 = fmul double %16, 1.000000e-01
  %59 = load double, ptr %28, align 8, !tbaa !5
  %60 = tail call double @sigmoid_derivative(double noundef %59)
  %61 = fmul double %58, %60
  %62 = load double, ptr %0, align 8, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %0, i64 48
  %64 = load double, ptr %63, align 8, !tbaa !5
  %65 = tail call double @llvm.fmuladd.f64(double %61, double %62, double %64)
  store double %65, ptr %63, align 8, !tbaa !5
  %66 = load double, ptr %28, align 8, !tbaa !5
  %67 = tail call double @sigmoid_derivative(double noundef %66)
  %68 = fmul double %58, %67
  %69 = load double, ptr %49, align 8, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %0, i64 64
  %71 = load double, ptr %70, align 8, !tbaa !5
  %72 = tail call double @llvm.fmuladd.f64(double %68, double %69, double %71)
  store double %72, ptr %70, align 8, !tbaa !5
  %73 = load double, ptr %28, align 8, !tbaa !5
  %74 = tail call double @sigmoid_derivative(double noundef %73)
  %75 = getelementptr inbounds i8, ptr %0, i64 96
  %76 = load double, ptr %75, align 8, !tbaa !5
  %77 = tail call double @llvm.fmuladd.f64(double %58, double %74, double %76)
  store double %77, ptr %75, align 8, !tbaa !5
  ret void
}

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 nosync nounwind speculatable willreturn memory(none) }

!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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}


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