; LLVM IR from achilles288/robot-monitor-graphics :: src/base/line3d.ll (ZN3rmg6Line3D15calculateMatrixEv)

; 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.rmg::Vec3" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.rmg::Vec2" = type { %union.anon.1 }
%union.anon.1 = type { %struct.anon.2 }
%struct.anon.2 = type { float, float }
%"struct.rmg::Mat3" = type { %union.anon.3 }
%union.anon.3 = type { [3 x [3 x float]] }
%"struct.rmg::Euler" = type { float, float, float }
%"class.rmg::Line3D" = type { %"class.rmg::Object", %"struct.rmg::Vec3", float, %"struct.rmg::Mat4" }
%"class.rmg::Object" = type { ptr, i64, ptr, %"struct.rmg::ColorRGBA", i8, i32 }
%"struct.rmg::ColorRGBA" = type { float, float, float, float }
%"struct.rmg::Mat4" = type { %union.anon.0 }
%union.anon.0 = type { [4 x [4 x float]] }

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64), i8 noundef zeroext) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16), i8 noundef zeroext) #0 align 2

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3rmg6Line3D15calculateMatrixEv(ptr noundef nonnull align 8 dereferenceable(128) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca %"struct.rmg::Vec3", align 4
  %4 = alloca %"struct.rmg::Vec3", align 4
  %5 = alloca { <2 x float>, float }, align 8
  %6 = alloca float, align 4
  %7 = alloca float, align 4
  %8 = alloca %"struct.rmg::Vec2", align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca %"struct.rmg::Mat3", align 4
  %12 = alloca %"struct.rmg::Euler", align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  %13 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %3) #8
  %14 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %15 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %14, i8 noundef zeroext 0)
  %16 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %15, i8 noundef zeroext 3)
  %17 = load float, ptr %16, align 4, !tbaa !9
  %18 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %19 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %18, i8 noundef zeroext 1)
  %20 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %19, i8 noundef zeroext 3)
  %21 = load float, ptr %20, align 4, !tbaa !9
  %22 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %23 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %22, i8 noundef zeroext 2)
  %24 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %23, i8 noundef zeroext 3)
  %25 = load float, ptr %24, align 4, !tbaa !9
  call void @_ZN3rmg4Vec3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %3, float noundef %17, float noundef %21, float noundef %25)
  call void @llvm.lifetime.start.p0(i64 12, ptr %4) #8
  %26 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 1
  %27 = call { <2 x float>, float } @_ZNK3rmg4Vec3miERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %26, ptr noundef nonnull align 4 dereferenceable(12) %3)
  %28 = getelementptr inbounds %"struct.rmg::Vec3", ptr %4, i32 0, i32 0
  %29 = getelementptr inbounds %union.anon, ptr %28, i32 0, i32 0
  store { <2 x float>, float } %27, ptr %5, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %29, ptr align 8 %5, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #8
  %30 = call noundef float @_ZNK3rmg4Vec39magnitudeEv(ptr noundef nonnull align 4 dereferenceable(12) %4)
  store float %30, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %31 = call <2 x float> @_ZNK3rmg4Vec3cvNS_4Vec2EEv(ptr noundef nonnull align 4 dereferenceable(12) %4)
  %32 = getelementptr inbounds %"struct.rmg::Vec2", ptr %8, i32 0, i32 0
  %33 = getelementptr inbounds %union.anon.1, ptr %32, i32 0, i32 0
  store <2 x float> %31, ptr %33, align 4
  %34 = call noundef float @_ZNK3rmg4Vec29magnitudeEv(ptr noundef nonnull align 4 dereferenceable(8) %8)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  store float %34, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #8
  %35 = getelementptr inbounds %"struct.rmg::Vec3", ptr %4, i32 0, i32 0
  %36 = getelementptr inbounds %struct.anon, ptr %35, i32 0, i32 1
  %37 = load float, ptr %36, align 4, !tbaa !11
  %38 = fpext float %37 to double
  %39 = getelementptr inbounds %"struct.rmg::Vec3", ptr %4, i32 0, i32 0
  %40 = getelementptr inbounds %struct.anon, ptr %39, i32 0, i32 0
  %41 = load float, ptr %40, align 4, !tbaa !11
  %42 = fpext float %41 to double
  %43 = call double @atan2(double noundef %38, double noundef %42) #8
  %44 = fptrunc double %43 to float
  store float %44, ptr %9, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  %45 = getelementptr inbounds %"struct.rmg::Vec3", ptr %4, i32 0, i32 0
  %46 = getelementptr inbounds %struct.anon, ptr %45, i32 0, i32 2
  %47 = load float, ptr %46, align 4, !tbaa !11
  %48 = load float, ptr %7, align 4, !tbaa !9
  %49 = fdiv float %47, %48
  %50 = fpext float %49 to double
  %51 = call double @atan(double noundef %50) #8
  %52 = fneg double %51
  %53 = fptrunc double %52 to float
  store float %53, ptr %10, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 36, ptr %11) #8
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #8
  %54 = load float, ptr %10, align 4, !tbaa !9
  %55 = load float, ptr %9, align 4, !tbaa !9
  call void @_ZN3rmg5EulerC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %12, float noundef 0.000000e+00, float noundef %54, float noundef %55)
  call void @_ZNK3rmg5Euler16toRotationMatrixEv(ptr dead_on_unwind writable sret(%"struct.rmg::Mat3") align 4 %11, ptr noundef nonnull align 4 dereferenceable(12) %12)
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #8
  %56 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 0)
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %56, i8 noundef zeroext 0)
  %58 = load float, ptr %57, align 4, !tbaa !9
  %59 = load float, ptr %6, align 4, !tbaa !9
  %60 = fmul float %58, %59
  %61 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %62 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %61, i8 noundef zeroext 0)
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %62, i8 noundef zeroext 0)
  store float %60, ptr %63, align 4, !tbaa !9
  %64 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 0)
  %65 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %64, i8 noundef zeroext 1)
  %66 = load float, ptr %65, align 4, !tbaa !9
  %67 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 2
  %68 = load float, ptr %67, align 4, !tbaa !12
  %69 = fmul float %66, %68
  %70 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %71 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %70, i8 noundef zeroext 0)
  %72 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %71, i8 noundef zeroext 1)
  store float %69, ptr %72, align 4, !tbaa !9
  %73 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 0)
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %73, i8 noundef zeroext 2)
  %75 = load float, ptr %74, align 4, !tbaa !9
  %76 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 2
  %77 = load float, ptr %76, align 4, !tbaa !12
  %78 = fmul float %75, %77
  %79 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %80 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %79, i8 noundef zeroext 0)
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %80, i8 noundef zeroext 2)
  store float %78, ptr %81, align 4, !tbaa !9
  %82 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 1)
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %82, i8 noundef zeroext 0)
  %84 = load float, ptr %83, align 4, !tbaa !9
  %85 = load float, ptr %6, align 4, !tbaa !9
  %86 = fmul float %84, %85
  %87 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %88 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %87, i8 noundef zeroext 1)
  %89 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %88, i8 noundef zeroext 0)
  store float %86, ptr %89, align 4, !tbaa !9
  %90 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 1)
  %91 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %90, i8 noundef zeroext 1)
  %92 = load float, ptr %91, align 4, !tbaa !9
  %93 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 2
  %94 = load float, ptr %93, align 4, !tbaa !12
  %95 = fmul float %92, %94
  %96 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %97 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %96, i8 noundef zeroext 1)
  %98 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %97, i8 noundef zeroext 1)
  store float %95, ptr %98, align 4, !tbaa !9
  %99 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 1)
  %100 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %99, i8 noundef zeroext 2)
  %101 = load float, ptr %100, align 4, !tbaa !9
  %102 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 2
  %103 = load float, ptr %102, align 4, !tbaa !12
  %104 = fmul float %101, %103
  %105 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %106 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %105, i8 noundef zeroext 1)
  %107 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %106, i8 noundef zeroext 2)
  store float %104, ptr %107, align 4, !tbaa !9
  %108 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 2)
  %109 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %108, i8 noundef zeroext 0)
  %110 = load float, ptr %109, align 4, !tbaa !9
  %111 = load float, ptr %6, align 4, !tbaa !9
  %112 = fmul float %110, %111
  %113 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %114 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %113, i8 noundef zeroext 2)
  %115 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %114, i8 noundef zeroext 0)
  store float %112, ptr %115, align 4, !tbaa !9
  %116 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 2)
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %116, i8 noundef zeroext 1)
  %118 = load float, ptr %117, align 4, !tbaa !9
  %119 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 2
  %120 = load float, ptr %119, align 4, !tbaa !12
  %121 = fmul float %118, %120
  %122 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %123 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %122, i8 noundef zeroext 2)
  %124 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %123, i8 noundef zeroext 1)
  store float %121, ptr %124, align 4, !tbaa !9
  %125 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %11, i8 noundef zeroext 2)
  %126 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %125, i8 noundef zeroext 2)
  %127 = load float, ptr %126, align 4, !tbaa !9
  %128 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 2
  %129 = load float, ptr %128, align 4, !tbaa !12
  %130 = fmul float %127, %129
  %131 = getelementptr inbounds %"class.rmg::Line3D", ptr %13, i32 0, i32 3
  %132 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %131, i8 noundef zeroext 2)
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %132, i8 noundef zeroext 2)
  store float %130, ptr %133, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 36, ptr %11) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %4) #8
  call void @llvm.lifetime.end.p0(i64 12, ptr %3) #8
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3rmg4Vec3C2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #3 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK3rmg4Vec3miERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3rmg4Vec39magnitudeEv(ptr noundef nonnull align 4 dereferenceable(12)) #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZNK3rmg4Vec3cvNS_4Vec2EEv(ptr noundef nonnull align 4 dereferenceable(12)) #5 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3rmg4Vec29magnitudeEv(ptr noundef nonnull align 4 dereferenceable(8)) #3 align 2

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

; Function Attrs: nounwind
declare double @atan2(double noundef, double noundef) #6

; Function Attrs: nounwind
declare double @atan(double noundef) #6

declare void @_ZN3rmg5EulerC1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #7

declare void @_ZNK3rmg5Euler16toRotationMatrixEv(ptr dead_on_unwind writable sret(%"struct.rmg::Mat3") align 4, ptr noundef nonnull align 4 dereferenceable(12)) #7

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36), i8 noundef zeroext) #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12), i8 noundef zeroext) #0 align 2

attributes #0 = { 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 #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { inlinehint mustprogress 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 #4 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 "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 #7 = { "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 #8 = { 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 = !{!7, !7, i64 0}
!12 = !{!13, !10, i64 60}
!13 = !{!"_ZTSN3rmg6Line3DE", !14, i64 0, !19, i64 48, !10, i64 60, !20, i64 64}
!14 = !{!"_ZTSN3rmg6ObjectE", !15, i64 8, !6, i64 16, !16, i64 24, !17, i64 40, !18, i64 44}
!15 = !{!"long", !7, i64 0}
!16 = !{!"_ZTSN3rmg9ColorRGBAE", !10, i64 0, !10, i64 4, !10, i64 8, !10, i64 12}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN3rmg10ObjectTypeE", !7, i64 0}
!19 = !{!"_ZTSN3rmg4Vec3E", !7, i64 0}
!20 = !{!"_ZTSN3rmg4Mat4E", !7, i64 0}


; 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.rmg::Vec3" = type { %union.anon }
%union.anon = type { %struct.anon }
%struct.anon = type { float, float, float }
%"struct.rmg::Vec2" = type { %union.anon.1 }
%union.anon.1 = type { %struct.anon.2 }
%struct.anon.2 = type { float, float }
%"struct.rmg::Mat3" = type { %union.anon.3 }
%union.anon.3 = type { [3 x [3 x float]] }
%"struct.rmg::Euler" = type { float, float, float }

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64), i8 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16), i8 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN3rmg6Line3D15calculateMatrixEv(ptr noundef nonnull align 8 dereferenceable(128) %0) local_unnamed_addr #1 align 2 {
  %2 = alloca %"struct.rmg::Vec3", align 4
  %3 = alloca %"struct.rmg::Vec3", align 8
  %4 = alloca %"struct.rmg::Vec2", align 8
  %5 = alloca %"struct.rmg::Mat3", align 4
  %6 = alloca %"struct.rmg::Euler", align 4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %2) #7
  %7 = getelementptr inbounds i8, ptr %0, i64 64
  %8 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 0)
  %9 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %8, i8 noundef zeroext 3)
  %10 = load float, ptr %9, align 4, !tbaa !5
  %11 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 1)
  %12 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %11, i8 noundef zeroext 3)
  %13 = load float, ptr %12, align 4, !tbaa !5
  %14 = tail call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 2)
  %15 = tail call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %14, i8 noundef zeroext 3)
  %16 = load float, ptr %15, align 4, !tbaa !5
  call void @_ZN3rmg4Vec3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %2, float noundef %10, float noundef %13, float noundef %16)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #7
  %17 = getelementptr inbounds i8, ptr %0, i64 48
  %18 = call { <2 x float>, float } @_ZNK3rmg4Vec3miERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %17, ptr noundef nonnull align 4 dereferenceable(12) %2)
  %.fca.0.extract = extractvalue { <2 x float>, float } %18, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %18, 1
  store <2 x float> %.fca.0.extract, ptr %3, align 8
  %.sroa.2.0..sroa_idx = getelementptr inbounds i8, ptr %3, i64 8
  store float %.fca.1.extract, ptr %.sroa.2.0..sroa_idx, align 8
  %19 = call noundef float @_ZNK3rmg4Vec39magnitudeEv(ptr noundef nonnull align 4 dereferenceable(12) %3)
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #7
  %20 = call <2 x float> @_ZNK3rmg4Vec3cvNS_4Vec2EEv(ptr noundef nonnull align 4 dereferenceable(12) %3)
  store <2 x float> %20, ptr %4, align 8
  %21 = call noundef float @_ZNK3rmg4Vec29magnitudeEv(ptr noundef nonnull align 4 dereferenceable(8) %4)
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #7
  %22 = getelementptr inbounds i8, ptr %3, i64 4
  %23 = load float, ptr %22, align 4, !tbaa !9
  %24 = fpext float %23 to double
  %25 = load float, ptr %3, align 8, !tbaa !9
  %26 = fpext float %25 to double
  %27 = call double @atan2(double noundef %24, double noundef %26) #7
  %28 = fptrunc double %27 to float
  %29 = load float, ptr %.sroa.2.0..sroa_idx, align 8, !tbaa !9
  %30 = fdiv float %29, %21
  %31 = fpext float %30 to double
  %32 = call double @atan(double noundef %31) #7
  %33 = fptrunc double %32 to float
  %34 = fneg float %33
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %5) #7
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #7
  call void @_ZN3rmg5EulerC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef 0.000000e+00, float noundef %34, float noundef %28)
  call void @_ZNK3rmg5Euler16toRotationMatrixEv(ptr dead_on_unwind nonnull writable sret(%"struct.rmg::Mat3") align 4 %5, ptr noundef nonnull align 4 dereferenceable(12) %6)
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #7
  %35 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 0)
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %35, i8 noundef zeroext 0)
  %37 = load float, ptr %36, align 4, !tbaa !5
  %38 = fmul float %19, %37
  %39 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 0)
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %39, i8 noundef zeroext 0)
  store float %38, ptr %40, align 4, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 0)
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %41, i8 noundef zeroext 1)
  %43 = load float, ptr %42, align 4, !tbaa !5
  %44 = getelementptr inbounds i8, ptr %0, i64 60
  %45 = load float, ptr %44, align 4, !tbaa !10
  %46 = fmul float %43, %45
  %47 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 0)
  %48 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %47, i8 noundef zeroext 1)
  store float %46, ptr %48, align 4, !tbaa !5
  %49 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 0)
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %49, i8 noundef zeroext 2)
  %51 = load float, ptr %50, align 4, !tbaa !5
  %52 = load float, ptr %44, align 4, !tbaa !10
  %53 = fmul float %51, %52
  %54 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 0)
  %55 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %54, i8 noundef zeroext 2)
  store float %53, ptr %55, align 4, !tbaa !5
  %56 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 1)
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %56, i8 noundef zeroext 0)
  %58 = load float, ptr %57, align 4, !tbaa !5
  %59 = fmul float %19, %58
  %60 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 1)
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %60, i8 noundef zeroext 0)
  store float %59, ptr %61, align 4, !tbaa !5
  %62 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 1)
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %62, i8 noundef zeroext 1)
  %64 = load float, ptr %63, align 4, !tbaa !5
  %65 = load float, ptr %44, align 4, !tbaa !10
  %66 = fmul float %64, %65
  %67 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 1)
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %67, i8 noundef zeroext 1)
  store float %66, ptr %68, align 4, !tbaa !5
  %69 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 1)
  %70 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %69, i8 noundef zeroext 2)
  %71 = load float, ptr %70, align 4, !tbaa !5
  %72 = load float, ptr %44, align 4, !tbaa !10
  %73 = fmul float %71, %72
  %74 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 1)
  %75 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %74, i8 noundef zeroext 2)
  store float %73, ptr %75, align 4, !tbaa !5
  %76 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 2)
  %77 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %76, i8 noundef zeroext 0)
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = fmul float %19, %78
  %80 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 2)
  %81 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %80, i8 noundef zeroext 0)
  store float %79, ptr %81, align 4, !tbaa !5
  %82 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 2)
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %82, i8 noundef zeroext 1)
  %84 = load float, ptr %83, align 4, !tbaa !5
  %85 = load float, ptr %44, align 4, !tbaa !10
  %86 = fmul float %84, %85
  %87 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 2)
  %88 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %87, i8 noundef zeroext 1)
  store float %86, ptr %88, align 4, !tbaa !5
  %89 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36) %5, i8 noundef zeroext 2)
  %90 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12) %89, i8 noundef zeroext 2)
  %91 = load float, ptr %90, align 4, !tbaa !5
  %92 = load float, ptr %44, align 4, !tbaa !10
  %93 = fmul float %91, %92
  %94 = call noundef nonnull align 4 dereferenceable(16) ptr @_ZN3rmg4Mat4ixEh(ptr noundef nonnull align 4 dereferenceable(64) %7, i8 noundef zeroext 2)
  %95 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat4RowixEh(ptr noundef nonnull align 4 dereferenceable(16) %94, i8 noundef zeroext 2)
  store float %93, ptr %95, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %5) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #7
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %2) #7
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN3rmg4Vec3C2Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZNK3rmg4Vec3miERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3rmg4Vec39magnitudeEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local <2 x float> @_ZNK3rmg4Vec3cvNS_4Vec2EEv(ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZNK3rmg4Vec29magnitudeEv(ptr noundef nonnull align 4 dereferenceable(8)) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @atan2(double noundef, double noundef) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @atan(double noundef) local_unnamed_addr #5

declare void @_ZN3rmg5EulerC1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #6

declare void @_ZNK3rmg5Euler16toRotationMatrixEv(ptr dead_on_unwind writable sret(%"struct.rmg::Mat3") align 4, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #6

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN3rmg4Mat3ixEh(ptr noundef nonnull align 4 dereferenceable(36), i8 noundef zeroext) local_unnamed_addr #0 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN3rmg7Mat3RowixEh(ptr noundef nonnull align 4 dereferenceable(12), i8 noundef zeroext) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { mustprogress uwtable "min-legal-vector-width"="64" "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 = { inlinehint mustprogress 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 #3 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { inlinehint mustprogress uwtable "min-legal-vector-width"="64" "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 #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" }
attributes #6 = { "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 #7 = { 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 = !{!7, !7, i64 0}
!10 = !{!11, !6, i64 60}
!11 = !{!"_ZTSN3rmg6Line3DE", !12, i64 0, !18, i64 48, !6, i64 60, !19, i64 64}
!12 = !{!"_ZTSN3rmg6ObjectE", !13, i64 8, !14, i64 16, !15, i64 24, !16, i64 40, !17, i64 44}
!13 = !{!"long", !7, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = !{!"_ZTSN3rmg9ColorRGBAE", !6, i64 0, !6, i64 4, !6, i64 8, !6, i64 12}
!16 = !{!"bool", !7, i64 0}
!17 = !{!"_ZTSN3rmg10ObjectTypeE", !7, i64 0}
!18 = !{!"_ZTSN3rmg4Vec3E", !7, i64 0}
!19 = !{!"_ZTSN3rmg4Mat4E", !7, i64 0}


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