; LLVM IR from jgaeddert/liquid-dsp :: examples (cgsolve_example)

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

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #6
  store i32 8, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #6
  %12 = load i32, ptr %2, align 4, !tbaa !5
  %13 = load i32, ptr %2, align 4, !tbaa !5
  %14 = mul i32 %12, %13
  %15 = zext i32 %14 to i64
  %16 = call ptr @llvm.stacksave.p0()
  store ptr %16, ptr %4, align 8
  %17 = alloca float, i64 %15, align 16
  store i64 %15, ptr %5, align 8
  %18 = load i32, ptr %2, align 4, !tbaa !5
  %19 = zext i32 %18 to i64
  %20 = alloca float, i64 %19, align 16
  store i64 %19, ptr %6, align 8
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = zext i32 %21 to i64
  %23 = alloca float, i64 %22, align 16
  store i64 %22, ptr %7, align 8
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = zext i32 %24 to i64
  %26 = alloca float, i64 %25, align 16
  store i64 %25, ptr %8, align 8
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = mul i32 %27, %28
  %30 = zext i32 %29 to i64
  %31 = alloca float, i64 %30, align 16
  store i64 %30, ptr %9, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #6
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %63, %0
  %33 = load i32, ptr %3, align 4, !tbaa !5
  %34 = load i32, ptr %2, align 4, !tbaa !5
  %35 = icmp ult i32 %33, %34
  br i1 %35, label %36, label %66

36:                                               ; preds = %32
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %37

37:                                               ; preds = %59, %36
  %38 = load i32, ptr %10, align 4, !tbaa !5
  %39 = load i32, ptr %2, align 4, !tbaa !5
  %40 = icmp ult i32 %38, %39
  br i1 %40, label %41, label %62

41:                                               ; preds = %37
  %42 = load i32, ptr %10, align 4, !tbaa !5
  %43 = load i32, ptr %3, align 4, !tbaa !5
  %44 = icmp ult i32 %42, %43
  br i1 %44, label %45, label %46

45:                                               ; preds = %41
  br label %49

46:                                               ; preds = %41
  %47 = call float (...) @randnf()
  %48 = fpext float %47 to double
  br label %49

49:                                               ; preds = %46, %45
  %50 = phi double [ 0.000000e+00, %45 ], [ %48, %46 ]
  %51 = fptrunc double %50 to float
  %52 = load i32, ptr %3, align 4, !tbaa !5
  %53 = load i32, ptr %2, align 4, !tbaa !5
  %54 = mul i32 %52, %53
  %55 = load i32, ptr %10, align 4, !tbaa !5
  %56 = add i32 %54, %55
  %57 = zext i32 %56 to i64
  %58 = getelementptr inbounds float, ptr %31, i64 %57
  store float %51, ptr %58, align 4, !tbaa !9
  br label %59

59:                                               ; preds = %49
  %60 = load i32, ptr %10, align 4, !tbaa !5
  %61 = add i32 %60, 1
  store i32 %61, ptr %10, align 4, !tbaa !5
  br label %37, !llvm.loop !11

62:                                               ; preds = %37
  br label %63

63:                                               ; preds = %62
  %64 = load i32, ptr %3, align 4, !tbaa !5
  %65 = add i32 %64, 1
  store i32 %65, ptr %3, align 4, !tbaa !5
  br label %32, !llvm.loop !13

66:                                               ; preds = %32
  %67 = load i32, ptr %2, align 4, !tbaa !5
  %68 = load i32, ptr %2, align 4, !tbaa !5
  %69 = call i32 @matrixf_mul_transpose(ptr noundef %31, i32 noundef %67, i32 noundef %68, ptr noundef %17)
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %70

70:                                               ; preds = %79, %66
  %71 = load i32, ptr %3, align 4, !tbaa !5
  %72 = load i32, ptr %2, align 4, !tbaa !5
  %73 = icmp ult i32 %71, %72
  br i1 %73, label %74, label %82

74:                                               ; preds = %70
  %75 = call float (...) @randnf()
  %76 = load i32, ptr %3, align 4, !tbaa !5
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds float, ptr %23, i64 %77
  store float %75, ptr %78, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %74
  %80 = load i32, ptr %3, align 4, !tbaa !5
  %81 = add i32 %80, 1
  store i32 %81, ptr %3, align 4, !tbaa !5
  br label %70, !llvm.loop !14

82:                                               ; preds = %70
  %83 = load i32, ptr %2, align 4, !tbaa !5
  %84 = load i32, ptr %2, align 4, !tbaa !5
  %85 = load i32, ptr %2, align 4, !tbaa !5
  %86 = load i32, ptr %2, align 4, !tbaa !5
  %87 = call i32 @matrixf_mul(ptr noundef %17, i32 noundef %83, i32 noundef %84, ptr noundef %23, i32 noundef %85, i32 noundef 1, ptr noundef %20, i32 noundef %86, i32 noundef 1)
  %88 = load i32, ptr %2, align 4, !tbaa !5
  %89 = call i32 @matrixf_cgsolve(ptr noundef %17, i32 noundef %88, ptr noundef %20, ptr noundef %26, ptr noundef null)
  %90 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %91 = load i32, ptr %2, align 4, !tbaa !5
  %92 = load i32, ptr %2, align 4, !tbaa !5
  %93 = call i32 @matrixf_print(ptr noundef %17, i32 noundef %91, i32 noundef %92)
  %94 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %95 = load i32, ptr %2, align 4, !tbaa !5
  %96 = call i32 @matrixf_print(ptr noundef %20, i32 noundef %95, i32 noundef 1)
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %98 = load i32, ptr %2, align 4, !tbaa !5
  %99 = call i32 @matrixf_print(ptr noundef %23, i32 noundef %98, i32 noundef 1)
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.3)
  %101 = load i32, ptr %2, align 4, !tbaa !5
  %102 = call i32 @matrixf_print(ptr noundef %26, i32 noundef %101, i32 noundef 1)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store float 0.000000e+00, ptr %11, align 4, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %103

103:                                              ; preds = %128, %82
  %104 = load i32, ptr %3, align 4, !tbaa !5
  %105 = load i32, ptr %2, align 4, !tbaa !5
  %106 = icmp ult i32 %104, %105
  br i1 %106, label %107, label %131

107:                                              ; preds = %103
  %108 = load i32, ptr %3, align 4, !tbaa !5
  %109 = zext i32 %108 to i64
  %110 = getelementptr inbounds float, ptr %23, i64 %109
  %111 = load float, ptr %110, align 4, !tbaa !9
  %112 = load i32, ptr %3, align 4, !tbaa !5
  %113 = zext i32 %112 to i64
  %114 = getelementptr inbounds float, ptr %26, i64 %113
  %115 = load float, ptr %114, align 4, !tbaa !9
  %116 = fsub float %111, %115
  %117 = load i32, ptr %3, align 4, !tbaa !5
  %118 = zext i32 %117 to i64
  %119 = getelementptr inbounds float, ptr %23, i64 %118
  %120 = load float, ptr %119, align 4, !tbaa !9
  %121 = load i32, ptr %3, align 4, !tbaa !5
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds float, ptr %26, i64 %122
  %124 = load float, ptr %123, align 4, !tbaa !9
  %125 = fsub float %120, %124
  %126 = load float, ptr %11, align 4, !tbaa !9
  %127 = call float @llvm.fmuladd.f32(float %116, float %125, float %126)
  store float %127, ptr %11, align 4, !tbaa !9
  br label %128

128:                                              ; preds = %107
  %129 = load i32, ptr %3, align 4, !tbaa !5
  %130 = add i32 %129, 1
  store i32 %130, ptr %3, align 4, !tbaa !5
  br label %103, !llvm.loop !15

131:                                              ; preds = %103
  %132 = load float, ptr %11, align 4, !tbaa !9
  %133 = fpext float %132 to double
  %134 = call double @sqrt(double noundef %133) #6
  %135 = fptrunc double %134 to float
  store float %135, ptr %11, align 4, !tbaa !9
  %136 = load float, ptr %11, align 4, !tbaa !9
  %137 = fpext float %136 to double
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %137)
  %139 = call i32 (ptr, ...) @printf(ptr noundef @.str.5)
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #6
  %140 = load ptr, ptr %4, align 8
  call void @llvm.stackrestore.p0(ptr %140)
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #6
  %141 = load i32, ptr %1, align 4
  ret i32 %141
}

; 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 willreturn
declare ptr @llvm.stacksave.p0() #2

declare float @randnf(...) #3

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

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

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

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

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #4

; Function Attrs: nounwind
declare double @sqrt(double noundef) #5

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 #6 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !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"

@.str = external hidden unnamed_addr constant [4 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [20 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
.preheader.peel.next62:
  %0 = alloca [64 x float], align 16
  %1 = alloca [8 x float], align 16
  %2 = alloca [8 x float], align 16
  %3 = alloca [8 x float], align 16
  %4 = alloca [64 x float], align 16
  %5 = tail call float (...) @randnf() #4
  store float %5, ptr %4, align 16, !tbaa !5
  %6 = tail call float (...) @randnf() #4
  %7 = getelementptr inbounds i8, ptr %4, i64 4
  store float %6, ptr %7, align 4, !tbaa !5
  %8 = tail call float (...) @randnf() #4
  %9 = getelementptr inbounds i8, ptr %4, i64 8
  store float %8, ptr %9, align 8, !tbaa !5
  %10 = tail call float (...) @randnf() #4
  %11 = getelementptr inbounds i8, ptr %4, i64 12
  store float %10, ptr %11, align 4, !tbaa !5
  %12 = tail call float (...) @randnf() #4
  %13 = getelementptr inbounds i8, ptr %4, i64 16
  store float %12, ptr %13, align 16, !tbaa !5
  %14 = tail call float (...) @randnf() #4
  %15 = getelementptr inbounds i8, ptr %4, i64 20
  store float %14, ptr %15, align 4, !tbaa !5
  %16 = tail call float (...) @randnf() #4
  %17 = getelementptr inbounds i8, ptr %4, i64 24
  store float %16, ptr %17, align 8, !tbaa !5
  %18 = tail call float (...) @randnf() #4
  %19 = getelementptr inbounds i8, ptr %4, i64 28
  store float %18, ptr %19, align 4, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %4, i64 32
  store float 0.000000e+00, ptr %20, align 16, !tbaa !5
  %21 = tail call float (...) @randnf() #4
  %22 = getelementptr inbounds i8, ptr %4, i64 36
  store float %21, ptr %22, align 4, !tbaa !5
  %23 = tail call float (...) @randnf() #4
  %24 = getelementptr inbounds i8, ptr %4, i64 40
  store float %23, ptr %24, align 8, !tbaa !5
  %25 = tail call float (...) @randnf() #4
  %26 = getelementptr inbounds i8, ptr %4, i64 44
  store float %25, ptr %26, align 4, !tbaa !5
  %27 = tail call float (...) @randnf() #4
  %28 = getelementptr inbounds i8, ptr %4, i64 48
  store float %27, ptr %28, align 16, !tbaa !5
  %29 = tail call float (...) @randnf() #4
  %30 = getelementptr inbounds i8, ptr %4, i64 52
  store float %29, ptr %30, align 4, !tbaa !5
  %31 = tail call float (...) @randnf() #4
  %32 = getelementptr inbounds i8, ptr %4, i64 56
  store float %31, ptr %32, align 8, !tbaa !5
  %33 = tail call float (...) @randnf() #4
  %34 = getelementptr inbounds i8, ptr %4, i64 60
  store float %33, ptr %34, align 4, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %4, i64 64
  store <2 x float> zeroinitializer, ptr %35, align 16, !tbaa !5
  %36 = tail call float (...) @randnf() #4
  %37 = getelementptr inbounds i8, ptr %4, i64 72
  store float %36, ptr %37, align 8, !tbaa !5
  %38 = tail call float (...) @randnf() #4
  %39 = getelementptr inbounds i8, ptr %4, i64 76
  store float %38, ptr %39, align 4, !tbaa !5
  %40 = tail call float (...) @randnf() #4
  %41 = getelementptr inbounds i8, ptr %4, i64 80
  store float %40, ptr %41, align 16, !tbaa !5
  %42 = tail call float (...) @randnf() #4
  %43 = getelementptr inbounds i8, ptr %4, i64 84
  store float %42, ptr %43, align 4, !tbaa !5
  %44 = tail call float (...) @randnf() #4
  %45 = getelementptr inbounds i8, ptr %4, i64 88
  store float %44, ptr %45, align 8, !tbaa !5
  %46 = tail call float (...) @randnf() #4
  %47 = getelementptr inbounds i8, ptr %4, i64 92
  store float %46, ptr %47, align 4, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %4, i64 96
  store <2 x float> zeroinitializer, ptr %48, align 16, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %4, i64 104
  store float 0.000000e+00, ptr %49, align 8, !tbaa !5
  %50 = tail call float (...) @randnf() #4
  %51 = getelementptr inbounds i8, ptr %4, i64 108
  store float %50, ptr %51, align 4, !tbaa !5
  %52 = tail call float (...) @randnf() #4
  %53 = getelementptr inbounds i8, ptr %4, i64 112
  store float %52, ptr %53, align 16, !tbaa !5
  %54 = tail call float (...) @randnf() #4
  %55 = getelementptr inbounds i8, ptr %4, i64 116
  store float %54, ptr %55, align 4, !tbaa !5
  %56 = tail call float (...) @randnf() #4
  %57 = getelementptr inbounds i8, ptr %4, i64 120
  store float %56, ptr %57, align 8, !tbaa !5
  %58 = tail call float (...) @randnf() #4
  %59 = getelementptr inbounds i8, ptr %4, i64 124
  store float %58, ptr %59, align 4, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %4, i64 128
  store <4 x float> zeroinitializer, ptr %60, align 16, !tbaa !5
  %61 = tail call float (...) @randnf() #4
  %62 = getelementptr inbounds i8, ptr %4, i64 144
  store float %61, ptr %62, align 16, !tbaa !5
  %63 = tail call float (...) @randnf() #4
  %64 = getelementptr inbounds i8, ptr %4, i64 148
  store float %63, ptr %64, align 4, !tbaa !5
  %65 = tail call float (...) @randnf() #4
  %66 = getelementptr inbounds i8, ptr %4, i64 152
  store float %65, ptr %66, align 8, !tbaa !5
  %67 = tail call float (...) @randnf() #4
  %68 = getelementptr inbounds i8, ptr %4, i64 156
  store float %67, ptr %68, align 4, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %4, i64 160
  store <4 x float> zeroinitializer, ptr %69, align 16, !tbaa !5
  %70 = getelementptr inbounds i8, ptr %4, i64 176
  store float 0.000000e+00, ptr %70, align 16, !tbaa !5
  %71 = tail call float (...) @randnf() #4
  %72 = getelementptr inbounds i8, ptr %4, i64 180
  store float %71, ptr %72, align 4, !tbaa !5
  %73 = tail call float (...) @randnf() #4
  %74 = getelementptr inbounds i8, ptr %4, i64 184
  store float %73, ptr %74, align 8, !tbaa !5
  %75 = tail call float (...) @randnf() #4
  %76 = getelementptr inbounds i8, ptr %4, i64 188
  store float %75, ptr %76, align 4, !tbaa !5
  %77 = getelementptr inbounds i8, ptr %4, i64 192
  store <4 x float> zeroinitializer, ptr %77, align 16, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %4, i64 208
  store float 0.000000e+00, ptr %78, align 16, !tbaa !5
  %79 = getelementptr inbounds i8, ptr %4, i64 212
  store float 0.000000e+00, ptr %79, align 4, !tbaa !5
  %80 = tail call float (...) @randnf() #4
  %81 = getelementptr inbounds i8, ptr %4, i64 216
  store float %80, ptr %81, align 8, !tbaa !5
  %82 = tail call float (...) @randnf() #4
  %83 = getelementptr inbounds i8, ptr %4, i64 220
  store float %82, ptr %83, align 4, !tbaa !5
  %84 = getelementptr inbounds i8, ptr %4, i64 224
  store <4 x float> zeroinitializer, ptr %84, align 16, !tbaa !5
  %85 = getelementptr inbounds i8, ptr %4, i64 240
  store float 0.000000e+00, ptr %85, align 16, !tbaa !5
  %86 = getelementptr inbounds i8, ptr %4, i64 244
  store float 0.000000e+00, ptr %86, align 4, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %4, i64 248
  store float 0.000000e+00, ptr %87, align 8, !tbaa !5
  %88 = tail call float (...) @randnf() #4
  %89 = getelementptr inbounds i8, ptr %4, i64 252
  store float %88, ptr %89, align 4, !tbaa !5
  %90 = call i32 @matrixf_mul_transpose(ptr noundef nonnull %4, i32 noundef 8, i32 noundef 8, ptr noundef nonnull %0) #4
  %91 = call float (...) @randnf() #4
  store float %91, ptr %2, align 16, !tbaa !5
  %92 = call float (...) @randnf() #4
  %93 = getelementptr inbounds i8, ptr %2, i64 4
  store float %92, ptr %93, align 4, !tbaa !5
  %94 = call float (...) @randnf() #4
  %95 = getelementptr inbounds i8, ptr %2, i64 8
  store float %94, ptr %95, align 8, !tbaa !5
  %96 = call float (...) @randnf() #4
  %97 = getelementptr inbounds i8, ptr %2, i64 12
  store float %96, ptr %97, align 4, !tbaa !5
  %98 = call float (...) @randnf() #4
  %99 = getelementptr inbounds i8, ptr %2, i64 16
  store float %98, ptr %99, align 16, !tbaa !5
  %100 = call float (...) @randnf() #4
  %101 = getelementptr inbounds i8, ptr %2, i64 20
  store float %100, ptr %101, align 4, !tbaa !5
  %102 = call float (...) @randnf() #4
  %103 = getelementptr inbounds i8, ptr %2, i64 24
  store float %102, ptr %103, align 8, !tbaa !5
  %104 = call float (...) @randnf() #4
  %105 = getelementptr inbounds i8, ptr %2, i64 28
  store float %104, ptr %105, align 4, !tbaa !5
  %106 = call i32 @matrixf_mul(ptr noundef nonnull %0, i32 noundef 8, i32 noundef 8, ptr noundef nonnull %2, i32 noundef 8, i32 noundef 1, ptr noundef nonnull %1, i32 noundef 8, i32 noundef 1) #4
  %107 = call i32 @matrixf_cgsolve(ptr noundef nonnull %0, i32 noundef 8, ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef null) #4
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %109 = call i32 @matrixf_print(ptr noundef nonnull %0, i32 noundef 8, i32 noundef 8) #4
  %110 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %111 = call i32 @matrixf_print(ptr noundef nonnull %1, i32 noundef 8, i32 noundef 1) #4
  %112 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %113 = call i32 @matrixf_print(ptr noundef nonnull %2, i32 noundef 8, i32 noundef 1) #4
  %114 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3)
  %115 = call i32 @matrixf_print(ptr noundef nonnull %3, i32 noundef 8, i32 noundef 1) #4
  %116 = load float, ptr %2, align 16, !tbaa !5
  %117 = load float, ptr %3, align 16, !tbaa !5
  %118 = fsub float %116, %117
  %119 = call float @llvm.fmuladd.f32(float %118, float %118, float 0.000000e+00)
  %120 = load float, ptr %93, align 4, !tbaa !5
  %121 = getelementptr inbounds i8, ptr %3, i64 4
  %122 = load float, ptr %121, align 4, !tbaa !5
  %123 = fsub float %120, %122
  %124 = call float @llvm.fmuladd.f32(float %123, float %123, float %119)
  %125 = load float, ptr %95, align 8, !tbaa !5
  %126 = getelementptr inbounds i8, ptr %3, i64 8
  %127 = load float, ptr %126, align 8, !tbaa !5
  %128 = fsub float %125, %127
  %129 = call float @llvm.fmuladd.f32(float %128, float %128, float %124)
  %130 = load float, ptr %97, align 4, !tbaa !5
  %131 = getelementptr inbounds i8, ptr %3, i64 12
  %132 = load float, ptr %131, align 4, !tbaa !5
  %133 = fsub float %130, %132
  %134 = call float @llvm.fmuladd.f32(float %133, float %133, float %129)
  %135 = load float, ptr %99, align 16, !tbaa !5
  %136 = getelementptr inbounds i8, ptr %3, i64 16
  %137 = load float, ptr %136, align 16, !tbaa !5
  %138 = fsub float %135, %137
  %139 = call float @llvm.fmuladd.f32(float %138, float %138, float %134)
  %140 = load float, ptr %101, align 4, !tbaa !5
  %141 = getelementptr inbounds i8, ptr %3, i64 20
  %142 = load float, ptr %141, align 4, !tbaa !5
  %143 = fsub float %140, %142
  %144 = call float @llvm.fmuladd.f32(float %143, float %143, float %139)
  %145 = load float, ptr %103, align 8, !tbaa !5
  %146 = getelementptr inbounds i8, ptr %3, i64 24
  %147 = load float, ptr %146, align 8, !tbaa !5
  %148 = fsub float %145, %147
  %149 = call float @llvm.fmuladd.f32(float %148, float %148, float %144)
  %150 = load float, ptr %105, align 4, !tbaa !5
  %151 = getelementptr inbounds i8, ptr %3, i64 28
  %152 = load float, ptr %151, align 4, !tbaa !5
  %153 = fsub float %150, %152
  %154 = call float @llvm.fmuladd.f32(float %153, float %153, float %149)
  %sqrtf = call float @sqrtf(float noundef %154) #5
  %155 = fpext float %sqrtf to double
  %156 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %155)
  %157 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5)
  ret i32 0
}

declare float @randnf(...) local_unnamed_addr #1

declare i32 @matrixf_mul_transpose(ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

declare i32 @matrixf_mul(ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

declare i32 @matrixf_cgsolve(ptr noundef, i32 noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

declare i32 @matrixf_print(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

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

declare float @sqrtf(float) local_unnamed_addr

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 = { 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }
attributes #5 = { mustprogress nofree nounwind willreturn memory(write) "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" }

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


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass