; LLVM IR from josselinonduty/2022-numerical-methods-for-solving-differential-equations :: src/methods (runge_kutta_4)

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

; Function Attrs: nounwind uwtable
define dso_local void @solve_runge_kutta_4(ptr dead_on_unwind noalias writable sret(%struct.__matrix_t) align 8 %0, x86_fp80 noundef %1, i64 noundef %2, ptr noundef %3) #0 {
  %5 = alloca x86_fp80, align 16
  %6 = alloca i64, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca x86_fp80, align 16
  %16 = alloca i64, align 8
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store x86_fp80 %1, ptr %5, align 16, !tbaa !5
  store i64 %2, ptr %6, align 8, !tbaa !9
  store ptr %3, ptr %7, align 8, !tbaa !11
  %23 = load i64, ptr %6, align 8, !tbaa !9
  %24 = add nsw i64 %23, 1
  call void @matrix_create(ptr dead_on_unwind writable sret(%struct.__matrix_t) align 8 %0, i64 noundef %24)
  %25 = load ptr, ptr %7, align 8, !tbaa !11
  %26 = call ptr @vector_copy(ptr noundef %25)
  call void @matrix_append(ptr noundef %0, ptr noundef %26)
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %27 = load ptr, ptr %7, align 8, !tbaa !11
  %28 = call ptr @vector_copy(ptr noundef %27)
  store ptr %28, ptr %8, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %29 = load ptr, ptr %7, align 8, !tbaa !11
  %30 = call ptr @vector_copy(ptr noundef %29)
  store ptr %30, ptr %9, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #4
  call void @llvm.lifetime.start.p0(i64 16, ptr %15) #4
  %31 = load x86_fp80, ptr %5, align 16, !tbaa !5
  %32 = load i64, ptr %6, align 8, !tbaa !9
  %33 = sitofp i64 %32 to x86_fp80
  %34 = fdiv x86_fp80 %31, %33
  store x86_fp80 %34, ptr %15, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  store i64 0, ptr %16, align 8, !tbaa !9
  br label %35

35:                                               ; preds = %198, %4
  %36 = load i64, ptr %16, align 8, !tbaa !9
  %37 = load i64, ptr %6, align 8, !tbaa !9
  %38 = icmp slt i64 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 2, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  br label %201

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  %41 = load i64, ptr %16, align 8, !tbaa !9
  %42 = sitofp i64 %41 to x86_fp80
  %43 = load x86_fp80, ptr %15, align 16, !tbaa !5
  %44 = fmul x86_fp80 %42, %43
  %45 = fptosi x86_fp80 %44 to i64
  store i64 %45, ptr %18, align 8, !tbaa !9
  %46 = load i64, ptr %18, align 8, !tbaa !9
  %47 = sitofp i64 %46 to x86_fp80
  %48 = load ptr, ptr %8, align 8, !tbaa !11
  %49 = call ptr @van_der_pol(x86_fp80 noundef %47, ptr noundef %48)
  store ptr %49, ptr %11, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store i32 0, ptr %19, align 4, !tbaa !13
  br label %50

50:                                               ; preds = %73, %40
  %51 = load i32, ptr %19, align 4, !tbaa !13
  %52 = sext i32 %51 to i64
  %53 = icmp ult i64 %52, 2
  br i1 %53, label %55, label %54

54:                                               ; preds = %50
  store i32 5, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  br label %76

55:                                               ; preds = %50
  %56 = load ptr, ptr %8, align 8, !tbaa !11
  %57 = load i32, ptr %19, align 4, !tbaa !13
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds x86_fp80, ptr %56, i64 %58
  %60 = load x86_fp80, ptr %59, align 16, !tbaa !5
  %61 = load x86_fp80, ptr %15, align 16, !tbaa !5
  %62 = fdiv x86_fp80 %61, 0xK40008000000000000000
  %63 = load ptr, ptr %11, align 8, !tbaa !11
  %64 = load i32, ptr %19, align 4, !tbaa !13
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds x86_fp80, ptr %63, i64 %65
  %67 = load x86_fp80, ptr %66, align 16, !tbaa !5
  %68 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %62, x86_fp80 %67, x86_fp80 %60)
  %69 = load ptr, ptr %9, align 8, !tbaa !11
  %70 = load i32, ptr %19, align 4, !tbaa !13
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds x86_fp80, ptr %69, i64 %71
  store x86_fp80 %68, ptr %72, align 16, !tbaa !5
  br label %73

73:                                               ; preds = %55
  %74 = load i32, ptr %19, align 4, !tbaa !13
  %75 = add nsw i32 %74, 1
  store i32 %75, ptr %19, align 4, !tbaa !13
  br label %50, !llvm.loop !15

76:                                               ; preds = %54
  %77 = load i64, ptr %18, align 8, !tbaa !9
  %78 = sitofp i64 %77 to x86_fp80
  %79 = load x86_fp80, ptr %15, align 16, !tbaa !5
  %80 = fdiv x86_fp80 %79, 0xK40008000000000000000
  %81 = fadd x86_fp80 %78, %80
  %82 = load ptr, ptr %9, align 8, !tbaa !11
  %83 = call ptr @van_der_pol(x86_fp80 noundef %81, ptr noundef %82)
  store ptr %83, ptr %12, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #4
  store i32 0, ptr %20, align 4, !tbaa !13
  br label %84

84:                                               ; preds = %107, %76
  %85 = load i32, ptr %20, align 4, !tbaa !13
  %86 = sext i32 %85 to i64
  %87 = icmp ult i64 %86, 2
  br i1 %87, label %89, label %88

88:                                               ; preds = %84
  store i32 8, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #4
  br label %110

89:                                               ; preds = %84
  %90 = load ptr, ptr %8, align 8, !tbaa !11
  %91 = load i32, ptr %20, align 4, !tbaa !13
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds x86_fp80, ptr %90, i64 %92
  %94 = load x86_fp80, ptr %93, align 16, !tbaa !5
  %95 = load x86_fp80, ptr %15, align 16, !tbaa !5
  %96 = fdiv x86_fp80 %95, 0xK40008000000000000000
  %97 = load ptr, ptr %12, align 8, !tbaa !11
  %98 = load i32, ptr %20, align 4, !tbaa !13
  %99 = sext i32 %98 to i64
  %100 = getelementptr inbounds x86_fp80, ptr %97, i64 %99
  %101 = load x86_fp80, ptr %100, align 16, !tbaa !5
  %102 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %96, x86_fp80 %101, x86_fp80 %94)
  %103 = load ptr, ptr %9, align 8, !tbaa !11
  %104 = load i32, ptr %20, align 4, !tbaa !13
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds x86_fp80, ptr %103, i64 %105
  store x86_fp80 %102, ptr %106, align 16, !tbaa !5
  br label %107

107:                                              ; preds = %89
  %108 = load i32, ptr %20, align 4, !tbaa !13
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %20, align 4, !tbaa !13
  br label %84, !llvm.loop !17

110:                                              ; preds = %88
  %111 = load i64, ptr %18, align 8, !tbaa !9
  %112 = sitofp i64 %111 to x86_fp80
  %113 = load x86_fp80, ptr %15, align 16, !tbaa !5
  %114 = fdiv x86_fp80 %113, 0xK40008000000000000000
  %115 = fadd x86_fp80 %112, %114
  %116 = load ptr, ptr %9, align 8, !tbaa !11
  %117 = call ptr @van_der_pol(x86_fp80 noundef %115, ptr noundef %116)
  store ptr %117, ptr %13, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  store i32 0, ptr %21, align 4, !tbaa !13
  br label %118

118:                                              ; preds = %140, %110
  %119 = load i32, ptr %21, align 4, !tbaa !13
  %120 = sext i32 %119 to i64
  %121 = icmp ult i64 %120, 2
  br i1 %121, label %123, label %122

122:                                              ; preds = %118
  store i32 11, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  br label %143

123:                                              ; preds = %118
  %124 = load ptr, ptr %8, align 8, !tbaa !11
  %125 = load i32, ptr %21, align 4, !tbaa !13
  %126 = sext i32 %125 to i64
  %127 = getelementptr inbounds x86_fp80, ptr %124, i64 %126
  %128 = load x86_fp80, ptr %127, align 16, !tbaa !5
  %129 = load x86_fp80, ptr %15, align 16, !tbaa !5
  %130 = load ptr, ptr %13, align 8, !tbaa !11
  %131 = load i32, ptr %21, align 4, !tbaa !13
  %132 = sext i32 %131 to i64
  %133 = getelementptr inbounds x86_fp80, ptr %130, i64 %132
  %134 = load x86_fp80, ptr %133, align 16, !tbaa !5
  %135 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %129, x86_fp80 %134, x86_fp80 %128)
  %136 = load ptr, ptr %9, align 8, !tbaa !11
  %137 = load i32, ptr %21, align 4, !tbaa !13
  %138 = sext i32 %137 to i64
  %139 = getelementptr inbounds x86_fp80, ptr %136, i64 %138
  store x86_fp80 %135, ptr %139, align 16, !tbaa !5
  br label %140

