; LLVM IR from QUILL-PIC/Quill :: src/init.ll (ZN14spatial_region22fill_cell_by_particlesEdR12int_vector3dS1_ddddd)

; 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.int_vector3d = type { i32, i32, i32 }
%struct.particle = type { double, double, double, double, double, double, double, double, double, double, i32, ptr, 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::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 }
%struct.cellp = type { %class.plist }
%class.plist = type { ptr, ptr }

; 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: nounwind
declare double @sqrt(double noundef) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14spatial_region22fill_cell_by_particlesEdR12int_vector3dS1_ddddd(ptr noundef nonnull align 8 dereferenceable(608) %0, double noundef %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) #3 align 2 {
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %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 ptr, align 8
  %24 = alloca i32, align 4
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca double, align 8
  %32 = alloca double, align 8
  %33 = alloca double, align 8
  %34 = alloca double, align 8
  %35 = alloca double, align 8
  %36 = alloca double, align 8
  store ptr %0, ptr %10, align 8, !tbaa !5
  store double %1, ptr %11, align 8, !tbaa !9
  store ptr %2, ptr %12, align 8, !tbaa !5
  store ptr %3, ptr %13, align 8, !tbaa !5
  store double %4, ptr %14, align 8, !tbaa !9
  store double %5, ptr %15, align 8, !tbaa !9
  store double %6, ptr %16, align 8, !tbaa !9
  store double %7, ptr %17, align 8, !tbaa !9
  store double %8, ptr %18, align 8, !tbaa !9
  %37 = load ptr, ptr %10, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #6
  %38 = load ptr, ptr %13, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.int_vector3d, ptr %38, i32 0, i32 0
  %40 = load i32, ptr %39, align 4, !tbaa !11
  %41 = sitofp i32 %40 to double
  %42 = fdiv double 5.000000e-01, %41
  %43 = load double, ptr %17, align 8, !tbaa !9
  %44 = fadd double %42, %43
  store double %44, ptr %19, align 8, !tbaa !9
  %45 = load ptr, ptr %13, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.int_vector3d, ptr %45, i32 0, i32 1
  %47 = load i32, ptr %46, align 4, !tbaa !14
  %48 = sitofp i32 %47 to double
  %49 = fdiv double 5.000000e-01, %48
  store double %49, ptr %20, align 8, !tbaa !9
  %50 = load ptr, ptr %13, align 8, !tbaa !5
  %51 = getelementptr inbounds %struct.int_vector3d, ptr %50, i32 0, i32 2
  %52 = load i32, ptr %51, align 4, !tbaa !15
  %53 = sitofp i32 %52 to double
  %54 = fdiv double 5.000000e-01, %53
  store double %54, ptr %21, align 8, !tbaa !9
  %55 = load ptr, ptr %13, align 8, !tbaa !5
  %56 = getelementptr inbounds %struct.int_vector3d, ptr %55, i32 0, i32 0
  %57 = load i32, ptr %56, align 4, !tbaa !11
  %58 = load ptr, ptr %13, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.int_vector3d, ptr %58, i32 0, i32 1
  %60 = load i32, ptr %59, align 4, !tbaa !14
  %61 = mul nsw i32 %57, %60
  %62 = load ptr, ptr %13, align 8, !tbaa !5
  %63 = getelementptr inbounds %struct.int_vector3d, ptr %62, i32 0, i32 2
  %64 = load i32, ptr %63, align 4, !tbaa !15
  %65 = mul nsw i32 %61, %64
  %66 = sitofp i32 %65 to double
  %67 = fdiv double 1.000000e+00, %66
  %68 = load double, ptr %14, align 8, !tbaa !9
  %69 = fmul double %67, %68
  store double %69, ptr %22, align 8, !tbaa !9
  %70 = load double, ptr %11, align 8, !tbaa !9
  %71 = fcmp olt double %70, 0.000000e+00
  br i1 %71, label %72, label %75

72:                                               ; preds = %9
  %73 = load double, ptr %22, align 8, !tbaa !9
  %74 = fneg double %73
  store double %74, ptr %22, align 8, !tbaa !9
  br label %75

75:                                               ; preds = %72, %9
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #6
  store i32 0, ptr %24, align 4, !tbaa !16
  br label %76

76:                                               ; preds = %397, %75
  %77 = load i32, ptr %24, align 4, !tbaa !16
  %78 = load ptr, ptr %13, align 8, !tbaa !5
  %79 = getelementptr inbounds %struct.int_vector3d, ptr %78, i32 0, i32 0
  %80 = load i32, ptr %79, align 4, !tbaa !11
  %81 = icmp slt i32 %77, %80
  br i1 %81, label %83, label %82

82:                                               ; preds = %76
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #6
  br label %400

83:                                               ; preds = %76
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #6
  store i32 0, ptr %26, align 4, !tbaa !16
  br label %84

84:                                               ; preds = %393, %83
  %85 = load i32, ptr %26, align 4, !tbaa !16
  %86 = load ptr, ptr %13, align 8, !tbaa !5
  %87 = getelementptr inbounds %struct.int_vector3d, ptr %86, i32 0, i32 1
  %88 = load i32, ptr %87, align 4, !tbaa !14
  %89 = icmp slt i32 %85, %88
  br i1 %89, label %91, label %90

90:                                               ; preds = %84
  store i32 5, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #6
  br label %396

91:                                               ; preds = %84
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #6
  store i32 0, ptr %27, align 4, !tbaa !16
  br label %92

92:                                               ; preds = %389, %91
  %93 = load i32, ptr %27, align 4, !tbaa !16
  %94 = load ptr, ptr %13, align 8, !tbaa !5
  %95 = getelementptr inbounds %struct.int_vector3d, ptr %94, i32 0, i32 2
  %96 = load i32, ptr %95, align 4, !tbaa !15
  %97 = icmp slt i32 %93, %96
  br i1 %97, label %99, label %98

98:                                               ; preds = %92
  store i32 8, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #6
  br label %392

99:                                               ; preds = %92
  %100 = call noundef ptr @_ZN14spatial_region12new_particleEv(ptr noundef nonnull align 8 dereferenceable(608) %37)
  store ptr %100, ptr %23, align 8, !tbaa !5
  %101 = load double, ptr %11, align 8, !tbaa !9
  %102 = load ptr, ptr %23, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.particle, ptr %102, i32 0, i32 8
  store double %101, ptr %103, align 8, !tbaa !17
  %104 = load double, ptr %22, align 8, !tbaa !9
  %105 = load ptr, ptr %23, align 8, !tbaa !5
  %106 = getelementptr inbounds %struct.particle, ptr %105, i32 0, i32 7
  store double %104, ptr %106, align 8, !tbaa !19
  %107 = load double, ptr %19, align 8, !tbaa !9
  %108 = load ptr, ptr %12, align 8, !tbaa !5
  %109 = getelementptr inbounds %struct.int_vector3d, ptr %108, i32 0, i32 0
  %110 = load i32, ptr %109, align 4, !tbaa !11
  %111 = sitofp i32 %110 to double
  %112 = fadd double %107, %111
  %113 = load i32, ptr %24, align 4, !tbaa !16
  %114 = sitofp i32 %113 to double
  %115 = load ptr, ptr %13, align 8, !tbaa !5
  %116 = getelementptr inbounds %struct.int_vector3d, ptr %115, i32 0, i32 0
  %117 = load i32, ptr %116, align 4, !tbaa !11
  %118 = sitofp i32 %117 to double
  %119 = fdiv double %114, %118
  %120 = fadd double %112, %119
  %121 = load ptr, ptr %23, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.particle, ptr %121, i32 0, i32 0
  store double %120, ptr %122, align 8, !tbaa !20
  %123 = load double, ptr %20, align 8, !tbaa !9
  %124 = load ptr, ptr %12, align 8, !tbaa !5
  %125 = getelementptr inbounds %struct.int_vector3d, ptr %124, i32 0, i32 1
  %126 = load i32, ptr %125, align 4, !tbaa !14
  %127 = sitofp i32 %126 to double
  %128 = fadd double %123, %127
  %129 = load i32, ptr %26, align 4, !tbaa !16
  %130 = sitofp i32 %129 to double
  %131 = load ptr, ptr %13, align 8, !tbaa !5
  %132 = getelementptr inbounds %struct.int_vector3d, ptr %131, i32 0, i32 1
  %133 = load i32, ptr %132, align 4, !tbaa !14
  %134 = sitofp i32 %133 to double
  %135 = fdiv double %130, %134
  %136 = fadd double %128, %135
  %137 = load ptr, ptr %23, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.particle, ptr %137, i32 0, i32 1
  store double %136, ptr %138, align 8, !tbaa !21
  %139 = load double, ptr %21, align 8, !tbaa !9
  %140 = load ptr, ptr %12, align 8, !tbaa !5
  %141 = getelementptr inbounds %struct.int_vector3d, ptr %140, i32 0, i32 2
  %142 = load i32, ptr %141, align 4, !tbaa !15
  %143 = sitofp i32 %142 to double
  %144 = fadd double %139, %143
  %145 = load i32, ptr %27, align 4, !tbaa !16
  %146 = sitofp i32 %145 to double
  %147 = load ptr, ptr %13, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.int_vector3d, ptr %147, i32 0, i32 2
  %149 = load i32, ptr %148, align 4, !tbaa !15
  %150 = sitofp i32 %149 to double
  %151 = fdiv double %146, %150
  %152 = fadd double %144, %151
  %153 = load ptr, ptr %23, align 8, !tbaa !5
  %154 = getelementptr inbounds %struct.particle, ptr %153, i32 0, i32 2
  store double %152, ptr %154, align 8, !tbaa !22
  %155 = load double, ptr %18, align 8, !tbaa !9
  %156 = fcmp une double %155, 0.000000e+00
  br i1 %156, label %157, label %321

157:                                              ; preds = %99
  %158 = load double, ptr %11, align 8, !tbaa !9
  %159 = fcmp une double %158, 0.000000e+00
  br i1 %159, label %160, label %321

160:                                              ; preds = %157
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #6
  %161 = load double, ptr %15, align 8, !tbaa !9
  %162 = load double, ptr %15, align 8, !tbaa !9
  %163 = load double, ptr %16, align 8, !tbaa !9
  %164 = load double, ptr %16, align 8, !tbaa !9
  %165 = fmul double %163, %164
  %166 = call double @llvm.fmuladd.f64(double %161, double %162, double %165)
  %167 = call double @sqrt(double noundef %166) #6
  store double %167, ptr %28, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #6
  %168 = load double, ptr %28, align 8, !tbaa !9
  %169 = load double, ptr %28, align 8, !tbaa !9
  %170 = load double, ptr %28, align 8, !tbaa !9
  %171 = call double @llvm.fmuladd.f64(double %169, double %170, double 1.000000e+00)
  %172 = call double @sqrt(double noundef %171) #6
  %173 = fdiv double %168, %172
  store double %173, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.start.p0(i64 8, ptr %35) #6
  br label %174

174:                                              ; preds = %179, %160
  %175 = call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %37)
  %176 = fmul double %175, 5.000000e+00
  %177 = load double, ptr %18, align 8, !tbaa !9
  %178 = call double @llvm.fmuladd.f64(double %176, double %177, double 1.000000e+00)
  store double %178, ptr %34, align 8, !tbaa !9
  br label %179

179:                                              ; preds = %174
  %180 = call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %37)
  %181 = load double, ptr %34, align 8, !tbaa !9
  %182 = fsub double %181, 1.000000e+00
  %183 = fneg double %182
  %184 = load double, ptr %18, align 8, !tbaa !9
  %185 = fdiv double %183, %184
  %186 = call double @exp(double noundef %185) #6
  %187 = fcmp ogt double %180, %186
  br i1 %187, label %174, label %188, !llvm.loop !23

188:                                              ; preds = %179
  br label %189

189:                                              ; preds = %212, %188
  %190 = call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %37)
  %191 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %190, double -1.000000e+00)
  store double %191, ptr %30, align 8, !tbaa !9
  %192 = call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %37)
  %193 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %192, double -1.000000e+00)
  store double %193, ptr %31, align 8, !tbaa !9
  %194 = call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %37)
  %195 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %194, double -1.000000e+00)
  store double %195, ptr %32, align 8, !tbaa !9
  %196 = load double, ptr %30, align 8, !tbaa !9
  %197 = load double, ptr %30, align 8, !tbaa !9
  %198 = load double, ptr %31, align 8, !tbaa !9
  %199 = load double, ptr %31, align 8, !tbaa !9
  %200 = fmul double %198, %199
  %201 = call double @llvm.fmuladd.f64(double %196, double %197, double %200)
  %202 = load double, ptr %32, align 8, !tbaa !9
  %203 = load double, ptr %32, align 8, !tbaa !9
  %204 = call double @llvm.fmuladd.f64(double %202, double %203, double %201)
  %205 = call double @sqrt(double noundef %204) #6
  store double %205, ptr %33, align 8, !tbaa !9
  br label %206

206:                                              ; preds = %189
  %207 = load double, ptr %33, align 8, !tbaa !9
  %208 = fcmp ogt double %207, 1.000000e+00
  br i1 %208, label %212, label %209

209:                                              ; preds = %206
  %210 = load double, ptr %33, align 8, !tbaa !9
  %211 = fcmp oeq double %210, 0.000000e+00
  br label %212

212:                                              ; preds = %209, %206
  %213 = phi i1 [ true, %206 ], [ %211, %209 ]
  br i1 %213, label %189, label %214, !llvm.loop !25

214:                                              ; preds = %212
  %215 = load double, ptr %30, align 8, !tbaa !9
  %216 = load double, ptr %33, align 8, !tbaa !9
  %217 = fdiv double %215, %216
  store double %217, ptr %30, align 8, !tbaa !9
  %218 = load double, ptr %31, align 8, !tbaa !9
  %219 = load double, ptr %33, align 8, !tbaa !9
  %220 = fdiv double %218, %219
  store double %220, ptr %31, align 8, !tbaa !9
  %221 = load double, ptr %32, align 8, !tbaa !9
  %222 = load double, ptr %33, align 8, !tbaa !9
  %223 = fdiv double %221, %222
  store double %223, ptr %32, align 8, !tbaa !9
  %224 = load double, ptr %34, align 8, !tbaa !9
  %225 = load double, ptr %34, align 8, !tbaa !9
  %226 = fmul double %224, %225
  %227 = fdiv double 1.000000e+00, %226
  %228 = fsub double 1.000000e+00, %227
  %229 = call double @sqrt(double noundef %228) #6
  store double %229, ptr %35, align 8, !tbaa !9
  %230 = load double, ptr %35, align 8, !tbaa !9
  %231 = load double, ptr %30, align 8, !tbaa !9
  %232 = fmul double %230, %231
  store double %232, ptr %30, align 8, !tbaa !9
  %233 = load double, ptr %35, align 8, !tbaa !9
  %234 = load double, ptr %31, align 8, !tbaa !9
  %235 = fmul double %233, %234
  store double %235, ptr %31, align 8, !tbaa !9
  %236 = load double, ptr %35, align 8, !tbaa !9
  %237 = load double, ptr %32, align 8, !tbaa !9
  %238 = fmul double %236, %237
  store double %238, ptr %32, align 8, !tbaa !9
  %239 = load double, ptr %31, align 8, !tbaa !9
  %240 = load double, ptr %29, align 8, !tbaa !9
  %241 = load double, ptr %29, align 8, !tbaa !9
  %242 = fneg double %240
  %243 = call double @llvm.fmuladd.f64(double %242, double %241, double 1.000000e+00)
  %244 = call double @sqrt(double noundef %243) #6
  %245 = fmul double %239, %244
  %246 = load double, ptr %30, align 8, !tbaa !9
  %247 = load double, ptr %29, align 8, !tbaa !9
  %248 = call double @llvm.fmuladd.f64(double %246, double %247, double 1.000000e+00)
  %249 = fdiv double %245, %248
  store double %249, ptr %31, align 8, !tbaa !9
  %250 = load double, ptr %32, align 8, !tbaa !9
  %251 = load double, ptr %29, align 8, !tbaa !9
  %252 = load double, ptr %29, align 8, !tbaa !9
  %253 = fneg double %251
  %254 = call double @llvm.fmuladd.f64(double %253, double %252, double 1.000000e+00)
  %255 = call double @sqrt(double noundef %254) #6
  %256 = fmul double %250, %255
  %257 = load double, ptr %30, align 8, !tbaa !9
  %258 = load double, ptr %29, align 8, !tbaa !9
  %259 = call double @llvm.fmuladd.f64(double %257, double %258, double 1.000000e+00)
  %260 = fdiv double %256, %259
  store double %260, ptr %32, align 8, !tbaa !9
  %261 = load double, ptr %30, align 8, !tbaa !9
  %262 = load double, ptr %29, align 8, !tbaa !9
  %263 = fadd double %261, %262
  %264 = load double, ptr %30, align 8, !tbaa !9
  %265 = load double, ptr %29, align 8, !tbaa !9
  %266 = call double @llvm.fmuladd.f64(double %264, double %265, double 1.000000e+00)
  %267 = fdiv double %263, %266
  store double %267, ptr %30, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %36) #6
  %268 = load double, ptr %30, align 8, !tbaa !9
  %269 = load double, ptr %30, align 8, !tbaa !9
  %270 = fneg double %268
  %271 = call double @llvm.fmuladd.f64(double %270, double %269, double 1.000000e+00)
  %272 = load double, ptr %31, align 8, !tbaa !9
  %273 = load double, ptr %31, align 8, !tbaa !9
  %274 = fneg double %272
  %275 = call double @llvm.fmuladd.f64(double %274, double %273, double %271)
  %276 = load double, ptr %32, align 8, !tbaa !9
  %277 = load double, ptr %32, align 8, !tbaa !9
  %278 = fneg double %276
  %279 = call double @llvm.fmuladd.f64(double %278, double %277, double %275)
  %280 = call double @sqrt(double noundef %279) #6
  %281 = fdiv double 1.000000e+00, %280
  store double %281, ptr %36, align 8, !tbaa !9
  %282 = load double, ptr %30, align 8, !tbaa !9
  %283 = load double, ptr %36, align 8, !tbaa !9
  %284 = fmul double %282, %283
  %285 = load double, ptr %15, align 8, !tbaa !9
  %286 = fmul double %284, %285
  %287 = load double, ptr %28, align 8, !tbaa !9
  %288 = fdiv double %286, %287
  %289 = load double, ptr %31, align 8, !tbaa !9
  %290 = load double, ptr %36, align 8, !tbaa !9
  %291 = fmul double %289, %290
  %292 = load double, ptr %16, align 8, !tbaa !9
  %293 = fmul double %291, %292
  %294 = load double, ptr %28, align 8, !tbaa !9
  %295 = fdiv double %293, %294
  %296 = fsub double %288, %295
  %297 = load ptr, ptr %23, align 8, !tbaa !5
  %298 = getelementptr inbounds %struct.particle, ptr %297, i32 0, i32 3
  store double %296, ptr %298, align 8, !tbaa !26
  %299 = load double, ptr %30, align 8, !tbaa !9
  %300 = load double, ptr %36, align 8, !tbaa !9
  %301 = fmul double %299, %300
  %302 = load double, ptr %16, align 8, !tbaa !9
  %303 = fmul double %301, %302
  %304 = load double, ptr %28, align 8, !tbaa !9
  %305 = fdiv double %303, %304
  %306 = load double, ptr %31, align 8, !tbaa !9
  %307 = load double, ptr %36, align 8, !tbaa !9
  %308 = fmul double %306, %307
  %309 = load double, ptr %15, align 8, !tbaa !9
  %310 = fmul double %308, %309
  %311 = load double, ptr %28, align 8, !tbaa !9
  %312 = fdiv double %310, %311
  %313 = fadd double %305, %312
  %314 = load ptr, ptr %23, align 8, !tbaa !5
  %315 = getelementptr inbounds %struct.particle, ptr %314, i32 0, i32 4
  store double %313, ptr %315, align 8, !tbaa !27
  %316 = load double, ptr %32, align 8, !tbaa !9
  %317 = load double, ptr %36, align 8, !tbaa !9
  %318 = fmul double %316, %317
  %319 = load ptr, ptr %23, align 8, !tbaa !5
  %320 = getelementptr inbounds %struct.particle, ptr %319, i32 0, i32 5
  store double %318, ptr %320, align 8, !tbaa !28
  call void @llvm.lifetime.end.p0(i64 8, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %35) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %33) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #6
  br label %330

321:                                              ; preds = %157, %99
  %322 = load double, ptr %15, align 8, !tbaa !9
  %323 = load ptr, ptr %23, align 8, !tbaa !5
  %324 = getelementptr inbounds %struct.particle, ptr %323, i32 0, i32 3
  store double %322, ptr %324, align 8, !tbaa !26
  %325 = load double, ptr %16, align 8, !tbaa !9
  %326 = load ptr, ptr %23, align 8, !tbaa !5
  %327 = getelementptr inbounds %struct.particle, ptr %326, i32 0, i32 4
  store double %325, ptr %327, align 8, !tbaa !27
  %328 = load ptr, ptr %23, align 8, !tbaa !5
  %329 = getelementptr inbounds %struct.particle, ptr %328, i32 0, i32 5
  store double 0.000000e+00, ptr %329, align 8, !tbaa !28
  br label %330

330:                                              ; preds = %321, %214
  %331 = load double, ptr %11, align 8, !tbaa !9
  %332 = fcmp une double %331, 0.000000e+00
  br i1 %332, label %333, label %358

333:                                              ; preds = %330
  %334 = load ptr, ptr %23, align 8, !tbaa !5
  %335 = getelementptr inbounds %struct.particle, ptr %334, i32 0, i32 3
  %336 = load double, ptr %335, align 8, !tbaa !26
  %337 = load ptr, ptr %23, align 8, !tbaa !5
  %338 = getelementptr inbounds %struct.particle, ptr %337, i32 0, i32 3
  %339 = load double, ptr %338, align 8, !tbaa !26
  %340 = call double @llvm.fmuladd.f64(double %336, double %339, double 1.000000e+00)
  %341 = load ptr, ptr %23, align 8, !tbaa !5
  %342 = getelementptr inbounds %struct.particle, ptr %341, i32 0, i32 4
  %343 = load double, ptr %342, align 8, !tbaa !27
  %344 = load ptr, ptr %23, align 8, !tbaa !5
  %345 = getelementptr inbounds %struct.particle, ptr %344, i32 0, i32 4
  %346 = load double, ptr %345, align 8, !tbaa !27
  %347 = call double @llvm.fmuladd.f64(double %343, double %346, double %340)
  %348 = load ptr, ptr %23, align 8, !tbaa !5
  %349 = getelementptr inbounds %struct.particle, ptr %348, i32 0, i32 5
  %350 = load double, ptr %349, align 8, !tbaa !28
  %351 = load ptr, ptr %23, align 8, !tbaa !5
  %352 = getelementptr inbounds %struct.particle, ptr %351, i32 0, i32 5
  %353 = load double, ptr %352, align 8, !tbaa !28
  %354 = call double @llvm.fmuladd.f64(double %350, double %353, double %347)
  %355 = call double @sqrt(double noundef %354) #6
  %356 = load ptr, ptr %23, align 8, !tbaa !5
  %357 = getelementptr inbounds %struct.particle, ptr %356, i32 0, i32 6
  store double %355, ptr %357, align 8, !tbaa !29
  br label %383

358:                                              ; preds = %330
  %359 = load ptr, ptr %23, align 8, !tbaa !5
  %360 = getelementptr inbounds %struct.particle, ptr %359, i32 0, i32 3
  %361 = load double, ptr %360, align 8, !tbaa !26
  %362 = load ptr, ptr %23, align 8, !tbaa !5
  %363 = getelementptr inbounds %struct.particle, ptr %362, i32 0, i32 3
  %364 = load double, ptr %363, align 8, !tbaa !26
  %365 = load ptr, ptr %23, align 8, !tbaa !5
  %366 = getelementptr inbounds %struct.particle, ptr %365, i32 0, i32 4
  %367 = load double, ptr %366, align 8, !tbaa !27
  %368 = load ptr, ptr %23, align 8, !tbaa !5
  %369 = getelementptr inbounds %struct.particle, ptr %368, i32 0, i32 4
  %370 = load double, ptr %369, align 8, !tbaa !27
  %371 = fmul double %367, %370
  %372 = call double @llvm.fmuladd.f64(double %361, double %364, double %371)
  %373 = load ptr, ptr %23, align 8, !tbaa !5
  %374 = getelementptr inbounds %struct.particle, ptr %373, i32 0, i32 5
  %375 = load double, ptr %374, align 8, !tbaa !28
  %376 = load ptr, ptr %23, align 8, !tbaa !5
  %377 = getelementptr inbounds %struct.particle, ptr %376, i32 0, i32 5
  %378 = load double, ptr %377, align 8, !tbaa !28
  %379 = call double @llvm.fmuladd.f64(double %375, double %378, double %372)
  %380 = call double @sqrt(double noundef %379) #6
  %381 = load ptr, ptr %23, align 8, !tbaa !5
  %382 = getelementptr inbounds %struct.particle, ptr %381, i32 0, i32 6
  store double %380, ptr %382, align 8, !tbaa !29
  br label %383

