; LLVM IR from goldest-star/seawave-animation :: src/scenes/3D_graphics/01_modeling (modeling)

; 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.vcl::buffer_stack" = type { float, float, float }
%"struct.std::_List_iterator" = type { ptr }
%"struct.std::_List_const_iterator" = type { ptr }
%"struct.vcl::mat" = type { float, float, float, float, float, float, float, float, float }
%struct.scene_model = type <{ %"struct.vcl::mesh_drawable", %"struct.vcl::mesh_drawable", %"class.std::vector", %"struct.vcl::mesh_drawable", [4 x i8], %"class.std::vector", %"struct.vcl::mesh_drawable", %"struct.vcl::mesh_drawable", %"struct.vcl::mesh_drawable", %"struct.vcl::mesh_drawable", %"struct.vcl::mesh_drawable", [4 x i8], %"class.std::__cxx11::list", i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, %"struct.vcl::buffer", %"struct.vcl::buffer", %"struct.vcl::hierarchy_mesh_drawable", %"struct.vcl::hierarchy_mesh_drawable", %struct.gui_scene_structure, %"class.vcl::timer_interval", %"class.vcl::timer_interval", %"class.vcl::timer_interval", %"class.vcl::timer_interval", %"class.vcl::timer_event", i8, i8, i8, i8, [4 x i8] }>
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::buffer_stack<float, 3>, std::allocator<vcl::buffer_stack<float, 3>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::mesh_drawable" = type { %"struct.vcl::mesh_drawable_gpu_data", %"struct.vcl::mesh_drawable_uniform", i32, i32 }
%"struct.vcl::mesh_drawable_gpu_data" = type { i32, i32, i32, i32, i32, i32, i32 }
%"struct.vcl::mesh_drawable_uniform" = type { %"struct.vcl::affine_transform", %"struct.vcl::buffer_stack", %"struct.vcl::shading_mesh", float }
%"struct.vcl::affine_transform" = type { %"struct.vcl::buffer_stack", %"struct.vcl::mat", float, %"struct.vcl::buffer_stack" }
%"struct.vcl::shading_mesh" = type { float, float, float, i32 }
%"class.std::__cxx11::list" = type { %"class.std::__cxx11::_List_base" }
%"class.std::__cxx11::_List_base" = type { %"struct.std::__cxx11::_List_base<particle_structure, std::allocator<particle_structure>>::_List_impl" }
%"struct.std::__cxx11::_List_base<particle_structure, std::allocator<particle_structure>>::_List_impl" = type { %"struct.std::__detail::_List_node_header" }
%"struct.std::__detail::_List_node_header" = type { %"struct.std::__detail::_List_node_base", i64 }
%"struct.std::__detail::_List_node_base" = type { ptr, ptr }
%"struct.vcl::buffer" = type { %"class.std::vector.3" }
%"class.std::vector.3" = type { %"struct.std::_Vector_base.4" }
%"struct.std::_Vector_base.4" = type { %"struct.std::_Vector_base<vec3t, std::allocator<vec3t>>::_Vector_impl" }
%"struct.std::_Vector_base<vec3t, std::allocator<vec3t>>::_Vector_impl" = type { %"struct.std::_Vector_base<vec3t, std::allocator<vec3t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vec3t, std::allocator<vec3t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"struct.vcl::hierarchy_mesh_drawable" = type { %"class.std::map", %"class.std::vector.11" }
%"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>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, 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>, int>, std::_Select1st<std::pair<const std::__cxx11::basic_string<char>, 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.11" = type { %"struct.std::_Vector_base.12" }
%"struct.std::_Vector_base.12" = type { %"struct.std::_Vector_base<vcl::hierarchy_mesh_drawable_node, std::allocator<vcl::hierarchy_mesh_drawable_node>>::_Vector_impl" }
%"struct.std::_Vector_base<vcl::hierarchy_mesh_drawable_node, std::allocator<vcl::hierarchy_mesh_drawable_node>>::_Vector_impl" = type { %"struct.std::_Vector_base<vcl::hierarchy_mesh_drawable_node, std::allocator<vcl::hierarchy_mesh_drawable_node>>::_Vector_impl_data" }
%"struct.std::_Vector_base<vcl::hierarchy_mesh_drawable_node, std::allocator<vcl::hierarchy_mesh_drawable_node>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%struct.gui_scene_structure = type { i8, i8, i8, float, float, i32, float }
%"class.vcl::timer_interval" = type { %"class.vcl::timer_basic", float, float }
%"class.vcl::timer_basic" = type { float, float, i8, float }
%"class.vcl::timer_event" = type { %"class.vcl::timer_basic", i8, float, float }
%struct.particle_structure = type { %"struct.vcl::buffer_stack", %"struct.vcl::buffer_stack" }

; 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: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

declare void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11scene_model20set_missle_animationERKN3vcl12buffer_stackIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(1516) %0, ptr noundef nonnull align 4 dereferenceable(12) %1) #3 align 2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca float, align 4
  %6 = alloca %"struct.vcl::buffer_stack", align 4
  %7 = alloca ptr, align 8
  %8 = alloca %"struct.std::_List_iterator", align 8
  %9 = alloca %"struct.std::_List_iterator", align 8
  %10 = alloca ptr, align 8
  %11 = alloca float, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca %"struct.vcl::buffer_stack", align 4
  %15 = alloca { <2 x float>, float }, align 8
  %16 = alloca %"struct.vcl::buffer_stack", align 4
  %17 = alloca %"struct.vcl::buffer_stack", align 4
  %18 = alloca %"struct.vcl::buffer_stack", align 4
  %19 = alloca { <2 x float>, float }, align 8
  %20 = alloca { <2 x float>, float }, align 8
  %21 = alloca { <2 x float>, float }, align 8
  %22 = alloca %"struct.vcl::buffer_stack", align 4
  %23 = alloca %"struct.vcl::buffer_stack", align 4
  %24 = alloca { <2 x float>, float }, align 8
  %25 = alloca { <2 x float>, float }, align 8
  %26 = alloca %"struct.std::_List_iterator", align 8
  %27 = alloca %"struct.std::_List_iterator", align 8
  %28 = alloca %"struct.std::_List_iterator", align 8
  %29 = alloca %"struct.std::_List_const_iterator", align 8
  %30 = alloca %"struct.std::_List_iterator", align 8
  %31 = alloca ptr, align 8
  %32 = alloca %"struct.std::_List_iterator", align 8
  %33 = alloca %"struct.std::_List_iterator", align 8
  %34 = alloca ptr, align 8
  %35 = alloca %"struct.vcl::mat", align 4
  %36 = alloca %"struct.vcl::buffer_stack", align 4
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  %37 = load ptr, ptr %3, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #6
  %38 = getelementptr inbounds %struct.scene_model, ptr %37, i32 0, i32 32
  %39 = call noundef float @_ZN3vcl11timer_event6updateEv(ptr noundef nonnull align 4 dereferenceable(28) %38)
  store float %39, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #6
  call void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %6, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0xC0239EB860000000)
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #6
  %40 = getelementptr inbounds %struct.scene_model, ptr %37, i32 0, i32 12
  store ptr %40, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #6
  %41 = load ptr, ptr %7, align 8, !tbaa !5
  %42 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %41) #6
  %43 = getelementptr inbounds %"struct.std::_List_iterator", ptr %8, i32 0, i32 0
  store ptr %42, ptr %43, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #6
  %44 = load ptr, ptr %7, align 8, !tbaa !5
  %45 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %44) #6
  %46 = getelementptr inbounds %"struct.std::_List_iterator", ptr %9, i32 0, i32 0
  store ptr %45, ptr %46, align 8
  br label %47

