; LLVM IR from QUILL-PIC/Quill :: src (low-level)

; 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.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }
%class.spatial_region = type { i32, i32, i32, double, double, double, double, i32, i32, i32, double, ptr, i32, i32, i32, ptr, i32, i32, i32, i32, i32, i32, i32, %"class.std::unique_ptr", %"class.std::function", double, double, double, i32, i32, i32, ptr, double, double, double, double, ptr, double, double, double, ptr, %"class.std::__cxx11::basic_string", ptr, ptr, ptr, ptr, %class.field3d, %class.field3d.26, %class.field3d.51, %class.field3d.76, %class.field3d.101, %"class.std::vector", %"class.std::vector.129" }
%"class.std::function" = type { %"class.std::_Function_base", ptr }
%"class.std::_Function_base" = type { %"union.std::_Any_data", ptr }
%"union.std::_Any_data" = type { %"union.std::_Nocopy_types" }
%"union.std::_Nocopy_types" = type { { i64, i64 } }
%"class.std::__cxx11::basic_string" = type { %"struct.std::__cxx11::basic_string<char>::_Alloc_hider", i64, %union.anon }
%"struct.std::__cxx11::basic_string<char>::_Alloc_hider" = type { ptr }
%union.anon = type { i64, [8 x i8] }
%class.field3d = type { i32, i32, i32, %"class.std::unique_ptr.2", %"class.std::unique_ptr.10", %"class.std::unique_ptr.18" }
%"class.std::unique_ptr.2" = type { %"struct.std::__uniq_ptr_data.3" }
%"struct.std::__uniq_ptr_data.3" = type { %"class.std::__uniq_ptr_impl.4" }
%"class.std::__uniq_ptr_impl.4" = type { %"class.std::tuple.5" }
%"class.std::tuple.5" = type { %"struct.std::_Tuple_impl.6" }
%"struct.std::_Tuple_impl.6" = type { %"struct.std::_Head_base.9" }
%"struct.std::_Head_base.9" = type { ptr }
%"class.std::unique_ptr.10" = type { %"struct.std::__uniq_ptr_data.11" }
%"struct.std::__uniq_ptr_data.11" = type { %"class.std::__uniq_ptr_impl.12" }
%"class.std::__uniq_ptr_impl.12" = type { %"class.std::tuple.13" }
%"class.std::tuple.13" = type { %"struct.std::_Tuple_impl.14" }
%"struct.std::_Tuple_impl.14" = type { %"struct.std::_Head_base.17" }
%"struct.std::_Head_base.17" = type { ptr }
%"class.std::unique_ptr.18" = type { %"struct.std::__uniq_ptr_data.19" }
%"struct.std::__uniq_ptr_data.19" = type { %"class.std::__uniq_ptr_impl.20" }
%"class.std::__uniq_ptr_impl.20" = type { %"class.std::tuple.21" }
%"class.std::tuple.21" = type { %"struct.std::_Tuple_impl.22" }
%"struct.std::_Tuple_impl.22" = type { %"struct.std::_Head_base.25" }
%"struct.std::_Head_base.25" = type { ptr }
%class.field3d.26 = type { i32, i32, i32, %"class.std::unique_ptr.27", %"class.std::unique_ptr.35", %"class.std::unique_ptr.43" }
%"class.std::unique_ptr.27" = type { %"struct.std::__uniq_ptr_data.28" }
%"struct.std::__uniq_ptr_data.28" = type { %"class.std::__uniq_ptr_impl.29" }
%"class.std::__uniq_ptr_impl.29" = type { %"class.std::tuple.30" }
%"class.std::tuple.30" = type { %"struct.std::_Tuple_impl.31" }
%"struct.std::_Tuple_impl.31" = type { %"struct.std::_Head_base.34" }
%"struct.std::_Head_base.34" = type { ptr }
%"class.std::unique_ptr.35" = type { %"struct.std::__uniq_ptr_data.36" }
%"struct.std::__uniq_ptr_data.36" = type { %"class.std::__uniq_ptr_impl.37" }
%"class.std::__uniq_ptr_impl.37" = type { %"class.std::tuple.38" }
%"class.std::tuple.38" = type { %"struct.std::_Tuple_impl.39" }
%"struct.std::_Tuple_impl.39" = type { %"struct.std::_Head_base.42" }
%"struct.std::_Head_base.42" = type { ptr }
%"class.std::unique_ptr.43" = type { %"struct.std::__uniq_ptr_data.44" }
%"struct.std::__uniq_ptr_data.44" = type { %"class.std::__uniq_ptr_impl.45" }
%"class.std::__uniq_ptr_impl.45" = type { %"class.std::tuple.46" }
%"class.std::tuple.46" = type { %"struct.std::_Tuple_impl.47" }
%"struct.std::_Tuple_impl.47" = type { %"struct.std::_Head_base.50" }
%"struct.std::_Head_base.50" = type { ptr }
%class.field3d.51 = type { i32, i32, i32, %"class.std::unique_ptr.52", %"class.std::unique_ptr.60", %"class.std::unique_ptr.68" }
%"class.std::unique_ptr.52" = type { %"struct.std::__uniq_ptr_data.53" }
%"struct.std::__uniq_ptr_data.53" = type { %"class.std::__uniq_ptr_impl.54" }
%"class.std::__uniq_ptr_impl.54" = type { %"class.std::tuple.55" }
%"class.std::tuple.55" = type { %"struct.std::_Tuple_impl.56" }
%"struct.std::_Tuple_impl.56" = type { %"struct.std::_Head_base.59" }
%"struct.std::_Head_base.59" = type { ptr }
%"class.std::unique_ptr.60" = type { %"struct.std::__uniq_ptr_data.61" }
%"struct.std::__uniq_ptr_data.61" = type { %"class.std::__uniq_ptr_impl.62" }
%"class.std::__uniq_ptr_impl.62" = type { %"class.std::tuple.63" }
%"class.std::tuple.63" = type { %"struct.std::_Tuple_impl.64" }
%"struct.std::_Tuple_impl.64" = type { %"struct.std::_Head_base.67" }
%"struct.std::_Head_base.67" = type { ptr }
%"class.std::unique_ptr.68" = type { %"struct.std::__uniq_ptr_data.69" }
%"struct.std::__uniq_ptr_data.69" = type { %"class.std::__uniq_ptr_impl.70" }
%"class.std::__uniq_ptr_impl.70" = type { %"class.std::tuple.71" }
%"class.std::tuple.71" = type { %"struct.std::_Tuple_impl.72" }
%"struct.std::_Tuple_impl.72" = type { %"struct.std::_Head_base.75" }
%"struct.std::_Head_base.75" = type { ptr }
%class.field3d.76 = type { i32, i32, i32, %"class.std::unique_ptr.77", %"class.std::unique_ptr.85", %"class.std::unique_ptr.93" }
%"class.std::unique_ptr.77" = type { %"struct.std::__uniq_ptr_data.78" }
%"struct.std::__uniq_ptr_data.78" = type { %"class.std::__uniq_ptr_impl.79" }
%"class.std::__uniq_ptr_impl.79" = type { %"class.std::tuple.80" }
%"class.std::tuple.80" = type { %"struct.std::_Tuple_impl.81" }
%"struct.std::_Tuple_impl.81" = type { %"struct.std::_Head_base.84" }
%"struct.std::_Head_base.84" = type { ptr }
%"class.std::unique_ptr.85" = type { %"struct.std::__uniq_ptr_data.86" }
%"struct.std::__uniq_ptr_data.86" = type { %"class.std::__uniq_ptr_impl.87" }
%"class.std::__uniq_ptr_impl.87" = type { %"class.std::tuple.88" }
%"class.std::tuple.88" = type { %"struct.std::_Tuple_impl.89" }
%"struct.std::_Tuple_impl.89" = type { %"struct.std::_Head_base.92" }
%"struct.std::_Head_base.92" = type { ptr }
%"class.std::unique_ptr.93" = type { %"struct.std::__uniq_ptr_data.94" }
%"struct.std::__uniq_ptr_data.94" = type { %"class.std::__uniq_ptr_impl.95" }
%"class.std::__uniq_ptr_impl.95" = type { %"class.std::tuple.96" }
%"class.std::tuple.96" = type { %"struct.std::_Tuple_impl.97" }
%"struct.std::_Tuple_impl.97" = type { %"struct.std::_Head_base.100" }
%"struct.std::_Head_base.100" = type { ptr }
%class.field3d.101 = type { i32, i32, i32, %"class.std::unique_ptr.102", %"class.std::unique_ptr.110", %"class.std::unique_ptr.118" }
%"class.std::unique_ptr.102" = type { %"struct.std::__uniq_ptr_data.103" }
%"struct.std::__uniq_ptr_data.103" = type { %"class.std::__uniq_ptr_impl.104" }
%"class.std::__uniq_ptr_impl.104" = type { %"class.std::tuple.105" }
%"class.std::tuple.105" = type { %"struct.std::_Tuple_impl.106" }
%"struct.std::_Tuple_impl.106" = type { %"struct.std::_Head_base.109" }
%"struct.std::_Head_base.109" = type { ptr }
%"class.std::unique_ptr.110" = type { %"struct.std::__uniq_ptr_data.111" }
%"struct.std::__uniq_ptr_data.111" = type { %"class.std::__uniq_ptr_impl.112" }
%"class.std::__uniq_ptr_impl.112" = type { %"class.std::tuple.113" }
%"class.std::tuple.113" = type { %"struct.std::_Tuple_impl.114" }
%"struct.std::_Tuple_impl.114" = type { %"struct.std::_Head_base.117" }
%"struct.std::_Head_base.117" = type { ptr }
%"class.std::unique_ptr.118" = type { %"struct.std::__uniq_ptr_data.119" }
%"struct.std::__uniq_ptr_data.119" = type { %"class.std::__uniq_ptr_impl.120" }
%"class.std::__uniq_ptr_impl.120" = type { %"class.std::tuple.121" }
%"class.std::tuple.121" = type { %"struct.std::_Tuple_impl.122" }
%"struct.std::_Tuple_impl.122" = type { %"struct.std::_Head_base.125" }
%"struct.std::_Head_base.125" = type { ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<field3d<double>, std::allocator<field3d<double>>>::_Vector_impl" }
%"struct.std::_Vector_base<field3d<double>, std::allocator<field3d<double>>>::_Vector_impl" = type { %"struct.std::_Vector_base<field3d<double>, std::allocator<field3d<double>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<field3d<double>, std::allocator<field3d<double>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.129" = type { %"struct.std::_Vector_base.130" }
%"struct.std::_Vector_base.130" = type { %"struct.std::_Vector_base<spatial_region::deleted_particle, std::allocator<spatial_region::deleted_particle>>::_Vector_impl" }
%"struct.std::_Vector_base<spatial_region::deleted_particle, std::allocator<spatial_region::deleted_particle>>::_Vector_impl" = type { %"struct.std::_Vector_base<spatial_region::deleted_particle, std::allocator<spatial_region::deleted_particle>>::_Vector_impl_data" }
%"struct.std::_Vector_base<spatial_region::deleted_particle, std::allocator<spatial_region::deleted_particle>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.spatial_region::pwpo" = type { ptr, ptr }

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

declare i32 @__gxx_personality_v0(...)

; 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 void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14spatial_region4initEidddddiiiiPdNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE19maxwell_solver_enum11pusher_enum(ptr noundef nonnull align 8 dereferenceable(608) %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %11, ptr noundef %12, i32 noundef %13, i32 noundef %14) #2 align 2 personality ptr @__gxx_personality_v0 {
  %16 = alloca ptr, align 8
  %17 = alloca i32, align 4
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca ptr, align 8
  %28 = alloca ptr, align 8
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca ptr, align 8
  %32 = alloca %"class.std::unique_ptr", align 8
  %33 = alloca ptr, align 8
  %34 = alloca i32, align 4
  %35 = alloca %"class.std::unique_ptr", align 8
  %36 = alloca %"class.std::unique_ptr", align 8
  store ptr %0, ptr %16, align 8, !tbaa !5
  store i32 %1, ptr %17, align 4, !tbaa !9
  store double %2, ptr %18, align 8, !tbaa !11
  store double %3, ptr %19, align 8, !tbaa !11
  store double %4, ptr %20, align 8, !tbaa !11
  store double %5, ptr %21, align 8, !tbaa !11
  store double %6, ptr %22, align 8, !tbaa !11
  store i32 %7, ptr %23, align 4, !tbaa !9
  store i32 %8, ptr %24, align 4, !tbaa !9
  store i32 %9, ptr %25, align 4, !tbaa !9
  store i32 %10, ptr %26, align 4, !tbaa !9
  store ptr %11, ptr %27, align 8, !tbaa !5
  store ptr %12, ptr %28, align 8, !tbaa !5
  store i32 %13, ptr %29, align 4, !tbaa !13
  store i32 %14, ptr %30, align 4, !tbaa !15
  %37 = load ptr, ptr %16, align 8
  %38 = load i32, ptr %17, align 4, !tbaa !9
  %39 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 13
  store i32 %38, ptr %39, align 4, !tbaa !17
  %40 = load double, ptr %18, align 8, !tbaa !11
  %41 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 3
  store double %40, ptr %41, align 8, !tbaa !133
  %42 = load double, ptr %19, align 8, !tbaa !11
  %43 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 4
  store double %42, ptr %43, align 8, !tbaa !134
  %44 = load double, ptr %20, align 8, !tbaa !11
  %45 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 5
  store double %44, ptr %45, align 8, !tbaa !135
  %46 = load double, ptr %21, align 8, !tbaa !11
  %47 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 6
  store double %46, ptr %47, align 8, !tbaa !136
  %48 = load double, ptr %22, align 8, !tbaa !11
  %49 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 10
  store double %48, ptr %49, align 8, !tbaa !137
  %50 = load i32, ptr %23, align 4, !tbaa !9
  %51 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 7
  store i32 %50, ptr %51, align 8, !tbaa !138
  %52 = load i32, ptr %24, align 4, !tbaa !9
  %53 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 8
  store i32 %52, ptr %53, align 4, !tbaa !139
  %54 = load i32, ptr %25, align 4, !tbaa !9
  %55 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 9
  store i32 %54, ptr %55, align 8, !tbaa !140
  %56 = load i32, ptr %26, align 4, !tbaa !9
  %57 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 14
  store i32 %56, ptr %57, align 8, !tbaa !141
  %58 = load ptr, ptr %27, align 8, !tbaa !5
  %59 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 15
  store ptr %58, ptr %59, align 8, !tbaa !142
  %60 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 41
  %61 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %60, ptr noundef nonnull align 8 dereferenceable(32) %12)
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #7
  %62 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 16) #8
  store ptr %62, ptr %31, align 8, !tbaa !5
  %63 = load ptr, ptr %31, align 8, !tbaa !5
  %64 = getelementptr inbounds %"class.spatial_region::pwpo", ptr %63, i32 0, i32 1
  store ptr null, ptr %64, align 8, !tbaa !143
  %65 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 20
  %66 = load i32, ptr %65, align 8, !tbaa !145
  %67 = sext i32 %66 to i64
  %68 = call noalias ptr @malloc(i64 noundef %67) #9
  %69 = load ptr, ptr %31, align 8, !tbaa !5
  %70 = getelementptr inbounds %"class.spatial_region::pwpo", ptr %69, i32 0, i32 0
  store ptr %68, ptr %70, align 8, !tbaa !146
  %71 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 19
  %72 = load i32, ptr %71, align 4, !tbaa !147
  %73 = add nsw i32 %72, 1
  store i32 %73, ptr %71, align 4, !tbaa !147
  %74 = load ptr, ptr %31, align 8, !tbaa !5
  %75 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 45
  store ptr %74, ptr %75, align 8, !tbaa !148
  %76 = load i32, ptr %29, align 4, !tbaa !13
  switch i32 %76, label %137 [
    i32 1, label %77
    i32 0, label %97
    i32 2, label %117
  ]

77:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #7
  %78 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 112) #8
  %79 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 46
  %80 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 47
  %81 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 48
  %82 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 6
  %83 = load double, ptr %82, align 8, !tbaa !136
  %84 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 3
  %85 = load double, ptr %84, align 8, !tbaa !133
  %86 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 4
  %87 = load double, ptr %86, align 8, !tbaa !134
  %88 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 5
  %89 = load double, ptr %88, align 8, !tbaa !135
  invoke void @_ZN11ndfx_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(112) %78, ptr noundef nonnull align 8 dereferenceable(40) %79, ptr noundef nonnull align 8 dereferenceable(40) %80, ptr noundef nonnull align 8 dereferenceable(40) %81, double noundef %83, double noundef %85, double noundef %87, double noundef %89)
          to label %90 unwind label %93

90:                                               ; preds = %77
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %32, ptr noundef %78) #7
  %91 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 23
  %92 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %91, ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %32) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %140

93:                                               ; preds = %77
  %94 = landingpad { ptr, i32 }
          cleanup
  %95 = extractvalue { ptr, i32 } %94, 0
  store ptr %95, ptr %33, align 8
  %96 = extractvalue { ptr, i32 } %94, 1
  store i32 %96, ptr %34, align 4
  call void @_ZdlPvm(ptr noundef %78, i64 noundef 112) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #7
  br label %152

97:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #7
  %98 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 80) #8
  %99 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 46
  %100 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 47
  %101 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 48
  %102 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 6
  %103 = load double, ptr %102, align 8, !tbaa !136
  %104 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 3
  %105 = load double, ptr %104, align 8, !tbaa !133
  %106 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 4
  %107 = load double, ptr %106, align 8, !tbaa !134
  %108 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 5
  %109 = load double, ptr %108, align 8, !tbaa !135
  invoke void @_ZN11fdtd_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(80) %98, ptr noundef nonnull align 8 dereferenceable(40) %99, ptr noundef nonnull align 8 dereferenceable(40) %100, ptr noundef nonnull align 8 dereferenceable(40) %101, double noundef %103, double noundef %105, double noundef %107, double noundef %109)
          to label %110 unwind label %113

110:                                              ; preds = %97
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %35, ptr noundef %98) #7
  %111 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 23
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %35) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %140

113:                                              ; preds = %97
  %114 = landingpad { ptr, i32 }
          cleanup
  %115 = extractvalue { ptr, i32 } %114, 0
  store ptr %115, ptr %33, align 8
  %116 = extractvalue { ptr, i32 } %114, 1
  store i32 %116, ptr %34, align 4
  call void @_ZdlPvm(ptr noundef %98, i64 noundef 80) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #7
  br label %152

117:                                              ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #7
  %118 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 128) #8
  %119 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 46
  %120 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 47
  %121 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 48
  %122 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 6
  %123 = load double, ptr %122, align 8, !tbaa !136
  %124 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 3
  %125 = load double, ptr %124, align 8, !tbaa !133
  %126 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 4
  %127 = load double, ptr %126, align 8, !tbaa !134
  %128 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 5
  %129 = load double, ptr %128, align 8, !tbaa !135
  invoke void @_ZN17five_point_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(128) %118, ptr noundef nonnull align 8 dereferenceable(40) %119, ptr noundef nonnull align 8 dereferenceable(40) %120, ptr noundef nonnull align 8 dereferenceable(40) %121, double noundef %123, double noundef %125, double noundef %127, double noundef %129)
          to label %130 unwind label %133

130:                                              ; preds = %117
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %36, ptr noundef %118) #7
  %131 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 23
  %132 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %131, ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %36) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %140

133:                                              ; preds = %117
  %134 = landingpad { ptr, i32 }
          cleanup
  %135 = extractvalue { ptr, i32 } %134, 0
  store ptr %135, ptr %33, align 8
  %136 = extractvalue { ptr, i32 } %134, 1
  store i32 %136, ptr %34, align 4
  call void @_ZdlPvm(ptr noundef %118, i64 noundef 128) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #7
  br label %152

137:                                              ; preds = %15
  %138 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 23
  %139 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEaSEDn(ptr noundef nonnull align 8 dereferenceable(8) %138, ptr null) #7
  br label %140

140:                                              ; preds = %137, %130, %110, %90
  %141 = load i32, ptr %30, align 4, !tbaa !15
  switch i32 %141, label %148 [
    i32 1, label %142
    i32 0, label %145
  ]

142:                                              ; preds = %140
  %143 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 24
  %144 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvR8particleR8vector3dS3_RdEEaSIRFvS1_S3_S3_dEEENSt9enable_ifIXsrNS6_9_CallableIT_NSA_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISC_E4typeEE4typeES6_EE5valueESt5decayISC_EE4type4typeESt15__invoke_resultIRSN_JS1_S3_S3_S4_EEEE5valueERS6_E4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(32) %143, ptr noundef nonnull @_Z10push_borisR8particleR8vector3dS2_d) #7
  br label %151

145:                                              ; preds = %140
  %146 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 24
  %147 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvR8particleR8vector3dS3_RdEEaSIRFvS1_S3_S3_dEEENSt9enable_ifIXsrNS6_9_CallableIT_NSA_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISC_E4typeEE4typeES6_EE5valueESt5decayISC_EE4type4typeESt15__invoke_resultIRSN_JS1_S3_S3_S4_EEEE5valueERS6_E4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(32) %146, ptr noundef nonnull @_Z8push_vayR8particleR8vector3dS2_d) #7
  br label %151

148:                                              ; preds = %140
  %149 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 24
  %150 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvR8particleR8vector3dS3_RdEEaSEDn(ptr noundef nonnull align 8 dereferenceable(32) %149, ptr null) #7
  br label %151

151:                                              ; preds = %148, %145, %142
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  ret void

152:                                              ; preds = %133, %113, %93
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #7
  br label %153

153:                                              ; preds = %152
  %154 = load ptr, ptr %33, align 8
  %155 = load i32, ptr %34, align 4
  %156 = insertvalue { ptr, i32 } poison, ptr %154, 0
  %157 = insertvalue { ptr, i32 } %156, i32 %155, 1
  resume { ptr, i32 } %157
}

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) #2 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #3

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #4

declare void @_ZN11ndfx_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), double noundef, double noundef, double noundef, double noundef) unnamed_addr #5

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

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

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

declare void @_ZN11fdtd_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), double noundef, double noundef, double noundef, double noundef) unnamed_addr #5

declare void @_ZN17five_point_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), double noundef, double noundef, double noundef, double noundef) unnamed_addr #5

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

declare void @_Z10push_borisR8particleR8vector3dS2_d(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef) #5

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

declare void @_Z8push_vayR8particleR8vector3dS2_d(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef) #5

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvR8particleR8vector3dS3_RdEEaSEDn(ptr noundef nonnull align 8 dereferenceable(32), ptr) #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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { "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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind }
attributes #8 = { builtin allocsize(0) }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"_ZTS19maxwell_solver_enum", !7, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"_ZTS11pusher_enum", !7, i64 0}
!17 = !{!18, !10, i64 84}
!18 = !{!"_ZTS14spatial_region", !10, i64 0, !10, i64 4, !10, i64 8, !12, i64 16, !12, i64 24, !12, i64 32, !12, i64 40, !10, i64 48, !10, i64 52, !10, i64 56, !12, i64 64, !6, i64 72, !10, i64 80, !10, i64 84, !10, i64 88, !6, i64 96, !10, i64 104, !10, i64 108, !10, i64 112, !10, i64 116, !10, i64 120, !10, i64 124, !10, i64 128, !19, i64 136, !25, i64 144, !12, i64 176, !12, i64 184, !12, i64 192, !10, i64 200, !10, i64 204, !10, i64 208, !6, i64 216, !12, i64 224, !12, i64 232, !12, i64 240, !12, i64 248, !6, i64 256, !12, i64 264, !12, i64 272, !12, i64 280, !6, i64 288, !27, i64 296, !6, i64 328, !6, i64 336, !6, i64 344, !6, i64 352, !30, i64 360, !49, i64 400, !68, i64 440, !87, i64 480, !106, i64 520, !125, i64 560, !129, i64 584}
!19 = !{!"_ZTSSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EE", !20, i64 0}
!20 = !{!"_ZTSSt15__uniq_ptr_dataI14maxwell_solverSt14default_deleteIS0_ELb1ELb1EE", !21, i64 0}
!21 = !{!"_ZTSSt15__uniq_ptr_implI14maxwell_solverSt14default_deleteIS0_EE", !22, i64 0}
!22 = !{!"_ZTSSt5tupleIJP14maxwell_solverSt14default_deleteIS0_EEE", !23, i64 0}
!23 = !{!"_ZTSSt11_Tuple_implILm0EJP14maxwell_solverSt14default_deleteIS0_EEE", !24, i64 0}
!24 = !{!"_ZTSSt10_Head_baseILm0EP14maxwell_solverLb0EE", !6, i64 0}
!25 = !{!"_ZTSSt8functionIFvR8particleR8vector3dS3_RdEE", !26, i64 0, !6, i64 24}
!26 = !{!"_ZTSSt14_Function_base", !7, i64 0, !6, i64 16}
!27 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !28, i64 0, !29, i64 8, !7, i64 16}
!28 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !6, i64 0}
!29 = !{!"long", !7, i64 0}
!30 = !{!"_ZTS7field3dI5celleE", !10, i64 0, !10, i64 4, !10, i64 8, !31, i64 16, !37, i64 24, !43, i64 32}
!31 = !{!"_ZTSSt10unique_ptrIA_PP5celleSt14default_deleteIS3_EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_dataIPP5celleSt14default_deleteIA_S2_ELb1ELb1EE", !33, i64 0}
!33 = !{!"_ZTSSt15__uniq_ptr_implIPP5celleSt14default_deleteIA_S2_EE", !34, i64 0}
!34 = !{!"_ZTSSt5tupleIJPPP5celleSt14default_deleteIA_S2_EEE", !35, i64 0}
!35 = !{!"_ZTSSt11_Tuple_implILm0EJPPP5celleSt14default_deleteIA_S2_EEE", !36, i64 0}
!36 = !{!"_ZTSSt10_Head_baseILm0EPPP5celleLb0EE", !6, i64 0}
!37 = !{!"_ZTSSt10unique_ptrIA_P5celleSt14default_deleteIS2_EE", !38, i64 0}
!38 = !{!"_ZTSSt15__uniq_ptr_dataIP5celleSt14default_deleteIA_S1_ELb1ELb1EE", !39, i64 0}
!39 = !{!"_ZTSSt15__uniq_ptr_implIP5celleSt14default_deleteIA_S1_EE", !40, i64 0}
!40 = !{!"_ZTSSt5tupleIJPP5celleSt14default_deleteIA_S1_EEE", !41, i64 0}
!41 = !{!"_ZTSSt11_Tuple_implILm0EJPP5celleSt14default_deleteIA_S1_EEE", !42, i64 0}
!42 = !{!"_ZTSSt10_Head_baseILm0EPP5celleLb0EE", !6, i64 0}
!43 = !{!"_ZTSSt10unique_ptrIA_5celleSt14default_deleteIS1_EE", !44, i64 0}
!44 = !{!"_ZTSSt15__uniq_ptr_dataI5celleSt14default_deleteIA_S0_ELb1ELb1EE", !45, i64 0}
!45 = !{!"_ZTSSt15__uniq_ptr_implI5celleSt14default_deleteIA_S0_EE", !46, i64 0}
!46 = !{!"_ZTSSt5tupleIJP5celleSt14default_deleteIA_S0_EEE", !47, i64 0}
!47 = !{!"_ZTSSt11_Tuple_implILm0EJP5celleSt14default_deleteIA_S0_EEE", !48, i64 0}
!48 = !{!"_ZTSSt10_Head_baseILm0EP5celleLb0EE", !6, i64 0}
!49 = !{!"_ZTS7field3dI5cellbE", !10, i64 0, !10, i64 4, !10, i64 8, !50, i64 16, !56, i64 24, !62, i64 32}
!50 = !{!"_ZTSSt10unique_ptrIA_PP5cellbSt14default_deleteIS3_EE", !51, i64 0}
!51 = !{!"_ZTSSt15__uniq_ptr_dataIPP5cellbSt14default_deleteIA_S2_ELb1ELb1EE", !52, i64 0}
!52 = !{!"_ZTSSt15__uniq_ptr_implIPP5cellbSt14default_deleteIA_S2_EE", !53, i64 0}
!53 = !{!"_ZTSSt5tupleIJPPP5cellbSt14default_deleteIA_S2_EEE", !54, i64 0}
!54 = !{!"_ZTSSt11_Tuple_implILm0EJPPP5cellbSt14default_deleteIA_S2_EEE", !55, i64 0}
!55 = !{!"_ZTSSt10_Head_baseILm0EPPP5cellbLb0EE", !6, i64 0}
!56 = !{!"_ZTSSt10unique_ptrIA_P5cellbSt14default_deleteIS2_EE", !57, i64 0}
!57 = !{!"_ZTSSt15__uniq_ptr_dataIP5cellbSt14default_deleteIA_S1_ELb1ELb1EE", !58, i64 0}
!58 = !{!"_ZTSSt15__uniq_ptr_implIP5cellbSt14default_deleteIA_S1_EE", !59, i64 0}
!59 = !{!"_ZTSSt5tupleIJPP5cellbSt14default_deleteIA_S1_EEE", !60, i64 0}
!60 = !{!"_ZTSSt11_Tuple_implILm0EJPP5cellbSt14default_deleteIA_S1_EEE", !61, i64 0}
!61 = !{!"_ZTSSt10_Head_baseILm0EPP5cellbLb0EE", !6, i64 0}
!62 = !{!"_ZTSSt10unique_ptrIA_5cellbSt14default_deleteIS1_EE", !63, i64 0}
!63 = !{!"_ZTSSt15__uniq_ptr_dataI5cellbSt14default_deleteIA_S0_ELb1ELb1EE", !64, i64 0}
!64 = !{!"_ZTSSt15__uniq_ptr_implI5cellbSt14default_deleteIA_S0_EE", !65, i64 0}
!65 = !{!"_ZTSSt5tupleIJP5cellbSt14default_deleteIA_S0_EEE", !66, i64 0}
!66 = !{!"_ZTSSt11_Tuple_implILm0EJP5cellbSt14default_deleteIA_S0_EEE", !67, i64 0}
!67 = !{!"_ZTSSt10_Head_baseILm0EP5cellbLb0EE", !6, i64 0}
!68 = !{!"_ZTS7field3dI5celljE", !10, i64 0, !10, i64 4, !10, i64 8, !69, i64 16, !75, i64 24, !81, i64 32}
!69 = !{!"_ZTSSt10unique_ptrIA_PP5celljSt14default_deleteIS3_EE", !70, i64 0}
!70 = !{!"_ZTSSt15__uniq_ptr_dataIPP5celljSt14default_deleteIA_S2_ELb1ELb1EE", !71, i64 0}
!71 = !{!"_ZTSSt15__uniq_ptr_implIPP5celljSt14default_deleteIA_S2_EE", !72, i64 0}
!72 = !{!"_ZTSSt5tupleIJPPP5celljSt14default_deleteIA_S2_EEE", !73, i64 0}
!73 = !{!"_ZTSSt11_Tuple_implILm0EJPPP5celljSt14default_deleteIA_S2_EEE", !74, i64 0}
!74 = !{!"_ZTSSt10_Head_baseILm0EPPP5celljLb0EE", !6, i64 0}
!75 = !{!"_ZTSSt10unique_ptrIA_P5celljSt14default_deleteIS2_EE", !76, i64 0}
!76 = !{!"_ZTSSt15__uniq_ptr_dataIP5celljSt14default_deleteIA_S1_ELb1ELb1EE", !77, i64 0}
!77 = !{!"_ZTSSt15__uniq_ptr_implIP5celljSt14default_deleteIA_S1_EE", !78, i64 0}
!78 = !{!"_ZTSSt5tupleIJPP5celljSt14default_deleteIA_S1_EEE", !79, i64 0}
!79 = !{!"_ZTSSt11_Tuple_implILm0EJPP5celljSt14default_deleteIA_S1_EEE", !80, i64 0}
!80 = !{!"_ZTSSt10_Head_baseILm0EPP5celljLb0EE", !6, i64 0}
!81 = !{!"_ZTSSt10unique_ptrIA_5celljSt14default_deleteIS1_EE", !82, i64 0}
!82 = !{!"_ZTSSt15__uniq_ptr_dataI5celljSt14default_deleteIA_S0_ELb1ELb1EE", !83, i64 0}
!83 = !{!"_ZTSSt15__uniq_ptr_implI5celljSt14default_deleteIA_S0_EE", !84, i64 0}
!84 = !{!"_ZTSSt5tupleIJP5celljSt14default_deleteIA_S0_EEE", !85, i64 0}
!85 = !{!"_ZTSSt11_Tuple_implILm0EJP5celljSt14default_deleteIA_S0_EEE", !86, i64 0}
!86 = !{!"_ZTSSt10_Head_baseILm0EP5celljLb0EE", !6, i64 0}
!87 = !{!"_ZTS7field3dI6cellbeE", !10, i64 0, !10, i64 4, !10, i64 8, !88, i64 16, !94, i64 24, !100, i64 32}
!88 = !{!"_ZTSSt10unique_ptrIA_PP6cellbeSt14default_deleteIS3_EE", !89, i64 0}
!89 = !{!"_ZTSSt15__uniq_ptr_dataIPP6cellbeSt14default_deleteIA_S2_ELb1ELb1EE", !90, i64 0}
!90 = !{!"_ZTSSt15__uniq_ptr_implIPP6cellbeSt14default_deleteIA_S2_EE", !91, i64 0}
!91 = !{!"_ZTSSt5tupleIJPPP6cellbeSt14default_deleteIA_S2_EEE", !92, i64 0}
!92 = !{!"_ZTSSt11_Tuple_implILm0EJPPP6cellbeSt14default_deleteIA_S2_EEE", !93, i64 0}
!93 = !{!"_ZTSSt10_Head_baseILm0EPPP6cellbeLb0EE", !6, i64 0}
!94 = !{!"_ZTSSt10unique_ptrIA_P6cellbeSt14default_deleteIS2_EE", !95, i64 0}
!95 = !{!"_ZTSSt15__uniq_ptr_dataIP6cellbeSt14default_deleteIA_S1_ELb1ELb1EE", !96, i64 0}
!96 = !{!"_ZTSSt15__uniq_ptr_implIP6cellbeSt14default_deleteIA_S1_EE", !97, i64 0}
!97 = !{!"_ZTSSt5tupleIJPP6cellbeSt14default_deleteIA_S1_EEE", !98, i64 0}
!98 = !{!"_ZTSSt11_Tuple_implILm0EJPP6cellbeSt14default_deleteIA_S1_EEE", !99, i64 0}
!99 = !{!"_ZTSSt10_Head_baseILm0EPP6cellbeLb0EE", !6, i64 0}
!100 = !{!"_ZTSSt10unique_ptrIA_6cellbeSt14default_deleteIS1_EE", !101, i64 0}
!101 = !{!"_ZTSSt15__uniq_ptr_dataI6cellbeSt14default_deleteIA_S0_ELb1ELb1EE", !102, i64 0}
!102 = !{!"_ZTSSt15__uniq_ptr_implI6cellbeSt14default_deleteIA_S0_EE", !103, i64 0}
!103 = !{!"_ZTSSt5tupleIJP6cellbeSt14default_deleteIA_S0_EEE", !104, i64 0}
!104 = !{!"_ZTSSt11_Tuple_implILm0EJP6cellbeSt14default_deleteIA_S0_EEE", !105, i64 0}
!105 = !{!"_ZTSSt10_Head_baseILm0EP6cellbeLb0EE", !6, i64 0}
!106 = !{!"_ZTS7field3dI5cellpE", !10, i64 0, !10, i64 4, !10, i64 8, !107, i64 16, !113, i64 24, !119, i64 32}
!107 = !{!"_ZTSSt10unique_ptrIA_PP5cellpSt14default_deleteIS3_EE", !108, i64 0}
!108 = !{!"_ZTSSt15__uniq_ptr_dataIPP5cellpSt14default_deleteIA_S2_ELb1ELb1EE", !109, i64 0}
!109 = !{!"_ZTSSt15__uniq_ptr_implIPP5cellpSt14default_deleteIA_S2_EE", !110, i64 0}
!110 = !{!"_ZTSSt5tupleIJPPP5cellpSt14default_deleteIA_S2_EEE", !111, i64 0}
!111 = !{!"_ZTSSt11_Tuple_implILm0EJPPP5cellpSt14default_deleteIA_S2_EEE", !112, i64 0}
!112 = !{!"_ZTSSt10_Head_baseILm0EPPP5cellpLb0EE", !6, i64 0}
!113 = !{!"_ZTSSt10unique_ptrIA_P5cellpSt14default_deleteIS2_EE", !114, i64 0}
!114 = !{!"_ZTSSt15__uniq_ptr_dataIP5cellpSt14default_deleteIA_S1_ELb1ELb1EE", !115, i64 0}
!115 = !{!"_ZTSSt15__uniq_ptr_implIP5cellpSt14default_deleteIA_S1_EE", !116, i64 0}
!116 = !{!"_ZTSSt5tupleIJPP5cellpSt14default_deleteIA_S1_EEE", !117, i64 0}
!117 = !{!"_ZTSSt11_Tuple_implILm0EJPP5cellpSt14default_deleteIA_S1_EEE", !118, i64 0}
!118 = !{!"_ZTSSt10_Head_baseILm0EPP5cellpLb0EE", !6, i64 0}
!119 = !{!"_ZTSSt10unique_ptrIA_5cellpSt14default_deleteIS1_EE", !120, i64 0}
!120 = !{!"_ZTSSt15__uniq_ptr_dataI5cellpSt14default_deleteIA_S0_ELb1ELb1EE", !121, i64 0}
!121 = !{!"_ZTSSt15__uniq_ptr_implI5cellpSt14default_deleteIA_S0_EE", !122, i64 0}
!122 = !{!"_ZTSSt5tupleIJP5cellpSt14default_deleteIA_S0_EEE", !123, i64 0}
!123 = !{!"_ZTSSt11_Tuple_implILm0EJP5cellpSt14default_deleteIA_S0_EEE", !124, i64 0}
!124 = !{!"_ZTSSt10_Head_baseILm0EP5cellpLb0EE", !6, i64 0}
!125 = !{!"_ZTSSt6vectorI7field3dIdESaIS1_EE", !126, i64 0}
!126 = !{!"_ZTSSt12_Vector_baseI7field3dIdESaIS1_EE", !127, i64 0}
!127 = !{!"_ZTSNSt12_Vector_baseI7field3dIdESaIS1_EE12_Vector_implE", !128, i64 0}
!128 = !{!"_ZTSNSt12_Vector_baseI7field3dIdESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!129 = !{!"_ZTSSt6vectorIN14spatial_region16deleted_particleESaIS1_EE", !130, i64 0}
!130 = !{!"_ZTSSt12_Vector_baseIN14spatial_region16deleted_particleESaIS1_EE", !131, i64 0}
!131 = !{!"_ZTSNSt12_Vector_baseIN14spatial_region16deleted_particleESaIS1_EE12_Vector_implE", !132, i64 0}
!132 = !{!"_ZTSNSt12_Vector_baseIN14spatial_region16deleted_particleESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!133 = !{!18, !12, i64 16}
!134 = !{!18, !12, i64 24}
!135 = !{!18, !12, i64 32}
!136 = !{!18, !12, i64 40}
!137 = !{!18, !12, i64 64}
!138 = !{!18, !10, i64 48}
!139 = !{!18, !10, i64 52}
!140 = !{!18, !10, i64 56}
!141 = !{!18, !10, i64 88}
!142 = !{!18, !6, i64 96}
!143 = !{!144, !6, i64 8}
!144 = !{!"_ZTSN14spatial_region4pwpoE", !6, i64 0, !6, i64 8}
!145 = !{!18, !10, i64 120}
!146 = !{!144, !6, i64 0}
!147 = !{!18, !10, i64 116}
!148 = !{!18, !6, i64 352}


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

%"class.std::unique_ptr" = type { %"struct.std::__uniq_ptr_data" }
%"struct.std::__uniq_ptr_data" = type { %"class.std::__uniq_ptr_impl" }
%"class.std::__uniq_ptr_impl" = type { %"class.std::tuple" }
%"class.std::tuple" = type { %"struct.std::_Tuple_impl" }
%"struct.std::_Tuple_impl" = type { %"struct.std::_Head_base.1" }
%"struct.std::_Head_base.1" = type { ptr }

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

declare i32 @__gxx_personality_v0(...)

; 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 nounwind uwtable
declare dso_local void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8)) unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14spatial_region4initEidddddiiiiPdNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE19maxwell_solver_enum11pusher_enum(ptr noundef nonnull align 8 dereferenceable(608) %0, i32 noundef %1, double noundef %2, double noundef %3, double noundef %4, double noundef %5, double noundef %6, i32 noundef %7, i32 noundef %8, i32 noundef %9, i32 noundef %10, ptr noundef %11, ptr noundef nonnull %12, i32 noundef %13, i32 noundef %14) local_unnamed_addr #2 align 2 personality ptr @__gxx_personality_v0 {
  %16 = alloca %"class.std::unique_ptr", align 8
  %17 = alloca %"class.std::unique_ptr", align 8
  %18 = alloca %"class.std::unique_ptr", align 8
  %19 = getelementptr inbounds i8, ptr %0, i64 84
  store i32 %1, ptr %19, align 4, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %0, i64 16
  store double %2, ptr %20, align 8, !tbaa !126
  %21 = getelementptr inbounds i8, ptr %0, i64 24
  store double %3, ptr %21, align 8, !tbaa !127
  %22 = getelementptr inbounds i8, ptr %0, i64 32
  store double %4, ptr %22, align 8, !tbaa !128
  %23 = getelementptr inbounds i8, ptr %0, i64 40
  store double %5, ptr %23, align 8, !tbaa !129
  %24 = getelementptr inbounds i8, ptr %0, i64 64
  store double %6, ptr %24, align 8, !tbaa !130
  %25 = getelementptr inbounds i8, ptr %0, i64 48
  store i32 %7, ptr %25, align 8, !tbaa !131
  %26 = getelementptr inbounds i8, ptr %0, i64 52
  store i32 %8, ptr %26, align 4, !tbaa !132
  %27 = getelementptr inbounds i8, ptr %0, i64 56
  store i32 %9, ptr %27, align 8, !tbaa !133
  %28 = getelementptr inbounds i8, ptr %0, i64 88
  store i32 %10, ptr %28, align 8, !tbaa !134
  %29 = getelementptr inbounds i8, ptr %0, i64 96
  store ptr %11, ptr %29, align 8, !tbaa !135
  %30 = getelementptr inbounds i8, ptr %0, i64 296
  %31 = tail call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32) %30, ptr noundef nonnull align 8 dereferenceable(32) %12)
  %32 = tail call noalias noundef nonnull dereferenceable(16) ptr @_Znwm(i64 noundef 16) #7
  %33 = getelementptr inbounds i8, ptr %32, i64 8
  store ptr null, ptr %33, align 8, !tbaa !136
  %34 = getelementptr inbounds i8, ptr %0, i64 120
  %35 = load i32, ptr %34, align 8, !tbaa !138
  %36 = sext i32 %35 to i64
  %37 = tail call noalias ptr @malloc(i64 noundef %36) #8
  store ptr %37, ptr %32, align 8, !tbaa !139
  %38 = getelementptr inbounds i8, ptr %0, i64 116
  %39 = load i32, ptr %38, align 4, !tbaa !140
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %38, align 4, !tbaa !140
  %41 = getelementptr inbounds i8, ptr %0, i64 352
  store ptr %32, ptr %41, align 8, !tbaa !141
  switch i32 %13, label %84 [
    i32 1, label %42
    i32 0, label %56
    i32 2, label %70
  ]

42:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %16) #9
  %43 = tail call noalias noundef nonnull dereferenceable(112) ptr @_Znwm(i64 noundef 112) #7
  %44 = getelementptr inbounds i8, ptr %0, i64 360
  %45 = getelementptr inbounds i8, ptr %0, i64 400
  %46 = getelementptr inbounds i8, ptr %0, i64 440
  %47 = load double, ptr %23, align 8, !tbaa !129
  %48 = load double, ptr %20, align 8, !tbaa !126
  %49 = load double, ptr %21, align 8, !tbaa !127
  %50 = load double, ptr %22, align 8, !tbaa !128
  invoke void @_ZN11ndfx_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(112) %43, ptr noundef nonnull align 8 dereferenceable(40) %44, ptr noundef nonnull align 8 dereferenceable(40) %45, ptr noundef nonnull align 8 dereferenceable(40) %46, double noundef %47, double noundef %48, double noundef %49, double noundef %50)
          to label %51 unwind label %54

51:                                               ; preds = %42
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %16, ptr noundef nonnull %43) #9
  %52 = getelementptr inbounds i8, ptr %0, i64 136
  %53 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %52, ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %16) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %87

54:                                               ; preds = %42
  %55 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %43, i64 noundef 112) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %16) #9
  br label %96

56:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %17) #9
  %57 = tail call noalias noundef nonnull dereferenceable(80) ptr @_Znwm(i64 noundef 80) #7
  %58 = getelementptr inbounds i8, ptr %0, i64 360
  %59 = getelementptr inbounds i8, ptr %0, i64 400
  %60 = getelementptr inbounds i8, ptr %0, i64 440
  %61 = load double, ptr %23, align 8, !tbaa !129
  %62 = load double, ptr %20, align 8, !tbaa !126
  %63 = load double, ptr %21, align 8, !tbaa !127
  %64 = load double, ptr %22, align 8, !tbaa !128
  invoke void @_ZN11fdtd_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(80) %57, ptr noundef nonnull align 8 dereferenceable(40) %58, ptr noundef nonnull align 8 dereferenceable(40) %59, ptr noundef nonnull align 8 dereferenceable(40) %60, double noundef %61, double noundef %62, double noundef %63, double noundef %64)
          to label %65 unwind label %68

65:                                               ; preds = %56
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %17, ptr noundef nonnull %57) #9
  %66 = getelementptr inbounds i8, ptr %0, i64 136
  %67 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %66, ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %17) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %87

68:                                               ; preds = %56
  %69 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %57, i64 noundef 80) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %17) #9
  br label %96

70:                                               ; preds = %15
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %18) #9
  %71 = tail call noalias noundef nonnull dereferenceable(128) ptr @_Znwm(i64 noundef 128) #7
  %72 = getelementptr inbounds i8, ptr %0, i64 360
  %73 = getelementptr inbounds i8, ptr %0, i64 400
  %74 = getelementptr inbounds i8, ptr %0, i64 440
  %75 = load double, ptr %23, align 8, !tbaa !129
  %76 = load double, ptr %20, align 8, !tbaa !126
  %77 = load double, ptr %21, align 8, !tbaa !127
  %78 = load double, ptr %22, align 8, !tbaa !128
  invoke void @_ZN17five_point_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(128) %71, ptr noundef nonnull align 8 dereferenceable(40) %72, ptr noundef nonnull align 8 dereferenceable(40) %73, ptr noundef nonnull align 8 dereferenceable(40) %74, double noundef %75, double noundef %76, double noundef %77, double noundef %78)
          to label %79 unwind label %82

79:                                               ; preds = %70
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEC2IS2_vEEPS0_(ptr noundef nonnull align 8 dereferenceable(8) %18, ptr noundef nonnull %71) #9
  %80 = getelementptr inbounds i8, ptr %0, i64 136
  %81 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEaSEOS3_(ptr noundef nonnull align 8 dereferenceable(8) %80, ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  call void @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EED2Ev(ptr noundef nonnull align 8 dereferenceable(8) %18) #9
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %87

82:                                               ; preds = %70
  %83 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %71, i64 noundef 128) #10
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %18) #9
  br label %96

84:                                               ; preds = %15
  %85 = getelementptr inbounds i8, ptr %0, i64 136
  %86 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EEaSEDn(ptr noundef nonnull align 8 dereferenceable(8) %85, ptr null) #9
  br label %87

87:                                               ; preds = %84, %79, %65, %51
  %88 = getelementptr inbounds i8, ptr %0, i64 144
  switch i32 %14, label %93 [
    i32 1, label %89
    i32 0, label %91
  ]

89:                                               ; preds = %87
  %90 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvR8particleR8vector3dS3_RdEEaSIRFvS1_S3_S3_dEEENSt9enable_ifIXsrNS6_9_CallableIT_NSA_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISC_E4typeEE4typeES6_EE5valueESt5decayISC_EE4type4typeESt15__invoke_resultIRSN_JS1_S3_S3_S4_EEEE5valueERS6_E4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef nonnull @_Z10push_borisR8particleR8vector3dS2_d) #9
  br label %95

91:                                               ; preds = %87
  %92 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvR8particleR8vector3dS3_RdEEaSIRFvS1_S3_S3_dEEENSt9enable_ifIXsrNS6_9_CallableIT_NSA_IXntsr7is_sameINSt9remove_cvINSt16remove_referenceISC_E4typeEE4typeES6_EE5valueESt5decayISC_EE4type4typeESt15__invoke_resultIRSN_JS1_S3_S3_S4_EEEE5valueERS6_E4typeEOSC_(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr noundef nonnull @_Z8push_vayR8particleR8vector3dS2_d) #9
  br label %95

93:                                               ; preds = %87
  %94 = call noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt8functionIFvR8particleR8vector3dS3_RdEEaSEDn(ptr noundef nonnull align 8 dereferenceable(32) %88, ptr null) #9
  br label %95

95:                                               ; preds = %93, %91, %89
  ret void

96:                                               ; preds = %82, %68, %54
  %.pn = phi { ptr, i32 } [ %83, %82 ], [ %69, %68 ], [ %55, %54 ]
  resume { ptr, i32 } %.pn
}

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(32) ptr @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_(ptr noundef nonnull align 8 dereferenceable(32), ptr noundef nonnull align 8 dereferenceable(32)) local_unnamed_addr #2 align 2

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #4

declare void @_ZN11ndfx_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(112), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), double noundef, double noundef, double noundef, double noundef) unnamed_addr #5

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

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

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

declare void @_ZN11fdtd_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(80), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), double noundef, double noundef, double noundef, double noundef) unnamed_addr #5

declare void @_ZN17five_point_solverC1ER7field3dI5celleERS0_I5cellbERS0_I5celljEdddd(ptr noundef nonnull align 8 dereferenceable(128), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), ptr noundef nonnull align 8 dereferenceable(40), double noundef, double noundef, double noundef, double noundef) unnamed_addr #5

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

declare void @_Z10push_borisR8particleR8vector3dS2_d(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef) #5

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

declare void @_Z8push_vayR8particleR8vector3dS2_d(ptr noundef nonnull align 8 dereferenceable(104), ptr noundef nonnull align 8 dereferenceable(24), ptr noundef nonnull align 8 dereferenceable(24), double noundef) #5

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

attributes #0 = { mustprogress 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 = { nobuiltin allocsize(0) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { "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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { nounwind allocsize(0) }
attributes #9 = { nounwind }
attributes #10 = { builtin nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 84}
!6 = !{!"_ZTS14spatial_region", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !7, i64 48, !7, i64 52, !7, i64 56, !10, i64 64, !11, i64 72, !7, i64 80, !7, i64 84, !7, i64 88, !11, i64 96, !7, i64 104, !7, i64 108, !7, i64 112, !7, i64 116, !7, i64 120, !7, i64 124, !7, i64 128, !12, i64 136, !18, i64 144, !10, i64 176, !10, i64 184, !10, i64 192, !7, i64 200, !7, i64 204, !7, i64 208, !11, i64 216, !10, i64 224, !10, i64 232, !10, i64 240, !10, i64 248, !11, i64 256, !10, i64 264, !10, i64 272, !10, i64 280, !11, i64 288, !20, i64 296, !11, i64 328, !11, i64 336, !11, i64 344, !11, i64 352, !23, i64 360, !42, i64 400, !61, i64 440, !80, i64 480, !99, i64 520, !118, i64 560, !122, i64 584}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"double", !8, i64 0}
!11 = !{!"any pointer", !8, i64 0}
!12 = !{!"_ZTSSt10unique_ptrI14maxwell_solverSt14default_deleteIS0_EE", !13, i64 0}
!13 = !{!"_ZTSSt15__uniq_ptr_dataI14maxwell_solverSt14default_deleteIS0_ELb1ELb1EE", !14, i64 0}
!14 = !{!"_ZTSSt15__uniq_ptr_implI14maxwell_solverSt14default_deleteIS0_EE", !15, i64 0}
!15 = !{!"_ZTSSt5tupleIJP14maxwell_solverSt14default_deleteIS0_EEE", !16, i64 0}
!16 = !{!"_ZTSSt11_Tuple_implILm0EJP14maxwell_solverSt14default_deleteIS0_EEE", !17, i64 0}
!17 = !{!"_ZTSSt10_Head_baseILm0EP14maxwell_solverLb0EE", !11, i64 0}
!18 = !{!"_ZTSSt8functionIFvR8particleR8vector3dS3_RdEE", !19, i64 0, !11, i64 24}
!19 = !{!"_ZTSSt14_Function_base", !8, i64 0, !11, i64 16}
!20 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE", !21, i64 0, !22, i64 8, !8, i64 16}
!21 = !{!"_ZTSNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_Alloc_hiderE", !11, i64 0}
!22 = !{!"long", !8, i64 0}
!23 = !{!"_ZTS7field3dI5celleE", !7, i64 0, !7, i64 4, !7, i64 8, !24, i64 16, !30, i64 24, !36, i64 32}
!24 = !{!"_ZTSSt10unique_ptrIA_PP5celleSt14default_deleteIS3_EE", !25, i64 0}
!25 = !{!"_ZTSSt15__uniq_ptr_dataIPP5celleSt14default_deleteIA_S2_ELb1ELb1EE", !26, i64 0}
!26 = !{!"_ZTSSt15__uniq_ptr_implIPP5celleSt14default_deleteIA_S2_EE", !27, i64 0}
!27 = !{!"_ZTSSt5tupleIJPPP5celleSt14default_deleteIA_S2_EEE", !28, i64 0}
!28 = !{!"_ZTSSt11_Tuple_implILm0EJPPP5celleSt14default_deleteIA_S2_EEE", !29, i64 0}
!29 = !{!"_ZTSSt10_Head_baseILm0EPPP5celleLb0EE", !11, i64 0}
!30 = !{!"_ZTSSt10unique_ptrIA_P5celleSt14default_deleteIS2_EE", !31, i64 0}
!31 = !{!"_ZTSSt15__uniq_ptr_dataIP5celleSt14default_deleteIA_S1_ELb1ELb1EE", !32, i64 0}
!32 = !{!"_ZTSSt15__uniq_ptr_implIP5celleSt14default_deleteIA_S1_EE", !33, i64 0}
!33 = !{!"_ZTSSt5tupleIJPP5celleSt14default_deleteIA_S1_EEE", !34, i64 0}
!34 = !{!"_ZTSSt11_Tuple_implILm0EJPP5celleSt14default_deleteIA_S1_EEE", !35, i64 0}
!35 = !{!"_ZTSSt10_Head_baseILm0EPP5celleLb0EE", !11, i64 0}
!36 = !{!"_ZTSSt10unique_ptrIA_5celleSt14default_deleteIS1_EE", !37, i64 0}
!37 = !{!"_ZTSSt15__uniq_ptr_dataI5celleSt14default_deleteIA_S0_ELb1ELb1EE", !38, i64 0}
!38 = !{!"_ZTSSt15__uniq_ptr_implI5celleSt14default_deleteIA_S0_EE", !39, i64 0}
!39 = !{!"_ZTSSt5tupleIJP5celleSt14default_deleteIA_S0_EEE", !40, i64 0}
!40 = !{!"_ZTSSt11_Tuple_implILm0EJP5celleSt14default_deleteIA_S0_EEE", !41, i64 0}
!41 = !{!"_ZTSSt10_Head_baseILm0EP5celleLb0EE", !11, i64 0}
!42 = !{!"_ZTS7field3dI5cellbE", !7, i64 0, !7, i64 4, !7, i64 8, !43, i64 16, !49, i64 24, !55, i64 32}
!43 = !{!"_ZTSSt10unique_ptrIA_PP5cellbSt14default_deleteIS3_EE", !44, i64 0}
!44 = !{!"_ZTSSt15__uniq_ptr_dataIPP5cellbSt14default_deleteIA_S2_ELb1ELb1EE", !45, i64 0}
!45 = !{!"_ZTSSt15__uniq_ptr_implIPP5cellbSt14default_deleteIA_S2_EE", !46, i64 0}
!46 = !{!"_ZTSSt5tupleIJPPP5cellbSt14default_deleteIA_S2_EEE", !47, i64 0}
!47 = !{!"_ZTSSt11_Tuple_implILm0EJPPP5cellbSt14default_deleteIA_S2_EEE", !48, i64 0}
!48 = !{!"_ZTSSt10_Head_baseILm0EPPP5cellbLb0EE", !11, i64 0}
!49 = !{!"_ZTSSt10unique_ptrIA_P5cellbSt14default_deleteIS2_EE", !50, i64 0}
!50 = !{!"_ZTSSt15__uniq_ptr_dataIP5cellbSt14default_deleteIA_S1_ELb1ELb1EE", !51, i64 0}
!51 = !{!"_ZTSSt15__uniq_ptr_implIP5cellbSt14default_deleteIA_S1_EE", !52, i64 0}
!52 = !{!"_ZTSSt5tupleIJPP5cellbSt14default_deleteIA_S1_EEE", !53, i64 0}
!53 = !{!"_ZTSSt11_Tuple_implILm0EJPP5cellbSt14default_deleteIA_S1_EEE", !54, i64 0}
!54 = !{!"_ZTSSt10_Head_baseILm0EPP5cellbLb0EE", !11, i64 0}
!55 = !{!"_ZTSSt10unique_ptrIA_5cellbSt14default_deleteIS1_EE", !56, i64 0}
!56 = !{!"_ZTSSt15__uniq_ptr_dataI5cellbSt14default_deleteIA_S0_ELb1ELb1EE", !57, i64 0}
!57 = !{!"_ZTSSt15__uniq_ptr_implI5cellbSt14default_deleteIA_S0_EE", !58, i64 0}
!58 = !{!"_ZTSSt5tupleIJP5cellbSt14default_deleteIA_S0_EEE", !59, i64 0}
!59 = !{!"_ZTSSt11_Tuple_implILm0EJP5cellbSt14default_deleteIA_S0_EEE", !60, i64 0}
!60 = !{!"_ZTSSt10_Head_baseILm0EP5cellbLb0EE", !11, i64 0}
!61 = !{!"_ZTS7field3dI5celljE", !7, i64 0, !7, i64 4, !7, i64 8, !62, i64 16, !68, i64 24, !74, i64 32}
!62 = !{!"_ZTSSt10unique_ptrIA_PP5celljSt14default_deleteIS3_EE", !63, i64 0}
!63 = !{!"_ZTSSt15__uniq_ptr_dataIPP5celljSt14default_deleteIA_S2_ELb1ELb1EE", !64, i64 0}
!64 = !{!"_ZTSSt15__uniq_ptr_implIPP5celljSt14default_deleteIA_S2_EE", !65, i64 0}
!65 = !{!"_ZTSSt5tupleIJPPP5celljSt14default_deleteIA_S2_EEE", !66, i64 0}
!66 = !{!"_ZTSSt11_Tuple_implILm0EJPPP5celljSt14default_deleteIA_S2_EEE", !67, i64 0}
!67 = !{!"_ZTSSt10_Head_baseILm0EPPP5celljLb0EE", !11, i64 0}
!68 = !{!"_ZTSSt10unique_ptrIA_P5celljSt14default_deleteIS2_EE", !69, i64 0}
!69 = !{!"_ZTSSt15__uniq_ptr_dataIP5celljSt14default_deleteIA_S1_ELb1ELb1EE", !70, i64 0}
!70 = !{!"_ZTSSt15__uniq_ptr_implIP5celljSt14default_deleteIA_S1_EE", !71, i64 0}
!71 = !{!"_ZTSSt5tupleIJPP5celljSt14default_deleteIA_S1_EEE", !72, i64 0}
!72 = !{!"_ZTSSt11_Tuple_implILm0EJPP5celljSt14default_deleteIA_S1_EEE", !73, i64 0}
!73 = !{!"_ZTSSt10_Head_baseILm0EPP5celljLb0EE", !11, i64 0}
!74 = !{!"_ZTSSt10unique_ptrIA_5celljSt14default_deleteIS1_EE", !75, i64 0}
!75 = !{!"_ZTSSt15__uniq_ptr_dataI5celljSt14default_deleteIA_S0_ELb1ELb1EE", !76, i64 0}
!76 = !{!"_ZTSSt15__uniq_ptr_implI5celljSt14default_deleteIA_S0_EE", !77, i64 0}
!77 = !{!"_ZTSSt5tupleIJP5celljSt14default_deleteIA_S0_EEE", !78, i64 0}
!78 = !{!"_ZTSSt11_Tuple_implILm0EJP5celljSt14default_deleteIA_S0_EEE", !79, i64 0}
!79 = !{!"_ZTSSt10_Head_baseILm0EP5celljLb0EE", !11, i64 0}
!80 = !{!"_ZTS7field3dI6cellbeE", !7, i64 0, !7, i64 4, !7, i64 8, !81, i64 16, !87, i64 24, !93, i64 32}
!81 = !{!"_ZTSSt10unique_ptrIA_PP6cellbeSt14default_deleteIS3_EE", !82, i64 0}
!82 = !{!"_ZTSSt15__uniq_ptr_dataIPP6cellbeSt14default_deleteIA_S2_ELb1ELb1EE", !83, i64 0}
!83 = !{!"_ZTSSt15__uniq_ptr_implIPP6cellbeSt14default_deleteIA_S2_EE", !84, i64 0}
!84 = !{!"_ZTSSt5tupleIJPPP6cellbeSt14default_deleteIA_S2_EEE", !85, i64 0}
!85 = !{!"_ZTSSt11_Tuple_implILm0EJPPP6cellbeSt14default_deleteIA_S2_EEE", !86, i64 0}
!86 = !{!"_ZTSSt10_Head_baseILm0EPPP6cellbeLb0EE", !11, i64 0}
!87 = !{!"_ZTSSt10unique_ptrIA_P6cellbeSt14default_deleteIS2_EE", !88, i64 0}
!88 = !{!"_ZTSSt15__uniq_ptr_dataIP6cellbeSt14default_deleteIA_S1_ELb1ELb1EE", !89, i64 0}
!89 = !{!"_ZTSSt15__uniq_ptr_implIP6cellbeSt14default_deleteIA_S1_EE", !90, i64 0}
!90 = !{!"_ZTSSt5tupleIJPP6cellbeSt14default_deleteIA_S1_EEE", !91, i64 0}
!91 = !{!"_ZTSSt11_Tuple_implILm0EJPP6cellbeSt14default_deleteIA_S1_EEE", !92, i64 0}
!92 = !{!"_ZTSSt10_Head_baseILm0EPP6cellbeLb0EE", !11, i64 0}
!93 = !{!"_ZTSSt10unique_ptrIA_6cellbeSt14default_deleteIS1_EE", !94, i64 0}
!94 = !{!"_ZTSSt15__uniq_ptr_dataI6cellbeSt14default_deleteIA_S0_ELb1ELb1EE", !95, i64 0}
!95 = !{!"_ZTSSt15__uniq_ptr_implI6cellbeSt14default_deleteIA_S0_EE", !96, i64 0}
!96 = !{!"_ZTSSt5tupleIJP6cellbeSt14default_deleteIA_S0_EEE", !97, i64 0}
!97 = !{!"_ZTSSt11_Tuple_implILm0EJP6cellbeSt14default_deleteIA_S0_EEE", !98, i64 0}
!98 = !{!"_ZTSSt10_Head_baseILm0EP6cellbeLb0EE", !11, i64 0}
!99 = !{!"_ZTS7field3dI5cellpE", !7, i64 0, !7, i64 4, !7, i64 8, !100, i64 16, !106, i64 24, !112, i64 32}
!100 = !{!"_ZTSSt10unique_ptrIA_PP5cellpSt14default_deleteIS3_EE", !101, i64 0}
!101 = !{!"_ZTSSt15__uniq_ptr_dataIPP5cellpSt14default_deleteIA_S2_ELb1ELb1EE", !102, i64 0}
!102 = !{!"_ZTSSt15__uniq_ptr_implIPP5cellpSt14default_deleteIA_S2_EE", !103, i64 0}
!103 = !{!"_ZTSSt5tupleIJPPP5cellpSt14default_deleteIA_S2_EEE", !104, i64 0}
!104 = !{!"_ZTSSt11_Tuple_implILm0EJPPP5cellpSt14default_deleteIA_S2_EEE", !105, i64 0}
!105 = !{!"_ZTSSt10_Head_baseILm0EPPP5cellpLb0EE", !11, i64 0}
!106 = !{!"_ZTSSt10unique_ptrIA_P5cellpSt14default_deleteIS2_EE", !107, i64 0}
!107 = !{!"_ZTSSt15__uniq_ptr_dataIP5cellpSt14default_deleteIA_S1_ELb1ELb1EE", !108, i64 0}
!108 = !{!"_ZTSSt15__uniq_ptr_implIP5cellpSt14default_deleteIA_S1_EE", !109, i64 0}
!109 = !{!"_ZTSSt5tupleIJPP5cellpSt14default_deleteIA_S1_EEE", !110, i64 0}
!110 = !{!"_ZTSSt11_Tuple_implILm0EJPP5cellpSt14default_deleteIA_S1_EEE", !111, i64 0}
!111 = !{!"_ZTSSt10_Head_baseILm0EPP5cellpLb0EE", !11, i64 0}
!112 = !{!"_ZTSSt10unique_ptrIA_5cellpSt14default_deleteIS1_EE", !113, i64 0}
!113 = !{!"_ZTSSt15__uniq_ptr_dataI5cellpSt14default_deleteIA_S0_ELb1ELb1EE", !114, i64 0}
!114 = !{!"_ZTSSt15__uniq_ptr_implI5cellpSt14default_deleteIA_S0_EE", !115, i64 0}
!115 = !{!"_ZTSSt5tupleIJP5cellpSt14default_deleteIA_S0_EEE", !116, i64 0}
!116 = !{!"_ZTSSt11_Tuple_implILm0EJP5cellpSt14default_deleteIA_S0_EEE", !117, i64 0}
!117 = !{!"_ZTSSt10_Head_baseILm0EP5cellpLb0EE", !11, i64 0}
!118 = !{!"_ZTSSt6vectorI7field3dIdESaIS1_EE", !119, i64 0}
!119 = !{!"_ZTSSt12_Vector_baseI7field3dIdESaIS1_EE", !120, i64 0}
!120 = !{!"_ZTSNSt12_Vector_baseI7field3dIdESaIS1_EE12_Vector_implE", !121, i64 0}
!121 = !{!"_ZTSNSt12_Vector_baseI7field3dIdESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!122 = !{!"_ZTSSt6vectorIN14spatial_region16deleted_particleESaIS1_EE", !123, i64 0}
!123 = !{!"_ZTSSt12_Vector_baseIN14spatial_region16deleted_particleESaIS1_EE", !124, i64 0}
!124 = !{!"_ZTSNSt12_Vector_baseIN14spatial_region16deleted_particleESaIS1_EE12_Vector_implE", !125, i64 0}
!125 = !{!"_ZTSNSt12_Vector_baseIN14spatial_region16deleted_particleESaIS1_EE17_Vector_impl_dataE", !11, i64 0, !11, i64 8, !11, i64 16}
!126 = !{!6, !10, i64 16}
!127 = !{!6, !10, i64 24}
!128 = !{!6, !10, i64 32}
!129 = !{!6, !10, i64 40}
!130 = !{!6, !10, i64 64}
!131 = !{!6, !7, i64 48}
!132 = !{!6, !7, i64 52}
!133 = !{!6, !7, i64 56}
!134 = !{!6, !7, i64 88}
!135 = !{!6, !11, i64 96}
!136 = !{!137, !11, i64 8}
!137 = !{!"_ZTSN14spatial_region4pwpoE", !11, i64 0, !11, i64 8}
!138 = !{!6, !7, i64 120}
!139 = !{!137, !11, i64 0}
!140 = !{!6, !7, i64 116}
!141 = !{!6, !11, i64 352}


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