140:                                              ; preds = %123
  %141 = load i32, ptr %21, align 4, !tbaa !13
  %142 = add nsw i32 %141, 1
  store i32 %142, ptr %21, align 4, !tbaa !13
  br label %118, !llvm.loop !18

143:                                              ; preds = %122
  %144 = load i64, ptr %18, align 8, !tbaa !9
  %145 = sitofp i64 %144 to x86_fp80
  %146 = load x86_fp80, ptr %15, align 16, !tbaa !5
  %147 = fadd x86_fp80 %145, %146
  %148 = load ptr, ptr %9, align 8, !tbaa !11
  %149 = call ptr @van_der_pol(x86_fp80 noundef %147, ptr noundef %148)
  store ptr %149, ptr %14, align 8, !tbaa !11
  %150 = load ptr, ptr %8, align 8, !tbaa !11
  store ptr %150, ptr %10, align 8, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #4
  store i32 0, ptr %22, align 4, !tbaa !13
  br label %151

151:                                              ; preds = %192, %143
  %152 = load i32, ptr %22, align 4, !tbaa !13
  %153 = sext i32 %152 to i64
  %154 = icmp ult i64 %153, 2
  br i1 %154, label %156, label %155

155:                                              ; preds = %151
  store i32 14, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #4
  br label %195

156:                                              ; preds = %151
  %157 = load ptr, ptr %8, align 8, !tbaa !11
  %158 = load i32, ptr %22, align 4, !tbaa !13
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds x86_fp80, ptr %157, i64 %159
  %161 = load x86_fp80, ptr %160, align 16, !tbaa !5
  %162 = load x86_fp80, ptr %15, align 16, !tbaa !5
  %163 = fdiv x86_fp80 %162, 0xK4001C000000000000000
  %164 = load ptr, ptr %11, align 8, !tbaa !11
  %165 = load i32, ptr %22, align 4, !tbaa !13
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds x86_fp80, ptr %164, i64 %166
  %168 = load x86_fp80, ptr %167, align 16, !tbaa !5
  %169 = load ptr, ptr %12, align 8, !tbaa !11
  %170 = load i32, ptr %22, align 4, !tbaa !13
  %171 = sext i32 %170 to i64
  %172 = getelementptr inbounds x86_fp80, ptr %169, i64 %171
  %173 = load x86_fp80, ptr %172, align 16, !tbaa !5
  %174 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK40008000000000000000, x86_fp80 %173, x86_fp80 %168)
  %175 = load ptr, ptr %13, align 8, !tbaa !11
  %176 = load i32, ptr %22, align 4, !tbaa !13
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds x86_fp80, ptr %175, i64 %177
  %179 = load x86_fp80, ptr %178, align 16, !tbaa !5
  %180 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 0xK40008000000000000000, x86_fp80 %179, x86_fp80 %174)
  %181 = load ptr, ptr %14, align 8, !tbaa !11
  %182 = load i32, ptr %22, align 4, !tbaa !13
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds x86_fp80, ptr %181, i64 %183
  %185 = load x86_fp80, ptr %184, align 16, !tbaa !5
  %186 = fadd x86_fp80 %180, %185
  %187 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %163, x86_fp80 %186, x86_fp80 %161)
  %188 = load ptr, ptr %10, align 8, !tbaa !11
  %189 = load i32, ptr %22, align 4, !tbaa !13
  %190 = sext i32 %189 to i64
  %191 = getelementptr inbounds x86_fp80, ptr %188, i64 %190
  store x86_fp80 %187, ptr %191, align 16, !tbaa !5
  br label %192

192:                                              ; preds = %156
  %193 = load i32, ptr %22, align 4, !tbaa !13
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %22, align 4, !tbaa !13
  br label %151, !llvm.loop !19

195:                                              ; preds = %155
  call void @vector_free(ptr noundef %11)
  call void @vector_free(ptr noundef %12)
  call void @vector_free(ptr noundef %13)
  call void @vector_free(ptr noundef %14)
  %196 = load ptr, ptr %10, align 8, !tbaa !11
  %197 = call ptr @vector_copy(ptr noundef %196)
  call void @matrix_append(ptr noundef %0, ptr noundef %197)
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  br label %198

198:                                              ; preds = %195
  %199 = load i64, ptr %16, align 8, !tbaa !9
  %200 = add nsw i64 %199, 1
  store i64 %200, ptr %16, align 8, !tbaa !9
  br label %35, !llvm.loop !20

201:                                              ; preds = %39
  call void @vector_free(ptr noundef %8)
  call void @vector_free(ptr noundef %9)
  store i32 1, ptr %17, align 4
  call void @llvm.lifetime.end.p0(i64 16, ptr %15) #4
  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 %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  ret void
}

declare void @matrix_create(ptr dead_on_unwind writable sret(%struct.__matrix_t) align 8, i64 noundef) #1

declare void @matrix_append(ptr noundef, ptr noundef) #1

declare ptr @vector_copy(ptr noundef) #1

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

declare ptr @van_der_pol(x86_fp80 noundef, ptr noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #3

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

declare void @vector_free(ptr noundef) #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 = { "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 willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !6, i64 0}
!6 = !{!"long double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !16}
!20 = distinct !{!20, !16}


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

; Function Attrs: nounwind uwtable
define dso_local void @solve_runge_kutta_4(ptr dead_on_unwind noalias writable sret(%struct.__matrix_t) align 8 %0, x86_fp80 noundef %1, i64 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = add nsw i64 %2, 1
  tail call void @matrix_create(ptr dead_on_unwind writable sret(%struct.__matrix_t) align 8 %0, i64 noundef %11) #4
  %12 = tail call ptr @vector_copy(ptr noundef %3) #4
  tail call void @matrix_append(ptr noundef %0, ptr noundef %12) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #4
  %13 = tail call ptr @vector_copy(ptr noundef %3) #4
  store ptr %13, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #4
  %14 = tail call ptr @vector_copy(ptr noundef %3) #4
  store ptr %14, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #4
  %15 = sitofp i64 %2 to x86_fp80
  %16 = fdiv x86_fp80 %1, %15
  %17 = icmp sgt i64 %2, 0
  br i1 %17, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %4
  %18 = fmul x86_fp80 %16, 0xK3FFE8000000000000000
  %19 = fdiv x86_fp80 %16, 0xK4001C000000000000000
  %20 = getelementptr inbounds i8, ptr %13, i64 16
  %21 = getelementptr inbounds i8, ptr %14, i64 16
  br label %22

._crit_edge:                                      ; preds = %22, %4
  call void @vector_free(ptr noundef nonnull %5) #4
  call void @vector_free(ptr noundef nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #4
  ret void

22:                                               ; preds = %.lr.ph, %22
  %.04958 = phi i64 [ 0, %.lr.ph ], [ %80, %22 ]
  %23 = uitofp nneg i64 %.04958 to x86_fp80
  %24 = fmul x86_fp80 %16, %23
  %25 = fptosi x86_fp80 %24 to i64
  %26 = sitofp i64 %25 to x86_fp80
  %27 = call ptr @van_der_pol(x86_fp80 noundef %26, ptr noundef %13) #4
  store ptr %27, ptr %7, align 8, !tbaa !5
  %28 = load x86_fp80, ptr %13, align 16, !tbaa !9
  %29 = load x86_fp80, ptr %27, align 16, !tbaa !9
  %30 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %18, x86_fp80 %29, x86_fp80 %28)
  store x86_fp80 %30, ptr %14, align 16, !tbaa !9
  %31 = load x86_fp80, ptr %20, align 16, !tbaa !9
  %32 = getelementptr inbounds i8, ptr %27, i64 16
  %33 = load x86_fp80, ptr %32, align 16, !tbaa !9
  %34 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %18, x86_fp80 %33, x86_fp80 %31)
  store x86_fp80 %34, ptr %21, align 16, !tbaa !9
  %35 = fadd x86_fp80 %18, %26
  %36 = call ptr @van_der_pol(x86_fp80 noundef %35, ptr noundef nonnull %14) #4
  store ptr %36, ptr %8, align 8, !tbaa !5
  %37 = load x86_fp80, ptr %13, align 16, !tbaa !9
  %38 = load x86_fp80, ptr %36, align 16, !tbaa !9
  %39 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %18, x86_fp80 %38, x86_fp80 %37)
  store x86_fp80 %39, ptr %14, align 16, !tbaa !9
  %40 = load x86_fp80, ptr %20, align 16, !tbaa !9
  %41 = getelementptr inbounds i8, ptr %36, i64 16
  %42 = load x86_fp80, ptr %41, align 16, !tbaa !9
  %43 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %18, x86_fp80 %42, x86_fp80 %40)
  store x86_fp80 %43, ptr %21, align 16, !tbaa !9
  %44 = call ptr @van_der_pol(x86_fp80 noundef %35, ptr noundef nonnull %14) #4
  store ptr %44, ptr %9, align 8, !tbaa !5
  %45 = load x86_fp80, ptr %13, align 16, !tbaa !9
  %46 = load x86_fp80, ptr %44, align 16, !tbaa !9
  %47 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %16, x86_fp80 %46, x86_fp80 %45)
  store x86_fp80 %47, ptr %14, align 16, !tbaa !9
  %48 = load x86_fp80, ptr %20, align 16, !tbaa !9
  %49 = getelementptr inbounds i8, ptr %44, i64 16
  %50 = load x86_fp80, ptr %49, align 16, !tbaa !9
  %51 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %16, x86_fp80 %50, x86_fp80 %48)
  store x86_fp80 %51, ptr %21, align 16, !tbaa !9
  %52 = fadd x86_fp80 %16, %26
  %53 = call ptr @van_der_pol(x86_fp80 noundef %52, ptr noundef nonnull %14) #4
  store ptr %53, ptr %10, align 8, !tbaa !5
  %54 = load ptr, ptr %7, align 8, !tbaa !5
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = load ptr, ptr %9, align 8, !tbaa !5
  %57 = load x86_fp80, ptr %13, align 16, !tbaa !9
  %58 = load x86_fp80, ptr %54, align 16, !tbaa !9
  %59 = load x86_fp80, ptr %55, align 16, !tbaa !9
  %60 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %59, x86_fp80 0xK40008000000000000000, x86_fp80 %58)
  %61 = load x86_fp80, ptr %56, align 16, !tbaa !9
  %62 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %61, x86_fp80 0xK40008000000000000000, x86_fp80 %60)
  %63 = load x86_fp80, ptr %53, align 16, !tbaa !9
  %64 = fadd x86_fp80 %62, %63
  %65 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %19, x86_fp80 %64, x86_fp80 %57)
  store x86_fp80 %65, ptr %13, align 16, !tbaa !9
  %66 = load x86_fp80, ptr %20, align 16, !tbaa !9
  %67 = getelementptr inbounds i8, ptr %54, i64 16
  %68 = load x86_fp80, ptr %67, align 16, !tbaa !9
  %69 = getelementptr inbounds i8, ptr %55, i64 16
  %70 = load x86_fp80, ptr %69, align 16, !tbaa !9
  %71 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %70, x86_fp80 0xK40008000000000000000, x86_fp80 %68)
  %72 = getelementptr inbounds i8, ptr %56, i64 16
  %73 = load x86_fp80, ptr %72, align 16, !tbaa !9
  %74 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %73, x86_fp80 0xK40008000000000000000, x86_fp80 %71)
  %75 = getelementptr inbounds i8, ptr %53, i64 16
  %76 = load x86_fp80, ptr %75, align 16, !tbaa !9
  %77 = fadd x86_fp80 %74, %76
  %78 = call x86_fp80 @llvm.fmuladd.f80(x86_fp80 %19, x86_fp80 %77, x86_fp80 %66)
  store x86_fp80 %78, ptr %20, align 16, !tbaa !9
  call void @vector_free(ptr noundef nonnull %7) #4
  call void @vector_free(ptr noundef nonnull %8) #4
  call void @vector_free(ptr noundef nonnull %9) #4
  call void @vector_free(ptr noundef nonnull %10) #4
  %79 = call ptr @vector_copy(ptr noundef nonnull %13) #4
  call void @matrix_append(ptr noundef %0, ptr noundef %79) #4
  %80 = add nuw nsw i64 %.04958, 1
  %exitcond.not = icmp eq i64 %80, %2
  br i1 %exitcond.not, label %._crit_edge, label %22, !llvm.loop !11
}

declare void @matrix_create(ptr dead_on_unwind writable sret(%struct.__matrix_t) align 8, i64 noundef) local_unnamed_addr #1

declare void @matrix_append(ptr noundef, ptr noundef) local_unnamed_addr #1

declare ptr @vector_copy(ptr noundef) local_unnamed_addr #1

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

declare ptr @van_der_pol(x86_fp80 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare x86_fp80 @llvm.fmuladd.f80(x86_fp80, x86_fp80, x86_fp80) #3

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

declare void @vector_free(ptr noundef) local_unnamed_addr #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 = { "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 nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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, !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 = !{!"long double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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