47:                                               ; preds = %69, %2
  %48 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %8, ptr noundef nonnull align 8 dereferenceable(8) %9) #6
  br i1 %48, label %50, label %49

49:                                               ; preds = %47
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #6
  br label %71

50:                                               ; preds = %47
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #6
  %51 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZNKSt14_List_iteratorI18particle_structureEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  store ptr %51, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store float 0x3F847AE140000000, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #6
  %52 = load ptr, ptr %10, align 8, !tbaa !5
  %53 = getelementptr inbounds %struct.particle_structure, ptr %52, i32 0, i32 0
  store ptr %53, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #6
  %54 = load ptr, ptr %10, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.particle_structure, ptr %54, i32 0, i32 1
  store ptr %55, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %14) #6
  %56 = call { <2 x float>, float } @_ZN3vclmlIfLm3EEENS_12buffer_stackIT_XT0_EEEfRKS3_(float noundef 0x3F847AE140000000, ptr noundef nonnull align 4 dereferenceable(12) %6)
  store { <2 x float>, float } %56, ptr %15, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %14, ptr align 8 %15, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #6
  %57 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #6
  %58 = load float, ptr %5, align 4, !tbaa !9
  %59 = call { <2 x float>, float } @_ZN3vclmlIfLm3EEENS_12buffer_stackIT_XT0_EEEfRKS3_(float noundef %58, ptr noundef nonnull align 4 dereferenceable(12) %14)
  store { <2 x float>, float } %59, ptr %19, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %18, ptr align 8 %19, i64 12, i1 false)
  %60 = call { <2 x float>, float } @_ZN3vcldvIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_f(ptr noundef nonnull align 4 dereferenceable(12) %18, float noundef 0x3F847AE140000000)
  store { <2 x float>, float } %60, ptr %20, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %17, ptr align 8 %20, i64 12, i1 false)
  %61 = call { <2 x float>, float } @_ZN3vclplIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %57, ptr noundef nonnull align 4 dereferenceable(12) %17)
  store { <2 x float>, float } %61, ptr %21, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %16, ptr align 8 %21, i64 12, i1 false)
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %62, ptr align 4 %16, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #6
  %63 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr %23) #6
  %64 = load float, ptr %5, align 4, !tbaa !9
  %65 = load ptr, ptr %13, align 8, !tbaa !5
  %66 = call { <2 x float>, float } @_ZN3vclmlIfLm3EEENS_12buffer_stackIT_XT0_EEEfRKS3_(float noundef %64, ptr noundef nonnull align 4 dereferenceable(12) %65)
  store { <2 x float>, float } %66, ptr %24, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %23, ptr align 8 %24, i64 12, i1 false)
  %67 = call { <2 x float>, float } @_ZN3vclplIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %63, ptr noundef nonnull align 4 dereferenceable(12) %23)
  store { <2 x float>, float } %67, ptr %25, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %22, ptr align 8 %25, i64 12, i1 false)
  %68 = load ptr, ptr %12, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %68, ptr align 4 %22, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 12, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #6
  br label %69

