; LLVM IR from drohmer/cgp :: library/cgp/06_mat/mat4 (mat4)

; 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.cgp::matrix_stack" = type { %"struct.cgp::numarray_stack" }
%"struct.cgp::numarray_stack" = type { %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0" }
%"struct.cgp::numarray_stack.0" = type { float, float, float, float }
%"class.std::initializer_list" = type { ptr, i64 }

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef, i32 noundef) #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3cgp12matrix_stackIfLi4ELi4EE32inverse_assuming_rigid_transformEv(ptr dead_on_unwind noalias writable sret(%"struct.cgp::matrix_stack") align 4 %0, ptr noundef nonnull align 4 dereferenceable(64) %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca float, align 4
  %5 = alloca float, align 4
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca %"class.std::initializer_list", align 8
  %17 = alloca [16 x float], align 4
  store ptr %1, ptr %3, align 8, !tbaa !5
  %18 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  %19 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 0, i32 noundef 0)
  %20 = load float, ptr %19, align 4, !tbaa !9
  store float %20, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 0, i32 noundef 1)
  %22 = load float, ptr %21, align 4, !tbaa !9
  store float %22, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %23 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 0, i32 noundef 2)
  %24 = load float, ptr %23, align 4, !tbaa !9
  store float %24, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  %25 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 1, i32 noundef 0)
  %26 = load float, ptr %25, align 4, !tbaa !9
  store float %26, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %27 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 1, i32 noundef 1)
  %28 = load float, ptr %27, align 4, !tbaa !9
  store float %28, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 1, i32 noundef 2)
  %30 = load float, ptr %29, align 4, !tbaa !9
  store float %30, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  %31 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 2, i32 noundef 0)
  %32 = load float, ptr %31, align 4, !tbaa !9
  store float %32, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  %33 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 2, i32 noundef 1)
  %34 = load float, ptr %33, align 4, !tbaa !9
  store float %34, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  %35 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 2, i32 noundef 2)
  %36 = load float, ptr %35, align 4, !tbaa !9
  store float %36, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %37 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 0, i32 noundef 3)
  %38 = load float, ptr %37, align 4, !tbaa !9
  store float %38, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %39 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 1, i32 noundef 3)
  %40 = load float, ptr %39, align 4, !tbaa !9
  store float %40, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %41 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %18, i32 noundef 2, i32 noundef 3)
  %42 = load float, ptr %41, align 4, !tbaa !9
  store float %42, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr %17) #4
  %43 = load float, ptr %4, align 4, !tbaa !9
  store float %43, ptr %17, align 4, !tbaa !9
  %44 = getelementptr inbounds float, ptr %17, i64 1
  %45 = load float, ptr %7, align 4, !tbaa !9
  store float %45, ptr %44, align 4, !tbaa !9
  %46 = getelementptr inbounds float, ptr %17, i64 2
  %47 = load float, ptr %10, align 4, !tbaa !9
  store float %47, ptr %46, align 4, !tbaa !9
  %48 = getelementptr inbounds float, ptr %17, i64 3
  %49 = load float, ptr %4, align 4, !tbaa !9
  %50 = fneg float %49
  %51 = load float, ptr %13, align 4, !tbaa !9
  %52 = load float, ptr %7, align 4, !tbaa !9
  %53 = load float, ptr %14, align 4, !tbaa !9
  %54 = fmul float %52, %53
  %55 = fneg float %54
  %56 = call float @llvm.fmuladd.f32(float %50, float %51, float %55)
  %57 = load float, ptr %10, align 4, !tbaa !9
  %58 = load float, ptr %15, align 4, !tbaa !9
  %59 = fneg float %57
  %60 = call float @llvm.fmuladd.f32(float %59, float %58, float %56)
  store float %60, ptr %48, align 4, !tbaa !9
  %61 = getelementptr inbounds float, ptr %17, i64 4
  %62 = load float, ptr %5, align 4, !tbaa !9
  store float %62, ptr %61, align 4, !tbaa !9
  %63 = getelementptr inbounds float, ptr %17, i64 5
  %64 = load float, ptr %8, align 4, !tbaa !9
  store float %64, ptr %63, align 4, !tbaa !9
  %65 = getelementptr inbounds float, ptr %17, i64 6
  %66 = load float, ptr %11, align 4, !tbaa !9
  store float %66, ptr %65, align 4, !tbaa !9
  %67 = getelementptr inbounds float, ptr %17, i64 7
  %68 = load float, ptr %5, align 4, !tbaa !9
  %69 = fneg float %68
  %70 = load float, ptr %13, align 4, !tbaa !9
  %71 = load float, ptr %8, align 4, !tbaa !9
  %72 = load float, ptr %14, align 4, !tbaa !9
  %73 = fmul float %71, %72
  %74 = fneg float %73
  %75 = call float @llvm.fmuladd.f32(float %69, float %70, float %74)
  %76 = load float, ptr %11, align 4, !tbaa !9
  %77 = load float, ptr %15, align 4, !tbaa !9
  %78 = fneg float %76
  %79 = call float @llvm.fmuladd.f32(float %78, float %77, float %75)
  store float %79, ptr %67, align 4, !tbaa !9
  %80 = getelementptr inbounds float, ptr %17, i64 8
  %81 = load float, ptr %6, align 4, !tbaa !9
  store float %81, ptr %80, align 4, !tbaa !9
  %82 = getelementptr inbounds float, ptr %17, i64 9
  %83 = load float, ptr %9, align 4, !tbaa !9
  store float %83, ptr %82, align 4, !tbaa !9
  %84 = getelementptr inbounds float, ptr %17, i64 10
  %85 = load float, ptr %12, align 4, !tbaa !9
  store float %85, ptr %84, align 4, !tbaa !9
  %86 = getelementptr inbounds float, ptr %17, i64 11
  %87 = load float, ptr %6, align 4, !tbaa !9
  %88 = fneg float %87
  %89 = load float, ptr %13, align 4, !tbaa !9
  %90 = load float, ptr %9, align 4, !tbaa !9
  %91 = load float, ptr %14, align 4, !tbaa !9
  %92 = fmul float %90, %91
  %93 = fneg float %92
  %94 = call float @llvm.fmuladd.f32(float %88, float %89, float %93)
  %95 = load float, ptr %12, align 4, !tbaa !9
  %96 = load float, ptr %15, align 4, !tbaa !9
  %97 = fneg float %95
  %98 = call float @llvm.fmuladd.f32(float %97, float %96, float %94)
  store float %98, ptr %86, align 4, !tbaa !9
  %99 = getelementptr inbounds float, ptr %17, i64 12
  store float 0.000000e+00, ptr %99, align 4, !tbaa !9
  %100 = getelementptr inbounds float, ptr %17, i64 13
  store float 0.000000e+00, ptr %100, align 4, !tbaa !9
  %101 = getelementptr inbounds float, ptr %17, i64 14
  store float 0.000000e+00, ptr %101, align 4, !tbaa !9
  %102 = getelementptr inbounds float, ptr %17, i64 15
  store float 1.000000e+00, ptr %102, align 4, !tbaa !9
  %103 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 0
  store ptr %17, ptr %103, align 8, !tbaa !11
  %104 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 1
  store i64 16, ptr %104, align 8, !tbaa !14
  call void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1ERKSt16initializer_listIfE(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(16) %16)
  call void @llvm.lifetime.end.p0(i64 64, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  ret void
}

declare void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1ERKSt16initializer_listIfE(ptr, ptr)

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !6, i64 0}
!12 = !{!"_ZTSSt16initializer_listIfE", !6, i64 0, !13, i64 8}
!13 = !{!"long", !7, i64 0}
!14 = !{!12, !13, i64 8}


; 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.cgp::matrix_stack" = type { %"struct.cgp::numarray_stack" }
%"struct.cgp::numarray_stack" = type { %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0" }
%"struct.cgp::numarray_stack.0" = type { float, float, float, float }
%"class.std::initializer_list" = type { ptr, i64 }

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64), i32 noundef, i32 noundef) local_unnamed_addr #1 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK3cgp12matrix_stackIfLi4ELi4EE32inverse_assuming_rigid_transformEv(ptr dead_on_unwind noalias writable sret(%"struct.cgp::matrix_stack") align 4 %0, ptr noundef nonnull align 4 dereferenceable(64) %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %"class.std::initializer_list", align 8
  %4 = alloca [16 x float], align 4
  %5 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, i32 noundef 0)
  %6 = load float, ptr %5, align 4, !tbaa !5
  %7 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, i32 noundef 1)
  %8 = load float, ptr %7, align 4, !tbaa !5
  %9 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, i32 noundef 2)
  %10 = load float, ptr %9, align 4, !tbaa !5
  %11 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, i32 noundef 0)
  %12 = load float, ptr %11, align 4, !tbaa !5
  %13 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, i32 noundef 1)
  %14 = load float, ptr %13, align 4, !tbaa !5
  %15 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, i32 noundef 2)
  %16 = load float, ptr %15, align 4, !tbaa !5
  %17 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, i32 noundef 0)
  %18 = load float, ptr %17, align 4, !tbaa !5
  %19 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, i32 noundef 1)
  %20 = load float, ptr %19, align 4, !tbaa !5
  %21 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, i32 noundef 2)
  %22 = load float, ptr %21, align 4, !tbaa !5
  %23 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 0, i32 noundef 3)
  %24 = load float, ptr %23, align 4, !tbaa !5
  %25 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 1, i32 noundef 3)
  %26 = load float, ptr %25, align 4, !tbaa !5
  %27 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK3cgp12matrix_stackIfLi4ELi4EE2atEii(ptr noundef nonnull align 4 dereferenceable(64) %1, i32 noundef 2, i32 noundef 3)
  %28 = load float, ptr %27, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #4
  store float %6, ptr %4, align 4, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %4, i64 4
  store float %12, ptr %29, align 4, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %4, i64 8
  store float %18, ptr %30, align 4, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %4, i64 12
  %32 = fneg float %6
  %33 = fneg float %12
  %34 = fmul float %26, %33
  %35 = tail call float @llvm.fmuladd.f32(float %32, float %24, float %34)
  %36 = fneg float %18
  %37 = tail call float @llvm.fmuladd.f32(float %36, float %28, float %35)
  store float %37, ptr %31, align 4, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %4, i64 16
  store float %8, ptr %38, align 4, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %4, i64 20
  store float %14, ptr %39, align 4, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %4, i64 24
  store float %20, ptr %40, align 4, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %4, i64 28
  %42 = fneg float %8
  %43 = fneg float %14
  %44 = fmul float %26, %43
  %45 = tail call float @llvm.fmuladd.f32(float %42, float %24, float %44)
  %46 = fneg float %20
  %47 = tail call float @llvm.fmuladd.f32(float %46, float %28, float %45)
  store float %47, ptr %41, align 4, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %4, i64 32
  store float %10, ptr %48, align 4, !tbaa !5
  %49 = getelementptr inbounds i8, ptr %4, i64 36
  store float %16, ptr %49, align 4, !tbaa !5
  %50 = getelementptr inbounds i8, ptr %4, i64 40
  store float %22, ptr %50, align 4, !tbaa !5
  %51 = getelementptr inbounds i8, ptr %4, i64 44
  %52 = fneg float %10
  %53 = fneg float %16
  %54 = fmul float %26, %53
  %55 = tail call float @llvm.fmuladd.f32(float %52, float %24, float %54)
  %56 = fneg float %22
  %57 = tail call float @llvm.fmuladd.f32(float %56, float %28, float %55)
  store float %57, ptr %51, align 4, !tbaa !5
  %58 = getelementptr inbounds i8, ptr %4, i64 48
  store <4 x float> <float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00>, ptr %58, align 4, !tbaa !5
  store ptr %4, ptr %3, align 8, !tbaa !9
  %59 = getelementptr inbounds i8, ptr %3, i64 8
  store i64 16, ptr %59, align 8, !tbaa !13
  call void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1ERKSt16initializer_listIfE(ptr noundef nonnull align 4 dereferenceable(64) %0, ptr noundef nonnull align 8 dereferenceable(16) %3)
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #4
  ret void
}

declare void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1ERKSt16initializer_listIfE(ptr, ptr) local_unnamed_addr

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint mustprogress 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { mustprogress 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 #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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIfE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass