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

; 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::Mat4" = type { %union.anon }
%union.anon = type { [4 x [4 x float]] }
%"struct.rmg::Vec3" = type { %union.anon.0 }
%union.anon.0 = type { %struct.anon }
%struct.anon = type { float, float, float }
%"class.rmg::internal::Pending" = type { ptr, ptr }
%"class.rmg::Object3D" = type { %"class.rmg::Object", %"struct.rmg::Mat4", %"struct.rmg::Vec3", ptr, float, float, float, ptr, ptr, %"class.rmg::internal::Pending", ptr, ptr, %"class.rmg::internal::Pending" }
%"class.rmg::Object" = type { ptr, i64, ptr, %"struct.rmg::ColorRGBA", i8, i32 }
%"struct.rmg::ColorRGBA" = type { float, float, float, float }

@_ZTVN3rmg8Object3DE = external dso_local unnamed_addr constant { [5 x ptr] }, align 8

declare void @_ZN3rmg4Mat4C1Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3rmg8internal7PendingC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #2 align 2

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

; 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) #4

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

; 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 #1 align 2

; Function Attrs: nounwind
declare void @_ZN3rmg8internal7PendingD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) #6

declare void @_ZN3rmg6ObjectC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN3rmg8Object3DC2EOS0_(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr noundef nonnull align 8 dereferenceable(216) %1) unnamed_addr #7 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"struct.rmg::Mat4", align 4
  %6 = alloca %"struct.rmg::Mat4", align 4
  %7 = alloca %"struct.rmg::Vec3", align 4
  %8 = alloca %"struct.rmg::Vec3", align 4
  %9 = alloca { <2 x float>, float }, align 8
  %10 = alloca ptr, align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca %"class.rmg::internal::Pending", align 8
  %19 = alloca %"class.rmg::internal::Pending", align 8
  %20 = alloca %"class.rmg::internal::Pending", align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %21 = load ptr, ptr %3, align 8
  %22 = load ptr, ptr %4, align 8, !tbaa !5
  invoke void @_ZN3rmg6ObjectC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %21, ptr noundef nonnull align 8 dereferenceable(48) %22)
          to label %23 unwind label %88

23:                                               ; preds = %2
  store ptr getelementptr inbounds inrange(-16, 24) ({ [5 x ptr] }, ptr @_ZTVN3rmg8Object3DE, i32 0, i32 0, i32 2), ptr %21, align 8, !tbaa !9
  %24 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 1
  invoke void @_ZN3rmg4Mat4C1Ev(ptr noundef nonnull align 4 dereferenceable(64) %24)
          to label %25 unwind label %88

25:                                               ; preds = %23
  %26 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 2
  invoke void @_ZN3rmg4Vec3C2Ev(ptr noundef nonnull align 4 dereferenceable(12) %26)
          to label %27 unwind label %88

27:                                               ; preds = %25
  %28 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 3
  store ptr null, ptr %28, align 8, !tbaa !11
  %29 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 7
  store ptr null, ptr %29, align 8, !tbaa !22
  %30 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 8
  store ptr null, ptr %30, align 8, !tbaa !23
  %31 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 9
  call void @_ZN3rmg8internal7PendingC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %31) #10
  %32 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 10
  store ptr null, ptr %32, align 8, !tbaa !24
  %33 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 11
  store ptr null, ptr %33, align 8, !tbaa !25
  %34 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 12
  call void @_ZN3rmg8internal7PendingC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %34) #10
  call void @llvm.lifetime.start.p0(i64 64, ptr %5) #10
  %35 = load ptr, ptr %4, align 8, !tbaa !5
  %36 = getelementptr inbounds %"class.rmg::Object3D", ptr %35, i32 0, i32 1
  call void @llvm.lifetime.start.p0(i64 64, ptr %6) #10
  invoke void @_ZN3rmg4Mat4C1Ev(ptr noundef nonnull align 4 dereferenceable(64) %6)
          to label %37 unwind label %88

37:                                               ; preds = %27
  call void @_ZSt8exchangeIN3rmg4Mat4ES1_ET_RS2_OT0_(ptr dead_on_unwind writable sret(%"struct.rmg::Mat4") align 4 %5, ptr noundef nonnull align 4 dereferenceable(64) %36, ptr noundef nonnull align 4 dereferenceable(64) %6) #10
  %38 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %38, ptr align 4 %5, i64 64, i1 false), !tbaa.struct !26
  call void @llvm.lifetime.end.p0(i64 64, ptr %6) #10
  call void @llvm.lifetime.end.p0(i64 64, ptr %5) #10
  call void @llvm.lifetime.start.p0(i64 12, ptr %7) #10
  %39 = load ptr, ptr %4, align 8, !tbaa !5
  %40 = getelementptr inbounds %"class.rmg::Object3D", ptr %39, i32 0, i32 2
  call void @llvm.lifetime.start.p0(i64 12, ptr %8) #10
  invoke void @_ZN3rmg4Vec3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %8, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
          to label %41 unwind label %88

41:                                               ; preds = %37
  %42 = call { <2 x float>, float } @_ZSt8exchangeIN3rmg4Vec3ES1_ET_RS2_OT0_(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(12) %8) #10
  %43 = getelementptr inbounds %"struct.rmg::Vec3", ptr %7, i32 0, i32 0
  %44 = getelementptr inbounds %union.anon.0, ptr %43, i32 0, i32 0
  store { <2 x float>, float } %42, ptr %9, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %44, ptr align 8 %9, i64 12, i1 false)
  %45 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 2
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %45, ptr align 4 %7, i64 12, i1 false), !tbaa.struct !28
  call void @llvm.lifetime.end.p0(i64 12, ptr %8) #10
  call void @llvm.lifetime.end.p0(i64 12, ptr %7) #10
  %46 = load ptr, ptr %4, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.rmg::Object3D", ptr %46, i32 0, i32 3
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #10
  store ptr null, ptr %10, align 8, !tbaa !29
  %48 = call noundef ptr @_ZSt8exchangeIPN3rmg8MaterialEDnET_RS3_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %10) #10
  %49 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 3
  store ptr %48, ptr %49, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #10
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"class.rmg::Object3D", ptr %50, i32 0, i32 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #10
  store float 0.000000e+00, ptr %11, align 4, !tbaa !31
  %52 = call noundef float @_ZSt8exchangeIffET_RS0_OT0_(ptr noundef nonnull align 4 dereferenceable(4) %51, ptr noundef nonnull align 4 dereferenceable(4) %11) #10
  %53 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 4
  store float %52, ptr %53, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #10
  %54 = load ptr, ptr %4, align 8, !tbaa !5
  %55 = getelementptr inbounds %"class.rmg::Object3D", ptr %54, i32 0, i32 5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #10
  store float 0x3FE3333340000000, ptr %12, align 4, !tbaa !31
  %56 = call noundef float @_ZSt8exchangeIffET_RS0_OT0_(ptr noundef nonnull align 4 dereferenceable(4) %55, ptr noundef nonnull align 4 dereferenceable(4) %12) #10
  %57 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 5
  store float %56, ptr %57, align 4, !tbaa !33
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #10
  %58 = load ptr, ptr %4, align 8, !tbaa !5
  %59 = getelementptr inbounds %"class.rmg::Object3D", ptr %58, i32 0, i32 6
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #10
  store float 0x3FE3333340000000, ptr %13, align 4, !tbaa !31
  %60 = call noundef float @_ZSt8exchangeIffET_RS0_OT0_(ptr noundef nonnull align 4 dereferenceable(4) %59, ptr noundef nonnull align 4 dereferenceable(4) %13) #10
  %61 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 6
  store float %60, ptr %61, align 8, !tbaa !34
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #10
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %"class.rmg::Object3D", ptr %62, i32 0, i32 7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #10
  store ptr null, ptr %14, align 8, !tbaa !29
  %64 = call noundef ptr @_ZSt8exchangeIPN3rmg8internal3VBOEDnET_RS4_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %63, ptr noundef nonnull align 8 dereferenceable(8) %14) #10
  %65 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 7
  store ptr %64, ptr %65, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #10
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = getelementptr inbounds %"class.rmg::Object3D", ptr %66, i32 0, i32 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #10
  store ptr null, ptr %15, align 8, !tbaa !29
  %68 = call noundef ptr @_ZSt8exchangeIPjDnET_RS1_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %67, ptr noundef nonnull align 8 dereferenceable(8) %15) #10
  %69 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 8
  store ptr %68, ptr %69, align 8, !tbaa !23
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #10
  %70 = load ptr, ptr %4, align 8, !tbaa !5
  %71 = getelementptr inbounds %"class.rmg::Object3D", ptr %70, i32 0, i32 10
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #10
  store ptr null, ptr %16, align 8, !tbaa !29
  %72 = call noundef ptr @_ZSt8exchangeIPN3rmg8internal7TextureEDnET_RS4_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %71, ptr noundef nonnull align 8 dereferenceable(8) %16) #10
  %73 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 10
  store ptr %72, ptr %73, align 8, !tbaa !24
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #10
  %74 = load ptr, ptr %4, align 8, !tbaa !5
  %75 = getelementptr inbounds %"class.rmg::Object3D", ptr %74, i32 0, i32 11
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #10
  store ptr null, ptr %17, align 8, !tbaa !29
  %76 = call noundef ptr @_ZSt8exchangeIPjDnET_RS1_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %75, ptr noundef nonnull align 8 dereferenceable(8) %17) #10
  %77 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 11
  store ptr %76, ptr %77, align 8, !tbaa !25
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %18) #10
  call void @_ZN3rmg8internal7PendingC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %19) #10
  %78 = load ptr, ptr %4, align 8, !tbaa !5
  %79 = getelementptr inbounds %"class.rmg::Object3D", ptr %78, i32 0, i32 9
  invoke void @_ZSt8exchangeIN3rmg8internal7PendingERS2_ET_RS4_OT0_(ptr dead_on_unwind writable sret(%"class.rmg::internal::Pending") align 8 %19, ptr noundef nonnull align 8 dereferenceable(16) %79, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %80 unwind label %88

80:                                               ; preds = %41
  %81 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 9
  %82 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3rmg8internal7PendingaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16) %81, ptr noundef nonnull align 8 dereferenceable(16) %19) #10
  call void @_ZN3rmg8internal7PendingD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %19) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %19) #10
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #10
  %83 = load ptr, ptr %4, align 8, !tbaa !5
  %84 = getelementptr inbounds %"class.rmg::Object3D", ptr %83, i32 0, i32 12
  invoke void @_ZSt8exchangeIN3rmg8internal7PendingERS2_ET_RS4_OT0_(ptr dead_on_unwind writable sret(%"class.rmg::internal::Pending") align 8 %20, ptr noundef nonnull align 8 dereferenceable(16) %84, ptr noundef nonnull align 8 dereferenceable(16) %18)
          to label %85 unwind label %88

85:                                               ; preds = %80
  %86 = getelementptr inbounds %"class.rmg::Object3D", ptr %21, i32 0, i32 12
  %87 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3rmg8internal7PendingaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16) %86, ptr noundef nonnull align 8 dereferenceable(16) %20) #10
  call void @_ZN3rmg8internal7PendingD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %20) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #10
  call void @_ZN3rmg8internal7PendingD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %18) #10
  call void @llvm.lifetime.end.p0(i64 16, ptr %18) #10
  ret void

88:                                               ; preds = %80, %41, %37, %27, %25, %23, %2
  %89 = landingpad { ptr, i32 }
          catch ptr null
  %90 = extractvalue { ptr, i32 } %89, 0
  call void @__clang_call_terminate(ptr %90) #11
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt8exchangeIN3rmg4Mat4ES1_ET_RS2_OT0_(ptr dead_on_unwind noalias writable sret(%"struct.rmg::Mat4") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt8exchangeIPN3rmg8MaterialEDnET_RS3_OT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt8exchangeIffET_RS0_OT0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt8exchangeIPN3rmg8internal3VBOEDnET_RS4_OT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt8exchangeIPjDnET_RS1_OT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt8exchangeIPN3rmg8internal7TextureEDnET_RS4_OT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt8exchangeIN3rmg8internal7PendingERS2_ET_RS4_OT0_(ptr dead_on_unwind noalias writable sret(%"class.rmg::internal::Pending") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #9

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN3rmg8internal7PendingaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) #5

attributes #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 = { 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 #2 = { 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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noinline noreturn nounwind uwtable "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 = { mustprogress nounwind 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 #8 = { inlinehint mustprogress nounwind 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 #9 = { 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 #10 = { nounwind }
attributes #11 = { noreturn 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 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !6, i64 128}
!12 = !{!"_ZTSN3rmg8Object3DE", !13, i64 0, !19, i64 48, !20, i64 112, !6, i64 128, !16, i64 136, !16, i64 140, !16, i64 144, !6, i64 152, !6, i64 160, !21, i64 168, !6, i64 184, !6, i64 192, !21, i64 200}
!13 = !{!"_ZTSN3rmg6ObjectE", !14, i64 8, !6, i64 16, !15, i64 24, !17, i64 40, !18, i64 44}
!14 = !{!"long", !7, i64 0}
!15 = !{!"_ZTSN3rmg9ColorRGBAE", !16, i64 0, !16, i64 4, !16, i64 8, !16, i64 12}
!16 = !{!"float", !7, i64 0}
!17 = !{!"bool", !7, i64 0}
!18 = !{!"_ZTSN3rmg10ObjectTypeE", !7, i64 0}
!19 = !{!"_ZTSN3rmg4Mat4E", !7, i64 0}
!20 = !{!"_ZTSN3rmg4Vec3E", !7, i64 0}
!21 = !{!"_ZTSN3rmg8internal7PendingE", !6, i64 0, !6, i64 8}
!22 = !{!12, !6, i64 152}
!23 = !{!12, !6, i64 160}
!24 = !{!12, !6, i64 184}
!25 = !{!12, !6, i64 192}
!26 = !{i64 0, i64 64, !27}
!27 = !{!7, !7, i64 0}
!28 = !{i64 0, i64 12, !27}
!29 = !{!30, !30, i64 0}
!30 = !{!"std::nullptr_t", !7, i64 0}
!31 = !{!16, !16, i64 0}
!32 = !{!12, !16, i64 136}
!33 = !{!12, !16, i64 140}
!34 = !{!12, !16, i64 144}


; 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::Mat4" = type { %union.anon }
%union.anon = type { [4 x [4 x float]] }
%"struct.rmg::Vec3" = type { %union.anon.0 }
%union.anon.0 = type { %struct.anon }
%struct.anon = type { float, float, float }
%"class.rmg::internal::Pending" = type { ptr, ptr }

@_ZTVN3rmg8Object3DE = external dso_local unnamed_addr constant { [5 x ptr] }, align 8

declare void @_ZN3rmg4Mat4C1Ev(ptr noundef nonnull align 4 dereferenceable(64)) unnamed_addr #0

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN3rmg8internal7PendingC2Ev(ptr noundef nonnull align 8 dereferenceable(16)) 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: mustprogress 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) #4

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

; 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 #1 align 2

; Function Attrs: nounwind
declare void @_ZN3rmg8internal7PendingD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

; Function Attrs: noinline noreturn nounwind uwtable
declare hidden void @__clang_call_terminate(ptr noundef) local_unnamed_addr #6

declare void @_ZN3rmg6ObjectC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef nonnull align 8 dereferenceable(48)) unnamed_addr #0

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN3rmg8Object3DC2EOS0_(ptr noundef nonnull align 8 dereferenceable(216) %0, ptr noundef nonnull align 8 dereferenceable(216) %1) unnamed_addr #7 align 2 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"struct.rmg::Mat4", align 4
  %4 = alloca %"struct.rmg::Mat4", align 4
  %5 = alloca %"struct.rmg::Vec3", align 4
  %6 = alloca ptr, align 8
  %7 = alloca float, align 4
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"class.rmg::internal::Pending", align 8
  %15 = alloca %"class.rmg::internal::Pending", align 8
  %16 = alloca %"class.rmg::internal::Pending", align 8
  invoke void @_ZN3rmg6ObjectC2ERKS0_(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %1)
          to label %17 unwind label %57

17:                                               ; preds = %2
  store ptr getelementptr inbounds inrange(-16, 24) (i8, ptr @_ZTVN3rmg8Object3DE, i64 16), ptr %0, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %0, i64 48
  invoke void @_ZN3rmg4Mat4C1Ev(ptr noundef nonnull align 4 dereferenceable(64) %18)
          to label %19 unwind label %57

19:                                               ; preds = %17
  %20 = getelementptr inbounds i8, ptr %0, i64 112
  tail call void @_ZN3rmg4Vec3C2Ev(ptr noundef nonnull align 4 dereferenceable(12) %20)
  %21 = getelementptr inbounds i8, ptr %0, i64 128
  store ptr null, ptr %21, align 8, !tbaa !8
  %22 = getelementptr inbounds i8, ptr %0, i64 152
  %23 = getelementptr inbounds i8, ptr %0, i64 168
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %22, i8 0, i64 16, i1 false)
  tail call void @_ZN3rmg8internal7PendingC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %23) #11
  %24 = getelementptr inbounds i8, ptr %0, i64 184
  %25 = getelementptr inbounds i8, ptr %0, i64 200
  tail call void @llvm.memset.p0.i64(ptr noundef nonnull align 8 dereferenceable(16) %24, i8 0, i64 16, i1 false)
  tail call void @_ZN3rmg8internal7PendingC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %25) #11
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #11
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #11
  invoke void @_ZN3rmg4Mat4C1Ev(ptr noundef nonnull align 4 dereferenceable(64) %4)
          to label %26 unwind label %57

26:                                               ; preds = %19
  %27 = getelementptr inbounds i8, ptr %0, i64 192
  %28 = getelementptr inbounds i8, ptr %0, i64 160
  %29 = getelementptr inbounds i8, ptr %1, i64 48
  call void @_ZSt8exchangeIN3rmg4Mat4ES1_ET_RS2_OT0_(ptr dead_on_unwind nonnull writable sret(%"struct.rmg::Mat4") align 4 %3, ptr noundef nonnull align 4 dereferenceable(64) %29, ptr noundef nonnull align 4 dereferenceable(64) %4) #11
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %18, ptr noundef nonnull align 4 dereferenceable(64) %3, i64 64, i1 false), !tbaa.struct !21
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #11
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #11
  %30 = getelementptr inbounds i8, ptr %1, i64 112
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #11
  call void @_ZN3rmg4Vec3C2Efff(ptr noundef nonnull align 4 dereferenceable(12) %5, float noundef 1.000000e+00, float noundef 1.000000e+00, float noundef 1.000000e+00)
  %31 = call { <2 x float>, float } @_ZSt8exchangeIN3rmg4Vec3ES1_ET_RS2_OT0_(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(12) %5) #11
  %.fca.0.extract = extractvalue { <2 x float>, float } %31, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %31, 1
  store <2 x float> %.fca.0.extract, ptr %20, align 8
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 120
  store float %.fca.1.extract, ptr %.sroa.4.0..sroa_idx, align 8, !tbaa !22
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #11
  %32 = getelementptr inbounds i8, ptr %1, i64 128
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #11
  store ptr null, ptr %6, align 8, !tbaa !23
  %33 = call noundef ptr @_ZSt8exchangeIPN3rmg8MaterialEDnET_RS3_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %6) #11
  store ptr %33, ptr %21, align 8, !tbaa !8
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #11
  %34 = getelementptr inbounds i8, ptr %1, i64 136
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %7) #11
  store float 0.000000e+00, ptr %7, align 4, !tbaa !25
  %35 = call noundef float @_ZSt8exchangeIffET_RS0_OT0_(ptr noundef nonnull align 4 dereferenceable(4) %34, ptr noundef nonnull align 4 dereferenceable(4) %7) #11
  %36 = getelementptr inbounds i8, ptr %0, i64 136
  store float %35, ptr %36, align 8, !tbaa !26
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %7) #11
  %37 = getelementptr inbounds i8, ptr %1, i64 140
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #11
  store float 0x3FE3333340000000, ptr %8, align 4, !tbaa !25
  %38 = call noundef float @_ZSt8exchangeIffET_RS0_OT0_(ptr noundef nonnull align 4 dereferenceable(4) %37, ptr noundef nonnull align 4 dereferenceable(4) %8) #11
  %39 = getelementptr inbounds i8, ptr %0, i64 140
  store float %38, ptr %39, align 4, !tbaa !27
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #11
  %40 = getelementptr inbounds i8, ptr %1, i64 144
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %9) #11
  store float 0x3FE3333340000000, ptr %9, align 4, !tbaa !25
  %41 = call noundef float @_ZSt8exchangeIffET_RS0_OT0_(ptr noundef nonnull align 4 dereferenceable(4) %40, ptr noundef nonnull align 4 dereferenceable(4) %9) #11
  %42 = getelementptr inbounds i8, ptr %0, i64 144
  store float %41, ptr %42, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %9) #11
  %43 = getelementptr inbounds i8, ptr %1, i64 152
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #11
  store ptr null, ptr %10, align 8, !tbaa !23
  %44 = call noundef ptr @_ZSt8exchangeIPN3rmg8internal3VBOEDnET_RS4_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %43, ptr noundef nonnull align 8 dereferenceable(8) %10) #11
  store ptr %44, ptr %22, align 8, !tbaa !29
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #11
  %45 = getelementptr inbounds i8, ptr %1, i64 160
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #11
  store ptr null, ptr %11, align 8, !tbaa !23
  %46 = call noundef ptr @_ZSt8exchangeIPjDnET_RS1_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %45, ptr noundef nonnull align 8 dereferenceable(8) %11) #11
  store ptr %46, ptr %28, align 8, !tbaa !30
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #11
  %47 = getelementptr inbounds i8, ptr %1, i64 184
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %12) #11
  store ptr null, ptr %12, align 8, !tbaa !23
  %48 = call noundef ptr @_ZSt8exchangeIPN3rmg8internal7TextureEDnET_RS4_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %47, ptr noundef nonnull align 8 dereferenceable(8) %12) #11
  store ptr %48, ptr %24, align 8, !tbaa !31
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %12) #11
  %49 = getelementptr inbounds i8, ptr %1, i64 192
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #11
  store ptr null, ptr %13, align 8, !tbaa !23
  %50 = call noundef ptr @_ZSt8exchangeIPjDnET_RS1_OT0_(ptr noundef nonnull align 8 dereferenceable(8) %49, ptr noundef nonnull align 8 dereferenceable(8) %13) #11
  store ptr %50, ptr %27, align 8, !tbaa !32
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14) #11
  call void @_ZN3rmg8internal7PendingC2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15) #11
  %51 = getelementptr inbounds i8, ptr %1, i64 168
  invoke void @_ZSt8exchangeIN3rmg8internal7PendingERS2_ET_RS4_OT0_(ptr dead_on_unwind nonnull writable sret(%"class.rmg::internal::Pending") align 8 %15, ptr noundef nonnull align 8 dereferenceable(16) %51, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %52 unwind label %57

52:                                               ; preds = %26
  %53 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3rmg8internal7PendingaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr noundef nonnull align 8 dereferenceable(16) %15) #11
  call void @_ZN3rmg8internal7PendingD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %15) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %15) #11
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16) #11
  %54 = getelementptr inbounds i8, ptr %1, i64 200
  invoke void @_ZSt8exchangeIN3rmg8internal7PendingERS2_ET_RS4_OT0_(ptr dead_on_unwind nonnull writable sret(%"class.rmg::internal::Pending") align 8 %16, ptr noundef nonnull align 8 dereferenceable(16) %54, ptr noundef nonnull align 8 dereferenceable(16) %14)
          to label %55 unwind label %57

55:                                               ; preds = %52
  %56 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZN3rmg8internal7PendingaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16) %25, ptr noundef nonnull align 8 dereferenceable(16) %16) #11
  call void @_ZN3rmg8internal7PendingD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %16) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %16) #11
  call void @_ZN3rmg8internal7PendingD1Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #11
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %14) #11
  ret void

57:                                               ; preds = %52, %26, %19, %17, %2
  %58 = landingpad { ptr, i32 }
          catch ptr null
  %59 = extractvalue { ptr, i32 } %58, 0
  call void @__clang_call_terminate(ptr %59) #12
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZSt8exchangeIN3rmg4Mat4ES1_ET_RS2_OT0_(ptr dead_on_unwind noalias writable sret(%"struct.rmg::Mat4") align 4, ptr noundef nonnull align 4 dereferenceable(64), ptr noundef nonnull align 4 dereferenceable(64)) local_unnamed_addr #1

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt8exchangeIPN3rmg8MaterialEDnET_RS3_OT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt8exchangeIffET_RS0_OT0_(ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt8exchangeIPN3rmg8internal3VBOEDnET_RS4_OT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt8exchangeIPjDnET_RS1_OT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZSt8exchangeIPN3rmg8internal7TextureEDnET_RS4_OT0_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #1

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt8exchangeIN3rmg8internal7PendingERS2_ET_RS4_OT0_(ptr dead_on_unwind noalias writable sret(%"class.rmg::internal::Pending") align 8, ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #9

; Function Attrs: nounwind
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZN3rmg8internal7PendingaSEOS1_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 8 dereferenceable(16)) local_unnamed_addr #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #10

attributes #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 = { 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 #2 = { 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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #5 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { noinline noreturn nounwind uwtable "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 = { mustprogress nounwind 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 #8 = { inlinehint mustprogress nounwind 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 #9 = { 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 #10 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #11 = { nounwind }
attributes #12 = { noreturn 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !13, i64 128}
!9 = !{!"_ZTSN3rmg8Object3DE", !10, i64 0, !18, i64 48, !19, i64 112, !13, i64 128, !15, i64 136, !15, i64 140, !15, i64 144, !13, i64 152, !13, i64 160, !20, i64 168, !13, i64 184, !13, i64 192, !20, i64 200}
!10 = !{!"_ZTSN3rmg6ObjectE", !11, i64 8, !13, i64 16, !14, i64 24, !16, i64 40, !17, i64 44}
!11 = !{!"long", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"any pointer", !12, i64 0}
!14 = !{!"_ZTSN3rmg9ColorRGBAE", !15, i64 0, !15, i64 4, !15, i64 8, !15, i64 12}
!15 = !{!"float", !12, i64 0}
!16 = !{!"bool", !12, i64 0}
!17 = !{!"_ZTSN3rmg10ObjectTypeE", !12, i64 0}
!18 = !{!"_ZTSN3rmg4Mat4E", !12, i64 0}
!19 = !{!"_ZTSN3rmg4Vec3E", !12, i64 0}
!20 = !{!"_ZTSN3rmg8internal7PendingE", !13, i64 0, !13, i64 8}
!21 = !{i64 0, i64 64, !22}
!22 = !{!12, !12, i64 0}
!23 = !{!24, !24, i64 0}
!24 = !{!"std::nullptr_t", !12, i64 0}
!25 = !{!15, !15, i64 0}
!26 = !{!9, !15, i64 136}
!27 = !{!9, !15, i64 140}
!28 = !{!9, !15, i64 144}
!29 = !{!9, !13, i64 152}
!30 = !{!9, !13, i64 160}
!31 = !{!9, !13, i64 184}
!32 = !{!9, !13, i64 192}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,MemCpyOptPass,SROAPass,SimplifyCFGPass,TailCallElimPass