; LLVM IR from zeux/meshoptimizer :: gltf/node.ll (Z10remapNodesP10cgltf_dataRSt6vectorI8NodeInfoSaIS2_EERm)

; 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.cgltf_data = type { i32, ptr, %struct.cgltf_asset, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, i64, ptr, ptr, i64, ptr, i64, %struct.cgltf_extras, i64, ptr, ptr, i64, ptr, i64, ptr, i64, ptr, i64, %struct.cgltf_memory_options, %struct.cgltf_file_options }
%struct.cgltf_asset = type { ptr, ptr, ptr, ptr, %struct.cgltf_extras, i64, ptr }
%struct.cgltf_extras = type { i64, i64, ptr }
%struct.cgltf_memory_options = type { ptr, ptr, ptr }
%struct.cgltf_file_options = type { ptr, ptr, ptr }
%struct.NodeInfo = type { i32, i8, i8, i32, i32, %"class.std::vector.0", i8, i64, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl" = type { %"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" }
%"struct.std::_Vector_base<unsigned long, std::allocator<unsigned long>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.cgltf_node = type { ptr, ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, i64, i32, i32, i32, i32, [3 x float], [4 x float], [3 x float], [16 x float], %struct.cgltf_extras, i32, %struct.cgltf_mesh_gpu_instancing, i64, ptr }
%struct.cgltf_mesh_gpu_instancing = type { ptr, i64 }

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI8NodeInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef) #1 align 2

; 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
define dso_local void @_Z10remapNodesP10cgltf_dataRSt6vectorI8NodeInfoSaIS2_EERm(ptr noundef %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr noundef nonnull align 8 dereferenceable(8) %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca ptr, align 8
  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
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #2
  store i64 0, ptr %7, align 8, !tbaa !9
  br label %12

12:                                               ; preds = %54, %3
  %13 = load i64, ptr %7, align 8, !tbaa !9
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.cgltf_data, ptr %14, i32 0, i32 26
  %16 = load i64, ptr %15, align 8, !tbaa !11
  %17 = icmp ult i64 %13, %16
  br i1 %17, label %19, label %18

18:                                               ; preds = %12
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #2
  br label %57

19:                                               ; preds = %12
  %20 = load ptr, ptr %5, align 8, !tbaa !5
  %21 = load i64, ptr %7, align 8, !tbaa !9
  %22 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI8NodeInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %20, i64 noundef %21) #2
  %23 = getelementptr inbounds %struct.NodeInfo, ptr %22, i32 0, i32 1
  %24 = load i8, ptr %23, align 4, !tbaa !18, !range !26, !noundef !27
  %25 = trunc i8 %24 to i1
  br i1 %25, label %27, label %26

26:                                               ; preds = %19
  br label %54

27:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  %28 = load ptr, ptr %4, align 8, !tbaa !5
  %29 = getelementptr inbounds %struct.cgltf_data, ptr %28, i32 0, i32 25
  %30 = load ptr, ptr %29, align 8, !tbaa !28
  %31 = load i64, ptr %7, align 8, !tbaa !9
  %32 = getelementptr inbounds %struct.cgltf_node, ptr %30, i64 %31
  store ptr %32, ptr %9, align 8, !tbaa !5
  br label %33

33:                                               ; preds = %49, %27
  %34 = load ptr, ptr %9, align 8, !tbaa !5
  %35 = icmp ne ptr %34, null
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  br label %53

37:                                               ; preds = %33
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = load ptr, ptr %9, align 8, !tbaa !5
  %40 = load ptr, ptr %4, align 8, !tbaa !5
  %41 = getelementptr inbounds %struct.cgltf_data, ptr %40, i32 0, i32 25
  %42 = load ptr, ptr %41, align 8, !tbaa !28
  %43 = ptrtoint ptr %39 to i64
  %44 = ptrtoint ptr %42 to i64
  %45 = sub i64 %43, %44
  %46 = sdiv exact i64 %45, 264
  %47 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI8NodeInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %38, i64 noundef %46) #2
  %48 = getelementptr inbounds %struct.NodeInfo, ptr %47, i32 0, i32 1
  store i8 1, ptr %48, align 4, !tbaa !18
  br label %49

49:                                               ; preds = %37
  %50 = load ptr, ptr %9, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.cgltf_node, ptr %50, i32 0, i32 1
  %52 = load ptr, ptr %51, align 8, !tbaa !29
  store ptr %52, ptr %9, align 8, !tbaa !5
  br label %33, !llvm.loop !32

