; LLVM IR from merpheus-dev/LavaEngine :: src/Platforms/OpenGL (GLBatchedRenderer)

; 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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Lava::OpenGL::GLShader *, std::allocator<Lava::OpenGL::GLShader *>>::_Vector_impl" }
%"struct.std::_Vector_base<Lava::OpenGL::GLShader *, std::allocator<Lava::OpenGL::GLShader *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Lava::OpenGL::GLShader *, std::allocator<Lava::OpenGL::GLShader *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Lava::OpenGL::GLShader *, std::allocator<Lava::OpenGL::GLShader *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.Lava::BatchedRenderer" = type { ptr, %"class.std::map", ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<Lava::MeshRenderer *, std::pair<Lava::MeshRenderer *const, std::vector<Lava::Entity *> *>, std::_Select1st<std::pair<Lava::MeshRenderer *const, std::vector<Lava::Entity *> *>>, std::less<Lava::MeshRenderer *>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<Lava::MeshRenderer *, std::pair<Lava::MeshRenderer *const, std::vector<Lava::Entity *> *>, std::_Select1st<std::pair<Lava::MeshRenderer *const, std::vector<Lava::Entity *> *>>, std::less<Lava::MeshRenderer *>>::_Rb_tree_impl" = type { [8 x i8], %"struct.std::_Rb_tree_header" }
%"struct.std::_Rb_tree_header" = type { %"struct.std::_Rb_tree_node_base", i64 }
%"struct.std::_Rb_tree_node_base" = type { i32, ptr, ptr, ptr }

@_ZTVN4Lava6OpenGL17GLBatchedRendererE = external dso_local unnamed_addr constant { [6 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Lava6OpenGL17GLBatchedRendererC2EPNS_5SceneESt6vectorIPNS0_8GLShaderESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::vector", align 8
  %10 = alloca i1, align 1
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %11 = load ptr, ptr %4, align 8
  call void @_ZN4Lava15BatchedRendererC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #6
  store ptr getelementptr inbounds inrange(-16, 32) ({ [6 x ptr] }, ptr @_ZTVN4Lava6OpenGL17GLBatchedRendererE, i32 0, i32 0, i32 2), ptr %11, align 8, !tbaa !9
  %12 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 48) #7
          to label %13 unwind label %42

13:                                               ; preds = %3
  store i1 true, ptr %10, align 1
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  invoke void @_ZNSt6vectorIPN4Lava6OpenGL8GLShaderESaIS3_EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %15 unwind label %46

15:                                               ; preds = %13
  invoke void @_ZN4Lava6OpenGL10GLRendererC1EPNS_5SceneESt6vectorIPNS0_8GLShaderESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(48) %12, ptr noundef %14, ptr noundef %9)
          to label %16 unwind label %50

16:                                               ; preds = %15
  store i1 false, ptr %10, align 1
  %17 = getelementptr inbounds %"class.Lava::BatchedRenderer", ptr %11, i32 0, i32 2
  store ptr %12, ptr %17, align 8, !tbaa !11
  call void @_ZNSt6vectorIPN4Lava6OpenGL8GLShaderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  %18 = getelementptr inbounds %"class.Lava::BatchedRenderer", ptr %11, i32 0, i32 2
  %19 = load ptr, ptr %18, align 8, !tbaa !11
  %20 = load ptr, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds ptr, ptr %20, i64 5
  %22 = load ptr, ptr %21, align 8
  invoke void %22(ptr noundef nonnull align 8 dereferenceable(16) %19, i32 noundef 0, ptr noundef @.str)
          to label %23 unwind label %42

23:                                               ; preds = %16
  %24 = getelementptr inbounds %"class.Lava::BatchedRenderer", ptr %11, i32 0, i32 2
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  %26 = load ptr, ptr %25, align 8, !tbaa !9
  %27 = getelementptr inbounds ptr, ptr %26, i64 5
  %28 = load ptr, ptr %27, align 8
  invoke void %28(ptr noundef nonnull align 8 dereferenceable(16) %25, i32 noundef 1, ptr noundef @.str.1)
          to label %29 unwind label %42

29:                                               ; preds = %23
  %30 = getelementptr inbounds %"class.Lava::BatchedRenderer", ptr %11, i32 0, i32 2
  %31 = load ptr, ptr %30, align 8, !tbaa !11
  %32 = load ptr, ptr %31, align 8, !tbaa !9
  %33 = getelementptr inbounds ptr, ptr %32, i64 5
  %34 = load ptr, ptr %33, align 8
  invoke void %34(ptr noundef nonnull align 8 dereferenceable(16) %31, i32 noundef 2, ptr noundef @.str.2)
          to label %35 unwind label %42

35:                                               ; preds = %29
  %36 = getelementptr inbounds %"class.Lava::BatchedRenderer", ptr %11, i32 0, i32 2
  %37 = load ptr, ptr %36, align 8, !tbaa !11
  %38 = load ptr, ptr %37, align 8, !tbaa !9
  %39 = getelementptr inbounds ptr, ptr %38, i64 5
  %40 = load ptr, ptr %39, align 8
  invoke void %40(ptr noundef nonnull align 8 dereferenceable(16) %37, i32 noundef 3, ptr noundef @.str.3)
          to label %41 unwind label %42

41:                                               ; preds = %35
  ret void

42:                                               ; preds = %35, %29, %23, %16, %3
  %43 = landingpad { ptr, i32 }
          cleanup
  %44 = extractvalue { ptr, i32 } %43, 0
  store ptr %44, ptr %7, align 8
  %45 = extractvalue { ptr, i32 } %43, 1
  store i32 %45, ptr %8, align 4
  br label %58

46:                                               ; preds = %13
  %47 = landingpad { ptr, i32 }
          cleanup
  %48 = extractvalue { ptr, i32 } %47, 0
  store ptr %48, ptr %7, align 8
  %49 = extractvalue { ptr, i32 } %47, 1
  store i32 %49, ptr %8, align 4
  br label %54

50:                                               ; preds = %15
  %51 = landingpad { ptr, i32 }
          cleanup
  %52 = extractvalue { ptr, i32 } %51, 0
  store ptr %52, ptr %7, align 8
  %53 = extractvalue { ptr, i32 } %51, 1
  store i32 %53, ptr %8, align 4
  call void @_ZNSt6vectorIPN4Lava6OpenGL8GLShaderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9) #6
  br label %54

54:                                               ; preds = %50, %46
  %55 = load i1, ptr %10, align 1
  br i1 %55, label %56, label %57

56:                                               ; preds = %54
  call void @_ZdlPvm(ptr noundef %12, i64 noundef 48) #8
  br label %57

57:                                               ; preds = %56, %54
  br label %58

58:                                               ; preds = %57, %42
  call void @_ZN4Lava15BatchedRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %11) #6
  br label %59

59:                                               ; preds = %58
  %60 = load ptr, ptr %7, align 8
  %61 = load i32, ptr %8, align 4
  %62 = insertvalue { ptr, i32 } poison, ptr %60, 0
  %63 = insertvalue { ptr, i32 } %62, i32 %61, 1
  resume { ptr, i32 } %63
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Lava15BatchedRendererC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #1 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN4Lava6OpenGL8GLShaderESaIS3_EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare void @_ZN4Lava6OpenGL10GLRendererC1EPNS_5SceneESt6vectorIPNS0_8GLShaderESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef) unnamed_addr #3

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #5

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

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 = { 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 = { nobuiltin allocsize(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 = { "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 = { 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 #5 = { nobuiltin 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 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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 56}
!12 = !{!"_ZTSN4Lava15BatchedRendererE", !13, i64 8, !6, i64 56}
!13 = !{!"_ZTSSt3mapIPN4Lava12MeshRendererEPSt6vectorIPNS0_6EntityESaIS5_EESt4lessIS2_ESaISt4pairIKS2_S8_EEE", !14, i64 0}
!14 = !{!"_ZTSSt8_Rb_treeIPN4Lava12MeshRendererESt4pairIKS2_PSt6vectorIPNS0_6EntityESaIS7_EEESt10_Select1stISB_ESt4lessIS2_ESaISB_EE", !15, i64 0}
!15 = !{!"_ZTSNSt8_Rb_treeIPN4Lava12MeshRendererESt4pairIKS2_PSt6vectorIPNS0_6EntityESaIS7_EEESt10_Select1stISB_ESt4lessIS2_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !16, i64 0, !18, i64 8}
!16 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN4Lava12MeshRendererEEE", !17, i64 0}
!17 = !{!"_ZTSSt4lessIPN4Lava12MeshRendererEE"}
!18 = !{!"_ZTSSt15_Rb_tree_header", !19, i64 0, !21, i64 32}
!19 = !{!"_ZTSSt18_Rb_tree_node_base", !20, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!20 = !{!"_ZTSSt14_Rb_tree_color", !7, i64 0}
!21 = !{!"long", !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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Lava::OpenGL::GLShader *, std::allocator<Lava::OpenGL::GLShader *>>::_Vector_impl" }
%"struct.std::_Vector_base<Lava::OpenGL::GLShader *, std::allocator<Lava::OpenGL::GLShader *>>::_Vector_impl" = type { %"struct.std::_Vector_base<Lava::OpenGL::GLShader *, std::allocator<Lava::OpenGL::GLShader *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Lava::OpenGL::GLShader *, std::allocator<Lava::OpenGL::GLShader *>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTVN4Lava6OpenGL17GLBatchedRendererE = external dso_local unnamed_addr constant { [6 x ptr] }, align 8
@.str = external hidden unnamed_addr constant [9 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN4Lava6OpenGL17GLBatchedRendererC2EPNS_5SceneESt6vectorIPNS0_8GLShaderESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(64) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca %"class.std::vector", align 8
  tail call void @_ZN4Lava15BatchedRendererC2Ev(ptr noundef nonnull align 8 dereferenceable(64) %0) #6
  store ptr getelementptr inbounds inrange(-16, 32) (i8, ptr @_ZTVN4Lava6OpenGL17GLBatchedRendererE, i64 16), ptr %0, align 8, !tbaa !5
  %5 = invoke noalias noundef nonnull dereferenceable(48) ptr @_Znwm(i64 noundef 48) #7
          to label %6 unwind label %30

6:                                                ; preds = %3
  invoke void @_ZNSt6vectorIPN4Lava6OpenGL8GLShaderESaIS3_EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(24) %4, ptr noundef nonnull align 8 dereferenceable(24) %2)
          to label %7 unwind label %32

7:                                                ; preds = %6
  invoke void @_ZN4Lava6OpenGL10GLRendererC1EPNS_5SceneESt6vectorIPNS0_8GLShaderESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(48) %5, ptr noundef %1, ptr noundef nonnull %4)
          to label %8 unwind label %34

8:                                                ; preds = %7
  %9 = getelementptr inbounds i8, ptr %0, i64 56
  store ptr %5, ptr %9, align 8, !tbaa !8
  call void @_ZNSt6vectorIPN4Lava6OpenGL8GLShaderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  %10 = load ptr, ptr %9, align 8, !tbaa !8
  %11 = load ptr, ptr %10, align 8, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %11, i64 40
  %13 = load ptr, ptr %12, align 8
  invoke void %13(ptr noundef nonnull align 8 dereferenceable(16) %10, i32 noundef 0, ptr noundef nonnull @.str)
          to label %14 unwind label %30

14:                                               ; preds = %8
  %15 = load ptr, ptr %9, align 8, !tbaa !8
  %16 = load ptr, ptr %15, align 8, !tbaa !5
  %17 = getelementptr inbounds i8, ptr %16, i64 40
  %18 = load ptr, ptr %17, align 8
  invoke void %18(ptr noundef nonnull align 8 dereferenceable(16) %15, i32 noundef 1, ptr noundef nonnull @.str.1)
          to label %19 unwind label %30

19:                                               ; preds = %14
  %20 = load ptr, ptr %9, align 8, !tbaa !8
  %21 = load ptr, ptr %20, align 8, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %21, i64 40
  %23 = load ptr, ptr %22, align 8
  invoke void %23(ptr noundef nonnull align 8 dereferenceable(16) %20, i32 noundef 2, ptr noundef nonnull @.str.2)
          to label %24 unwind label %30

24:                                               ; preds = %19
  %25 = load ptr, ptr %9, align 8, !tbaa !8
  %26 = load ptr, ptr %25, align 8, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %26, i64 40
  %28 = load ptr, ptr %27, align 8
  invoke void %28(ptr noundef nonnull align 8 dereferenceable(16) %25, i32 noundef 3, ptr noundef nonnull @.str.3)
          to label %29 unwind label %30

29:                                               ; preds = %24
  ret void

30:                                               ; preds = %24, %19, %14, %8, %3
  %31 = landingpad { ptr, i32 }
          cleanup
  br label %37

32:                                               ; preds = %6
  %33 = landingpad { ptr, i32 }
          cleanup
  br label %36

34:                                               ; preds = %7
  %35 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorIPN4Lava6OpenGL8GLShaderESaIS3_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #6
  br label %36

36:                                               ; preds = %32, %34
  %.pn = phi { ptr, i32 } [ %35, %34 ], [ %33, %32 ]
  call void @_ZdlPvm(ptr noundef nonnull %5, i64 noundef 48) #8
  br label %37

37:                                               ; preds = %36, %30
  %.pn7 = phi { ptr, i32 } [ %31, %30 ], [ %.pn, %36 ]
  call void @_ZN4Lava15BatchedRendererD2Ev(ptr noundef nonnull align 8 dereferenceable(64) %0) #6
  resume { ptr, i32 } %.pn7
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZN4Lava15BatchedRendererC2Ev(ptr noundef nonnull align 8 dereferenceable(64)) unnamed_addr #1 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIPN4Lava6OpenGL8GLShaderESaIS3_EEC2ERKS5_(ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #0 align 2

declare void @_ZN4Lava6OpenGL10GLRendererC1EPNS_5SceneESt6vectorIPNS0_8GLShaderESaIS6_EE(ptr noundef nonnull align 8 dereferenceable(48), ptr noundef, ptr noundef) unnamed_addr #3

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

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #5

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

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 = { 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 = { nobuiltin allocsize(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 = { "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 = { 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 #5 = { nobuiltin 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 = { nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !19, i64 56}
!9 = !{!"_ZTSN4Lava15BatchedRendererE", !10, i64 8, !19, i64 56}
!10 = !{!"_ZTSSt3mapIPN4Lava12MeshRendererEPSt6vectorIPNS0_6EntityESaIS5_EESt4lessIS2_ESaISt4pairIKS2_S8_EEE", !11, i64 0}
!11 = !{!"_ZTSSt8_Rb_treeIPN4Lava12MeshRendererESt4pairIKS2_PSt6vectorIPNS0_6EntityESaIS7_EEESt10_Select1stISB_ESt4lessIS2_ESaISB_EE", !12, i64 0}
!12 = !{!"_ZTSNSt8_Rb_treeIPN4Lava12MeshRendererESt4pairIKS2_PSt6vectorIPNS0_6EntityESaIS7_EEESt10_Select1stISB_ESt4lessIS2_ESaISB_EE13_Rb_tree_implISF_Lb1EEE", !13, i64 0, !15, i64 8}
!13 = !{!"_ZTSSt20_Rb_tree_key_compareISt4lessIPN4Lava12MeshRendererEEE", !14, i64 0}
!14 = !{!"_ZTSSt4lessIPN4Lava12MeshRendererEE"}
!15 = !{!"_ZTSSt15_Rb_tree_header", !16, i64 0, !20, i64 32}
!16 = !{!"_ZTSSt18_Rb_tree_node_base", !17, i64 0, !19, i64 8, !19, i64 16, !19, i64 24}
!17 = !{!"_ZTSSt14_Rb_tree_color", !18, i64 0}
!18 = !{!"omnipotent char", !7, i64 0}
!19 = !{!"any pointer", !18, i64 0}
!20 = !{!"long", !18, i64 0}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass