; LLVM IR from erwincoumans/tiny-differentiable-simulator :: src/visualizer/opengl/tiny_gl_instancing_renderer.ll (ZN24TinyGLInstancingRendererC2Eii)

; 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.TinyGLInstancingRenderer = type <{ ptr, %"class.std::vector", ptr, i8, i8, [2 x i8], i32, i32, i32, i32, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<b3GraphicsInstance *, std::allocator<b3GraphicsInstance *>>::_Vector_impl" }
%"struct.std::_Vector_base<b3GraphicsInstance *, std::allocator<b3GraphicsInstance *>>::_Vector_impl" = type { %"struct.std::_Vector_base<b3GraphicsInstance *, std::allocator<b3GraphicsInstance *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<b3GraphicsInstance *, std::allocator<b3GraphicsInstance *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.GLInstanceRendererInternalData = type <{ %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", %"class.std::vector.0", i32, i32, i32, i32, i32, [4 x i8] }>
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }

@_ZTV24TinyGLInstancingRenderer = external dso_local unnamed_addr constant { [58 x ptr] }, align 8
@_ZL6sData2 = external hidden global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN24TinyGLInstancingRendererC2Eii(ptr noundef nonnull align 8 dereferenceable(60) %0, i32 noundef %1, i32 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  %9 = load ptr, ptr %4, align 8
  store ptr getelementptr inbounds inrange(-16, 448) ({ [58 x ptr] }, ptr @_ZTV24TinyGLInstancingRenderer, i32 0, i32 0, i32 2), ptr %9, align 8, !tbaa !11
  %10 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 1
  call void @_ZNSt6vectorIP18b3GraphicsInstanceSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  %11 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 3
  store i8 1, ptr %11, align 8, !tbaa !13
  %12 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 4
  store i8 0, ptr %12, align 1, !tbaa !20
  %13 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 6
  store i32 0, ptr %13, align 4, !tbaa !21
  %14 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 7
  store i32 0, ptr %14, align 8, !tbaa !22
  %15 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 8
  store i32 1, ptr %15, align 4, !tbaa !23
  %16 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 9
  store i32 -1, ptr %16, align 8, !tbaa !24
  %17 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef 600) #5
          to label %18 unwind label %74

18:                                               ; preds = %3
  invoke void @_ZN20InternalDataRendererC2Ev(ptr noundef nonnull align 8 dereferenceable(597) %17)
          to label %19 unwind label %78

19:                                               ; preds = %18
  %20 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  store ptr %17, ptr %20, align 8, !tbaa !25
  %21 = load i32, ptr %5, align 4, !tbaa !9
  %22 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %23 = load ptr, ptr %22, align 8, !tbaa !25
  %24 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %23, i32 0, i32 7
  store i32 %21, ptr %24, align 4, !tbaa !26
  %25 = load i32, ptr %6, align 4, !tbaa !9
  %26 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %27 = load ptr, ptr %26, align 8, !tbaa !25
  %28 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %27, i32 0, i32 8
  store i32 %25, ptr %28, align 8, !tbaa !32
  %29 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %30 = load ptr, ptr %29, align 8, !tbaa !25
  %31 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %30, i32 0, i32 6
  store i32 0, ptr %31, align 8, !tbaa !33
  %32 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %33 = load ptr, ptr %32, align 8, !tbaa !25
  store ptr %33, ptr @_ZL6sData2, align 8, !tbaa !5
  %34 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %35 = load ptr, ptr %34, align 8, !tbaa !25
  %36 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %35, i32 0, i32 0
  %37 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %38 = load ptr, ptr %37, align 8, !tbaa !25
  %39 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %38, i32 0, i32 7
  %40 = load i32, ptr %39, align 4, !tbaa !26
  %41 = mul nsw i32 %40, 4
  %42 = sext i32 %41 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %36, i64 noundef %42)
          to label %43 unwind label %74

43:                                               ; preds = %19
  %44 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %45 = load ptr, ptr %44, align 8, !tbaa !25
  %46 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %45, i32 0, i32 1
  %47 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %48 = load ptr, ptr %47, align 8, !tbaa !25
  %49 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %48, i32 0, i32 7
  %50 = load i32, ptr %49, align 4, !tbaa !26
  %51 = mul nsw i32 %50, 4
  %52 = sext i32 %51 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %46, i64 noundef %52)
          to label %53 unwind label %74

53:                                               ; preds = %43
  %54 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %55 = load ptr, ptr %54, align 8, !tbaa !25
  %56 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %55, i32 0, i32 2
  %57 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %58 = load ptr, ptr %57, align 8, !tbaa !25
  %59 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %58, i32 0, i32 7
  %60 = load i32, ptr %59, align 4, !tbaa !26
  %61 = mul nsw i32 %60, 4
  %62 = sext i32 %61 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %56, i64 noundef %62)
          to label %63 unwind label %74

63:                                               ; preds = %53
  %64 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %65 = load ptr, ptr %64, align 8, !tbaa !25
  %66 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %65, i32 0, i32 3
  %67 = getelementptr inbounds %class.TinyGLInstancingRenderer, ptr %9, i32 0, i32 2
  %68 = load ptr, ptr %67, align 8, !tbaa !25
  %69 = getelementptr inbounds %struct.GLInstanceRendererInternalData, ptr %68, i32 0, i32 7
  %70 = load i32, ptr %69, align 4, !tbaa !26
  %71 = mul nsw i32 %70, 4
  %72 = sext i32 %71 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %72)
          to label %73 unwind label %74

73:                                               ; preds = %63
  ret void

74:                                               ; preds = %63, %53, %43, %19, %3
  %75 = landingpad { ptr, i32 }
          cleanup
  %76 = extractvalue { ptr, i32 } %75, 0
  store ptr %76, ptr %7, align 8
  %77 = extractvalue { ptr, i32 } %75, 1
  store i32 %77, ptr %8, align 4
  br label %82

78:                                               ; preds = %18
  %79 = landingpad { ptr, i32 }
          cleanup
  %80 = extractvalue { ptr, i32 } %79, 0
  store ptr %80, ptr %7, align 8
  %81 = extractvalue { ptr, i32 } %79, 1
  store i32 %81, ptr %8, align 4
  call void @_ZdlPvm(ptr noundef %17, i64 noundef 600) #6
  br label %82

82:                                               ; preds = %78, %74
  call void @_ZNSt6vectorIP18b3GraphicsInstanceSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10) #4
  br label %83

83:                                               ; preds = %82
  %84 = load ptr, ptr %7, align 8
  %85 = load i32, ptr %8, align 4
  %86 = insertvalue { ptr, i32 } poison, ptr %84, 0
  %87 = insertvalue { ptr, i32 } %86, i32 %85, 1
  resume { ptr, i32 } %87
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP18b3GraphicsInstanceSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 @_ZN20InternalDataRendererC2Ev(ptr noundef nonnull align 8 dereferenceable(597)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP18b3GraphicsInstanceSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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 = { 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 = { 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 #4 = { nounwind }
attributes #5 = { builtin allocsize(0) }
attributes #6 = { 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 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"vtable pointer", !8, i64 0}
!13 = !{!14, !19, i64 40}
!14 = !{!"_ZTS24TinyGLInstancingRenderer", !15, i64 8, !6, i64 32, !19, i64 40, !19, i64 41, !10, i64 44, !10, i64 48, !10, i64 52, !10, i64 56}
!15 = !{!"_ZTSSt6vectorIP18b3GraphicsInstanceSaIS1_EE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!19 = !{!"bool", !7, i64 0}
!20 = !{!14, !19, i64 41}
!21 = !{!14, !10, i64 44}
!22 = !{!14, !10, i64 48}
!23 = !{!14, !10, i64 52}
!24 = !{!14, !10, i64 56}
!25 = !{!14, !6, i64 32}
!26 = !{!27, !10, i64 108}
!27 = !{!"_ZTS30GLInstanceRendererInternalData", !28, i64 0, !28, i64 24, !28, i64 48, !28, i64 72, !10, i64 96, !10, i64 100, !10, i64 104, !10, i64 108, !10, i64 112}
!28 = !{!"_ZTSSt6vectorIfSaIfEE", !29, i64 0}
!29 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!32 = !{!27, !10, i64 112}
!33 = !{!27, !10, i64 104}


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

@_ZTV24TinyGLInstancingRenderer = external dso_local unnamed_addr constant { [58 x ptr] }, align 8
@_ZL6sData2 = external hidden local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN24TinyGLInstancingRendererC2Eii(ptr noundef nonnull align 8 dereferenceable(60) %0, i32 noundef %1, i32 noundef %2) unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  store ptr getelementptr inbounds inrange(-16, 448) (i8, ptr @_ZTV24TinyGLInstancingRenderer, i64 16), ptr %0, align 8, !tbaa !5
  %4 = getelementptr inbounds i8, ptr %0, i64 8
  tail call void @_ZNSt6vectorIP18b3GraphicsInstanceSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  %5 = getelementptr inbounds i8, ptr %0, i64 40
  store i8 1, ptr %5, align 8, !tbaa !8
  %6 = getelementptr inbounds i8, ptr %0, i64 41
  store i8 0, ptr %6, align 1, !tbaa !18
  %7 = getelementptr inbounds i8, ptr %0, i64 44
  store <4 x i32> <i32 0, i32 0, i32 1, i32 -1>, ptr %7, align 4, !tbaa !19
  %8 = invoke noalias noundef nonnull dereferenceable(600) ptr @_Znwm(i64 noundef 600) #5
          to label %9 unwind label %39

9:                                                ; preds = %3
  invoke void @_ZN20InternalDataRendererC2Ev(ptr noundef nonnull align 8 dereferenceable(597) %8)
          to label %10 unwind label %41

10:                                               ; preds = %9
  %11 = getelementptr inbounds i8, ptr %0, i64 32
  store ptr %8, ptr %11, align 8, !tbaa !20
  %12 = getelementptr inbounds i8, ptr %8, i64 108
  store i32 %1, ptr %12, align 4, !tbaa !21
  %13 = getelementptr inbounds i8, ptr %8, i64 112
  store i32 %2, ptr %13, align 8, !tbaa !27
  %14 = getelementptr inbounds i8, ptr %8, i64 104
  store i32 0, ptr %14, align 8, !tbaa !28
  store ptr %8, ptr @_ZL6sData2, align 8, !tbaa !29
  %15 = shl nsw i32 %1, 2
  %16 = sext i32 %15 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %8, i64 noundef %16)
          to label %17 unwind label %39

17:                                               ; preds = %10
  %18 = load ptr, ptr %11, align 8, !tbaa !20
  %19 = getelementptr inbounds i8, ptr %18, i64 24
  %20 = getelementptr inbounds i8, ptr %18, i64 108
  %21 = load i32, ptr %20, align 4, !tbaa !21
  %22 = shl nsw i32 %21, 2
  %23 = sext i32 %22 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %19, i64 noundef %23)
          to label %24 unwind label %39

24:                                               ; preds = %17
  %25 = load ptr, ptr %11, align 8, !tbaa !20
  %26 = getelementptr inbounds i8, ptr %25, i64 48
  %27 = getelementptr inbounds i8, ptr %25, i64 108
  %28 = load i32, ptr %27, align 4, !tbaa !21
  %29 = shl nsw i32 %28, 2
  %30 = sext i32 %29 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %26, i64 noundef %30)
          to label %31 unwind label %39

31:                                               ; preds = %24
  %32 = load ptr, ptr %11, align 8, !tbaa !20
  %33 = getelementptr inbounds i8, ptr %32, i64 72
  %34 = getelementptr inbounds i8, ptr %32, i64 108
  %35 = load i32, ptr %34, align 4, !tbaa !21
  %36 = shl nsw i32 %35, 2
  %37 = sext i32 %36 to i64
  invoke void @_ZNSt6vectorIfSaIfEE6resizeEm(ptr noundef nonnull align 8 dereferenceable(24) %33, i64 noundef %37)
          to label %38 unwind label %39

38:                                               ; preds = %31
  ret void

39:                                               ; preds = %31, %24, %17, %10, %3
  %40 = landingpad { ptr, i32 }
          cleanup
  br label %43

41:                                               ; preds = %9
  %42 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %8, i64 noundef 600) #6
  br label %43

43:                                               ; preds = %41, %39
  %.pn = phi { ptr, i32 } [ %40, %39 ], [ %42, %41 ]
  tail call void @_ZNSt6vectorIP18b3GraphicsInstanceSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %4) #4
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP18b3GraphicsInstanceSaIS1_EEC2Ev(ptr noundef nonnull align 8 dereferenceable(24)) 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 @_ZN20InternalDataRendererC2Ev(ptr noundef nonnull align 8 dereferenceable(597)) unnamed_addr #0 align 2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIP18b3GraphicsInstanceSaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #1 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 = { 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 = { 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 #4 = { nounwind }
attributes #5 = { builtin allocsize(0) }
attributes #6 = { 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, !16, i64 40}
!9 = !{!"_ZTS24TinyGLInstancingRenderer", !10, i64 8, !14, i64 32, !16, i64 40, !16, i64 41, !17, i64 44, !17, i64 48, !17, i64 52, !17, i64 56}
!10 = !{!"_ZTSSt6vectorIP18b3GraphicsInstanceSaIS1_EE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIP18b3GraphicsInstanceSaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !15, i64 0}
!15 = !{!"omnipotent char", !7, i64 0}
!16 = !{!"bool", !15, i64 0}
!17 = !{!"int", !15, i64 0}
!18 = !{!9, !16, i64 41}
!19 = !{!17, !17, i64 0}
!20 = !{!9, !14, i64 32}
!21 = !{!22, !17, i64 108}
!22 = !{!"_ZTS30GLInstanceRendererInternalData", !23, i64 0, !23, i64 24, !23, i64 48, !23, i64 72, !17, i64 96, !17, i64 100, !17, i64 104, !17, i64 108, !17, i64 112}
!23 = !{!"_ZTSSt6vectorIfSaIfEE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!27 = !{!22, !17, i64 112}
!28 = !{!22, !17, i64 104}
!29 = !{!14, !14, i64 0}


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