53:                                               ; preds = %36
  br label %54

54:                                               ; preds = %53, %26
  %55 = load i64, ptr %7, align 8, !tbaa !9
  %56 = add i64 %55, 1
  store i64 %56, ptr %7, align 8, !tbaa !9
  br label %12, !llvm.loop !34

57:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  store i64 0, ptr %10, align 8, !tbaa !9
  br label %58

58:                                               ; preds = %83, %57
  %59 = load i64, ptr %10, align 8, !tbaa !9
  %60 = load ptr, ptr %4, align 8, !tbaa !5
  %61 = getelementptr inbounds %struct.cgltf_data, ptr %60, i32 0, i32 26
  %62 = load i64, ptr %61, align 8, !tbaa !11
  %63 = icmp ult i64 %59, %62
  br i1 %63, label %65, label %64

64:                                               ; preds = %58
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  br label %86

65:                                               ; preds = %58
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #2
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load i64, ptr %10, align 8, !tbaa !9
  %68 = call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI8NodeInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %66, i64 noundef %67) #2
  store ptr %68, ptr %11, align 8, !tbaa !5
  %69 = load ptr, ptr %11, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.NodeInfo, ptr %69, i32 0, i32 1
  %71 = load i8, ptr %70, align 4, !tbaa !18, !range !26, !noundef !27
  %72 = trunc i8 %71 to i1
  br i1 %72, label %73, label %82

73:                                               ; preds = %65
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = load i64, ptr %74, align 8, !tbaa !9
  %76 = trunc i64 %75 to i32
  %77 = load ptr, ptr %11, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.NodeInfo, ptr %77, i32 0, i32 4
  store i32 %76, ptr %78, align 4, !tbaa !35
  %79 = load ptr, ptr %6, align 8, !tbaa !5
  %80 = load i64, ptr %79, align 8, !tbaa !9
  %81 = add i64 %80, 1
  store i64 %81, ptr %79, align 8, !tbaa !9
  br label %82

82:                                               ; preds = %73, %65
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #2
  br label %83

83:                                               ; preds = %82
  %84 = load i64, ptr %10, align 8, !tbaa !9
  %85 = add i64 %84, 1
  store i64 %85, ptr %10, align 8, !tbaa !9
  br label %58, !llvm.loop !36

86:                                               ; preds = %64
  ret void
}

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 = { 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, !10, i64 272}
!12 = !{!"_ZTS10cgltf_data", !13, i64 0, !6, i64 8, !14, i64 16, !6, i64 88, !10, i64 96, !6, i64 104, !10, i64 112, !6, i64 120, !10, i64 128, !6, i64 136, !10, i64 144, !6, i64 152, !10, i64 160, !6, i64 168, !10, i64 176, !6, i64 184, !10, i64 192, !6, i64 200, !10, i64 208, !6, i64 216, !10, i64 224, !6, i64 232, !10, i64 240, !6, i64 248, !10, i64 256, !6, i64 264, !10, i64 272, !6, i64 280, !10, i64 288, !6, i64 296, !6, i64 304, !10, i64 312, !6, i64 320, !10, i64 328, !15, i64 336, !10, i64 360, !6, i64 368, !6, i64 376, !10, i64 384, !6, i64 392, !10, i64 400, !6, i64 408, !10, i64 416, !6, i64 424, !10, i64 432, !16, i64 440, !17, i64 464}
!13 = !{!"_ZTS15cgltf_file_type", !7, i64 0}
!14 = !{!"_ZTS11cgltf_asset", !6, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !15, i64 32, !10, i64 56, !6, i64 64}
!15 = !{!"_ZTS12cgltf_extras", !10, i64 0, !10, i64 8, !6, i64 16}
!16 = !{!"_ZTS20cgltf_memory_options", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTS18cgltf_file_options", !6, i64 0, !6, i64 8, !6, i64 16}
!18 = !{!19, !21, i64 4}
!19 = !{!"_ZTS8NodeInfo", !20, i64 0, !21, i64 4, !21, i64 5, !20, i64 8, !20, i64 12, !22, i64 16, !21, i64 40, !10, i64 48, !6, i64 56}
!20 = !{!"int", !7, i64 0}
!21 = !{!"bool", !7, i64 0}
!22 = !{!"_ZTSSt6vectorImSaImEE", !23, i64 0}
!23 = !{!"_ZTSSt12_Vector_baseImSaImEE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!26 = !{i8 0, i8 2}
!27 = !{}
!28 = !{!12, !6, i64 264}
!29 = !{!30, !6, i64 8}
!30 = !{!"_ZTS10cgltf_node", !6, i64 0, !6, i64 8, !6, i64 16, !10, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !10, i64 72, !20, i64 80, !20, i64 84, !20, i64 88, !20, i64 92, !7, i64 96, !7, i64 108, !7, i64 124, !7, i64 136, !15, i64 200, !20, i64 224, !31, i64 232, !10, i64 248, !6, i64 256}
!31 = !{!"_ZTS25cgltf_mesh_gpu_instancing", !6, i64 0, !10, i64 8}
!32 = distinct !{!32, !33}
!33 = !{!"llvm.loop.mustprogress"}
!34 = distinct !{!34, !33}
!35 = !{!19, !20, i64 12}
!36 = distinct !{!36, !33}


; 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.cgltf_node = type { ptr, ptr, ptr, i64, ptr, ptr, ptr, ptr, ptr, i64, i32, i32, i32, i32, [3 x float], [4 x float], [3 x float], [16 x float], %struct.cgltf_extras, i32, %struct.cgltf_mesh_gpu_instancing, i64, ptr }
%struct.cgltf_extras = type { i64, i64, ptr }
%struct.cgltf_mesh_gpu_instancing = type { ptr, i64 }

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_Z10remapNodesP10cgltf_dataRSt6vectorI8NodeInfoSaIS2_EERm(ptr nocapture noundef readonly %0, ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nocapture noundef nonnull align 8 dereferenceable(8) %2) local_unnamed_addr #0 {
  %4 = getelementptr inbounds i8, ptr %0, i64 272
  %5 = load i64, ptr %4, align 8, !tbaa !5
  %.not28 = icmp eq i64 %5, 0
  br i1 %.not28, label %._crit_edge, label %.lr.ph25

.lr.ph25:                                         ; preds = %3
  %6 = getelementptr inbounds i8, ptr %0, i64 264
  br label %8

.preheader:                                       ; preds = %.loopexit
  %7 = icmp eq i64 %26, 0
  br i1 %7, label %._crit_edge, label %.lr.ph27

8:                                                ; preds = %.lr.ph25, %.loopexit
  %.024 = phi i64 [ 0, %.lr.ph25 ], [ %25, %.loopexit ]
  %9 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI8NodeInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.024) #1
  %10 = getelementptr inbounds i8, ptr %9, i64 4
  %11 = load i8, ptr %10, align 4, !tbaa !16, !range !24, !noundef !25
  %12 = trunc nuw i8 %11 to i1
  br i1 %12, label %13, label %.loopexit

13:                                               ; preds = %8
  %14 = load ptr, ptr %6, align 8, !tbaa !26
  %.not22 = icmp eq ptr %14, null
  br i1 %.not22, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %13
  %15 = getelementptr inbounds %struct.cgltf_node, ptr %14, i64 %.024
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.lr.ph
  %.02123 = phi ptr [ %24, %.lr.ph ], [ %15, %.lr.ph.preheader ]
  %16 = load ptr, ptr %6, align 8, !tbaa !26
  %17 = ptrtoint ptr %.02123 to i64
  %18 = ptrtoint ptr %16 to i64
  %19 = sub i64 %17, %18
  %20 = sdiv exact i64 %19, 264
  %21 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI8NodeInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %20) #1
  %22 = getelementptr inbounds i8, ptr %21, i64 4
  store i8 1, ptr %22, align 4, !tbaa !16
  %23 = getelementptr inbounds i8, ptr %.02123, i64 8
  %24 = load ptr, ptr %23, align 8, !tbaa !27
  %.not = icmp eq ptr %24, null
  br i1 %.not, label %.loopexit, label %.lr.ph, !llvm.loop !30

.loopexit:                                        ; preds = %.lr.ph, %13, %8
  %25 = add nuw i64 %.024, 1
  %26 = load i64, ptr %4, align 8, !tbaa !5
  %27 = icmp ult i64 %25, %26
  br i1 %27, label %8, label %.preheader, !llvm.loop !32

._crit_edge:                                      ; preds = %37, %3, %.preheader
  ret void

.lr.ph27:                                         ; preds = %.preheader, %37
  %.02026 = phi i64 [ %38, %37 ], [ 0, %.preheader ]
  %28 = tail call noundef nonnull align 8 dereferenceable(64) ptr @_ZNSt6vectorI8NodeInfoSaIS0_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %1, i64 noundef %.02026) #1
  %29 = getelementptr inbounds i8, ptr %28, i64 4
  %30 = load i8, ptr %29, align 4, !tbaa !16, !range !24, !noundef !25
  %31 = trunc nuw i8 %30 to i1
  br i1 %31, label %32, label %37

32:                                               ; preds = %.lr.ph27
  %33 = load i64, ptr %2, align 8, !tbaa !33
  %34 = trunc i64 %33 to i32
  %35 = getelementptr inbounds i8, ptr %28, i64 12
  store i32 %34, ptr %35, align 4, !tbaa !34
  %36 = add i64 %33, 1
  store i64 %36, ptr %2, align 8, !tbaa !33
  br label %37

37:                                               ; preds = %32, %.lr.ph27
  %38 = add nuw i64 %.02026, 1
  %39 = load i64, ptr %4, align 8, !tbaa !5
  %40 = icmp ult i64 %38, %39
  br i1 %40, label %.lr.ph27, label %._crit_edge, !llvm.loop !35
}

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 = { 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, !13, i64 272}
!6 = !{!"_ZTS10cgltf_data", !7, i64 0, !10, i64 8, !11, i64 16, !10, i64 88, !13, i64 96, !10, i64 104, !13, i64 112, !10, i64 120, !13, i64 128, !10, i64 136, !13, i64 144, !10, i64 152, !13, i64 160, !10, i64 168, !13, i64 176, !10, i64 184, !13, i64 192, !10, i64 200, !13, i64 208, !10, i64 216, !13, i64 224, !10, i64 232, !13, i64 240, !10, i64 248, !13, i64 256, !10, i64 264, !13, i64 272, !10, i64 280, !13, i64 288, !10, i64 296, !10, i64 304, !13, i64 312, !10, i64 320, !13, i64 328, !12, i64 336, !13, i64 360, !10, i64 368, !10, i64 376, !13, i64 384, !10, i64 392, !13, i64 400, !10, i64 408, !13, i64 416, !10, i64 424, !13, i64 432, !14, i64 440, !15, i64 464}
!7 = !{!"_ZTS15cgltf_file_type", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!"_ZTS11cgltf_asset", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !12, i64 32, !13, i64 56, !10, i64 64}
!12 = !{!"_ZTS12cgltf_extras", !13, i64 0, !13, i64 8, !10, i64 16}
!13 = !{!"long", !8, i64 0}
!14 = !{!"_ZTS20cgltf_memory_options", !10, i64 0, !10, i64 8, !10, i64 16}
!15 = !{!"_ZTS18cgltf_file_options", !10, i64 0, !10, i64 8, !10, i64 16}
!16 = !{!17, !19, i64 4}
!17 = !{!"_ZTS8NodeInfo", !18, i64 0, !19, i64 4, !19, i64 5, !18, i64 8, !18, i64 12, !20, i64 16, !19, i64 40, !13, i64 48, !10, i64 56}
!18 = !{!"int", !8, i64 0}
!19 = !{!"bool", !8, i64 0}
!20 = !{!"_ZTSSt6vectorImSaImEE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseImSaImEE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseImSaImEE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseImSaImEE17_Vector_impl_dataE", !10, i64 0, !10, i64 8, !10, i64 16}
!24 = !{i8 0, i8 2}
!25 = !{}
!26 = !{!6, !10, i64 264}
!27 = !{!28, !10, i64 8}
!28 = !{!"_ZTS10cgltf_node", !10, i64 0, !10, i64 8, !10, i64 16, !13, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !13, i64 72, !18, i64 80, !18, i64 84, !18, i64 88, !18, i64 92, !8, i64 96, !8, i64 108, !8, i64 124, !8, i64 136, !12, i64 200, !18, i64 224, !29, i64 232, !13, i64 248, !10, i64 256}
!29 = !{!"_ZTS25cgltf_mesh_gpu_instancing", !10, i64 0, !13, i64 8}
!30 = distinct !{!30, !31}
!31 = !{!"llvm.loop.mustprogress"}
!32 = distinct !{!32, !31}
!33 = !{!13, !13, i64 0}
!34 = !{!17, !18, i64 12}
!35 = distinct !{!35, !31}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass