; LLVM IR from sourceryinstitute/MORFEUS-Source :: src/FV/src/mesh_optimize/OptMS (SMgrad3d)

; 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.DERIV_TYPE = type { double, [3 x double] }

; Function Attrs: nounwind uwtable
define dso_local i32 @g_ad_vCross(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %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 double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #3
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = getelementptr inbounds %struct.DERIV_TYPE, ptr %24, i64 0
  %26 = getelementptr inbounds %struct.DERIV_TYPE, ptr %25, i32 0, i32 1
  %27 = getelementptr inbounds [3 x double], ptr %26, i64 0, i64 0
  store ptr %27, ptr %8, align 8, !tbaa !5
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.DERIV_TYPE, ptr %28, i64 1
  %30 = getelementptr inbounds %struct.DERIV_TYPE, ptr %29, i32 0, i32 1
  %31 = getelementptr inbounds [3 x double], ptr %30, i64 0, i64 0
  store ptr %31, ptr %9, align 8, !tbaa !5
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %struct.DERIV_TYPE, ptr %32, i64 2
  %34 = getelementptr inbounds %struct.DERIV_TYPE, ptr %33, i32 0, i32 1
  %35 = getelementptr inbounds [3 x double], ptr %34, i64 0, i64 0
  store ptr %35, ptr %10, align 8, !tbaa !5
  %36 = load ptr, ptr %5, align 8, !tbaa !5
  %37 = getelementptr inbounds %struct.DERIV_TYPE, ptr %36, i64 0
  %38 = getelementptr inbounds %struct.DERIV_TYPE, ptr %37, i32 0, i32 1
  %39 = getelementptr inbounds [3 x double], ptr %38, i64 0, i64 0
  store ptr %39, ptr %11, align 8, !tbaa !5
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.DERIV_TYPE, ptr %40, i64 1
  %42 = getelementptr inbounds %struct.DERIV_TYPE, ptr %41, i32 0, i32 1
  %43 = getelementptr inbounds [3 x double], ptr %42, i64 0, i64 0
  store ptr %43, ptr %12, align 8, !tbaa !5
  %44 = load ptr, ptr %5, align 8, !tbaa !5
  %45 = getelementptr inbounds %struct.DERIV_TYPE, ptr %44, i64 2
  %46 = getelementptr inbounds %struct.DERIV_TYPE, ptr %45, i32 0, i32 1
  %47 = getelementptr inbounds [3 x double], ptr %46, i64 0, i64 0
  store ptr %47, ptr %13, align 8, !tbaa !5
  %48 = load ptr, ptr %4, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.DERIV_TYPE, ptr %48, i64 0
  %50 = getelementptr inbounds %struct.DERIV_TYPE, ptr %49, i32 0, i32 0
  %51 = load double, ptr %50, align 8, !tbaa !9
  store double %51, ptr %14, align 8, !tbaa !12
  %52 = load ptr, ptr %4, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.DERIV_TYPE, ptr %52, i64 1
  %54 = getelementptr inbounds %struct.DERIV_TYPE, ptr %53, i32 0, i32 0
  %55 = load double, ptr %54, align 8, !tbaa !9
  store double %55, ptr %15, align 8, !tbaa !12
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %struct.DERIV_TYPE, ptr %56, i64 2
  %58 = getelementptr inbounds %struct.DERIV_TYPE, ptr %57, i32 0, i32 0
  %59 = load double, ptr %58, align 8, !tbaa !9
  store double %59, ptr %16, align 8, !tbaa !12
  %60 = load ptr, ptr %5, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.DERIV_TYPE, ptr %60, i64 0
  %62 = getelementptr inbounds %struct.DERIV_TYPE, ptr %61, i32 0, i32 0
  %63 = load double, ptr %62, align 8, !tbaa !9
  store double %63, ptr %17, align 8, !tbaa !12
  %64 = load ptr, ptr %5, align 8, !tbaa !5
  %65 = getelementptr inbounds %struct.DERIV_TYPE, ptr %64, i64 1
  %66 = getelementptr inbounds %struct.DERIV_TYPE, ptr %65, i32 0, i32 0
  %67 = load double, ptr %66, align 8, !tbaa !9
  store double %67, ptr %18, align 8, !tbaa !12
  %68 = load ptr, ptr %5, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.DERIV_TYPE, ptr %68, i64 2
  %70 = getelementptr inbounds %struct.DERIV_TYPE, ptr %69, i32 0, i32 0
  %71 = load double, ptr %70, align 8, !tbaa !9
  store double %71, ptr %19, align 8, !tbaa !12
  %72 = load ptr, ptr %6, align 8, !tbaa !5
  %73 = getelementptr inbounds %struct.DERIV_TYPE, ptr %72, i64 0
  %74 = getelementptr inbounds %struct.DERIV_TYPE, ptr %73, i32 0, i32 1
  %75 = getelementptr inbounds [3 x double], ptr %74, i64 0, i64 0
  store ptr %75, ptr %20, align 8, !tbaa !5
  %76 = load ptr, ptr %6, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.DERIV_TYPE, ptr %76, i64 1
  %78 = getelementptr inbounds %struct.DERIV_TYPE, ptr %77, i32 0, i32 1
  %79 = getelementptr inbounds [3 x double], ptr %78, i64 0, i64 0
  store ptr %79, ptr %21, align 8, !tbaa !5
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds %struct.DERIV_TYPE, ptr %80, i64 2
  %82 = getelementptr inbounds %struct.DERIV_TYPE, ptr %81, i32 0, i32 1
  %83 = getelementptr inbounds [3 x double], ptr %82, i64 0, i64 0
  store ptr %83, ptr %22, align 8, !tbaa !5
  store i32 2, ptr %23, align 4, !tbaa !13
  br label %84

84:                                               ; preds = %190, %3
  %85 = load i32, ptr %23, align 4, !tbaa !13
  %86 = icmp sge i32 %85, 0
  br i1 %86, label %87, label %193

87:                                               ; preds = %84
  %88 = load double, ptr %19, align 8, !tbaa !12
  %89 = load ptr, ptr %9, align 8, !tbaa !5
  %90 = load i32, ptr %23, align 4, !tbaa !13
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds double, ptr %89, i64 %91
  %93 = load double, ptr %92, align 8, !tbaa !12
  %94 = load double, ptr %15, align 8, !tbaa !12
  %95 = load ptr, ptr %13, align 8, !tbaa !5
  %96 = load i32, ptr %23, align 4, !tbaa !13
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %95, i64 %97
  %99 = load double, ptr %98, align 8, !tbaa !12
  %100 = fmul double %94, %99
  %101 = call double @llvm.fmuladd.f64(double %88, double %93, double %100)
  %102 = load double, ptr %18, align 8, !tbaa !12
  %103 = load ptr, ptr %10, align 8, !tbaa !5
  %104 = load i32, ptr %23, align 4, !tbaa !13
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds double, ptr %103, i64 %105
  %107 = load double, ptr %106, align 8, !tbaa !12
  %108 = fneg double %102
  %109 = call double @llvm.fmuladd.f64(double %108, double %107, double %101)
  %110 = load double, ptr %16, align 8, !tbaa !12
  %111 = load ptr, ptr %12, align 8, !tbaa !5
  %112 = load i32, ptr %23, align 4, !tbaa !13
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %111, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !12
  %116 = fneg double %110
  %117 = call double @llvm.fmuladd.f64(double %116, double %115, double %109)
  %118 = load ptr, ptr %20, align 8, !tbaa !5
  %119 = load i32, ptr %23, align 4, !tbaa !13
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds double, ptr %118, i64 %120
  store double %117, ptr %121, align 8, !tbaa !12
  %122 = load double, ptr %17, align 8, !tbaa !12
  %123 = load ptr, ptr %10, align 8, !tbaa !5
  %124 = load i32, ptr %23, align 4, !tbaa !13
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %123, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !12
  %128 = load double, ptr %16, align 8, !tbaa !12
  %129 = load ptr, ptr %11, align 8, !tbaa !5
  %130 = load i32, ptr %23, align 4, !tbaa !13
  %131 = sext i32 %130 to i64
  %132 = getelementptr inbounds double, ptr %129, i64 %131
  %133 = load double, ptr %132, align 8, !tbaa !12
  %134 = fmul double %128, %133
  %135 = call double @llvm.fmuladd.f64(double %122, double %127, double %134)
  %136 = load double, ptr %19, align 8, !tbaa !12
  %137 = load ptr, ptr %8, align 8, !tbaa !5
  %138 = load i32, ptr %23, align 4, !tbaa !13
  %139 = sext i32 %138 to i64
  %140 = getelementptr inbounds double, ptr %137, i64 %139
  %141 = load double, ptr %140, align 8, !tbaa !12
  %142 = fneg double %136
  %143 = call double @llvm.fmuladd.f64(double %142, double %141, double %135)
  %144 = load double, ptr %14, align 8, !tbaa !12
  %145 = load ptr, ptr %13, align 8, !tbaa !5
  %146 = load i32, ptr %23, align 4, !tbaa !13
  %147 = sext i32 %146 to i64
  %148 = getelementptr inbounds double, ptr %145, i64 %147
  %149 = load double, ptr %148, align 8, !tbaa !12
  %150 = fneg double %144
  %151 = call double @llvm.fmuladd.f64(double %150, double %149, double %143)
  %152 = load ptr, ptr %21, align 8, !tbaa !5
  %153 = load i32, ptr %23, align 4, !tbaa !13
  %154 = sext i32 %153 to i64
  %155 = getelementptr inbounds double, ptr %152, i64 %154
  store double %151, ptr %155, align 8, !tbaa !12
  %156 = load double, ptr %18, align 8, !tbaa !12
  %157 = load ptr, ptr %8, align 8, !tbaa !5
  %158 = load i32, ptr %23, align 4, !tbaa !13
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds double, ptr %157, i64 %159
  %161 = load double, ptr %160, align 8, !tbaa !12
  %162 = load double, ptr %14, align 8, !tbaa !12
  %163 = load ptr, ptr %12, align 8, !tbaa !5
  %164 = load i32, ptr %23, align 4, !tbaa !13
  %165 = sext i32 %164 to i64
  %166 = getelementptr inbounds double, ptr %163, i64 %165
  %167 = load double, ptr %166, align 8, !tbaa !12
  %168 = fmul double %162, %167
  %169 = call double @llvm.fmuladd.f64(double %156, double %161, double %168)
  %170 = load double, ptr %17, align 8, !tbaa !12
  %171 = load ptr, ptr %9, align 8, !tbaa !5
  %172 = load i32, ptr %23, align 4, !tbaa !13
  %173 = sext i32 %172 to i64
  %174 = getelementptr inbounds double, ptr %171, i64 %173
  %175 = load double, ptr %174, align 8, !tbaa !12
  %176 = fneg double %170
  %177 = call double @llvm.fmuladd.f64(double %176, double %175, double %169)
  %178 = load double, ptr %15, align 8, !tbaa !12
  %179 = load ptr, ptr %11, align 8, !tbaa !5
  %180 = load i32, ptr %23, align 4, !tbaa !13
  %181 = sext i32 %180 to i64
  %182 = getelementptr inbounds double, ptr %179, i64 %181
  %183 = load double, ptr %182, align 8, !tbaa !12
  %184 = fneg double %178
  %185 = call double @llvm.fmuladd.f64(double %184, double %183, double %177)
  %186 = load ptr, ptr %22, align 8, !tbaa !5
  %187 = load i32, ptr %23, align 4, !tbaa !13
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds double, ptr %186, i64 %188
  store double %185, ptr %189, align 8, !tbaa !12
  br label %190

190:                                              ; preds = %87
  %191 = load i32, ptr %23, align 4, !tbaa !13
  %192 = add nsw i32 %191, -1
  store i32 %192, ptr %23, align 4, !tbaa !13
  br label %84, !llvm.loop !15

193:                                              ; preds = %84
  %194 = load double, ptr %15, align 8, !tbaa !12
  %195 = load double, ptr %19, align 8, !tbaa !12
  %196 = load double, ptr %16, align 8, !tbaa !12
  %197 = load double, ptr %18, align 8, !tbaa !12
  %198 = fmul double %196, %197
  %199 = fneg double %198
  %200 = call double @llvm.fmuladd.f64(double %194, double %195, double %199)
  %201 = load ptr, ptr %6, align 8, !tbaa !5
  %202 = getelementptr inbounds %struct.DERIV_TYPE, ptr %201, i64 0
  %203 = getelementptr inbounds %struct.DERIV_TYPE, ptr %202, i32 0, i32 0
  store double %200, ptr %203, align 8, !tbaa !9
  %204 = load double, ptr %16, align 8, !tbaa !12
  %205 = load double, ptr %17, align 8, !tbaa !12
  %206 = load double, ptr %14, align 8, !tbaa !12
  %207 = load double, ptr %19, align 8, !tbaa !12
  %208 = fmul double %206, %207
  %209 = fneg double %208
  %210 = call double @llvm.fmuladd.f64(double %204, double %205, double %209)
  %211 = load ptr, ptr %6, align 8, !tbaa !5
  %212 = getelementptr inbounds %struct.DERIV_TYPE, ptr %211, i64 1
  %213 = getelementptr inbounds %struct.DERIV_TYPE, ptr %212, i32 0, i32 0
  store double %210, ptr %213, align 8, !tbaa !9
  %214 = load double, ptr %14, align 8, !tbaa !12
  %215 = load double, ptr %18, align 8, !tbaa !12
  %216 = load double, ptr %15, align 8, !tbaa !12
  %217 = load double, ptr %17, align 8, !tbaa !12
  %218 = fmul double %216, %217
  %219 = fneg double %218
  %220 = call double @llvm.fmuladd.f64(double %214, double %215, double %219)
  %221 = load ptr, ptr %6, align 8, !tbaa !5
  %222 = getelementptr inbounds %struct.DERIV_TYPE, ptr %221, i64 2
  %223 = getelementptr inbounds %struct.DERIV_TYPE, ptr %222, i32 0, i32 0
  store double %220, ptr %223, align 8, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !13
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  ret i32 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

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, !11, i64 0}
!10 = !{!"DERIV_TYPE", !11, i64 0, !7, i64 8}
!11 = !{!"double", !7, i64 0}
!12 = !{!11, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}


; 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: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) uwtable
define dso_local noundef i32 @g_ad_vCross(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  %5 = getelementptr inbounds i8, ptr %0, i64 32
  %6 = getelementptr inbounds i8, ptr %0, i64 40
  %7 = getelementptr inbounds i8, ptr %0, i64 64
  %8 = getelementptr inbounds i8, ptr %0, i64 72
  %9 = getelementptr inbounds i8, ptr %1, i64 8
  %10 = getelementptr inbounds i8, ptr %1, i64 32
  %11 = getelementptr inbounds i8, ptr %1, i64 40
  %12 = getelementptr inbounds i8, ptr %1, i64 64
  %13 = getelementptr inbounds i8, ptr %1, i64 72
  %14 = load double, ptr %0, align 8, !tbaa !5
  %15 = load double, ptr %5, align 8, !tbaa !5
  %16 = load double, ptr %7, align 8, !tbaa !5
  %17 = load double, ptr %1, align 8, !tbaa !5
  %18 = load double, ptr %10, align 8, !tbaa !5
  %19 = load double, ptr %12, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %2, i64 8
  %21 = getelementptr inbounds i8, ptr %2, i64 40
  %22 = fneg double %18
  %23 = fneg double %16
  %24 = fneg double %19
  %25 = fneg double %14
  %26 = fneg double %17
  %27 = fneg double %15
  %28 = getelementptr inbounds i8, ptr %0, i64 56
  %29 = load double, ptr %28, align 8, !tbaa !10
  %30 = getelementptr inbounds i8, ptr %1, i64 88
  %31 = load double, ptr %30, align 8, !tbaa !10
  %32 = fmul double %15, %31
  %33 = tail call double @llvm.fmuladd.f64(double %19, double %29, double %32)
  %34 = getelementptr inbounds i8, ptr %0, i64 88
  %35 = load double, ptr %34, align 8, !tbaa !10
  %36 = tail call double @llvm.fmuladd.f64(double %22, double %35, double %33)
  %37 = getelementptr inbounds i8, ptr %1, i64 56
  %38 = load double, ptr %37, align 8, !tbaa !10
  %39 = tail call double @llvm.fmuladd.f64(double %23, double %38, double %36)
  %40 = getelementptr inbounds i8, ptr %2, i64 24
  store double %39, ptr %40, align 8, !tbaa !10
  %41 = load double, ptr %34, align 8, !tbaa !10
  %42 = getelementptr inbounds i8, ptr %1, i64 24
  %43 = load double, ptr %42, align 8, !tbaa !10
  %44 = fmul double %16, %43
  %45 = tail call double @llvm.fmuladd.f64(double %17, double %41, double %44)
  %46 = getelementptr inbounds i8, ptr %0, i64 24
  %47 = load double, ptr %46, align 8, !tbaa !10
  %48 = tail call double @llvm.fmuladd.f64(double %24, double %47, double %45)
  %49 = load double, ptr %30, align 8, !tbaa !10
  %50 = tail call double @llvm.fmuladd.f64(double %25, double %49, double %48)
  %51 = getelementptr inbounds i8, ptr %2, i64 56
  store double %50, ptr %51, align 8, !tbaa !10
  %52 = load double, ptr %46, align 8, !tbaa !10
  %53 = load double, ptr %37, align 8, !tbaa !10
  %54 = fmul double %14, %53
  %55 = tail call double @llvm.fmuladd.f64(double %18, double %52, double %54)
  %56 = load double, ptr %28, align 8, !tbaa !10
  %57 = tail call double @llvm.fmuladd.f64(double %26, double %56, double %55)
  %58 = load double, ptr %42, align 8, !tbaa !10
  %59 = tail call double @llvm.fmuladd.f64(double %27, double %58, double %57)
  %60 = getelementptr inbounds i8, ptr %2, i64 88
  store double %59, ptr %60, align 8, !tbaa !10
  %61 = getelementptr inbounds i8, ptr %0, i64 48
  %62 = load double, ptr %61, align 8, !tbaa !10
  %63 = getelementptr inbounds i8, ptr %1, i64 80
  %64 = load double, ptr %63, align 8, !tbaa !10
  %65 = fmul double %15, %64
  %66 = tail call double @llvm.fmuladd.f64(double %19, double %62, double %65)
  %67 = getelementptr inbounds i8, ptr %0, i64 80
  %68 = load double, ptr %67, align 8, !tbaa !10
  %69 = tail call double @llvm.fmuladd.f64(double %22, double %68, double %66)
  %70 = getelementptr inbounds i8, ptr %1, i64 48
  %71 = load double, ptr %70, align 8, !tbaa !10
  %72 = tail call double @llvm.fmuladd.f64(double %23, double %71, double %69)
  %73 = getelementptr inbounds i8, ptr %2, i64 16
  store double %72, ptr %73, align 8, !tbaa !10
  %74 = load double, ptr %67, align 8, !tbaa !10
  %75 = getelementptr inbounds i8, ptr %1, i64 16
  %76 = load double, ptr %75, align 8, !tbaa !10
  %77 = fmul double %16, %76
  %78 = tail call double @llvm.fmuladd.f64(double %17, double %74, double %77)
  %79 = getelementptr inbounds i8, ptr %0, i64 16
  %80 = load double, ptr %79, align 8, !tbaa !10
  %81 = tail call double @llvm.fmuladd.f64(double %24, double %80, double %78)
  %82 = load double, ptr %63, align 8, !tbaa !10
  %83 = tail call double @llvm.fmuladd.f64(double %25, double %82, double %81)
  %84 = getelementptr inbounds i8, ptr %2, i64 48
  store double %83, ptr %84, align 8, !tbaa !10
  %85 = load double, ptr %79, align 8, !tbaa !10
  %86 = load double, ptr %70, align 8, !tbaa !10
  %87 = fmul double %14, %86
  %88 = tail call double @llvm.fmuladd.f64(double %18, double %85, double %87)
  %89 = load double, ptr %61, align 8, !tbaa !10
  %90 = tail call double @llvm.fmuladd.f64(double %26, double %89, double %88)
  %91 = load double, ptr %75, align 8, !tbaa !10
  %92 = tail call double @llvm.fmuladd.f64(double %27, double %91, double %90)
  %93 = getelementptr inbounds i8, ptr %2, i64 80
  store double %92, ptr %93, align 8, !tbaa !10
  %94 = load double, ptr %6, align 8, !tbaa !10
  %95 = load double, ptr %13, align 8, !tbaa !10
  %96 = fmul double %15, %95
  %97 = tail call double @llvm.fmuladd.f64(double %19, double %94, double %96)
  %98 = load double, ptr %8, align 8, !tbaa !10
  %99 = tail call double @llvm.fmuladd.f64(double %22, double %98, double %97)
  %100 = load double, ptr %11, align 8, !tbaa !10
  %101 = tail call double @llvm.fmuladd.f64(double %23, double %100, double %99)
  store double %101, ptr %20, align 8, !tbaa !10
  %102 = load double, ptr %8, align 8, !tbaa !10
  %103 = load double, ptr %9, align 8, !tbaa !10
  %104 = fmul double %16, %103
  %105 = tail call double @llvm.fmuladd.f64(double %17, double %102, double %104)
  %106 = load double, ptr %4, align 8, !tbaa !10
  %107 = tail call double @llvm.fmuladd.f64(double %24, double %106, double %105)
  %108 = load double, ptr %13, align 8, !tbaa !10
  %109 = tail call double @llvm.fmuladd.f64(double %25, double %108, double %107)
  store double %109, ptr %21, align 8, !tbaa !10
  %110 = load double, ptr %4, align 8, !tbaa !10
  %111 = load double, ptr %11, align 8, !tbaa !10
  %112 = fmul double %14, %111
  %113 = tail call double @llvm.fmuladd.f64(double %18, double %110, double %112)
  %114 = load double, ptr %6, align 8, !tbaa !10
  %115 = tail call double @llvm.fmuladd.f64(double %26, double %114, double %113)
  %116 = load double, ptr %9, align 8, !tbaa !10
  %117 = getelementptr inbounds i8, ptr %2, i64 64
  %118 = getelementptr inbounds i8, ptr %2, i64 32
  %119 = fmul double %18, %23
  %120 = tail call double @llvm.fmuladd.f64(double %15, double %19, double %119)
  store double %120, ptr %2, align 8, !tbaa !5
  %121 = fmul double %19, %25
  %122 = tail call double @llvm.fmuladd.f64(double %16, double %17, double %121)
  store double %122, ptr %118, align 8, !tbaa !5
  %123 = fmul double %17, %27
  %124 = insertelement <2 x double> poison, double %14, i64 0
  %125 = insertelement <2 x double> %124, double %27, i64 1
  %126 = insertelement <2 x double> poison, double %18, i64 0
  %127 = insertelement <2 x double> %126, double %116, i64 1
  %128 = insertelement <2 x double> poison, double %123, i64 0
  %129 = insertelement <2 x double> %128, double %115, i64 1
  %130 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %125, <2 x double> %127, <2 x double> %129)
  store <2 x double> %130, ptr %117, align 8, !tbaa !10
  ret i32 0
}

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

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

attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite) 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) }
attributes #2 = { 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, !7, i64 0}
!6 = !{!"DERIV_TYPE", !7, i64 0, !8, i64 8}
!7 = !{!"double", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!7, !7, i64 0}


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