69:                                               ; preds = %50
  %70 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorI18particle_structureEppEv(ptr noundef nonnull align 8 dereferenceable(8) %8) #6
  br label %47

71:                                               ; preds = %49
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #6
  %72 = getelementptr inbounds %struct.scene_model, ptr %37, i32 0, i32 12
  %73 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %72) #6
  %74 = getelementptr inbounds %"struct.std::_List_iterator", ptr %26, i32 0, i32 0
  store ptr %73, ptr %74, align 8
  br label %75

75:                                               ; preds = %96, %71
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #6
  %76 = getelementptr inbounds %struct.scene_model, ptr %37, i32 0, i32 12
  %77 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %76) #6
  %78 = getelementptr inbounds %"struct.std::_List_iterator", ptr %27, i32 0, i32 0
  store ptr %77, ptr %78, align 8
  %79 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %26, ptr noundef nonnull align 8 dereferenceable(8) %27) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #6
  br i1 %79, label %81, label %80

80:                                               ; preds = %75
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #6
  br label %97

81:                                               ; preds = %75
  %82 = call noundef ptr @_ZNKSt14_List_iteratorI18particle_structureEptEv(ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %83 = getelementptr inbounds %struct.particle_structure, ptr %82, i32 0, i32 0
  %84 = getelementptr inbounds %"struct.vcl::buffer_stack", ptr %83, i32 0, i32 2
  %85 = load float, ptr %84, align 4, !tbaa !12
  %86 = fcmp olt float %85, -1.000000e+00
  br i1 %86, label %87, label %93

87:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %88 = getelementptr inbounds %struct.scene_model, ptr %37, i32 0, i32 12
  call void @_ZNSt20_List_const_iteratorI18particle_structureEC2ERKSt14_List_iteratorIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %29, ptr noundef nonnull align 8 dereferenceable(8) %26) #6
  %89 = getelementptr inbounds %"struct.std::_List_const_iterator", ptr %29, i32 0, i32 0
  %90 = load ptr, ptr %89, align 8
  %91 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5eraseESt20_List_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %88, ptr %90) #6
  %92 = getelementptr inbounds %"struct.std::_List_iterator", ptr %28, i32 0, i32 0
  store ptr %91, ptr %92, align 8
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %26, ptr align 8 %28, i64 8, i1 false), !tbaa.struct !15
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %96

93:                                               ; preds = %81
  %94 = call ptr @_ZNSt14_List_iteratorI18particle_structureEppEi(ptr noundef nonnull align 8 dereferenceable(8) %26, i32 noundef 0) #6
  %95 = getelementptr inbounds %"struct.std::_List_iterator", ptr %30, i32 0, i32 0
  store ptr %94, ptr %95, align 8
  br label %96

96:                                               ; preds = %93, %87
  br label %75, !llvm.loop !16

97:                                               ; preds = %80
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  %98 = getelementptr inbounds %struct.scene_model, ptr %37, i32 0, i32 12
  store ptr %98, ptr %31, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  %99 = load ptr, ptr %31, align 8, !tbaa !5
  %100 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %99) #6
  %101 = getelementptr inbounds %"struct.std::_List_iterator", ptr %32, i32 0, i32 0
  store ptr %100, ptr %101, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  %102 = load ptr, ptr %31, align 8, !tbaa !5
  %103 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %102) #6
  %104 = getelementptr inbounds %"struct.std::_List_iterator", ptr %33, i32 0, i32 0
  store ptr %103, ptr %104, align 8
  br label %105

105:                                              ; preds = %116, %97
  %106 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef nonnull align 8 dereferenceable(8) %33) #6
  br i1 %106, label %108, label %107

107:                                              ; preds = %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  br label %118

108:                                              ; preds = %105
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  %109 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZNKSt14_List_iteratorI18particle_structureEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  store ptr %109, ptr %34, align 8, !tbaa !5
  %110 = load ptr, ptr %34, align 8, !tbaa !5
  %111 = getelementptr inbounds %struct.particle_structure, ptr %110, i32 0, i32 0
  %112 = getelementptr inbounds %struct.scene_model, ptr %37, i32 0, i32 10
  %113 = getelementptr inbounds %"struct.vcl::mesh_drawable", ptr %112, i32 0, i32 1
  %114 = getelementptr inbounds %"struct.vcl::mesh_drawable_uniform", ptr %113, i32 0, i32 0
  %115 = getelementptr inbounds %"struct.vcl::affine_transform", ptr %114, i32 0, i32 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %115, ptr align 4 %111, i64 12, i1 false), !tbaa.struct !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  br label %116

116:                                              ; preds = %108
  %117 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorI18particle_structureEppEv(ptr noundef nonnull align 8 dereferenceable(8) %32) #6
  br label %105

118:                                              ; preds = %107
  call void @llvm.lifetime.start.p0(i64 36, ptr %35) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #6
  call void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %36, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00)
  %119 = load ptr, ptr %4, align 8, !tbaa !5
  call void @_ZN3vcl28rotation_between_vector_mat3ERKNS_12buffer_stackIfLm3EEES3_(ptr dead_on_unwind writable sret(%"struct.vcl::mat") align 4 %35, ptr noundef nonnull align 4 dereferenceable(12) %36, ptr noundef nonnull align 4 dereferenceable(12) %119)
  %120 = getelementptr inbounds %struct.scene_model, ptr %37, i32 0, i32 10
  %121 = getelementptr inbounds %"struct.vcl::mesh_drawable", ptr %120, i32 0, i32 1
  %122 = getelementptr inbounds %"struct.vcl::mesh_drawable_uniform", ptr %121, i32 0, i32 0
  %123 = getelementptr inbounds %"struct.vcl::affine_transform", ptr %122, i32 0, i32 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %123, ptr align 4 %35, i64 36, i1 false), !tbaa.struct !18
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #6
  ret void
}

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vclplIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vclmlIfLm3EEENS_12buffer_stackIT_XT0_EEEfRKS3_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) #4

declare void @_ZN3vcl28rotation_between_vector_mat3ERKNS_12buffer_stackIfLm3EEES3_(ptr dead_on_unwind writable sret(%"struct.vcl::mat") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2

declare noundef float @_ZN3vcl11timer_event6updateEv(ptr noundef nonnull align 4 dereferenceable(28)) #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

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

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vcldvIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_f(ptr noundef nonnull align 4 dereferenceable(12), float noundef) #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5eraseESt20_List_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(24), ptr) #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt20_List_const_iteratorI18particle_structureEC2ERKSt14_List_iteratorIS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt14_List_iteratorI18particle_structureEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) #5 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 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 = { 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 #6 = { 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 = !{!"float", !7, i64 0}
!11 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9}
!12 = !{!13, !10, i64 8}
!13 = !{!"_ZTS18particle_structure", !14, i64 0, !14, i64 12}
!14 = !{!"_ZTSN3vcl12buffer_stackIfLm3EEE", !10, i64 0, !10, i64 4, !10, i64 8}
!15 = !{i64 0, i64 8, !5}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}
!18 = !{i64 0, i64 4, !9, i64 4, i64 4, !9, i64 8, i64 4, !9, i64 12, i64 4, !9, i64 16, i64 4, !9, i64 20, i64 4, !9, i64 24, i64 4, !9, i64 28, i64 4, !9, i64 32, i64 4, !9}


; 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.vcl::buffer_stack" = type { float, float, float }
%"struct.std::_List_iterator" = type { ptr }
%"struct.std::_List_const_iterator" = type { ptr }
%"struct.vcl::mat" = type { float, float, float, float, float, float, float, float, float }

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

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

declare void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12), float noundef, float noundef, float noundef) unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN11scene_model20set_missle_animationERKN3vcl12buffer_stackIfLm3EEE(ptr noundef nonnull align 8 dereferenceable(1516) %0, ptr noundef nonnull align 4 dereferenceable(12) %1) local_unnamed_addr #3 align 2 {
  %3 = alloca %"struct.vcl::buffer_stack", align 4
  %4 = alloca %"struct.std::_List_iterator", align 8
  %5 = alloca %"struct.std::_List_iterator", align 8
  %6 = alloca %"struct.vcl::buffer_stack", align 8
  %7 = alloca %"struct.vcl::buffer_stack", align 8
  %8 = alloca %"struct.vcl::buffer_stack", align 8
  %9 = alloca %"struct.vcl::buffer_stack", align 8
  %10 = alloca %"struct.std::_List_iterator", align 8
  %11 = alloca %"struct.std::_List_iterator", align 8
  %12 = alloca %"struct.std::_List_const_iterator", align 8
  %13 = alloca %"struct.std::_List_iterator", align 8
  %14 = alloca %"struct.std::_List_iterator", align 8
  %15 = alloca %"struct.vcl::mat", align 4
  %16 = alloca %"struct.vcl::buffer_stack", align 4
  %17 = getelementptr inbounds i8, ptr %0, i64 1484
  %18 = tail call noundef float @_ZN3vcl11timer_event6updateEv(ptr noundef nonnull align 4 dereferenceable(28) %17)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #6
  call void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %3, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef 0xC0239EB860000000)
  %19 = getelementptr inbounds i8, ptr %0, i64 1112
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %4) #6
  %20 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %20, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #6
  %21 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %21, ptr %5, align 8
  %22 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %22, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %2
  %.sroa.227.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
  %.sroa.221.0..sroa_idx = getelementptr inbounds i8, ptr %8, i64 8
  %.sroa.217.0..sroa_idx = getelementptr inbounds i8, ptr %7, i64 8
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %9, i64 8
  br label %26

._crit_edge:                                      ; preds = %26, %2
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %4) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %10) #6
  %23 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %23, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %24 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %24, ptr %11, align 8
  %25 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br i1 %25, label %.lr.ph42, label %._crit_edge43

26:                                               ; preds = %.lr.ph, %26
  %27 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZNKSt14_List_iteratorI18particle_structureEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %28 = getelementptr inbounds i8, ptr %27, i64 12
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %6) #6
  %29 = call { <2 x float>, float } @_ZN3vclmlIfLm3EEENS_12buffer_stackIT_XT0_EEEfRKS3_(float noundef 0x3F847AE140000000, ptr noundef nonnull align 4 dereferenceable(12) %3)
  %.fca.0.extract24 = extractvalue { <2 x float>, float } %29, 0
  %.fca.1.extract25 = extractvalue { <2 x float>, float } %29, 1
  store <2 x float> %.fca.0.extract24, ptr %6, align 8
  store float %.fca.1.extract25, ptr %.sroa.227.0..sroa_idx, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  %30 = call { <2 x float>, float } @_ZN3vclmlIfLm3EEENS_12buffer_stackIT_XT0_EEEfRKS3_(float noundef %18, ptr noundef nonnull align 4 dereferenceable(12) %6)
  %.fca.0.extract18 = extractvalue { <2 x float>, float } %30, 0
  %.fca.1.extract19 = extractvalue { <2 x float>, float } %30, 1
  store <2 x float> %.fca.0.extract18, ptr %8, align 8
  store float %.fca.1.extract19, ptr %.sroa.221.0..sroa_idx, align 8
  %31 = call { <2 x float>, float } @_ZN3vcldvIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_f(ptr noundef nonnull align 4 dereferenceable(12) %8, float noundef 0x3F847AE140000000)
  %.fca.0.extract14 = extractvalue { <2 x float>, float } %31, 0
  %.fca.1.extract15 = extractvalue { <2 x float>, float } %31, 1
  store <2 x float> %.fca.0.extract14, ptr %7, align 8
  store float %.fca.1.extract15, ptr %.sroa.217.0..sroa_idx, align 8
  %32 = call { <2 x float>, float } @_ZN3vclplIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %28, ptr noundef nonnull align 4 dereferenceable(12) %7)
  %.fca.0.extract10 = extractvalue { <2 x float>, float } %32, 0
  %.fca.1.extract11 = extractvalue { <2 x float>, float } %32, 1
  store <2 x float> %.fca.0.extract10, ptr %28, align 4
  %.sroa.423.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 20
  store float %.fca.1.extract11, ptr %.sroa.423.0..sroa_idx, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #6
  %33 = call { <2 x float>, float } @_ZN3vclmlIfLm3EEENS_12buffer_stackIT_XT0_EEEfRKS3_(float noundef %18, ptr noundef nonnull align 4 dereferenceable(12) %28)
  %.fca.0.extract5 = extractvalue { <2 x float>, float } %33, 0
  %.fca.1.extract6 = extractvalue { <2 x float>, float } %33, 1
  store <2 x float> %.fca.0.extract5, ptr %9, align 8
  store float %.fca.1.extract6, ptr %.sroa.28.0..sroa_idx, align 8
  %34 = call { <2 x float>, float } @_ZN3vclplIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12) %27, ptr noundef nonnull align 4 dereferenceable(12) %9)
  %.fca.0.extract = extractvalue { <2 x float>, float } %34, 0
  %.fca.1.extract = extractvalue { <2 x float>, float } %34, 1
  store <2 x float> %.fca.0.extract, ptr %27, align 4
  %.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %27, i64 8
  store float %.fca.1.extract, ptr %.sroa.4.0..sroa_idx, align 4, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %6) #6
  %35 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorI18particle_structureEppEv(ptr noundef nonnull align 8 dereferenceable(8) %4) #6
  %36 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %4, ptr noundef nonnull align 8 dereferenceable(8) %5) #6
  br i1 %36, label %26, label %._crit_edge

._crit_edge43:                                    ; preds = %50, %._crit_edge
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %10) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %13) #6
  %37 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5beginEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %37, ptr %13, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %14) #6
  %38 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %38, ptr %14, align 8
  %39 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %39, label %.lr.ph45, label %._crit_edge46

.lr.ph45:                                         ; preds = %._crit_edge43
  %40 = getelementptr inbounds i8, ptr %0, i64 1004
  br label %54

.lr.ph42:                                         ; preds = %._crit_edge, %50
  %41 = call noundef ptr @_ZNKSt14_List_iteratorI18particle_structureEptEv(ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %42 = getelementptr inbounds i8, ptr %41, i64 8
  %43 = load float, ptr %42, align 4, !tbaa !9
  %44 = fcmp olt float %43, -1.000000e+00
  br i1 %44, label %45, label %48

45:                                               ; preds = %.lr.ph42
  call void @_ZNSt20_List_const_iteratorI18particle_structureEC2ERKSt14_List_iteratorIS0_E(ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %10) #6
  %46 = load ptr, ptr %12, align 8
  %47 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5eraseESt20_List_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(24) %19, ptr %46) #6
  store ptr %47, ptr %10, align 8, !tbaa !12
  br label %50

48:                                               ; preds = %.lr.ph42
  %49 = call ptr @_ZNSt14_List_iteratorI18particle_structureEppEi(ptr noundef nonnull align 8 dereferenceable(8) %10, i32 noundef 0) #6
  br label %50

50:                                               ; preds = %48, %45
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %11) #6
  %51 = call ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE3endEv(ptr noundef nonnull align 8 dereferenceable(24) %19) #6
  store ptr %51, ptr %11, align 8
  %52 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %10, ptr noundef nonnull align 8 dereferenceable(8) %11) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %11) #6
  br i1 %52, label %.lr.ph42, label %._crit_edge43, !llvm.loop !14

._crit_edge46:                                    ; preds = %54, %._crit_edge43
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %14) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 36, ptr nonnull %15) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #6
  call void @_ZN3vcl12buffer_stackIfLm3EEC1Efff(ptr noundef nonnull align 4 dereferenceable(12) %16, float noundef 0.000000e+00, float noundef 0.000000e+00, float noundef -1.000000e+00)
  call void @_ZN3vcl28rotation_between_vector_mat3ERKNS_12buffer_stackIfLm3EEES3_(ptr dead_on_unwind nonnull writable sret(%"struct.vcl::mat") align 4 %15, ptr noundef nonnull align 4 dereferenceable(12) %16, ptr noundef nonnull align 4 dereferenceable(12) %1)
  %53 = getelementptr inbounds i8, ptr %0, i64 1016
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(36) %53, ptr noundef nonnull align 4 dereferenceable(36) %15, i64 36, i1 false), !tbaa.struct !16
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 36, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  ret void

54:                                               ; preds = %.lr.ph45, %54
  %55 = call noundef nonnull align 4 dereferenceable(24) ptr @_ZNKSt14_List_iteratorI18particle_structureEdeEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(12) %40, ptr noundef nonnull align 4 dereferenceable(12) %55, i64 12, i1 false), !tbaa.struct !17
  %56 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt14_List_iteratorI18particle_structureEppEv(ptr noundef nonnull align 8 dereferenceable(8) %13) #6
  %57 = call noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14) #6
  br i1 %57, label %54, label %._crit_edge46
}

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vclplIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_S5_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vclmlIfLm3EEENS_12buffer_stackIT_XT0_EEEfRKS3_(float noundef, ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #4

declare void @_ZN3vcl28rotation_between_vector_mat3ERKNS_12buffer_stackIfLm3EEES3_(ptr dead_on_unwind writable sret(%"struct.vcl::mat") align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2

declare noundef float @_ZN3vcl11timer_event6updateEv(ptr noundef nonnull align 4 dereferenceable(28)) local_unnamed_addr #2

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef zeroext i1 @_ZStneRKSt14_List_iteratorI18particle_structureES3_(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(24) ptr @_ZNKSt14_List_iteratorI18particle_structureEdeEv(ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress uwtable
declare dso_local { <2 x float>, float } @_ZN3vcldvIfLm3EEENS_12buffer_stackIT_XT0_EEERKS3_f(ptr noundef nonnull align 4 dereferenceable(12), float noundef) local_unnamed_addr #4

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt7__cxx114listI18particle_structureSaIS1_EE5eraseESt20_List_const_iteratorIS1_E(ptr noundef nonnull align 8 dereferenceable(24), ptr) local_unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt20_List_const_iteratorI18particle_structureEC2ERKSt14_List_iteratorIS0_E(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #5 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local ptr @_ZNSt14_List_iteratorI18particle_structureEppEi(ptr noundef nonnull align 8 dereferenceable(8), i32 noundef) local_unnamed_addr #5 align 2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { mustprogress uwtable "min-legal-vector-width"="64" "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 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 = { 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 #6 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !6, i64 8}
!10 = !{!"_ZTS18particle_structure", !11, i64 0, !11, i64 12}
!11 = !{!"_ZTSN3vcl12buffer_stackIfLm3EEE", !6, i64 0, !6, i64 4, !6, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !7, i64 0}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5, i64 12, i64 4, !5, i64 16, i64 4, !5, i64 20, i64 4, !5, i64 24, i64 4, !5, i64 28, i64 4, !5, i64 32, i64 4, !5}
!17 = !{i64 0, i64 4, !5, i64 4, i64 4, !5, i64 8, i64 4, !5}


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