383:                                              ; preds = %358, %333
  %384 = load ptr, ptr %23, align 8, !tbaa !5
  %385 = getelementptr inbounds %struct.particle, ptr %384, i32 0, i32 9
  store double 0.000000e+00, ptr %385, align 8, !tbaa !30
  %386 = load ptr, ptr %23, align 8, !tbaa !5
  %387 = getelementptr inbounds %struct.particle, ptr %386, i32 0, i32 10
  store i32 0, ptr %387, align 8, !tbaa !31
  %388 = load ptr, ptr %23, align 8, !tbaa !5
  call void @_ZN14spatial_region5placeER8particle(ptr noundef nonnull align 8 dereferenceable(608) %37, ptr noundef nonnull align 8 dereferenceable(104) %388)
  br label %389

389:                                              ; preds = %383
  %390 = load i32, ptr %27, align 4, !tbaa !16
  %391 = add nsw i32 %390, 1
  store i32 %391, ptr %27, align 4, !tbaa !16
  br label %92, !llvm.loop !32

392:                                              ; preds = %98
  br label %393

393:                                              ; preds = %392
  %394 = load i32, ptr %26, align 4, !tbaa !16
  %395 = add nsw i32 %394, 1
  store i32 %395, ptr %26, align 4, !tbaa !16
  br label %84, !llvm.loop !33

396:                                              ; preds = %90
  br label %397

397:                                              ; preds = %396
  %398 = load i32, ptr %24, align 4, !tbaa !16
  %399 = add nsw i32 %398, 1
  store i32 %399, ptr %24, align 4, !tbaa !16
  br label %76, !llvm.loop !34

400:                                              ; preds = %82
  %401 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 50
  %402 = load ptr, ptr %12, align 8, !tbaa !5
  %403 = getelementptr inbounds %struct.int_vector3d, ptr %402, i32 0, i32 0
  %404 = load i32, ptr %403, align 4, !tbaa !11
  %405 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellpEixEi(ptr noundef nonnull align 8 dereferenceable(40) %401, i32 noundef %404)
  %406 = load ptr, ptr %405, align 8, !tbaa !5
  %407 = load ptr, ptr %12, align 8, !tbaa !5
  %408 = getelementptr inbounds %struct.int_vector3d, ptr %407, i32 0, i32 1
  %409 = load i32, ptr %408, align 4, !tbaa !14
  %410 = sext i32 %409 to i64
  %411 = getelementptr inbounds ptr, ptr %406, i64 %410
  %412 = load ptr, ptr %411, align 8, !tbaa !5
  %413 = load ptr, ptr %12, align 8, !tbaa !5
  %414 = getelementptr inbounds %struct.int_vector3d, ptr %413, i32 0, i32 2
  %415 = load i32, ptr %414, align 4, !tbaa !15
  %416 = sext i32 %415 to i64
  %417 = getelementptr inbounds %struct.cellp, ptr %412, i64 %416
  %418 = getelementptr inbounds %struct.cellp, ptr %417, i32 0, i32 0
  %419 = getelementptr inbounds %class.plist, ptr %418, i32 0, i32 0
  %420 = load ptr, ptr %419, align 8, !tbaa !35
  %421 = getelementptr inbounds %class.spatial_region, ptr %37, i32 0, i32 50
  %422 = load ptr, ptr %12, align 8, !tbaa !5
  %423 = getelementptr inbounds %struct.int_vector3d, ptr %422, i32 0, i32 0
  %424 = load i32, ptr %423, align 4, !tbaa !11
  %425 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellpEixEi(ptr noundef nonnull align 8 dereferenceable(40) %421, i32 noundef %424)
  %426 = load ptr, ptr %425, align 8, !tbaa !5
  %427 = load ptr, ptr %12, align 8, !tbaa !5
  %428 = getelementptr inbounds %struct.int_vector3d, ptr %427, i32 0, i32 1
  %429 = load i32, ptr %428, align 4, !tbaa !14
  %430 = sext i32 %429 to i64
  %431 = getelementptr inbounds ptr, ptr %426, i64 %430
  %432 = load ptr, ptr %431, align 8, !tbaa !5
  %433 = load ptr, ptr %12, align 8, !tbaa !5
  %434 = getelementptr inbounds %struct.int_vector3d, ptr %433, i32 0, i32 2
  %435 = load i32, ptr %434, align 4, !tbaa !15
  %436 = sext i32 %435 to i64
  %437 = getelementptr inbounds %struct.cellp, ptr %432, i64 %436
  %438 = getelementptr inbounds %struct.cellp, ptr %437, i32 0, i32 0
  %439 = getelementptr inbounds %class.plist, ptr %438, i32 0, i32 1
  store ptr %420, ptr %439, align 8, !tbaa !38
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #6
  ret void
}

declare noundef ptr @_ZN14spatial_region12new_particleEv(ptr noundef nonnull align 8 dereferenceable(608)) #4

declare noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608)) #4

; Function Attrs: nounwind
declare double @exp(double noundef) #1

