; LLVM IR from Overload-Technologies/Overload :: Dependencies/assimp/code/PostProcessing (OptimizeMeshes)

; 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.Assimp::OptimizeMeshesProcess" = type { %"class.Assimp::BaseProcess", ptr, %"class.std::vector", %"class.std::vector.0", i8, i32, i32, %"class.std::vector.0" }
%"class.Assimp::BaseProcess" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<Assimp::OptimizeMeshesProcess::MeshInfo, std::allocator<Assimp::OptimizeMeshesProcess::MeshInfo>>::_Vector_impl" }
%"struct.std::_Vector_base<Assimp::OptimizeMeshesProcess::MeshInfo, std::allocator<Assimp::OptimizeMeshesProcess::MeshInfo>>::_Vector_impl" = type { %"struct.std::_Vector_base<Assimp::OptimizeMeshesProcess::MeshInfo, std::allocator<Assimp::OptimizeMeshesProcess::MeshInfo>>::_Vector_impl_data" }
%"struct.std::_Vector_base<Assimp::OptimizeMeshesProcess::MeshInfo, std::allocator<Assimp::OptimizeMeshesProcess::MeshInfo>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl" }
%"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl" = type { %"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl_data" }
%"struct.std::_Vector_base<aiMesh *, std::allocator<aiMesh *>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.Assimp::OptimizeMeshesProcess::MeshInfo" = type { i32, i32, i32 }
%struct.aiScene = type { i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, i32, ptr, ptr, %struct.aiString, i32, ptr, ptr }
%struct.aiString = type { i32, [1024 x i8] }
%struct.aiMesh = type { i32, i32, i32, ptr, ptr, ptr, ptr, [8 x ptr], [8 x ptr], [8 x i32], ptr, i32, ptr, i32, %struct.aiString, i32, ptr, i32, %struct.aiAABB, ptr }
%struct.aiAABB = type { %class.aiVector3t, %class.aiVector3t }
%class.aiVector3t = type { float, float, float }

; 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 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_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 uwtable
define dso_local noundef zeroext i1 @_ZN6Assimp21OptimizeMeshesProcess7CanJoinEjjjj(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) #2 align 2 {
  %6 = alloca i1, align 1
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !9
  store i32 %2, ptr %9, align 4, !tbaa !9
  store i32 %3, ptr %10, align 4, !tbaa !9
  store i32 %4, ptr %11, align 4, !tbaa !9
  %15 = load ptr, ptr %7, align 8
  %16 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 2
  %17 = load i32, ptr %8, align 4, !tbaa !9
  %18 = zext i32 %17 to i64
  %19 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %18) #3
  %20 = getelementptr inbounds %"struct.Assimp::OptimizeMeshesProcess::MeshInfo", ptr %19, i32 0, i32 1
  %21 = load i32, ptr %20, align 4, !tbaa !11
  %22 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 2
  %23 = load i32, ptr %9, align 4, !tbaa !9
  %24 = zext i32 %23 to i64
  %25 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %22, i64 noundef %24) #3
  %26 = getelementptr inbounds %"struct.Assimp::OptimizeMeshesProcess::MeshInfo", ptr %25, i32 0, i32 1
  %27 = load i32, ptr %26, align 4, !tbaa !11
  %28 = icmp ne i32 %21, %27
  br i1 %28, label %29, label %30

29:                                               ; preds = %5
  store i1 false, ptr %6, align 1
  br label %109

