; LLVM IR from QUILL-PIC/Quill :: src/fout.ll (ZN14spatial_region8fout_invEPSt14basic_ofstreamIcSt11char_traitsIcEEiib)

; 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.vector3d = type { double, double, double }
%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::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.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 }

@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1

; 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 nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8), double noundef) #3 align 2

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

declare void @_ZN14spatial_region13e_to_particleERdS0_S0_(ptr dead_on_unwind writable sret(%struct.vector3d) align 8, ptr noundef nonnull align 8 dereferenceable(608), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; 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) #6

declare void @_ZN14spatial_region13b_to_particleERdS0_S0_(ptr dead_on_unwind writable sret(%struct.vector3d) align 8, ptr noundef nonnull align 8 dereferenceable(608), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14spatial_region8fout_invEPSt14basic_ofstreamIcSt11char_traitsIcEEiib(ptr noundef nonnull align 8 dereferenceable(608) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i1 noundef zeroext %4) #3 align 2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i8, align 1
  %11 = alloca double, align 8
  %12 = alloca double, align 8
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca %struct.vector3d, align 8
  %16 = alloca %struct.vector3d, align 8
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca i32, align 4
  %21 = alloca %struct.vector3d, align 8
  %22 = alloca %struct.vector3d, align 8
  %23 = alloca i32, align 4
  %24 = alloca i32, align 4
  %25 = alloca %struct.vector3d, align 8
  %26 = alloca %struct.vector3d, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i32 %2, ptr %8, align 4, !tbaa !9
  store i32 %3, ptr %9, align 4, !tbaa !9
  %27 = zext i1 %4 to i8
  store i8 %27, ptr %10, align 1, !tbaa !11
  %28 = load ptr, ptr %6, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #7
  call void @_ZN8vector3dC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15)
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #7
  call void @_ZN8vector3dC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #7
  %29 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %29, ptr %17, align 4, !tbaa !9
  br label %30

30:                                               ; preds = %198, %5
  %31 = load i32, ptr %17, align 4, !tbaa !9
  %32 = load i32, ptr %9, align 4, !tbaa !9
  %33 = icmp slt i32 %31, %32
  br i1 %33, label %35, label %34

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

35:                                               ; preds = %30
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #7
  %36 = getelementptr inbounds %class.spatial_region, ptr %28, i32 0, i32 2
  %37 = load i32, ptr %36, align 8, !tbaa !13
  %38 = sdiv i32 %37, 2
  store i32 %38, ptr %19, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #7
  store i32 0, ptr %20, align 4, !tbaa !9
  br label %39

39:                                               ; preds = %113, %35
  %40 = load i32, ptr %20, align 4, !tbaa !9
  %41 = getelementptr inbounds %class.spatial_region, ptr %28, i32 0, i32 1
  %42 = load i32, ptr %41, align 4, !tbaa !130
  %43 = icmp slt i32 %40, %42
  br i1 %43, label %45, label %44

44:                                               ; preds = %39
  store i32 5, ptr %18, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #7
  br label %116

45:                                               ; preds = %39
  %46 = load i32, ptr %17, align 4, !tbaa !9
  %47 = sitofp i32 %46 to double
  store double %47, ptr %12, align 8, !tbaa !131
  %48 = load i32, ptr %20, align 4, !tbaa !9
  %49 = sitofp i32 %48 to double
  store double %49, ptr %13, align 8, !tbaa !131
  %50 = load i32, ptr %19, align 4, !tbaa !9
  %51 = sitofp i32 %50 to double
  store double %51, ptr %14, align 8, !tbaa !131
  %52 = load i8, ptr %10, align 1, !tbaa !11, !range !132, !noundef !133
  %53 = trunc i8 %52 to i1
  %54 = zext i1 %53 to i32
  %55 = icmp eq i32 %54, 1
  br i1 %55, label %56, label %65

56:                                               ; preds = %45
  %57 = load double, ptr %12, align 8, !tbaa !131
  %58 = load i32, ptr %9, align 4, !tbaa !9
  %59 = sub nsw i32 %58, 1
  %60 = sitofp i32 %59 to double
  %61 = fcmp oeq double %57, %60
  br i1 %61, label %62, label %65

62:                                               ; preds = %56
  %63 = load double, ptr %12, align 8, !tbaa !131
  %64 = fsub double %63, 1.000000e+00
  store double %64, ptr %12, align 8, !tbaa !131
  br label %65

65:                                               ; preds = %62, %56, %45
  %66 = load double, ptr %13, align 8, !tbaa !131
  %67 = getelementptr inbounds %class.spatial_region, ptr %28, i32 0, i32 1
  %68 = load i32, ptr %67, align 4, !tbaa !130
  %69 = sub nsw i32 %68, 1
  %70 = sitofp i32 %69 to double
  %71 = fcmp oeq double %66, %70
  br i1 %71, label %72, label %75

72:                                               ; preds = %65
  %73 = load double, ptr %13, align 8, !tbaa !131
  %74 = fsub double %73, 1.000000e+00
  store double %74, ptr %13, align 8, !tbaa !131
  br label %75

75:                                               ; preds = %72, %65
  call void @llvm.lifetime.start.p0(i64 24, ptr %21) #7
  call void @_ZN14spatial_region13e_to_particleERdS0_S0_(ptr dead_on_unwind writable sret(%struct.vector3d) align 8 %21, ptr noundef nonnull align 8 dereferenceable(608) %28, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %21, i64 24, i1 false), !tbaa.struct !134
  call void @llvm.lifetime.end.p0(i64 24, ptr %21) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %22) #7
  call void @_ZN14spatial_region13b_to_particleERdS0_S0_(ptr dead_on_unwind writable sret(%struct.vector3d) align 8 %22, ptr noundef nonnull align 8 dereferenceable(608) %28, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %22, i64 24, i1 false), !tbaa.struct !134
  call void @llvm.lifetime.end.p0(i64 24, ptr %22) #7
  %76 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 0
  %77 = load double, ptr %76, align 8, !tbaa !135
  %78 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 0
  %79 = load double, ptr %78, align 8, !tbaa !135
  %80 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 1
  %81 = load double, ptr %80, align 8, !tbaa !137
  %82 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 1
  %83 = load double, ptr %82, align 8, !tbaa !137
  %84 = fmul double %81, %83
  %85 = call double @llvm.fmuladd.f64(double %77, double %79, double %84)
  %86 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 2
  %87 = load double, ptr %86, align 8, !tbaa !138
  %88 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 2
  %89 = load double, ptr %88, align 8, !tbaa !138
  %90 = call double @llvm.fmuladd.f64(double %87, double %89, double %85)
  %91 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 0
  %92 = load double, ptr %91, align 8, !tbaa !135
  %93 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 0
  %94 = load double, ptr %93, align 8, !tbaa !135
  %95 = fneg double %92
  %96 = call double @llvm.fmuladd.f64(double %95, double %94, double %90)
  %97 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 1
  %98 = load double, ptr %97, align 8, !tbaa !137
  %99 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 1
  %100 = load double, ptr %99, align 8, !tbaa !137
  %101 = fneg double %98
  %102 = call double @llvm.fmuladd.f64(double %101, double %100, double %96)
  %103 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 2
  %104 = load double, ptr %103, align 8, !tbaa !138
  %105 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 2
  %106 = load double, ptr %105, align 8, !tbaa !138
  %107 = fneg double %104
  %108 = call double @llvm.fmuladd.f64(double %107, double %106, double %102)
  store double %108, ptr %11, align 8, !tbaa !131
  %109 = load ptr, ptr %7, align 8, !tbaa !5
  %110 = load double, ptr %11, align 8, !tbaa !131
  %111 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %109, double noundef %110)
  %112 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %111, ptr noundef @.str.8)
  br label %113

113:                                              ; preds = %75
  %114 = load i32, ptr %20, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %20, align 4, !tbaa !9
  br label %39, !llvm.loop !139

116:                                              ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #7
  %117 = getelementptr inbounds %class.spatial_region, ptr %28, i32 0, i32 1
  %118 = load i32, ptr %117, align 4, !tbaa !130
  %119 = sdiv i32 %118, 2
  store i32 %119, ptr %23, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #7
  store i32 0, ptr %24, align 4, !tbaa !9
  br label %120

120:                                              ; preds = %194, %116
  %121 = load i32, ptr %24, align 4, !tbaa !9
  %122 = getelementptr inbounds %class.spatial_region, ptr %28, i32 0, i32 2
  %123 = load i32, ptr %122, align 8, !tbaa !13
  %124 = icmp slt i32 %121, %123
  br i1 %124, label %126, label %125

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

126:                                              ; preds = %120
  %127 = load i32, ptr %17, align 4, !tbaa !9
  %128 = sitofp i32 %127 to double
  store double %128, ptr %12, align 8, !tbaa !131
  %129 = load i32, ptr %23, align 4, !tbaa !9
  %130 = sitofp i32 %129 to double
  store double %130, ptr %13, align 8, !tbaa !131
  %131 = load i32, ptr %24, align 4, !tbaa !9
  %132 = sitofp i32 %131 to double
  store double %132, ptr %14, align 8, !tbaa !131
  %133 = load i8, ptr %10, align 1, !tbaa !11, !range !132, !noundef !133
  %134 = trunc i8 %133 to i1
  %135 = zext i1 %134 to i32
  %136 = icmp eq i32 %135, 1
  br i1 %136, label %137, label %146

137:                                              ; preds = %126
  %138 = load double, ptr %12, align 8, !tbaa !131
  %139 = load i32, ptr %9, align 4, !tbaa !9
  %140 = sub nsw i32 %139, 1
  %141 = sitofp i32 %140 to double
  %142 = fcmp oeq double %138, %141
  br i1 %142, label %143, label %146

143:                                              ; preds = %137
  %144 = load double, ptr %12, align 8, !tbaa !131
  %145 = fsub double %144, 1.000000e+00
  store double %145, ptr %12, align 8, !tbaa !131
  br label %146

146:                                              ; preds = %143, %137, %126
  %147 = load double, ptr %14, align 8, !tbaa !131
  %148 = getelementptr inbounds %class.spatial_region, ptr %28, i32 0, i32 2
  %149 = load i32, ptr %148, align 8, !tbaa !13
  %150 = sub nsw i32 %149, 1
  %151 = sitofp i32 %150 to double
  %152 = fcmp oeq double %147, %151
  br i1 %152, label %153, label %156

153:                                              ; preds = %146
  %154 = load double, ptr %14, align 8, !tbaa !131
  %155 = fsub double %154, 1.000000e+00
  store double %155, ptr %14, align 8, !tbaa !131
  br label %156

156:                                              ; preds = %153, %146
  call void @llvm.lifetime.start.p0(i64 24, ptr %25) #7
  call void @_ZN14spatial_region13e_to_particleERdS0_S0_(ptr dead_on_unwind writable sret(%struct.vector3d) align 8 %25, ptr noundef nonnull align 8 dereferenceable(608) %28, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %15, ptr align 8 %25, i64 24, i1 false), !tbaa.struct !134
  call void @llvm.lifetime.end.p0(i64 24, ptr %25) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr %26) #7
  call void @_ZN14spatial_region13b_to_particleERdS0_S0_(ptr dead_on_unwind writable sret(%struct.vector3d) align 8 %26, ptr noundef nonnull align 8 dereferenceable(608) %28, ptr noundef nonnull align 8 dereferenceable(8) %12, ptr noundef nonnull align 8 dereferenceable(8) %13, ptr noundef nonnull align 8 dereferenceable(8) %14)
  call void @llvm.memcpy.p0.p0.i64(ptr align 8 %16, ptr align 8 %26, i64 24, i1 false), !tbaa.struct !134
  call void @llvm.lifetime.end.p0(i64 24, ptr %26) #7
  %157 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 0
  %158 = load double, ptr %157, align 8, !tbaa !135
  %159 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 0
  %160 = load double, ptr %159, align 8, !tbaa !135
  %161 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 1
  %162 = load double, ptr %161, align 8, !tbaa !137
  %163 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 1
  %164 = load double, ptr %163, align 8, !tbaa !137
  %165 = fmul double %162, %164
  %166 = call double @llvm.fmuladd.f64(double %158, double %160, double %165)
  %167 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 2
  %168 = load double, ptr %167, align 8, !tbaa !138
  %169 = getelementptr inbounds %struct.vector3d, ptr %15, i32 0, i32 2
  %170 = load double, ptr %169, align 8, !tbaa !138
  %171 = call double @llvm.fmuladd.f64(double %168, double %170, double %166)
  %172 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 0
  %173 = load double, ptr %172, align 8, !tbaa !135
  %174 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 0
  %175 = load double, ptr %174, align 8, !tbaa !135
  %176 = fneg double %173
  %177 = call double @llvm.fmuladd.f64(double %176, double %175, double %171)
  %178 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 1
  %179 = load double, ptr %178, align 8, !tbaa !137
  %180 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 1
  %181 = load double, ptr %180, align 8, !tbaa !137
  %182 = fneg double %179
  %183 = call double @llvm.fmuladd.f64(double %182, double %181, double %177)
  %184 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 2
  %185 = load double, ptr %184, align 8, !tbaa !138
  %186 = getelementptr inbounds %struct.vector3d, ptr %16, i32 0, i32 2
  %187 = load double, ptr %186, align 8, !tbaa !138
  %188 = fneg double %185
  %189 = call double @llvm.fmuladd.f64(double %188, double %187, double %183)
  store double %189, ptr %11, align 8, !tbaa !131
  %190 = load ptr, ptr %7, align 8, !tbaa !5
  %191 = load double, ptr %11, align 8, !tbaa !131
  %192 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %190, double noundef %191)
  %193 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %192, ptr noundef @.str.8)
  br label %194