declare void @_ZN14spatial_region5placeER8particle(ptr noundef nonnull align 8 dereferenceable(608), ptr noundef nonnull align 8 dereferenceable(104)) #4

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { "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 = { 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 #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !13, i64 0}
!12 = !{!"_ZTS12int_vector3d", !13, i64 0, !13, i64 4, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = !{!12, !13, i64 8}
!16 = !{!13, !13, i64 0}
!17 = !{!18, !10, i64 64}
!18 = !{!"_ZTS8particle", !10, i64 0, !10, i64 8, !10, i64 16, !10, i64 24, !10, i64 32, !10, i64 40, !10, i64 48, !10, i64 56, !10, i64 64, !10, i64 72, !13, i64 80, !6, i64 88, !6, i64 96}
!19 = !{!18, !10, i64 56}
!20 = !{!18, !10, i64 0}
!21 = !{!18, !10, i64 8}
!22 = !{!18, !10, i64 16}
!23 = distinct !{!23, !24}
!24 = !{!"llvm.loop.mustprogress"}
!25 = distinct !{!25, !24}
!26 = !{!18, !10, i64 24}
!27 = !{!18, !10, i64 32}
!28 = !{!18, !10, i64 40}
!29 = !{!18, !10, i64 48}
!30 = !{!18, !10, i64 72}
!31 = !{!18, !13, i64 80}
!32 = distinct !{!32, !24}
!33 = distinct !{!33, !24}
!34 = distinct !{!34, !24}
!35 = !{!36, !6, i64 0}
!36 = !{!"_ZTS5cellp", !37, i64 0}
!37 = !{!"_ZTS5plist", !6, i64 0, !6, i64 8}
!38 = !{!36, !6, i64 8}


; 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.cellp = type { %class.plist }
%class.plist = type { ptr, ptr }

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14spatial_region22fill_cell_by_particlesEdR12int_vector3dS1_ddddd(ptr noundef nonnull align 8 dereferenceable(608) %0, double noundef %1, ptr nocapture noundef nonnull readonly align 4 dereferenceable(12) %2, ptr nocapture noundef nonnull readonly align 4 dereferenceable(12) %3, double noundef %4, double noundef %5, double noundef %6, double noundef %7, double noundef %8) local_unnamed_addr #2 align 2 {
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = sitofp i32 %10 to double
  %12 = fdiv double 5.000000e-01, %11
  %13 = fadd double %12, %7
  %14 = getelementptr inbounds i8, ptr %3, i64 4
  %15 = load i32, ptr %14, align 4, !tbaa !10
  %16 = sitofp i32 %15 to double
  %17 = fdiv double 5.000000e-01, %16
  %18 = getelementptr inbounds i8, ptr %3, i64 8
  %19 = load i32, ptr %18, align 4, !tbaa !11
  %20 = sitofp i32 %19 to double
  %21 = fdiv double 5.000000e-01, %20
  %22 = mul nsw i32 %15, %10
  %23 = mul nsw i32 %22, %19
  %24 = sitofp i32 %23 to double
  %25 = fdiv double 1.000000e+00, %24
  %26 = fmul double %25, %4
  %27 = fcmp olt double %1, 0.000000e+00
  %28 = fneg double %26
  %.0 = select i1 %27, double %28, double %26
  %29 = icmp sgt i32 %10, 0
  br i1 %29, label %.preheader153.lr.ph, label %._crit_edge161

.preheader153.lr.ph:                              ; preds = %9
  %30 = getelementptr inbounds i8, ptr %2, i64 8
  %31 = fcmp une double %8, 0.000000e+00
  %32 = fcmp une double %1, 0.000000e+00
  %or.cond = and i1 %32, %31
  %33 = fmul double %6, %6
  %34 = tail call double @llvm.fmuladd.f64(double %5, double %5, double %33)
  %sqrt148 = tail call double @llvm.sqrt.f64(double %34)
  %35 = tail call double @llvm.fmuladd.f64(double %sqrt148, double %sqrt148, double 1.000000e+00)
  %sqrt = tail call double @llvm.sqrt.f64(double %35)
  %36 = fdiv double %sqrt148, %sqrt
  %37 = fneg double %36
  %38 = tail call double @llvm.fmuladd.f64(double %37, double %36, double 1.000000e+00)
  %39 = icmp sgt i32 %15, 0
  br i1 %39, label %.preheader153.preheader, label %._crit_edge161

.preheader153.preheader:                          ; preds = %.preheader153.lr.ph
  %40 = insertelement <2 x double> poison, double %5, i64 0
  %41 = insertelement <2 x double> %40, double %6, i64 1
  %42 = insertelement <2 x double> poison, double %sqrt148, i64 0
  %43 = shufflevector <2 x double> %42, <2 x double> poison, <2 x i32> zeroinitializer
  %44 = insertelement <2 x double> poison, double %13, i64 0
  %45 = insertelement <2 x double> %44, double %17, i64 1
  br label %.preheader153

.preheader153:                                    ; preds = %.preheader153.preheader, %._crit_edge159
  %46 = phi i32 [ %84, %._crit_edge159 ], [ %10, %.preheader153.preheader ]
  %47 = phi i32 [ %85, %._crit_edge159 ], [ %15, %.preheader153.preheader ]
  %48 = phi i32 [ %86, %._crit_edge159 ], [ %19, %.preheader153.preheader ]
  %49 = phi i32 [ %87, %._crit_edge159 ], [ %19, %.preheader153.preheader ]
  %50 = phi i32 [ %88, %._crit_edge159 ], [ %15, %.preheader153.preheader ]
  %.0143160 = phi i32 [ %89, %._crit_edge159 ], [ 0, %.preheader153.preheader ]
  %51 = icmp sgt i32 %50, 0
  br i1 %51, label %.preheader152.lr.ph, label %._crit_edge159

.preheader152.lr.ph:                              ; preds = %.preheader153
  %52 = uitofp nneg i32 %.0143160 to double
  %53 = icmp sgt i32 %49, 0
  br i1 %53, label %.preheader152.preheader, label %._crit_edge159

.preheader152.preheader:                          ; preds = %.preheader152.lr.ph
  %54 = insertelement <2 x double> poison, double %52, i64 0
  br label %.preheader152

._crit_edge161:                                   ; preds = %._crit_edge159, %.preheader153.lr.ph, %9
  %55 = getelementptr inbounds i8, ptr %0, i64 520
  %56 = load i32, ptr %2, align 4, !tbaa !5
  %57 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellpEixEi(ptr noundef nonnull align 8 dereferenceable(40) %55, i32 noundef %56)
  %58 = load ptr, ptr %57, align 8, !tbaa !12
  %59 = getelementptr inbounds i8, ptr %2, i64 4
  %60 = load i32, ptr %59, align 4, !tbaa !10
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds ptr, ptr %58, i64 %61
  %63 = load ptr, ptr %62, align 8, !tbaa !12
  %64 = getelementptr inbounds i8, ptr %2, i64 8
  %65 = load i32, ptr %64, align 4, !tbaa !11
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds %struct.cellp, ptr %63, i64 %66
  %68 = load ptr, ptr %67, align 8, !tbaa !14
  %69 = load i32, ptr %2, align 4, !tbaa !5
  %70 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellpEixEi(ptr noundef nonnull align 8 dereferenceable(40) %55, i32 noundef %69)
  %71 = load ptr, ptr %70, align 8, !tbaa !12
  %72 = load i32, ptr %59, align 4, !tbaa !10
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds ptr, ptr %71, i64 %73
  %75 = load ptr, ptr %74, align 8, !tbaa !12
  %76 = load i32, ptr %64, align 4, !tbaa !11
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds %struct.cellp, ptr %75, i64 %77, i32 0, i32 1
  store ptr %68, ptr %78, align 8, !tbaa !17
  ret void

.preheader152:                                    ; preds = %.preheader152.preheader, %._crit_edge
  %79 = phi i32 [ %91, %._crit_edge ], [ %47, %.preheader152.preheader ]
  %80 = phi i32 [ %92, %._crit_edge ], [ %48, %.preheader152.preheader ]
  %.0144158 = phi i32 [ %93, %._crit_edge ], [ 0, %.preheader152.preheader ]
  %81 = icmp sgt i32 %80, 0
  br i1 %81, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %.preheader152
  %82 = uitofp nneg i32 %.0144158 to double
  %83 = insertelement <2 x double> %54, double %82, i64 1
  br label %95

._crit_edge159.loopexit:                          ; preds = %._crit_edge
  %.pre168 = load i32, ptr %3, align 4, !tbaa !5
  br label %._crit_edge159

._crit_edge159:                                   ; preds = %.preheader152.lr.ph, %._crit_edge159.loopexit, %.preheader153
  %84 = phi i32 [ %.pre168, %._crit_edge159.loopexit ], [ %46, %.preheader153 ], [ %46, %.preheader152.lr.ph ]
  %85 = phi i32 [ %91, %._crit_edge159.loopexit ], [ %47, %.preheader153 ], [ %47, %.preheader152.lr.ph ]
  %86 = phi i32 [ %92, %._crit_edge159.loopexit ], [ %48, %.preheader153 ], [ %48, %.preheader152.lr.ph ]
  %87 = phi i32 [ %92, %._crit_edge159.loopexit ], [ %49, %.preheader153 ], [ %49, %.preheader152.lr.ph ]
  %88 = phi i32 [ %91, %._crit_edge159.loopexit ], [ %50, %.preheader153 ], [ %50, %.preheader152.lr.ph ]
  %89 = add nuw nsw i32 %.0143160, 1
  %90 = icmp slt i32 %89, %84
  br i1 %90, label %.preheader153, label %._crit_edge161, !llvm.loop !18

._crit_edge.loopexit:                             ; preds = %196
  %.pre = load i32, ptr %14, align 4, !tbaa !10
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit, %.preheader152
  %91 = phi i32 [ %.pre, %._crit_edge.loopexit ], [ %79, %.preheader152 ]
  %92 = phi i32 [ %202, %._crit_edge.loopexit ], [ %80, %.preheader152 ]
  %93 = add nuw nsw i32 %.0144158, 1
  %94 = icmp slt i32 %93, %91
  br i1 %94, label %.preheader152, label %._crit_edge159.loopexit, !llvm.loop !21

95:                                               ; preds = %.lr.ph, %196
  %.0145157 = phi i32 [ 0, %.lr.ph ], [ %201, %196 ]
  %96 = tail call noundef ptr @_ZN14spatial_region12new_particleEv(ptr noundef nonnull align 8 dereferenceable(608) %0)
  %97 = getelementptr inbounds i8, ptr %96, i64 64
  store double %1, ptr %97, align 8, !tbaa !22
  %98 = getelementptr inbounds i8, ptr %96, i64 56
  store double %.0, ptr %98, align 8, !tbaa !25
  %99 = load <2 x i32>, ptr %2, align 4, !tbaa !26
  %100 = sitofp <2 x i32> %99 to <2 x double>
  %101 = fadd <2 x double> %45, %100
  %102 = load <2 x i32>, ptr %3, align 4, !tbaa !26
  %103 = sitofp <2 x i32> %102 to <2 x double>
  %104 = fdiv <2 x double> %83, %103
  %105 = fadd <2 x double> %101, %104
  store <2 x double> %105, ptr %96, align 8, !tbaa !27
  %106 = load i32, ptr %30, align 4, !tbaa !11
  %107 = sitofp i32 %106 to double
  %108 = fadd double %21, %107
  %109 = uitofp nneg i32 %.0145157 to double
  %110 = load i32, ptr %18, align 4, !tbaa !11
  %111 = sitofp i32 %110 to double
  %112 = fdiv double %109, %111
  %113 = fadd double %108, %112
  %114 = getelementptr inbounds i8, ptr %96, i64 16
  store double %113, ptr %114, align 8, !tbaa !28
  br i1 %or.cond, label %.preheader162, label %180

.preheader162:                                    ; preds = %95, %.preheader162
  %115 = tail call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %0)
  %116 = fmul double %115, 5.000000e+00
  %117 = tail call double @llvm.fmuladd.f64(double %116, double %8, double 1.000000e+00)
  %118 = tail call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %0)
  %119 = fadd double %117, -1.000000e+00
  %120 = fneg double %119
  %121 = fdiv double %120, %8
  %122 = tail call double @exp(double noundef %121) #6
  %123 = fcmp ogt double %118, %122
  br i1 %123, label %.preheader162, label %.preheader, !llvm.loop !29

.preheader:                                       ; preds = %.preheader162, %.preheader
  %124 = tail call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %0)
  %125 = tail call double @llvm.fmuladd.f64(double %124, double 2.000000e+00, double -1.000000e+00)
  %126 = tail call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %0)
  %127 = tail call double @llvm.fmuladd.f64(double %126, double 2.000000e+00, double -1.000000e+00)
  %128 = tail call noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608) %0)
  %129 = tail call double @llvm.fmuladd.f64(double %128, double 2.000000e+00, double -1.000000e+00)
  %130 = fmul double %127, %127
  %131 = tail call double @llvm.fmuladd.f64(double %125, double %125, double %130)
  %132 = tail call double @llvm.fmuladd.f64(double %129, double %129, double %131)
  %sqrt149 = tail call double @llvm.sqrt.f64(double %132)
  %133 = fcmp ogt double %sqrt149, 1.000000e+00
  %134 = fcmp oeq double %sqrt149, 0.000000e+00
  %135 = or i1 %133, %134
  br i1 %135, label %.preheader, label %136, !llvm.loop !30

136:                                              ; preds = %.preheader
  %137 = fdiv double %125, %sqrt149
  %138 = fdiv double %127, %sqrt149
  %139 = fdiv double %129, %sqrt149
  %140 = fmul double %117, %117
  %141 = fdiv double 1.000000e+00, %140
  %142 = fsub double 1.000000e+00, %141
  %143 = tail call double @sqrt(double noundef %142) #6
  %144 = fmul double %137, %143
  %145 = fmul double %138, %143
  %146 = fmul double %139, %143
  %147 = tail call double @sqrt(double noundef %38) #6
  %148 = fmul double %145, %147
  %149 = tail call double @llvm.fmuladd.f64(double %144, double %36, double 1.000000e+00)
  %150 = fdiv double %148, %149
  %151 = tail call double @sqrt(double noundef %38) #6
  %152 = fmul double %146, %151
  %153 = fdiv double %152, %149
  %154 = fadd double %36, %144
  %155 = fdiv double %154, %149
  %156 = fneg double %155
  %157 = tail call double @llvm.fmuladd.f64(double %156, double %155, double 1.000000e+00)
  %158 = fneg double %150
  %159 = tail call double @llvm.fmuladd.f64(double %158, double %150, double %157)
  %160 = fneg double %153
  %161 = tail call double @llvm.fmuladd.f64(double %160, double %153, double %159)
  %162 = tail call double @sqrt(double noundef %161) #6
  %163 = fdiv double 1.000000e+00, %162
  %164 = fmul double %155, %163
  %165 = fmul double %150, %163
  %166 = getelementptr inbounds i8, ptr %96, i64 24
  %167 = insertelement <2 x double> poison, double %164, i64 0
  %168 = shufflevector <2 x double> %167, <2 x double> poison, <2 x i32> zeroinitializer
  %169 = fmul <2 x double> %168, %41
  %170 = fdiv <2 x double> %169, %43
  %171 = insertelement <2 x double> poison, double %165, i64 0
  %172 = shufflevector <2 x double> %171, <2 x double> poison, <2 x i32> zeroinitializer
  %173 = fmul <2 x double> %172, %41
  %174 = fdiv <2 x double> %173, %43
  %175 = shufflevector <2 x double> %174, <2 x double> poison, <2 x i32> <i32 1, i32 0>
  %176 = fadd <2 x double> %170, %175
  %177 = fsub <2 x double> %170, %175
  %178 = shufflevector <2 x double> %177, <2 x double> %176, <2 x i32> <i32 0, i32 3>
  store <2 x double> %178, ptr %166, align 8, !tbaa !27
  %179 = fmul double %153, %163
  br label %183

180:                                              ; preds = %95
  %181 = getelementptr inbounds i8, ptr %96, i64 24
  store double %5, ptr %181, align 8, !tbaa !31
  %182 = getelementptr inbounds i8, ptr %96, i64 32
  store double %6, ptr %182, align 8, !tbaa !32
  br label %183

183:                                              ; preds = %180, %136
  %.sink = phi double [ 0.000000e+00, %180 ], [ %179, %136 ]
  %184 = phi <2 x double> [ %41, %180 ], [ %178, %136 ]
  %185 = getelementptr inbounds i8, ptr %96, i64 40
  store double %.sink, ptr %185, align 8, !tbaa !33
  br i1 %32, label %186, label %191

186:                                              ; preds = %183
  %187 = extractelement <2 x double> %184, i64 0
  %188 = tail call double @llvm.fmuladd.f64(double %187, double %187, double 1.000000e+00)
  %189 = extractelement <2 x double> %184, i64 1
  %190 = tail call double @llvm.fmuladd.f64(double %189, double %189, double %188)
  br label %196

191:                                              ; preds = %183
  %192 = fmul <2 x double> %184, %184
  %193 = extractelement <2 x double> %192, i64 1
  %194 = extractelement <2 x double> %184, i64 0
  %195 = tail call double @llvm.fmuladd.f64(double %194, double %194, double %193)
  br label %196

196:                                              ; preds = %191, %186
  %.sink177 = phi double [ %195, %191 ], [ %190, %186 ]
  %197 = tail call double @llvm.fmuladd.f64(double %.sink, double %.sink, double %.sink177)
  %sqrt151 = tail call double @llvm.sqrt.f64(double %197)
  %198 = getelementptr inbounds i8, ptr %96, i64 48
  store double %sqrt151, ptr %198, align 8
  %199 = getelementptr inbounds i8, ptr %96, i64 72
  store double 0.000000e+00, ptr %199, align 8, !tbaa !34
  %200 = getelementptr inbounds i8, ptr %96, i64 80
  store i32 0, ptr %200, align 8, !tbaa !35
  tail call void @_ZN14spatial_region5placeER8particle(ptr noundef nonnull align 8 dereferenceable(608) %0, ptr noundef nonnull align 8 dereferenceable(104) %96)
  %201 = add nuw nsw i32 %.0145157, 1
  %202 = load i32, ptr %18, align 4, !tbaa !11
  %203 = icmp slt i32 %201, %202
  br i1 %203, label %95, label %._crit_edge.loopexit, !llvm.loop !36
}

declare noundef ptr @_ZN14spatial_region12new_particleEv(ptr noundef nonnull align 8 dereferenceable(608)) local_unnamed_addr #3

declare noundef double @_ZN14spatial_region8get_randEv(ptr noundef nonnull align 8 dereferenceable(608)) local_unnamed_addr #3

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @exp(double noundef) local_unnamed_addr #0

declare void @_ZN14spatial_region5placeER8particle(ptr noundef nonnull align 8 dereferenceable(608), ptr noundef nonnull align 8 dereferenceable(104)) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local noundef nonnull align 8 dereferenceable(8) ptr @_ZNK7field3dI5cellpEixEi(ptr noundef nonnull align 8 dereferenceable(40), i32 noundef) local_unnamed_addr #4 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #5

attributes #0 = { mustprogress nofree nounwind willreturn memory(write) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = { "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 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 0}
!6 = !{!"_ZTS12int_vector3d", !7, i64 0, !7, i64 4, !7, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!6, !7, i64 4}
!11 = !{!6, !7, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"any pointer", !8, i64 0}
!14 = !{!15, !13, i64 0}
!15 = !{!"_ZTS5cellp", !16, i64 0}
!16 = !{!"_ZTS5plist", !13, i64 0, !13, i64 8}
!17 = !{!15, !13, i64 8}
!18 = distinct !{!18, !19, !20}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.unswitch.partial.disable"}
!21 = distinct !{!21, !19, !20}
!22 = !{!23, !24, i64 64}
!23 = !{!"_ZTS8particle", !24, i64 0, !24, i64 8, !24, i64 16, !24, i64 24, !24, i64 32, !24, i64 40, !24, i64 48, !24, i64 56, !24, i64 64, !24, i64 72, !7, i64 80, !13, i64 88, !13, i64 96}
!24 = !{!"double", !8, i64 0}
!25 = !{!23, !24, i64 56}
!26 = !{!7, !7, i64 0}
!27 = !{!24, !24, i64 0}
!28 = !{!23, !24, i64 16}
!29 = distinct !{!29, !19}
!30 = distinct !{!30, !19}
!31 = !{!23, !24, i64 24}
!32 = !{!23, !24, i64 32}
!33 = !{!23, !24, i64 40}
!34 = !{!23, !24, i64 72}
!35 = !{!23, !7, i64 80}
!36 = distinct !{!36, !19}


; Effective O3 passes: AggressiveInstCombinePass,BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimpleLoopUnswitchPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass