; LLVM IR from paroj/gltut :: glsdk/glmesh/source/Mesh.ll (ZNK6glmesh4Mesh17RenderWithCurrVaoEv)

; 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.glmesh::Mesh" = type { %"class.std::auto_ptr.0" }
%"class.std::auto_ptr.0" = type { ptr }
%"struct.glmesh::MeshData" = type { %"class.std::vector.1", i32, %"class.std::map", %"class.std::vector" }
%"class.std::vector.1" = type { %"struct.std::_Vector_base.2" }
%"struct.std::_Vector_base.2" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::map" = type { %"class.std::_Rb_tree" }
%"class.std::_Rb_tree" = type { %"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_Rb_tree_impl" }
%"struct.std::_Rb_tree<std::__cxx11::basic_string<char>, std::pair<const std::__cxx11::basic_string<char>, unsigned int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, unsigned int>>, std::less<std::__cxx11::basic_string<char>>>::_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 }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<glmesh::(anonymous namespace)::RenderCmd, std::allocator<glmesh::(anonymous namespace)::RenderCmd>>::_Vector_impl" }
%"struct.std::_Vector_base<glmesh::(anonymous namespace)::RenderCmd, std::allocator<glmesh::(anonymous namespace)::RenderCmd>>::_Vector_impl" = type { %"struct.std::_Vector_base<glmesh::(anonymous namespace)::RenderCmd, std::allocator<glmesh::(anonymous namespace)::RenderCmd>>::_Vector_impl_data" }
%"struct.std::_Vector_base<glmesh::(anonymous namespace)::RenderCmd, std::allocator<glmesh::(anonymous namespace)::RenderCmd>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.glmesh::(anonymous namespace)::RenderCmd" = type { i8, i32, i32, i32, i32, i64, i32, i8, i32 }

@_ZN2gl6EnableE = external global ptr, align 8
@_ZN2gl21PrimitiveRestartIndexE = external global ptr, align 8
@_ZN2gl7DisableE = external global ptr, align 8
@_ZN2gl22DrawElementsBaseVertexE = external global ptr, align 8
@_ZN2gl12DrawElementsE = external global ptr, align 8
@_ZN2gl10DrawArraysE = external global ptr, align 8

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6glmesh4Mesh17RenderWithCurrVaoEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #2 align 2 {
  %2 = alloca ptr, align 8
  %3 = alloca i64, align 8
  %4 = alloca ptr, align 8
  store ptr %0, ptr %2, align 8, !tbaa !5
  %5 = load ptr, ptr %2, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  store i64 0, ptr %3, align 8, !tbaa !9
  br label %6

6:                                                ; preds = %89, %1
  %7 = load i64, ptr %3, align 8, !tbaa !9
  %8 = getelementptr inbounds %"class.glmesh::Mesh", ptr %5, i32 0, i32 0
  %9 = call noundef ptr @_ZNKSt8auto_ptrIN6glmesh8MeshDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #3
  %10 = getelementptr inbounds %"struct.glmesh::MeshData", ptr %9, i32 0, i32 3
  %11 = call noundef i64 @_ZNKSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %10) #3
  %12 = icmp ult i64 %7, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %6
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  br label %92

14:                                               ; preds = %6
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  %15 = getelementptr inbounds %"class.glmesh::Mesh", ptr %5, i32 0, i32 0
  %16 = call noundef ptr @_ZNKSt8auto_ptrIN6glmesh8MeshDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %15) #3
  %17 = getelementptr inbounds %"struct.glmesh::MeshData", ptr %16, i32 0, i32 3
  %18 = load i64, ptr %3, align 8, !tbaa !9
  %19 = call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %17, i64 noundef %18) #3
  store ptr %19, ptr %4, align 8, !tbaa !5
  %20 = load ptr, ptr %4, align 8, !tbaa !5
  %21 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %20, i32 0, i32 0
  %22 = load i8, ptr %21, align 8, !tbaa !11, !range !15, !noundef !16
  %23 = trunc i8 %22 to i1
  br i1 %23, label %24, label %76

24:                                               ; preds = %14
  %25 = load ptr, ptr %4, align 8, !tbaa !5
  %26 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %25, i32 0, i32 7
  %27 = load i8, ptr %26, align 4, !tbaa !17, !range !15, !noundef !16
  %28 = trunc i8 %27 to i1
  br i1 %28, label %29, label %35

29:                                               ; preds = %24
  %30 = load ptr, ptr @_ZN2gl6EnableE, align 8, !tbaa !5
  call void %30(i32 noundef 36765)
  %31 = load ptr, ptr @_ZN2gl21PrimitiveRestartIndexE, align 8, !tbaa !5
  %32 = load ptr, ptr %4, align 8, !tbaa !5
  %33 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %32, i32 0, i32 8
  %34 = load i32, ptr %33, align 8, !tbaa !18
  call void %31(i32 noundef %34)
  br label %37

35:                                               ; preds = %24
  %36 = load ptr, ptr @_ZN2gl7DisableE, align 8, !tbaa !5
  call void %36(i32 noundef 36765)
  br label %37

37:                                               ; preds = %35, %29
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %38, i32 0, i32 6
  %40 = load i32, ptr %39, align 8, !tbaa !19
  %41 = icmp ne i32 %40, 0
  br i1 %41, label %42, label %60

42:                                               ; preds = %37
  %43 = load ptr, ptr @_ZN2gl22DrawElementsBaseVertexE, align 8, !tbaa !5
  %44 = load ptr, ptr %4, align 8, !tbaa !5
  %45 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %44, i32 0, i32 1
  %46 = load i32, ptr %45, align 4, !tbaa !20
  %47 = load ptr, ptr %4, align 8, !tbaa !5
  %48 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %47, i32 0, i32 2
  %49 = load i32, ptr %48, align 8, !tbaa !21
  %50 = load ptr, ptr %4, align 8, !tbaa !5
  %51 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %50, i32 0, i32 4
  %52 = load i32, ptr %51, align 8, !tbaa !22
  %53 = load ptr, ptr %4, align 8, !tbaa !5
  %54 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %53, i32 0, i32 5
  %55 = load i64, ptr %54, align 8, !tbaa !23
  %56 = inttoptr i64 %55 to ptr
  %57 = load ptr, ptr %4, align 8, !tbaa !5
  %58 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %57, i32 0, i32 6
  %59 = load i32, ptr %58, align 8, !tbaa !19
  call void %43(i32 noundef %46, i32 noundef %49, i32 noundef %52, ptr noundef %56, i32 noundef %59)
  br label %75

60:                                               ; preds = %37
  %61 = load ptr, ptr @_ZN2gl12DrawElementsE, align 8, !tbaa !5
  %62 = load ptr, ptr %4, align 8, !tbaa !5
  %63 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %62, i32 0, i32 1
  %64 = load i32, ptr %63, align 4, !tbaa !20
  %65 = load ptr, ptr %4, align 8, !tbaa !5
  %66 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %65, i32 0, i32 2
  %67 = load i32, ptr %66, align 8, !tbaa !21
  %68 = load ptr, ptr %4, align 8, !tbaa !5
  %69 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %68, i32 0, i32 4
  %70 = load i32, ptr %69, align 8, !tbaa !22
  %71 = load ptr, ptr %4, align 8, !tbaa !5
  %72 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %71, i32 0, i32 5
  %73 = load i64, ptr %72, align 8, !tbaa !23
  %74 = inttoptr i64 %73 to ptr
  call void %61(i32 noundef %64, i32 noundef %67, i32 noundef %70, ptr noundef %74)
  br label %75

75:                                               ; preds = %60, %42
  br label %88

76:                                               ; preds = %14
  %77 = load ptr, ptr @_ZN2gl7DisableE, align 8, !tbaa !5
  call void %77(i32 noundef 36765)
  %78 = load ptr, ptr @_ZN2gl10DrawArraysE, align 8, !tbaa !5
  %79 = load ptr, ptr %4, align 8, !tbaa !5
  %80 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %79, i32 0, i32 1
  %81 = load i32, ptr %80, align 4, !tbaa !20
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %82, i32 0, i32 3
  %84 = load i32, ptr %83, align 4, !tbaa !24
  %85 = load ptr, ptr %4, align 8, !tbaa !5
  %86 = getelementptr inbounds %"struct.glmesh::(anonymous namespace)::RenderCmd", ptr %85, i32 0, i32 2
  %87 = load i32, ptr %86, align 8, !tbaa !21
  call void %78(i32 noundef %81, i32 noundef %84, i32 noundef %87)
  br label %88

88:                                               ; preds = %76, %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  br label %89

89:                                               ; preds = %88
  %90 = load i64, ptr %3, align 8, !tbaa !9
  %91 = add i64 %90, 1
  store i64 %91, ptr %3, align 8, !tbaa !9
  br label %6, !llvm.loop !25

92:                                               ; preds = %13
  %93 = load ptr, ptr @_ZN2gl7DisableE, align 8, !tbaa !5
  call void %93(i32 noundef 36765)
  ret void
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZNKSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
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 = { 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 #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTSN6glmesh12_GLOBAL__N_19RenderCmdE", !13, i64 0, !14, i64 4, !14, i64 8, !14, i64 12, !14, i64 16, !10, i64 24, !14, i64 32, !13, i64 36, !14, i64 40}
!13 = !{!"bool", !7, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{i8 0, i8 2}
!16 = !{}
!17 = !{!12, !13, i64 36}
!18 = !{!12, !14, i64 40}
!19 = !{!12, !14, i64 32}
!20 = !{!12, !14, i64 4}
!21 = !{!12, !14, i64 8}
!22 = !{!12, !14, i64 16}
!23 = !{!12, !10, i64 24}
!24 = !{!12, !14, i64 12}
!25 = distinct !{!25, !26}
!26 = !{!"llvm.loop.mustprogress"}


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

@_ZN2gl6EnableE = external local_unnamed_addr global ptr, align 8
@_ZN2gl21PrimitiveRestartIndexE = external local_unnamed_addr global ptr, align 8
@_ZN2gl7DisableE = external local_unnamed_addr global ptr, align 8
@_ZN2gl22DrawElementsBaseVertexE = external local_unnamed_addr global ptr, align 8
@_ZN2gl12DrawElementsE = external local_unnamed_addr global ptr, align 8
@_ZN2gl10DrawArraysE = external local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNKSt8auto_ptrIN6glmesh8MeshDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZNK6glmesh4Mesh17RenderWithCurrVaoEv(ptr noundef nonnull align 8 dereferenceable(8) %0) local_unnamed_addr #1 align 2 {
  %2 = tail call noundef ptr @_ZNKSt8auto_ptrIN6glmesh8MeshDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #2
  %3 = getelementptr inbounds i8, ptr %2, i64 80
  %4 = tail call noundef i64 @_ZNKSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #2
  %.not21 = icmp eq i64 %4, 0
  br i1 %.not21, label %._crit_edge, label %.lr.ph

._crit_edge:                                      ; preds = %47, %1
  %5 = load ptr, ptr @_ZN2gl7DisableE, align 8, !tbaa !5
  tail call void %5(i32 noundef 36765)
  ret void

.lr.ph:                                           ; preds = %1, %47
  %.020 = phi i64 [ %48, %47 ], [ 0, %1 ]
  %6 = tail call noundef ptr @_ZNKSt8auto_ptrIN6glmesh8MeshDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #2
  %7 = getelementptr inbounds i8, ptr %6, i64 80
  %8 = tail call noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %7, i64 noundef %.020) #2
  %9 = load i8, ptr %8, align 8, !tbaa !9, !range !14, !noundef !15
  %10 = trunc nuw i8 %9 to i1
  br i1 %10, label %11, label %38

11:                                               ; preds = %.lr.ph
  %12 = getelementptr inbounds i8, ptr %8, i64 36
  %13 = load i8, ptr %12, align 4, !tbaa !16, !range !14, !noundef !15
  %14 = trunc nuw i8 %13 to i1
  br i1 %14, label %15, label %20

15:                                               ; preds = %11
  %16 = load ptr, ptr @_ZN2gl6EnableE, align 8, !tbaa !5
  tail call void %16(i32 noundef 36765)
  %17 = load ptr, ptr @_ZN2gl21PrimitiveRestartIndexE, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %8, i64 40
  %19 = load i32, ptr %18, align 8, !tbaa !17
  tail call void %17(i32 noundef %19)
  br label %22

20:                                               ; preds = %11
  %21 = load ptr, ptr @_ZN2gl7DisableE, align 8, !tbaa !5
  tail call void %21(i32 noundef 36765)
  br label %22

22:                                               ; preds = %20, %15
  %23 = getelementptr inbounds i8, ptr %8, i64 32
  %24 = load i32, ptr %23, align 8, !tbaa !18
  %.not = icmp eq i32 %24, 0
  %25 = getelementptr inbounds i8, ptr %8, i64 4
  %26 = load i32, ptr %25, align 4, !tbaa !19
  %27 = getelementptr inbounds i8, ptr %8, i64 8
  %28 = load i32, ptr %27, align 8, !tbaa !20
  %29 = getelementptr inbounds i8, ptr %8, i64 16
  %30 = load i32, ptr %29, align 8, !tbaa !21
  %31 = getelementptr inbounds i8, ptr %8, i64 24
  %32 = load i64, ptr %31, align 8, !tbaa !22
  %33 = inttoptr i64 %32 to ptr
  br i1 %.not, label %36, label %34

34:                                               ; preds = %22
  %35 = load ptr, ptr @_ZN2gl22DrawElementsBaseVertexE, align 8, !tbaa !5
  tail call void %35(i32 noundef %26, i32 noundef %28, i32 noundef %30, ptr noundef %33, i32 noundef %24)
  br label %47

36:                                               ; preds = %22
  %37 = load ptr, ptr @_ZN2gl12DrawElementsE, align 8, !tbaa !5
  tail call void %37(i32 noundef %26, i32 noundef %28, i32 noundef %30, ptr noundef %33)
  br label %47

38:                                               ; preds = %.lr.ph
  %39 = load ptr, ptr @_ZN2gl7DisableE, align 8, !tbaa !5
  tail call void %39(i32 noundef 36765)
  %40 = load ptr, ptr @_ZN2gl10DrawArraysE, align 8, !tbaa !5
  %41 = getelementptr inbounds i8, ptr %8, i64 4
  %42 = load i32, ptr %41, align 4, !tbaa !19
  %43 = getelementptr inbounds i8, ptr %8, i64 12
  %44 = load i32, ptr %43, align 4, !tbaa !23
  %45 = getelementptr inbounds i8, ptr %8, i64 8
  %46 = load i32, ptr %45, align 8, !tbaa !20
  tail call void %40(i32 noundef %42, i32 noundef %44, i32 noundef %46)
  br label %47

47:                                               ; preds = %34, %36, %38
  %48 = add nuw i64 %.020, 1
  %49 = tail call noundef ptr @_ZNKSt8auto_ptrIN6glmesh8MeshDataEEptEv(ptr noundef nonnull align 8 dereferenceable(8) %0) #2
  %50 = getelementptr inbounds i8, ptr %49, i64 80
  %51 = tail call noundef i64 @_ZNKSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24) %50) #2
  %52 = icmp ult i64 %48, %51
  br i1 %52, label %.lr.ph, label %._crit_edge, !llvm.loop !24
}

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef i64 @_ZNKSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EE4sizeEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare hidden noundef nonnull align 8 dereferenceable(48) ptr @_ZNSt6vectorIN6glmesh12_GLOBAL__N_19RenderCmdESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) local_unnamed_addr #0 align 2

attributes #0 = { 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 #1 = { 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 #2 = { 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, !11, i64 0}
!10 = !{!"_ZTSN6glmesh12_GLOBAL__N_19RenderCmdE", !11, i64 0, !12, i64 4, !12, i64 8, !12, i64 12, !12, i64 16, !13, i64 24, !12, i64 32, !11, i64 36, !12, i64 40}
!11 = !{!"bool", !7, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!"long", !7, i64 0}
!14 = !{i8 0, i8 2}
!15 = !{}
!16 = !{!10, !11, i64 36}
!17 = !{!10, !12, i64 40}
!18 = !{!10, !12, i64 32}
!19 = !{!10, !12, i64 4}
!20 = !{!10, !12, i64 8}
!21 = !{!10, !12, i64 16}
!22 = !{!10, !13, i64 24}
!23 = !{!10, !12, i64 12}
!24 = distinct !{!24, !25}
!25 = !{!"llvm.loop.mustprogress"}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,SROAPass,SimplifyCFGPass,TailCallElimPass