30:                                               ; preds = %5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  %31 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 1
  %32 = load ptr, ptr %31, align 8, !tbaa !13
  %33 = getelementptr inbounds %struct.aiScene, ptr %32, i32 0, i32 3
  %34 = load ptr, ptr %33, align 8, !tbaa !25
  %35 = load i32, ptr %8, align 4, !tbaa !9
  %36 = zext i32 %35 to i64
  %37 = getelementptr inbounds ptr, ptr %34, i64 %36
  %38 = load ptr, ptr %37, align 8, !tbaa !5
  store ptr %38, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  %39 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 1
  %40 = load ptr, ptr %39, align 8, !tbaa !13
  %41 = getelementptr inbounds %struct.aiScene, ptr %40, i32 0, i32 3
  %42 = load ptr, ptr %41, align 8, !tbaa !25
  %43 = load i32, ptr %9, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds ptr, ptr %42, i64 %44
  %46 = load ptr, ptr %45, align 8, !tbaa !5
  store ptr %46, ptr %13, align 8, !tbaa !5
  %47 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 5
  %48 = load i32, ptr %47, align 4, !tbaa !28
  %49 = icmp ne i32 -1, %48
  br i1 %49, label %50, label %59

50:                                               ; preds = %30
  %51 = load i32, ptr %10, align 4, !tbaa !9
  %52 = load ptr, ptr %13, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.aiMesh, ptr %52, i32 0, i32 1
  %54 = load i32, ptr %53, align 4, !tbaa !29
  %55 = add i32 %51, %54
  %56 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 5
  %57 = load i32, ptr %56, align 4, !tbaa !28
  %58 = icmp ugt i32 %55, %57
  br i1 %58, label %72, label %59

59:                                               ; preds = %50, %30
  %60 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 6
  %61 = load i32, ptr %60, align 8, !tbaa !35
  %62 = icmp ne i32 -1, %61
  br i1 %62, label %63, label %73

63:                                               ; preds = %59
  %64 = load i32, ptr %11, align 4, !tbaa !9
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = getelementptr inbounds %struct.aiMesh, ptr %65, i32 0, i32 2
  %67 = load i32, ptr %66, align 8, !tbaa !36
  %68 = add i32 %64, %67
  %69 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 6
  %70 = load i32, ptr %69, align 8, !tbaa !35
  %71 = icmp ugt i32 %68, %70
  br i1 %71, label %72, label %73

72:                                               ; preds = %63, %50
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %108

73:                                               ; preds = %63, %59
  %74 = load ptr, ptr %12, align 8, !tbaa !5
  %75 = getelementptr inbounds %struct.aiMesh, ptr %74, i32 0, i32 13
  %76 = load i32, ptr %75, align 8, !tbaa !37
  %77 = load ptr, ptr %13, align 8, !tbaa !5
  %78 = getelementptr inbounds %struct.aiMesh, ptr %77, i32 0, i32 13
  %79 = load i32, ptr %78, align 8, !tbaa !37
  %80 = icmp ne i32 %76, %79
  br i1 %80, label %89, label %81

81:                                               ; preds = %73
  %82 = load ptr, ptr %12, align 8, !tbaa !5
  %83 = call noundef zeroext i1 @_ZNK6aiMesh8HasBonesEv(ptr noundef nonnull align 8 dereferenceable(1320) %82)
  %84 = zext i1 %83 to i32
  %85 = load ptr, ptr %13, align 8, !tbaa !5
  %86 = call noundef zeroext i1 @_ZNK6aiMesh8HasBonesEv(ptr noundef nonnull align 8 dereferenceable(1320) %85)
  %87 = zext i1 %86 to i32
  %88 = icmp ne i32 %84, %87
  br i1 %88, label %89, label %90

89:                                               ; preds = %81, %73
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %108

90:                                               ; preds = %81
  %91 = getelementptr inbounds %"class.Assimp::OptimizeMeshesProcess", ptr %15, i32 0, i32 4
  %92 = load i8, ptr %91, align 8, !tbaa !38, !range !39, !noundef !40
  %93 = trunc i8 %92 to i1
  br i1 %93, label %94, label %103

94:                                               ; preds = %90
  %95 = load ptr, ptr %12, align 8, !tbaa !5
  %96 = getelementptr inbounds %struct.aiMesh, ptr %95, i32 0, i32 0
  %97 = load i32, ptr %96, align 8, !tbaa !41
  %98 = load ptr, ptr %13, align 8, !tbaa !5
  %99 = getelementptr inbounds %struct.aiMesh, ptr %98, i32 0, i32 0
  %100 = load i32, ptr %99, align 8, !tbaa !41
  %101 = icmp ne i32 %97, %100
  br i1 %101, label %102, label %103

102:                                              ; preds = %94
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %108

103:                                              ; preds = %94, %90
  %104 = load ptr, ptr %12, align 8, !tbaa !5
  %105 = call noundef zeroext i1 @_ZNK6aiMesh8HasBonesEv(ptr noundef nonnull align 8 dereferenceable(1320) %104)
  br i1 %105, label %106, label %107

106:                                              ; preds = %103
  store i1 false, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %108

107:                                              ; preds = %103
  store i1 true, ptr %6, align 1
  store i32 1, ptr %14, align 4
  br label %108

108:                                              ; preds = %107, %106, %102, %89, %72
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  br label %109

109:                                              ; preds = %108, %29
  %110 = load i1, ptr %6, align 1
  ret i1 %110
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6aiMesh8HasBonesEv(ptr noundef nonnull align 8 dereferenceable(1320)) #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 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 4}
!12 = !{!"_ZTSN6Assimp21OptimizeMeshesProcess8MeshInfoE", !10, i64 0, !10, i64 4, !10, i64 8}
!13 = !{!14, !6, i64 24}
!14 = !{!"_ZTSN6Assimp21OptimizeMeshesProcessE", !15, i64 0, !6, i64 24, !16, i64 32, !20, i64 56, !24, i64 80, !10, i64 84, !10, i64 88, !20, i64 96}
!15 = !{!"_ZTSN6Assimp11BaseProcessE", !6, i64 8, !6, i64 16}
!16 = !{!"_ZTSSt6vectorIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EE", !17, i64 0}
!17 = !{!"_ZTSSt12_Vector_baseIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EE12_Vector_implE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!20 = !{!"_ZTSSt6vectorIP6aiMeshSaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSSt12_Vector_baseIP6aiMeshSaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIP6aiMeshSaIS1_EE12_Vector_implE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIP6aiMeshSaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!24 = !{!"bool", !7, i64 0}
!25 = !{!26, !6, i64 24}
!26 = !{!"_ZTS7aiScene", !10, i64 0, !6, i64 8, !10, i64 16, !6, i64 24, !10, i64 32, !6, i64 40, !10, i64 48, !6, i64 56, !10, i64 64, !6, i64 72, !10, i64 80, !6, i64 88, !10, i64 96, !6, i64 104, !6, i64 112, !27, i64 120, !10, i64 1148, !6, i64 1152, !6, i64 1160}
!27 = !{!"_ZTS8aiString", !10, i64 0, !7, i64 4}
!28 = !{!14, !10, i64 84}
!29 = !{!30, !10, i64 4}
!30 = !{!"_ZTS6aiMesh", !10, i64 0, !10, i64 4, !10, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !7, i64 48, !7, i64 112, !7, i64 176, !6, i64 208, !10, i64 216, !6, i64 224, !10, i64 232, !27, i64 236, !10, i64 1264, !6, i64 1272, !31, i64 1280, !32, i64 1284, !6, i64 1312}
!31 = !{!"_ZTS16aiMorphingMethod", !7, i64 0}
!32 = !{!"_ZTS6aiAABB", !33, i64 0, !33, i64 12}
!33 = !{!"_ZTS10aiVector3tIfE", !34, i64 0, !34, i64 4, !34, i64 8}
!34 = !{!"float", !7, i64 0}
!35 = !{!14, !10, i64 88}
!36 = !{!30, !10, i64 8}
!37 = !{!30, !10, i64 232}
!38 = !{!14, !24, i64 80}
!39 = !{i8 0, i8 2}
!40 = !{}
!41 = !{!30, !10, 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"

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN6Assimp21OptimizeMeshesProcess7CanJoinEjjjj(ptr noundef nonnull align 8 dereferenceable(120) %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, i32 noundef %4) local_unnamed_addr #0 align 2 {
  %6 = getelementptr inbounds i8, ptr %0, i64 32
  %7 = zext i32 %1 to i64
  %8 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %7) #1
  %9 = getelementptr inbounds i8, ptr %8, i64 4
  %10 = load i32, ptr %9, align 4, !tbaa !5
  %11 = zext i32 %2 to i64
  %12 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNSt6vectorIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EEixEm(ptr noundef nonnull align 8 dereferenceable(24) %6, i64 noundef %11) #1
  %13 = getelementptr inbounds i8, ptr %12, i64 4
  %14 = load i32, ptr %13, align 4, !tbaa !5
  %.not = icmp eq i32 %10, %14
  br i1 %.not, label %15, label %57

15:                                               ; preds = %5
  %16 = getelementptr inbounds i8, ptr %0, i64 24
  %17 = load ptr, ptr %16, align 8, !tbaa !10
  %18 = getelementptr inbounds i8, ptr %17, i64 24
  %19 = load ptr, ptr %18, align 8, !tbaa !23
  %20 = getelementptr inbounds ptr, ptr %19, i64 %7
  %21 = load ptr, ptr %20, align 8, !tbaa !26
  %22 = getelementptr inbounds ptr, ptr %19, i64 %11
  %23 = load ptr, ptr %22, align 8, !tbaa !26
  %24 = getelementptr inbounds i8, ptr %0, i64 84
  %25 = load i32, ptr %24, align 4, !tbaa !27
  %.not18 = icmp eq i32 %25, -1
  br i1 %.not18, label %31, label %26

26:                                               ; preds = %15
  %27 = getelementptr inbounds i8, ptr %23, i64 4
  %28 = load i32, ptr %27, align 4, !tbaa !28
  %29 = add i32 %28, %3
  %30 = icmp ugt i32 %29, %25
  br i1 %30, label %57, label %31

31:                                               ; preds = %26, %15
  %32 = getelementptr inbounds i8, ptr %0, i64 88
  %33 = load i32, ptr %32, align 8, !tbaa !34
  %.not19 = icmp eq i32 %33, -1
  br i1 %.not19, label %39, label %34

34:                                               ; preds = %31
  %35 = getelementptr inbounds i8, ptr %23, i64 8
  %36 = load i32, ptr %35, align 8, !tbaa !35
  %37 = add i32 %36, %4
  %38 = icmp ugt i32 %37, %33
  br i1 %38, label %57, label %39

39:                                               ; preds = %34, %31
  %40 = getelementptr inbounds i8, ptr %21, i64 232
  %41 = load i32, ptr %40, align 8, !tbaa !36
  %42 = getelementptr inbounds i8, ptr %23, i64 232
  %43 = load i32, ptr %42, align 8, !tbaa !36
  %.not20 = icmp eq i32 %41, %43
  br i1 %.not20, label %44, label %57

44:                                               ; preds = %39
  %45 = tail call noundef zeroext i1 @_ZNK6aiMesh8HasBonesEv(ptr noundef nonnull align 8 dereferenceable(1320) %21)
  %46 = tail call noundef zeroext i1 @_ZNK6aiMesh8HasBonesEv(ptr noundef nonnull align 8 dereferenceable(1320) %23)
  %47 = xor i1 %45, %46
  br i1 %47, label %57, label %48

48:                                               ; preds = %44
  %49 = getelementptr inbounds i8, ptr %0, i64 80
  %50 = load i8, ptr %49, align 8, !tbaa !37, !range !38, !noundef !39
  %51 = trunc nuw i8 %50 to i1
  br i1 %51, label %52, label %55

52:                                               ; preds = %48
  %53 = load i32, ptr %21, align 8, !tbaa !40
  %54 = load i32, ptr %23, align 8, !tbaa !40
  %.not22 = icmp eq i32 %53, %54
  br i1 %.not22, label %55, label %57

55:                                               ; preds = %52, %48
  %56 = tail call noundef zeroext i1 @_ZNK6aiMesh8HasBonesEv(ptr noundef nonnull align 8 dereferenceable(1320) %21)
  %not. = xor i1 %56, true
  br label %57

57:                                               ; preds = %34, %26, %44, %39, %52, %55, %5
  %.1 = phi i1 [ false, %5 ], [ false, %34 ], [ false, %26 ], [ false, %44 ], [ false, %39 ], [ false, %52 ], [ %not., %55 ]
  ret i1 %.1
}

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZNK6aiMesh8HasBonesEv(ptr noundef nonnull align 8 dereferenceable(1320)) 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 = { 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, !7, i64 4}
!6 = !{!"_ZTSN6Assimp21OptimizeMeshesProcess8MeshInfoE", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !13, i64 24}
!11 = !{!"_ZTSN6Assimp21OptimizeMeshesProcessE", !12, i64 0, !13, i64 24, !14, i64 32, !18, i64 56, !22, i64 80, !7, i64 84, !7, i64 88, !18, i64 96}
!12 = !{!"_ZTSN6Assimp11BaseProcessE", !13, i64 8, !13, i64 16}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!"_ZTSSt6vectorIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EE", !15, i64 0}
!15 = !{!"_ZTSSt12_Vector_baseIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EE12_Vector_implE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIN6Assimp21OptimizeMeshesProcess8MeshInfoESaIS2_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!18 = !{!"_ZTSSt6vectorIP6aiMeshSaIS1_EE", !19, i64 0}
!19 = !{!"_ZTSSt12_Vector_baseIP6aiMeshSaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIP6aiMeshSaIS1_EE12_Vector_implE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIP6aiMeshSaIS1_EE17_Vector_impl_dataE", !13, i64 0, !13, i64 8, !13, i64 16}
!22 = !{!"bool", !8, i64 0}
!23 = !{!24, !13, i64 24}
!24 = !{!"_ZTS7aiScene", !7, i64 0, !13, i64 8, !7, i64 16, !13, i64 24, !7, i64 32, !13, i64 40, !7, i64 48, !13, i64 56, !7, i64 64, !13, i64 72, !7, i64 80, !13, i64 88, !7, i64 96, !13, i64 104, !13, i64 112, !25, i64 120, !7, i64 1148, !13, i64 1152, !13, i64 1160}
!25 = !{!"_ZTS8aiString", !7, i64 0, !8, i64 4}
!26 = !{!13, !13, i64 0}
!27 = !{!11, !7, i64 84}
!28 = !{!29, !7, i64 4}
!29 = !{!"_ZTS6aiMesh", !7, i64 0, !7, i64 4, !7, i64 8, !13, i64 16, !13, i64 24, !13, i64 32, !13, i64 40, !8, i64 48, !8, i64 112, !8, i64 176, !13, i64 208, !7, i64 216, !13, i64 224, !7, i64 232, !25, i64 236, !7, i64 1264, !13, i64 1272, !30, i64 1280, !31, i64 1284, !13, i64 1312}
!30 = !{!"_ZTS16aiMorphingMethod", !8, i64 0}
!31 = !{!"_ZTS6aiAABB", !32, i64 0, !32, i64 12}
!32 = !{!"_ZTS10aiVector3tIfE", !33, i64 0, !33, i64 4, !33, i64 8}
!33 = !{!"float", !8, i64 0}
!34 = !{!11, !7, i64 88}
!35 = !{!29, !7, i64 8}
!36 = !{!29, !7, i64 232}
!37 = !{!11, !22, i64 80}
!38 = !{i8 0, i8 2}
!39 = !{}
!40 = !{!29, !7, i64 0}


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