194:                                              ; preds = %156
  %195 = load i32, ptr %24, align 4, !tbaa !9
  %196 = add nsw i32 %195, 1
  store i32 %196, ptr %24, align 4, !tbaa !9
  br label %120, !llvm.loop !141

197:                                              ; preds = %125
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #7
  br label %198

198:                                              ; preds = %197
  %199 = load i32, ptr %17, align 4, !tbaa !9
  %200 = add nsw i32 %199, 1
  store i32 %200, ptr %17, align 4, !tbaa !9
  br label %30, !llvm.loop !142

201:                                              ; preds = %34
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #7
  ret void
}

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


; 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.vector3d = type { double, double, double }

@.str.8 = external hidden unnamed_addr constant [2 x i8], align 1

; 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 nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

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

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

declare void @_ZN14spatial_region13e_to_particleERdS0_S0_(ptr dead_on_unwind writable sret(%struct.vector3d) align 8, ptr noundef nonnull align 8 dereferenceable(608), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; 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) #6

declare void @_ZN14spatial_region13b_to_particleERdS0_S0_(ptr dead_on_unwind writable sret(%struct.vector3d) align 8, ptr noundef nonnull align 8 dereferenceable(608), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8), ptr noundef nonnull align 8 dereferenceable(8)) local_unnamed_addr #5

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14spatial_region8fout_invEPSt14basic_ofstreamIcSt11char_traitsIcEEiib(ptr noundef nonnull align 8 dereferenceable(608) %0, ptr noundef %1, i32 noundef %2, i32 noundef %3, i1 noundef zeroext %4) local_unnamed_addr #3 align 2 {
  %6 = alloca double, align 8
  %7 = alloca double, align 8
  %8 = alloca double, align 8
  %9 = alloca %struct.vector3d, align 8
  %10 = alloca %struct.vector3d, align 8
  %11 = alloca %struct.vector3d, align 8
  %12 = alloca %struct.vector3d, align 8
  %13 = alloca %struct.vector3d, align 8
  %14 = alloca %struct.vector3d, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %9) #7
  call void @_ZN8vector3dC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %9)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %10) #7
  call void @_ZN8vector3dC2Ev(ptr noundef nonnull align 8 dereferenceable(24) %10)
  %15 = icmp slt i32 %2, %3
  br i1 %15, label %.lr.ph37, label %._crit_edge38

.lr.ph37:                                         ; preds = %5
  %16 = getelementptr inbounds i8, ptr %0, i64 8
  %17 = getelementptr inbounds i8, ptr %0, i64 4
  %18 = add nsw i32 %3, -1
  %19 = sitofp i32 %18 to double
  %20 = getelementptr inbounds i8, ptr %9, i64 8
  %21 = getelementptr inbounds i8, ptr %9, i64 16
  %22 = getelementptr inbounds i8, ptr %10, i64 8
  %23 = getelementptr inbounds i8, ptr %10, i64 16
  %.pre45.pre = load i32, ptr %16, align 8, !tbaa !5
  br label %24

._crit_edge38:                                    ; preds = %._crit_edge34, %5
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %10) #7
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %9) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #7
  ret void

24:                                               ; preds = %.lr.ph37, %._crit_edge34
  %.pre45 = phi i32 [ %.pre45.pre, %.lr.ph37 ], [ %.pre4546, %._crit_edge34 ]
  %.02335 = phi i32 [ %2, %.lr.ph37 ], [ %70, %._crit_edge34 ]
  %25 = load i32, ptr %17, align 4, !tbaa !126
  %26 = icmp sgt i32 %25, 0
  br i1 %26, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %24
  %27 = sdiv i32 %.pre45, 2
  %28 = sitofp i32 %.02335 to double
  %29 = sitofp i32 %27 to double
  %30 = fcmp oeq double %28, %19
  %31 = fadd double %28, -1.000000e+00
  %brmerge.not = select i1 %4, i1 %30, i1 false
  br label %38

._crit_edge.loopexit:                             ; preds = %49
  %.pre = load i32, ptr %16, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %24
  %.pre4547 = phi i32 [ %.pre45, %24 ], [ %.pre, %._crit_edge.loopexit ]
  %.lcssa = phi i32 [ %25, %24 ], [ %68, %._crit_edge.loopexit ]
  %32 = icmp sgt i32 %.pre4547, 0
  br i1 %32, label %.lr.ph33, label %._crit_edge34

.lr.ph33:                                         ; preds = %._crit_edge
  %33 = sdiv i32 %.lcssa, 2
  %34 = sitofp i32 %.02335 to double
  %35 = sitofp i32 %33 to double
  %36 = fcmp oeq double %34, %19
  %37 = fadd double %34, -1.000000e+00
  %brmerge42.not = select i1 %4, i1 %36, i1 false
  br label %71

38:                                               ; preds = %.lr.ph, %49
  %39 = phi i32 [ %25, %.lr.ph ], [ %68, %49 ]
  %.02230 = phi i32 [ 0, %.lr.ph ], [ %67, %49 ]
  store double %28, ptr %6, align 8, !tbaa !127
  %40 = uitofp nneg i32 %.02230 to double
  store double %40, ptr %7, align 8, !tbaa !127
  store double %29, ptr %8, align 8, !tbaa !127
  br i1 %brmerge.not, label %41, label %42

41:                                               ; preds = %38
  store double %31, ptr %6, align 8, !tbaa !127
  br label %42

42:                                               ; preds = %38, %41
  %43 = add nsw i32 %39, -1
  %44 = sitofp i32 %43 to double
  %45 = fcmp oeq double %40, %44
  br i1 %45, label %46, label %49

46:                                               ; preds = %42
  %47 = add nsw i32 %.02230, -1
  %48 = sitofp i32 %47 to double
  store double %48, ptr %7, align 8, !tbaa !127
  br label %49

49:                                               ; preds = %46, %42
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %11) #7
  call void @_ZN14spatial_region13e_to_particleERdS0_S0_(ptr dead_on_unwind nonnull writable sret(%struct.vector3d) align 8 %11, ptr noundef nonnull align 8 dereferenceable(608) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %11, i64 24, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %11) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %12) #7
  call void @_ZN14spatial_region13b_to_particleERdS0_S0_(ptr dead_on_unwind nonnull writable sret(%struct.vector3d) align 8 %12, ptr noundef nonnull align 8 dereferenceable(608) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %12, i64 24, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %12) #7
  %50 = load double, ptr %9, align 8, !tbaa !129
  %51 = load double, ptr %20, align 8, !tbaa !131
  %52 = fmul double %51, %51
  %53 = call double @llvm.fmuladd.f64(double %50, double %50, double %52)
  %54 = load double, ptr %21, align 8, !tbaa !132
  %55 = call double @llvm.fmuladd.f64(double %54, double %54, double %53)
  %56 = load double, ptr %10, align 8, !tbaa !129
  %57 = fneg double %56
  %58 = call double @llvm.fmuladd.f64(double %57, double %56, double %55)
  %59 = load double, ptr %22, align 8, !tbaa !131
  %60 = fneg double %59
  %61 = call double @llvm.fmuladd.f64(double %60, double %59, double %58)
  %62 = load double, ptr %23, align 8, !tbaa !132
  %63 = fneg double %62
  %64 = call double @llvm.fmuladd.f64(double %63, double %62, double %61)
  %65 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %1, double noundef %64)
  %66 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %65, ptr noundef nonnull @.str.8)
  %67 = add nuw nsw i32 %.02230, 1
  %68 = load i32, ptr %17, align 4, !tbaa !126
  %69 = icmp slt i32 %67, %68
  br i1 %69, label %38, label %._crit_edge.loopexit, !llvm.loop !133

