; LLVM IR from drohmer/cgp :: library/cgp/09_geometric_transformation/affine/affine_rts (affine_rts)

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

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

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

declare void @_ZNK3cgp18rotation_transform6matrixEv(ptr dead_on_unwind writable sret(%"struct.cgp::matrix_stack.2") align 4, ptr noundef nonnull align 4 dereferenceable(16)) #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0ELi0EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0ELi1EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0ELi2EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1ELi0EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1ELi1EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1ELi2EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2ELi0EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2ELi1EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2ELi2EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) #0

declare void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1ERKSt16initializer_listIfE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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, !14, i64 28}
!10 = !{!"_ZTSN3cgp10affine_rtsE", !11, i64 0, !15, i64 16, !14, i64 28}
!11 = !{!"_ZTSN3cgp18rotation_transformE", !12, i64 0}
!12 = !{!"_ZTSN3cgp10quaternionE", !13, i64 0}
!13 = !{!"_ZTSN3cgp14numarray_stackIfLi4EEE", !14, i64 0, !14, i64 4, !14, i64 8, !14, i64 12}
!14 = !{!"float", !7, i64 0}
!15 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !14, i64 0, !14, i64 4, !14, i64 8}
!16 = !{!14, !14, i64 0}
!17 = !{!10, !14, i64 16}
!18 = !{!10, !14, i64 20}
!19 = !{!10, !14, i64 24}
!20 = !{!21, !6, i64 0}
!21 = !{!"_ZTSSt16initializer_listIfE", !6, i64 0, !22, i64 8}
!22 = !{!"long", !7, i64 0}
!23 = !{!21, !22, 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.1" }
%"struct.cgp::numarray_stack.1" = type { %"struct.cgp::numarray_stack", %"struct.cgp::numarray_stack", %"struct.cgp::numarray_stack", %"struct.cgp::numarray_stack" }
%"struct.cgp::numarray_stack" = type { float, float, float, float }
%"struct.cgp::matrix_stack.2" = type { %"struct.cgp::numarray_stack.3" }
%"struct.cgp::numarray_stack.3" = type { %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0", %"struct.cgp::numarray_stack.0" }
%"struct.cgp::numarray_stack.0" = type { float, float, float }
%"class.std::initializer_list" = type { ptr, i64 }

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

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

declare void @_ZNK3cgp18rotation_transform6matrixEv(ptr dead_on_unwind writable sret(%"struct.cgp::matrix_stack.2") align 4, ptr noundef nonnull align 4 dereferenceable(16)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0ELi0EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0ELi1EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi0ELi2EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1ELi0EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1ELi1EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi1ELi2EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2ELi0EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2ELi1EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

; Function Attrs: mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3cgp3getILi2ELi2EfLi3ELi3EEERKT1_RKNS_12matrix_stackIS1_XT2_EXT3_EEE(ptr noundef nonnull align 4 dereferenceable(36)) local_unnamed_addr #0

declare void @_ZN3cgp12matrix_stackIfLi4ELi4EEC1ERKSt16initializer_listIfE(ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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, !10, i64 28}
!6 = !{!"_ZTSN3cgp10affine_rtsE", !7, i64 0, !13, i64 16, !10, i64 28}
!7 = !{!"_ZTSN3cgp18rotation_transformE", !8, i64 0}
!8 = !{!"_ZTSN3cgp10quaternionE", !9, i64 0}
!9 = !{!"_ZTSN3cgp14numarray_stackIfLi4EEE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!10 = !{!"float", !11, i64 0}
!11 = !{!"omnipotent char", !12, i64 0}
!12 = !{!"Simple C++ TBAA"}
!13 = !{!"_ZTSN3cgp14numarray_stackIfLi3EEE", !10, i64 0, !10, i64 4, !10, i64 8}
!14 = !{!10, !10, i64 0}
!15 = !{!6, !10, i64 16}
!16 = !{!6, !10, i64 20}
!17 = !{!6, !10, i64 24}
!18 = !{!19, !20, i64 0}
!19 = !{!"_ZTSSt16initializer_listIfE", !20, i64 0, !21, i64 8}
!20 = !{!"any pointer", !11, i64 0}
!21 = !{!"long", !11, i64 0}
!22 = !{!19, !21, i64 8}


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