._crit_edge34:                                    ; preds = %82, %._crit_edge
  %.pre4546 = phi i32 [ %.pre4547, %._crit_edge ], [ %101, %82 ]
  %70 = add i32 %.02335, 1
  %exitcond.not = icmp eq i32 %70, %3
  br i1 %exitcond.not, label %._crit_edge38, label %24, !llvm.loop !135

71:                                               ; preds = %.lr.ph33, %82
  %72 = phi i32 [ %.pre4547, %.lr.ph33 ], [ %101, %82 ]
  %.031 = phi i32 [ 0, %.lr.ph33 ], [ %100, %82 ]
  store double %34, ptr %6, align 8, !tbaa !127
  store double %35, ptr %7, align 8, !tbaa !127
  %73 = uitofp nneg i32 %.031 to double
  store double %73, ptr %8, align 8, !tbaa !127
  br i1 %brmerge42.not, label %74, label %75

74:                                               ; preds = %71
  store double %37, ptr %6, align 8, !tbaa !127
  br label %75

75:                                               ; preds = %71, %74
  %76 = add nsw i32 %72, -1
  %77 = sitofp i32 %76 to double
  %78 = fcmp oeq double %73, %77
  br i1 %78, label %79, label %82

79:                                               ; preds = %75
  %80 = add nsw i32 %.031, -1
  %81 = sitofp i32 %80 to double
  store double %81, ptr %8, align 8, !tbaa !127
  br label %82

82:                                               ; preds = %79, %75
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #7
  call void @_ZN14spatial_region13e_to_particleERdS0_S0_(ptr dead_on_unwind nonnull writable sret(%struct.vector3d) align 8 %13, ptr noundef nonnull align 8 dereferenceable(608) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %9, ptr noundef nonnull align 8 dereferenceable(24) %13, i64 24, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %14) #7
  call void @_ZN14spatial_region13b_to_particleERdS0_S0_(ptr dead_on_unwind nonnull writable sret(%struct.vector3d) align 8 %14, ptr noundef nonnull align 8 dereferenceable(608) %0, ptr noundef nonnull align 8 dereferenceable(8) %6, ptr noundef nonnull align 8 dereferenceable(8) %7, ptr noundef nonnull align 8 dereferenceable(8) %8)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %10, ptr noundef nonnull align 8 dereferenceable(24) %14, i64 24, i1 false), !tbaa.struct !128
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %14) #7
  %83 = load double, ptr %9, align 8, !tbaa !129
  %84 = load double, ptr %20, align 8, !tbaa !131
  %85 = fmul double %84, %84
  %86 = call double @llvm.fmuladd.f64(double %83, double %83, double %85)
  %87 = load double, ptr %21, align 8, !tbaa !132
  %88 = call double @llvm.fmuladd.f64(double %87, double %87, double %86)
  %89 = load double, ptr %10, align 8, !tbaa !129
  %90 = fneg double %89
  %91 = call double @llvm.fmuladd.f64(double %90, double %89, double %88)
  %92 = load double, ptr %22, align 8, !tbaa !131
  %93 = fneg double %92
  %94 = call double @llvm.fmuladd.f64(double %93, double %92, double %91)
  %95 = load double, ptr %23, align 8, !tbaa !132
  %96 = fneg double %95
  %97 = call double @llvm.fmuladd.f64(double %96, double %95, double %94)
  %98 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNSolsEd(ptr noundef nonnull align 8 dereferenceable(8) %1, double noundef %97)
  %99 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) %98, ptr noundef nonnull @.str.8)
  %100 = add nuw nsw i32 %.031, 1
  %101 = load i32, ptr %16, align 8, !tbaa !5
  %102 = icmp slt i32 %100, %101
  br i1 %102, label %71, label %._crit_edge34, !llvm.loop !136
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { inlinehint 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 = { 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 #4 = { 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 #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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { 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 8}
!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, !7, i64 4}
!127 = !{!10, !10, i64 0}
!128 = !{i64 0, i64 8, !127, i64 8, i64 8, !127, i64 16, i64 8, !127}
!129 = !{!130, !10, i64 0}
!130 = !{!"_ZTS8vector3d", !10, i64 0, !10, i64 8, !10, i64 16}
!131 = !{!130, !10, i64 8}
!132 = !{!130, !10, i64 16}
!133 = distinct !{!133, !134}
!134 = !{!"llvm.loop.mustprogress"}
!135 = distinct !{!135, !134}
!136 = distinct !{!136, !134}


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